CN106056488B - 基于条形码的菜品自动系统的计价方法 - Google Patents

基于条形码的菜品自动系统的计价方法 Download PDF

Info

Publication number
CN106056488B
CN106056488B CN201610391789.7A CN201610391789A CN106056488B CN 106056488 B CN106056488 B CN 106056488B CN 201610391789 A CN201610391789 A CN 201610391789A CN 106056488 B CN106056488 B CN 106056488B
Authority
CN
China
Prior art keywords
bar code
vegetable
tableware
image
automatic system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610391789.7A
Other languages
English (en)
Other versions
CN106056488A (zh
Inventor
周柔刚
周才健
许允迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Collection Intelligence Science And Technology Ltd
Original Assignee
Hangzhou Collection Intelligence Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Collection Intelligence Science And Technology Ltd filed Critical Hangzhou Collection Intelligence Science And Technology Ltd
Priority to CN201610391789.7A priority Critical patent/CN106056488B/zh
Publication of CN106056488A publication Critical patent/CN106056488A/zh
Application granted granted Critical
Publication of CN106056488B publication Critical patent/CN106056488B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Abstract

本发明基于条形码的菜品自动系统的计价方法,本发明主要包括基于形状分割图像和条形码读码两个主要过程。提供的方法是通过拍摄餐盘图像,检测餐具边缘区域,再调整包含条形码的边缘区域的形状,使边缘区域变换为矩形,使得所述的条形码不管处于何种畸变的情况下都易于被精准识别,识别效率高。本发明可遍历多个区域,在一次拍摄后同时识别多个餐盘,可同时现多个菜品统一计价。

Description

基于条形码的菜品自动系统的计价方法
技术领域
本发明涉及机器视觉与机器学习领域,更具体地说是涉及一种基于条形码的菜品自动计价方法,本发明可以广泛应用于食堂、快餐店等提供自助选餐、结算服务的场所。
背景技术
随着城市生活节奏的不断加快,人们越来越多地通过各类快餐来解决“食”这个问题,例如在高校、机关单位、园区食堂或者快餐连锁店,越来越多采用自主挑选菜式,再通过排队刷卡或现金结算的方式进行选择和结算。而如何对挑选的菜式进行计价,现有的技术中通常采用的方式有人工计价和自动计价两种。由于就餐人员的增多,人工给餐、计价效率低,在消费高峰期经常因为结算速度慢而导致排队现象,价格计算的准确性也难以得到保证。随着现代人们对就餐效率的要求越来越高,自助选餐、结算的需求越来越大。传统的餐盘计价方式已不能满足人们的需求。
近年出现的一些餐盘自动计价方式,规避了人工给参计价效率低、准确性难以保证等一系列问题。现有菜品自动识别计价系统多为基于餐具中内置芯片的方法,其实现步骤为:
A’. 不同餐具中内置存储不同菜品信息的芯片;
B’. 人工将菜品盛装到对应的餐具中;
C’. 芯片扫描装置扫描餐具,读取芯片中的菜品信息;
D’. 输出菜品信息,如名称、价格等。
这种方案技术较成熟,但由于采用了步骤A,需要内置芯片的特殊餐具,成本较高。
无需使用安装芯片的特殊餐盘的计价方式,因降低了成本,成为了一种新的研究趋势。其中,条形码识别成为了一种新的趋势。然而,在根据其他计价的不同方法中,仍存在着差异和缺陷。
例如,公告号为201468787U的中国实用新型专利《一种带有条形码的餐具》,公开了 “所述餐具本体上设置有存储有价格信息的条形码。”,其利用餐具本体上的条形码,在客人选取菜品时,可根据菜品价格不同使用不同的餐具,然后结算时,服务员只需要打印条形码,即可快速计算出最后的菜品价格。然而,该种方法仍然不够智能化,仍然需要人工将餐具一一进行识别,而一般情况下在用餐时人们通常会选择不止一种菜式,所以操作起来非常复杂。另外一方面,该方法对餐盘的形状又有一定的要求,因为条形码通常为矩形,而如果将条形码设于餐具底部,或盛装菜式的餐具中央,条形码会被遮挡无法识别,将条形码设于餐具边缘又容易受到餐具本身形状影响发生畸变,从而无法直接识别。
发明内容
本发明所要解决的技术问题是针对现有技术中存在的上述问题,提供了一种设计菜品计价系统,降低了材料成本,可同时现多个菜品统一计价,提高了结算效率的基于条形码的菜品自动系统的计价方法。
本发明公开的一种基于条形码的菜品自动计价方法,包括如下步骤:
A. 将不同价格的菜品分装在不同条形码的餐具中,使餐具的条形码组合与菜品价格进行关联;
B. 将待计价的菜品置于检测区,触发信号触发相机拍摄餐盘图像,提取整体图像;
C. 系统检测图像中餐具边缘区域,遍历读取餐具边缘的条形码信息;
D. 输出检测到的各餐具区域对应的菜品信息,并合并价格计算得到总价。
作为优选,所述的步骤C中,所述兴趣区域的筛选方法为:
C01.检测图像中对应为餐具边缘的环形区域,其中包含条形码区域;
C02.获取各环形区域的位置、形状大小参数;
C03.根据步骤C02获取的参数分割餐盘图像,并通过极坐标变换将所述的各个环形区域变换为矩形图像,调整矩形图像的宽高;所述的矩形图像内含调整形状后的条形码;
C04. 识别各所述的条形码,记录所述的条形码中保存的信息。
作为优选,所述的步骤C03中,分割所述的餐盘图像提取单菜品图案后,需将所述的单菜品图片归一化为统一尺寸进行预处理转换。
作为优选,条形码与餐具的颜色一一对应。可以用不同颜色直观地区分,使分装菜式的工作人员可以直接通过颜色分辨带有不同条形码的餐具。
作为优选,所述的步骤B中的触发信号为压力感应信号。
作为优选,所述步骤B中所述相机为500万像素黑白相机。其他能达到拍摄效果的相机亦可。
为解决上述问题,本发明的一种技术方案是:
本发明基于条形码的菜品自动系统的计价方法,本发明主要包括基于形状分割图像和条形码读码两个主要过程。提供的方法是通过拍摄餐盘图像,检测餐具边缘区域,再调整包含条形码的边缘区域的形状,使边缘区域变换为矩形,使得所述的条形码不管处于何种畸变的情况下都易于被精准识别,识别效率高。本发明可遍历多个区域,在一次拍摄后同时识别多个餐盘,可同时现多个菜品统一计价。
附图说明
图1是本发明基于条形码的菜品自动计价方法的流程框图。
具体实施方式
下面结合附图和实施例进一步详细说明本发明,但本发明的保护范围并不限 于此。
参照图1,本发明公开的一种基于条形码的菜品自动计价方法,包括如下步骤:
A. 将不同价格的菜品分装在不同条形码的餐具中,使餐具的条形码组合与菜品价格进行关联;
B. 将待计价的菜品置于检测区,触发信号触发相机拍摄餐盘图像,提取整体图像;
C. 系统检测图像中餐具边缘区域,遍历读取餐具边缘的条形码信息;
D. 输出检测到的各餐具区域对应的菜品信息,并合并价格计算得到总价。
作为优选,所述的步骤C中,所述兴趣区域的筛选方法为:
C01.检测图像中对应为餐具边缘的环形区域,其中包含条形码区域;
C02.获取各环形区域的位置、形状大小参数;
C03.根据步骤C02获取的参数分割餐盘图像,并通过极坐标变换将所述的各个环形区域变换为矩形图像,调整矩形图像的宽高;所述的矩形图像内含调整形状后的条形码;
C04.识别各所述的条形码,记录所述的条形码中保存的信息。
所述的步骤C03中,分割所述的餐盘图像提取单菜品图案后,需将所述的单菜品图片归一化为统一尺寸进行预处理转换。
条形码与餐具的颜色一一对应。
所述的步骤B中的触发信号为压力感应信号。
所述步骤B中所述相机为500万像素黑白相机。
为了更好地对本发明的技术方案作出解释和说明,以助于理解,根据图1所示流程图,本发明的一个具体实施案例如下:
1)读取餐盘图像。
2)自动检测阈值,分隔不同灰度区域。
3)选择半径范围在550-750的环形区域作为兴趣区域,即包含条形码的餐具边缘的区域。
4)记录各环形兴趣区域的中心点坐标,外圈和内圈的半径大小等信息。
5)遍历各环形兴趣区域,对遍历到的区域做6)- 8)步骤处理:
6)切割该区域并通过极坐标变换,以各环形中心点为原点,变换为矩形,以使环形餐具边缘的条形码拉伸为平直状。
7)设置条形码识别器参数,识别矩形兴趣区域中的条形码,记录识别结果。
8)转换并保存条形码中的价格等信息。
9)兴趣区域遍历完成,用存储的价格及数量信息计算总价,并显示。
需要注意,以上列举的实例仅为本发明的具体实施例子,本发明包含但不限于以上实例,参数设置可以有许多变化,这些参数设置变化同样应属于本发明的保护范围。

Claims (5)

1.一种基于条形码的菜品自动系统的计价方法,其特征在于,包括如下步骤:
A.将不同价格的菜品分装在不同条形码的餐具中,使餐具的条形码组合与菜品价格进行关联;
B.将待计价的菜品置于检测区,触发信号触发相机拍摄餐盘图像,提取整体图像;
C.系统检测图像中餐具边缘区域,遍历读取餐具边缘的条形码信息;
D.输出检测到的各餐具区域对应的菜品信息,并合并价格计算得到总价;
所述的步骤C为:
C01.检测图像中对应为餐具边缘的环形区域,其中包含条形码区域;
C02.获取各环形区域的位置、形状大小参数;
C03.根据步骤C02获取的参数分割餐盘图像,并通过极坐标变换将所述的各环形区域变换为矩形图像,调整矩形图像的宽高;所述的矩形图像内含调整形状后的条形码;
C04.识别各所述的条形码,记录所述的条形码中保存的信息。
2.根据权利要求1所述的基于条形码的菜品自动系统的计价方法,其特征在于,所述的步骤C03中,分割所述的餐盘图像提取单菜品图案后,需将所述的单菜品图片归一化为统一尺寸进行预处理转换。
3.根据权利要求1所述的基于条形码的菜品自动系统的计价方法,其特征在于,所述的条形码与餐具的颜色一一对应。
4.根据权利要求1所述的基于条形码的菜品自动系统的计价方法,其特征在于,所述的步骤B中的触发信号为压力感应信号。
5.根据权利要求1所述的基于条形码的菜品自动系统的计价方法,其特征在于,所述步骤B中所述相机为500万像素黑白相机。
CN201610391789.7A 2016-06-06 2016-06-06 基于条形码的菜品自动系统的计价方法 Active CN106056488B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610391789.7A CN106056488B (zh) 2016-06-06 2016-06-06 基于条形码的菜品自动系统的计价方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610391789.7A CN106056488B (zh) 2016-06-06 2016-06-06 基于条形码的菜品自动系统的计价方法

Publications (2)

Publication Number Publication Date
CN106056488A CN106056488A (zh) 2016-10-26
CN106056488B true CN106056488B (zh) 2019-10-08

Family

ID=57170182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610391789.7A Active CN106056488B (zh) 2016-06-06 2016-06-06 基于条形码的菜品自动系统的计价方法

Country Status (1)

Country Link
CN (1) CN106056488B (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257331A (zh) * 2018-02-07 2018-07-06 长江大学 一种高校食堂无人值守自助餐厅系统及自助结算方法

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201468787U (zh) * 2009-08-21 2010-05-19 邓林 一种带有条形码的餐具
CN104077842A (zh) * 2014-07-02 2014-10-01 浙江大学 基于图像识别的自选餐厅自助付费装置及其使用方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201468787U (zh) * 2009-08-21 2010-05-19 邓林 一种带有条形码的餐具
CN104077842A (zh) * 2014-07-02 2014-10-01 浙江大学 基于图像识别的自选餐厅自助付费装置及其使用方法

Also Published As

Publication number Publication date
CN106056488A (zh) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106056487A (zh) 基于餐具图案的菜品自动识别系统的计价方法
CN106096932A (zh) 基于餐具形状的菜品自动识别系统的计价方法
CN106056802A (zh) 基于餐具颜色的菜品自动识别系统的计价方法
CN103208156B (zh) 一种餐饮自动结算系统和方法
CN104077842B (zh) 基于图像识别的自选餐厅自助付费装置及其使用方法
CN103034839B (zh) 基于图像识别技术的食堂支付系统及方法
CN109523428A (zh) 基于图像识别技术的智能餐饮结算方法、系统、装置及介质
CN107122730A (zh) 自选餐厅自动计价方法
Aslan et al. Benchmarking algorithms for food localization and semantic segmentation
CN111080493B (zh) 一种菜品信息识别方法、装置及菜品自助结算系统
CN109615358B (zh) 一种基于深度学习图像识别的餐厅自动结算方法及系统
CN101620685A (zh) 一种基于rfid技术的餐饮定位系统及其定位方法
CN108596187A (zh) 商品纯净度检测方法及展示柜
CN105976407B (zh) 一种适用于遮挡条件下的餐盘形状识别方法
CN107730321A (zh) 一种基于餐食图像特征的识别计价系统
CN107392799A (zh) 自适应后厨调度系统
CN103426240A (zh) 自选餐厅自助付费装置及其使用方法
CN106056488B (zh) 基于条形码的菜品自动系统的计价方法
CN106022405A (zh) 一种基于形状的餐盘自动计价系统
CN112700352A (zh) 一种智慧餐厅的自助管理系统及方法
CN208240148U (zh) 一种餐厅自助结算系统
CN112037440A (zh) 一种基于机器学习的智能结算系统及结算方法
CN107563461A (zh) 基于图像识别的餐饮行业的自动收费方法及系统
CN105809587A (zh) 智能收银方法及其系统
CN109165611A (zh) 一种基于机器视觉和神经网络的碗碟识别智能结算方法

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Bar-code-based pricing method of dish automatic system

Effective date of registration: 20200706

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY Co.,Ltd.

Registration number: Y2020330000447

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20211108

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2020330000447

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Pricing method of dish automatic system based on bar code

Effective date of registration: 20211109

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2021330002182

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220926

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2021330002182

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Pricing Method of Automatic Food System Based on Bar Code

Effective date of registration: 20221106

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2022330002933

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2022330002933

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Pricing method for automatic dish system based on barcode

Granted publication date: 20191008

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU HUICUI INTELLIGENT TECHNOLOGY CO.,LTD.

Registration number: Y2024330000227

PE01 Entry into force of the registration of the contract for pledge of patent right