TWM563621U - A system for recognizing bread - Google Patents

A system for recognizing bread Download PDF

Info

Publication number
TWM563621U
TWM563621U TW107201880U TW107201880U TWM563621U TW M563621 U TWM563621 U TW M563621U TW 107201880 U TW107201880 U TW 107201880U TW 107201880 U TW107201880 U TW 107201880U TW M563621 U TWM563621 U TW M563621U
Authority
TW
Taiwan
Prior art keywords
image
bread
module
identification system
model
Prior art date
Application number
TW107201880U
Other languages
Chinese (zh)
Inventor
王友光
蔡弘亞
Original Assignee
光禾感知科技股份有限公司
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 光禾感知科技股份有限公司 filed Critical 光禾感知科技股份有限公司
Priority to TW107201880U priority Critical patent/TWM563621U/en
Publication of TWM563621U publication Critical patent/TWM563621U/en

Links

Landscapes

  • Image Analysis (AREA)

Abstract

Disclosed is a system for recognizing bread. The system includes a database, an image capture module, an image processing module and an image comparison module. The database has a plurality of image models and corresponding bread information. The image capture module captures a bread image. The image processing module obtains a divided image by processing the bread image. The image comparison module compares the divided image with the image models to get the bread model which is associated with the bread and corresponding bread information from the database.

Description

麵包辨識系統 Bread identification system

本創作係關於一種影像辨識技術,特別是,關於一種麵包辨識系統。 This creation is about an image recognition technology, in particular, about a bread identification system.

現行商家銷售流程中,早期會以人工方式判斷商品種類和標價,再以人工方式輸入金額來進行結算,例如商家使用不同標價牌放置在不同種類商品前,在進行結算時需透過店員對商品的外型判斷商品種類,進而以商品售價來進行金額結算,但隨著科技的進步,目前已透過感應條碼方式來簡化流程,商家將不同商品使用不同條碼編列,結帳時使用紅外線條碼機掃描讀取商品售價以做金額結算,無論哪種銷售流程,上述方式仍有些許不足之處。 In the current merchant sales process, the product type and price are judged manually in the early stage, and the amount is manually input to settle the bill. For example, the merchant uses different price tags to be placed in front of different types of goods, and the settlement is required by the store staff. The appearance determines the type of the product, and then the amount is settled by the price of the product. However, with the advancement of technology, the process has been simplified by sensing the bar code. The merchant uses different barcodes for different products, and uses an infrared barcode scanner to check at the checkout. Read the price of the product to settle the amount. Regardless of the sales process, there are still some shortcomings in the above method.

以人工方式來說,當店員判斷商品種類時,可能誤判商品種類,或將商品對應之金額記錯,倘若商家有優惠活動,部分商品則有優惠折扣,店員可能忘了將優惠導致商品價格,上述總總情況,都可能導致結帳金額錯誤。若以條碼辨識商品的情況下,使用條碼機掃描條碼時,可能有光線問題或掃描面不平整問題,此恐導致掃描失敗,況且於商品上貼條碼對於某些商品是不適用的,例如麵包店的 麵包,新鮮麵包多數裸置擺放,不可能貼上條碼,亦即銷售流程仍須回到人工處理的方式。 Manually speaking, when the clerk judges the type of the product, the product type may be misjudged, or the amount corresponding to the product may be misjudged. If the merchant has a preferential activity, some products have a discount, and the clerk may forget to cause the price of the product. The above total situation may result in an incorrect checkout amount. If the bar code is used to identify the product, when scanning the bar code with the bar code machine, there may be light problems or uneven scanning surface, which may cause the scanning to fail. Moreover, the bar code on the product is not applicable to certain goods, such as bread. Store Bread, fresh bread is mostly placed barely, it is impossible to put a bar code, that is, the sales process still has to return to the manual processing.

由上可知,目前對於麵包類型商品的銷售流程,特別是商品辨識及金額結算,還是需透過人力執行,不僅耗時且有辨識錯誤或結算錯誤之風險,若要克服此問題,應從正確辨識商品以及確切找出商品售價方面著手,因而找出一種是辨識麵包之機制,將成為本技術領域人員努力追求之目標。 As can be seen from the above, at present, the sales process of bread type products, especially product identification and amount settlement, still needs to be performed by manpower, which is not only time-consuming but also has the risk of identifying errors or settlement errors. To overcome this problem, the goods should be correctly identified. As well as the exact identification of the price of the goods, it is necessary to find a mechanism for identifying bread, which will become the goal of the people in the technical field.

本創作之目的係提出一種可對不同種類麵包執行影像辨識之系統,透過影像辨識機制,復可決定麵包種類,進而取得該麵包之對應資料,此做法更利於裸置陳列之商品的辨識。 The purpose of this creation is to propose a system for performing image recognition on different types of bread. The image identification mechanism can be used to determine the type of bread and obtain the corresponding information of the bread. This method is more conducive to the identification of the goods displayed on the bare display.

本創作係一麵包辨識系統,其包括:資料庫、影像擷取模組、影像處理模組以及影像比對模組,其中,該資料庫預存複數個影像模型以及對應該複數個影像模型之麵包資訊,該影像擷取模組用以執行一待測麵包之影像擷取,以得到該待測麵包之麵包影像,該影像處理模組用於接收來自該影像擷取模組之該麵包影像以執行該麵包影像之影像處理,俾由該麵包影像取得有關該待測麵包之分割影像,另外,該影像比對模組執行該分割影像與該複數個影像模型之比對以取得對應該分割影像之影像模型,俾依據比對後所取得之影像模型,自該資料庫取得有關該待測麵包之麵包資訊。 The present invention is a bread identification system comprising: a database, an image capture module, an image processing module, and an image comparison module, wherein the database prestores a plurality of image models and bread corresponding to the plurality of image models Information, the image capture module is configured to perform image capture of a bread to be tested to obtain a bread image of the bread to be tested, and the image processing module is configured to receive the bread image from the image capture module Performing image processing of the bread image, obtaining a segmented image of the bread to be tested from the bread image, and performing an alignment of the segmented image with the plurality of image models to obtain a corresponding segmented image The image model, based on the image model obtained after the comparison, obtains information about the bread of the bread to be tested from the database.

於一實施例中,於該影像處理模組取得該分割影像之前,更包括執行該麵包影像之灰階處理,以將該麵包影像由全彩轉黑白而取得該麵包影像之灰階影像之步驟。 In an embodiment, before the image processing module obtains the segmented image, the method further includes performing the grayscale processing of the bread image to obtain the grayscale image of the bread image from the full color to the black and white image. .

次之,該影像處理模組更執行該灰階影像之特徵點偵測,藉以取得該麵包影像之特徵點。 Secondly, the image processing module further performs feature point detection of the grayscale image to obtain feature points of the bread image.

接著,該影像處理模組更依據該特徵點執行該麵包影像之前後景判斷,以令該待測麵包所涵蓋範圍為前景部分。 Then, the image processing module further performs the background determination of the bread image according to the feature point, so that the bread covered by the bread to be tested is the foreground portion.

最後,該影像處理模組係依據該前景部分以對該麵包影像執行影像分割,以令分割後所得到之該前景部分為該分割影像。 Finally, the image processing module performs image segmentation on the bread image according to the foreground portion, so that the foreground portion obtained after the segmentation is the segmented image.

於另一實施例中,該影像比對模組未取得對應該分割影像之影像模型時,該影像比對模組令該未取得對應之影像模型的分割影像為新的影像模型,且新增該新的影像模型至該資料庫。 In another embodiment, when the image matching module does not obtain an image model corresponding to the divided image, the image matching module makes the segmented image of the unobtained image model a new image model, and adds The new image model is to the database.

於再一實施例中,該麵包辨識系統更包括機器學習模組,該機器學習模組於非辨識階段時,透過該影像擷取模組截取複數個同款麵包以得到複數影像資料,俾透過卷積神經網路依據該複數影像資料執行機器學習,藉以得到該複數個影像模型之其中一者。 In another embodiment, the bread identification system further includes a machine learning module. When the machine learning module is in the non-identification stage, the image capture module intercepts a plurality of the same bread to obtain a plurality of image data. The convolutional neural network performs machine learning based on the plurality of image data to obtain one of the plurality of image models.

於又一實施例中,該麵包辨識系統更包括顯示器,該顯示器用於顯示該影像擷取模組所擷取之該麵包影像以及該影像比對模組比對後所取得之該麵包資訊。 In another embodiment, the bread identification system further includes a display for displaying the bread image captured by the image capturing module and the bread information obtained after the image matching module is aligned.

另外,該影像比對模組所得到之該麵包資訊經複核後為錯誤者時,令該影像擷取模組、該影像處理模組、該影 像比對模組重新執行該待測麵包之影像辨識。反之,該影像比對模組所得到之該麵包資訊經複核後為正確者,將該麵包資訊傳送至銷售終端系統。 In addition, when the image information obtained by the image matching module is verified as being wrong, the image capturing module, the image processing module, and the image are obtained. The image recognition of the bread to be tested is re-executed like the comparison module. On the contrary, if the bread information obtained by the image matching module is verified as being correct, the bread information is transmitted to the sales terminal system.

相較於現行人工方式處理麵包銷售流程,本創作所提出之麵包辨識系統可透過麵包影像之擷取,進一步對麵包影像執行影像處理後,再與預存之複數個影像模型進行比對,藉此辨識麵包種類並取得對應該麵包之麵包資訊,例如麵包售價、是否為優惠商品等,之後,麵包辨識系統更可將辨識結果傳遞至後端的銷售終端系統,進而執行金額結算,故透過本創作之麵包辨識系統,可有效率地減少時間及人力的耗費,亦可減少人為誤判之情況發生,不僅有助於改善麵包銷售流程,也讓結帳程序具高效率以及高精確性。 Compared with the current manual processing of the bread sales process, the bread identification system proposed by the present invention can perform image processing on the bread image after performing image processing on the bread image, and then compare with the pre-stored plurality of image models. Identify the type of bread and obtain information about the bread of the bread, such as the price of the bread, whether it is a preferential product, etc. After that, the bread identification system can transmit the identification result to the sales terminal system of the back end, and then perform the settlement of the amount, so through the creation The bread identification system can effectively reduce the time and labor costs, and can reduce the occurrence of human error, not only help to improve the bread sales process, but also make the checkout process highly efficient and accurate.

1‧‧‧麵包辨識系統 1‧‧‧Bread Identification System

11‧‧‧資料庫 11‧‧‧Database

111‧‧‧影像模型 111‧‧‧Image Model

1111‧‧‧影像模型A 1111‧‧‧Image Model A

1112‧‧‧影像模型B 1112‧‧‧Image Model B

1113‧‧‧影像模型C 1113‧‧‧Image Model C

12‧‧‧影像擷取模組 12‧‧‧Image capture module

13‧‧‧影像處理模組 13‧‧‧Image Processing Module

131‧‧‧分割影像 131‧‧‧Split image

14‧‧‧影像比對模組 14‧‧‧Image comparison module

15‧‧‧機器學習模組 15‧‧‧ machine learning module

16‧‧‧顯示器 16‧‧‧ display

2‧‧‧銷售終端系統 2‧‧‧Sale terminal system

S31~S35‧‧‧步驟 S31~S35‧‧‧Steps

S41~47‧‧‧流程 S41~47‧‧‧ Process

S51~55‧‧‧流程 S51~55‧‧‧ Process

第1圖係本創作之麵包辨識系統之系統架構圖;第2圖係本創作之麵包辨識系統另一實施例之系統架構圖;第3圖係本創作之影像處理模組執行麵包影像處理之步驟圖;第4圖係本創作之麵包辨識系統於一般辨識階段之流程圖;第5圖係本創作之麵包辨識系統於機器學習階段之流程圖;以及第6圖係本創作之影像比對後執行比例判斷之示意 圖。 1 is a system architecture diagram of the bread identification system of the present invention; FIG. 2 is a system architecture diagram of another embodiment of the bread identification system of the present invention; and FIG. 3 is a image processing module of the present invention performing bread image processing. Step diagram; Figure 4 is a flow chart of the bread identification system of the present invention in the general identification stage; Figure 5 is a flow chart of the bread identification system of the present invention in the machine learning stage; and Figure 6 is an image comparison of the creation of the present invention. After the execution of the proportion judgment Figure.

以下藉由特定的具體實施形態說明本創作之技術內容,熟悉此技術之人士可由本說明書揭示之內容明白地瞭解本創作之優勢與功效。然本創作亦可藉由其他不同的具體實施形態加以施行或應用。 The technical content of the present invention will be described below by way of specific embodiments, and those skilled in the art can clearly understand the advantages and effects of the present invention by the contents disclosed in the present specification. However, the creation can also be implemented or applied by other different embodiments.

有鑑於麵包販售需透過店員人工方式判斷麵包種類,易有判斷錯誤或金額錯誤等問題,若改由條碼讀取方式,恐又不適用於常裸置擺放的麵包,因而本創作針對麵包銷售方式提出透過影像辨識以判斷麵包種類,藉此提升效率及準確性。 In view of the fact that bread sales need to be judged manually by the clerk, it is easy to have problems such as misjudgment or wrong amount. If the barcode reading method is used, it may not be suitable for the bread that is normally placed, so the creation is for bread. The sales method proposes to identify the type of bread through image recognition, thereby improving efficiency and accuracy.

請參照第1圖,其為本創作之麵包辨識系統之系統架構圖,如圖所示,本創作之麵包辨識系統1包括資料庫11、影像擷取模組12、影像處理模組13以及影像比對模組14。 Please refer to FIG. 1 , which is a system architecture diagram of the bread identification system of the present invention. As shown in the figure, the bread identification system 1 of the present invention includes a database 11 , an image capturing module 12 , an image processing module 13 and an image. Align the module 14.

資料庫11用於預存複數個影像模型111以及對應該複數個影像模型111之麵包資訊,該些影像模型111可透過機器學習而先儲存於資料庫11中,可供後續麵包時辨識比對使用,當然亦可日後逐步增加其他新的影像模型至資料庫11。 The database 11 is configured to pre-store a plurality of image models 111 and bread information corresponding to the plurality of image models 111. The image models 111 can be stored in the database 11 through machine learning, and can be used for subsequent bread-time identification comparison. Of course, other new image models can be gradually added to the database 11 in the future.

前述之影像模型111中每一個影像模型都會對應一個麵包樣式,因而每一個影像模型111都會有相對對應之麵包資訊,據此,複數個影像模型111即為不同款式之麵包基礎影像,後續,透過影像比對過程,將可對待測麵包進行樣式的判斷。前述麵包資訊可包括任一可量化或可具體 描述之資料,例如麵包名稱、麵包金額、麵包主成分、麵包重量或者是否搭配優惠等資訊。 Each of the image models 111 described above corresponds to a bread style, and thus each image model 111 has a corresponding bread information. Accordingly, the plurality of image models 111 are different types of bread base images, followed by The image comparison process will judge the style of the bread to be tested. The aforementioned bread information may include any quantifiable or specific Describe the information, such as the name of the bread, the amount of bread, the main ingredients of the bread, the weight of the bread, or whether it is accompanied by a discount.

影像擷取模組12用以執行待測麵包之影像擷取,藉以取得此待測麵包之麵包影像。具體來說,影像擷取模組12可為用於擷取影像之CCD影像感測器或照相機等設備,但不以此為限。 The image capturing module 12 is configured to perform image capturing of the bread to be tested, thereby obtaining a bread image of the bread to be tested. Specifically, the image capturing module 12 may be a device such as a CCD image sensor or a camera for capturing images, but is not limited thereto.

影像處理模組13用於接收來自影像擷取模組12所擷取的麵包影像,並對該麵包影像執行影像處理,以由該麵包影像取得有關該待測麵包之分割影像。另外,針對影像處理,影像處理模組13可對麵包影像執行例如灰階處理、特徵點偵測、確立前後景或影像分割等程序,且此所取得之分割影像可用於後續比對。 The image processing module 13 is configured to receive the bread image captured by the image capturing module 12 and perform image processing on the bread image to obtain a segmented image of the bread to be tested from the bread image. In addition, for image processing, the image processing module 13 can perform programs such as grayscale processing, feature point detection, front and back scene or image segmentation on the bread image, and the obtained segmented image can be used for subsequent comparison.

影像比對模組14連接資料庫11及影像處理模組13,當影像比對模組14接收來自影像處理模組13所傳送之分割影像後,影像比對模組14將至資料庫11讀取其內存之複數個影像模型111,亦即執行該分割影像與該複數個影像模型111之比對,當比對成功時,表示該分割影像是對應到該複數個影像模型111之其中一者,即對應該分割影像之影像模型,俾依據比對後所取得之影像模型,將可進一步由資料庫11取得有關該待測麵包之麵包資訊。 The image comparison module 14 is connected to the database 11 and the image processing module 13. After the image matching module 14 receives the segmented image transmitted from the image processing module 13, the image matching module 14 reads the database 11 Taking a plurality of image models 111 of the memory, that is, performing an alignment of the divided images with the plurality of image models 111, when the comparison is successful, indicating that the divided images correspond to one of the plurality of image models 111 That is, the image model corresponding to the image to be segmented, and based on the image model obtained after the comparison, the bread information about the bread to be tested can be further obtained from the database 11.

另外,倘若影像比對模組14未取得對應該分割影像之影像模型時,則影像比對模組14可將該未取得對應之影像模型的分割影像設定為新的影像模型,且新增該新的影像模型至資料庫11。 In addition, if the image matching module 14 does not obtain the image model corresponding to the divided image, the image matching module 14 can set the divided image of the corresponding image model as a new image model, and add the new image model. New image model to database 11.

透過上述描述可知,當待測麵包透過麵包辨識系統1之影像擷取模組12擷取得到麵包影像後,會先經由影像處理模組13解析與處理進而取得該麵包影像有關待測麵包的部分,即分割影像,復透過影像比對模組14執行比對,藉此取得相對應之影像模型以及麵包資訊。據此,於商店銷售麵包時,可透過影像辨識來決定麵包為何,此不僅可降低人力誤判情況,另外,透過辨識技術也助於提升結帳程序之速度。 As can be seen from the above description, after the bread to be tested is obtained through the image capturing module 12 of the bread identification system 1 , the image is processed and analyzed by the image processing module 13 to obtain the portion of the bread image to be tested. That is, the image is divided, and the complex image is compared with the module 14 to obtain a corresponding image model and bread information. Accordingly, when selling bread in a store, it is possible to determine the bread by image recognition, which not only reduces the misjudgment of human resources, but also helps to improve the speed of the checkout process through identification technology.

請參照第2圖,其為本創作之麵包辨識系統另一實施例之系統架構圖。如圖所示,本實施例之麵包辨識系統1內的資料庫11、影像擷取模組12、影像處理模組13及影像比對模組14與第1圖所述相同,於此不在贅述,於本實施例中,本創作之麵包辨識系統1復包括機器學習模組15以及顯示器16。 Please refer to FIG. 2, which is a system architecture diagram of another embodiment of the bread identification system of the present invention. As shown in the figure, the database 11 , the image capturing module 12 , the image processing module 13 , and the image matching module 14 in the bread identification system 1 of the present embodiment are the same as those described in FIG. 1 . In the present embodiment, the bread identification system 1 of the present invention includes a machine learning module 15 and a display 16.

機器學習模組15可於非辨識階段時,透過影像擷取模組12截取複數個同款麵包以得到複數影像資料,該複數影像資料可利用卷積神經網路(Convolutional Neural Networks,CNN)執行機器學習,藉此得到資料庫11內複數個影像模型111之其中一者。也就是說,為了提升麵包辨識系統1於麵包辨識時之準確度,在執行辨識前,需先透過大量樣本之機器學習來取得每一款麵包之較佳影像,日後判斷時方能快速比對出待測麵包的可能影像模型為何。 The machine learning module 15 can capture a plurality of the same type of bread through the image capturing module 12 to obtain a plurality of image data in a non-identification stage, and the plurality of image data can be executed by a Convolutional Neural Networks (CNN). Machine learning, thereby obtaining one of a plurality of image models 111 in the database 11. That is to say, in order to improve the accuracy of the bread identification system 1 in bread identification, it is necessary to obtain a better image of each bread through machine learning of a large number of samples before performing the identification, and can quickly compare in the future judgment. What is the possible image model of the bread to be tested.

顯示器16用於顯示影像擷取模組12所擷取之麵包影 像以及影像比對模組14比對後所取得之麵包資訊。簡言之,顯示器16除了可顯示出比對後待測麵包為哪款麵包以及該款麵包之相關資訊外,亦可透過上述內容之顯示,供人員或顧客進行複核,因而當影像比對模組14所得到之麵包資訊經複核後為錯誤者,即可能是影像擷取不當可能導致誤判,因而可令影像擷取模組12、影像處理模組13、影像比對模組14重新執行此待測麵包之影像辨識,以取得此待測麵包之正確訊息,另外,當影像比對模組14所得到之麵包資訊經複核後為正確者,則將相關麵包資訊傳送至銷售終端系統2,以執行最後結帳程序。 The display 16 is configured to display the bread shadow captured by the image capturing module 12 The bread information obtained after the image comparison module 14 is compared. In short, in addition to displaying the bread and the related information of the bread to be tested, the display 16 can also be used for review by the person or the customer through the display of the above contents, so that the image is compared. The bread information obtained by the group 14 is the wrong one after the review, that is, the image may be misplaced, and the image capturing module 12, the image processing module 13, and the image matching module 14 may be re-executed. The image of the bread to be tested is identified to obtain the correct message of the bread to be tested. In addition, when the bread information obtained by the image matching module 14 is corrected, the relevant bread information is transmitted to the sales terminal system 2, To perform the final checkout process.

顯示器16可設計為觸控螢幕,或者搭配鍵盤滑鼠之操控裝置,藉此確認最後辨識結果為何,例如辨識失敗需重新辨識、無法辨識而需增加新的影像模型或是可以進行結帳。 The display 16 can be designed as a touch screen or with a keyboard mouse control device to confirm the final identification result, such as identification failure to be re-identified, unrecognizable, new image model added or checkout.

請參照第3圖,其為本創作之影像處理模組執行麵包影像處理之步驟圖。如圖所示,步驟S31~S35可為影像處理之一較佳實施步驟,但然仍可視影像處理之需求,調整個步驟前後順序,此為影像處理模組13接收到來自影像擷取模組12擷取之麵包影像後所執行之影像處理。 Please refer to FIG. 3, which is a step diagram of performing bread image processing for the image processing module of the present invention. As shown in the figure, the steps S31 to S35 may be a preferred implementation step of the image processing, but the video processing module 13 receives the image capturing module. Image processing performed after 12 captured bread images.

於步驟S31中,係對麵包影像執行灰階處理。此步驟係令其由全彩轉成黑白,進而取得該麵包影像之灰階影像。 In step S31, grayscale processing is performed on the bread image. This step converts the full color into black and white to obtain a grayscale image of the bread image.

於步驟S32中,係對該麵包影像之灰階影像執行特徵點偵測,藉以取得該麵包影像之特徵點。特徵點之偵測是由麵包影像取得其特徵點,據此可推得該款麵包之形狀。 In step S32, feature point detection is performed on the grayscale image of the bread image to obtain feature points of the bread image. The detection of the feature points is obtained from the bread image, and the shape of the bread can be derived therefrom.

於步驟S33中,係依據該特徵點執行該麵包影像之前後景判斷,以令該待測麵包所涵蓋範圍判定為前景部分。簡言之,此步驟即透過特徵點找出麵包影像中待測麵包所在範圍之後,並設定該些範圍為前景部分,此有利於後續分割影像之處理。 In step S33, the foreground image determination before the bread image is performed according to the feature point, so that the coverage range of the bread to be tested is determined as the foreground portion. In short, this step is to find out the range of the bread to be tested in the bread image through the feature points, and set the range to be the foreground portion, which is advantageous for the subsequent segmentation of the image.

於步驟S34中,係依據該前景部分以對該麵包影像執行影像分割,以令分割後所得到之該前景部分為該分割影像。此步驟說明,前述如何準確找出待測麵包所在範圍,並將其分割出來以供執行後續比對。 In step S34, image segmentation is performed on the bread image according to the foreground portion, so that the foreground portion obtained after the segmentation is the segmented image. This step illustrates how the above accurately identifies the extent of the bread to be tested and segments it for subsequent comparison.

於步驟S35中,係執行該分割影像之影像過濾。基於分割影像可能夾雜著雜訊,該些雜訊可能是影像擷取時因光線或角度導致影像內由其他不須影像訊息,故可再對分割影像執行雜訊濾除,使該分割影像更優化,避免後續執行比對時造成誤判。 In step S35, image filtering of the divided image is performed. The segmented image may be mixed with noise. The noise may be due to light or angle caused by other unnecessary image information, so the noise filtering can be performed on the segmented image to make the segmented image more Optimize to avoid misjudgment when subsequent comparisons are performed.

當然,為了取得優良之麵包影像,可於第1圖之影像擷取模組12執行影像擷取時,輔助適當光源,藉此提升麵包影像的品質。 Of course, in order to obtain an excellent bread image, the image capturing module 12 of FIG. 1 can assist the appropriate light source when performing image capturing, thereby improving the quality of the bread image.

再次參考第2圖,如前所述,本創作之麵包辨識系統可透過機器學習模組15進行影像模型111之建立,簡言之,麵包辨識系統可執行兩種流程,分別是執行影像辨識之一般辨識階段以及預先建立影像模型之機器學習階段。 Referring again to FIG. 2, as previously described, the bread identification system of the present invention can establish the image model 111 through the machine learning module 15. In short, the bread identification system can perform two processes, namely performing image recognition. The general identification phase and the machine learning phase in which the image model is pre-established.

請參照第4圖,其為本創作之麵包辨識系統於一般辨識階段之流程圖。如圖所示,於流程S41中,影像擷取模組擷取一麵包影像。於流程S42中,影像處理模組執行該 麵包影像之影像處理,如第3圖步驟,包括該麵包影像進行灰階處理、特徵點偵測、確立前後景以及影像分割以得到分割影像,之後再對該分割影像過濾雜訊。於流程S43中,影像比對模組執行該麵包影像之分割影像以及影像模型之比對,若比對成功,即進入流程S44中,取得對應之影像模型,亦即表示該待測麵包辨識成功。 Please refer to Figure 4, which is a flow chart of the bread identification system of the creation in the general identification stage. As shown in the figure, in the process S41, the image capturing module captures a bread image. In process S42, the image processing module executes the The image processing of the bread image, as in the third step, includes the bread image for grayscale processing, feature point detection, establishing front and back scenes, and image segmentation to obtain a segmented image, and then filtering the segmented image with noise. In the process S43, the image comparison module executes the comparison of the segmented image and the image model of the bread image. If the comparison is successful, the process proceeds to the process S44, and the corresponding image model is obtained, that is, the bread to be tested is successfully identified. .

倘若比對後未取得對應之影像模型時,即進入流程S45,則下一步為流程S46,影像比對模組令該未取得對應之影像模型之麵包影像為新的影像模型,最後,進入流程S47,令該新的影像模型儲存於資料庫內,此可供後續麵包辨識系統之比對使用。 If the corresponding image model is not obtained after the comparison, the process proceeds to the process S45, and the next step is the process S46, the image comparison module causes the bread image of the corresponding image model to be a new image model, and finally, the process proceeds. S47, the new image model is stored in the database, which can be used for comparison of the subsequent bread identification system.

請參照第5圖,其為本創作之麵包辨識系統於機器學習階段之流程圖。如圖所示,此流程可由機器學習模組來啟動,於流程S51中,係透過影像擷取模組擷取複數個麵包影像,此複數個麵包影像即是指一定數量之同一款麵包。於流程S52中,由影像處理模組執行該複數個麵包影像之影像處理。於流程S53中,機器學習模組透過卷積神經網路執行機器學習,此流程為反覆累積對同一款麵包的複數個麵包影像的辨識,欲從反覆累積學習過程中,找出該款麵包的較佳影像。於流程S54中,得到一款影像模型。於流程S55中,將該款影像模型儲存至資料庫。 Please refer to Figure 5, which is a flow chart of the bread identification system of the creation in the machine learning stage. As shown in the figure, the process can be started by a machine learning module. In the process S51, a plurality of bread images are captured by the image capturing module, and the plurality of bread images refer to a certain number of the same bread. In the process S52, image processing of the plurality of bread images is performed by the image processing module. In the process S53, the machine learning module performs machine learning through the convolutional neural network, and the process is to repeatedly accumulate the identification of the plurality of bread images of the same bread, and to find out the bread from the repeated accumulation learning process. Better image. In the process S54, an image model is obtained. In the process S55, the image model is stored in the database.

機器學習模組除了建立影像模型之外,復可透過機器學習模組提升影像模型之品質,進而降低誤判之情形。特別是,因同款麵包不可能百分之百擁有相同外觀,為避免 因同款麵包但因外觀些微落差所造成之誤判,故可透過機器學習模組執行機器學習,進而建立容許誤差值範圍之影像模型。 In addition to creating an image model, the machine learning module can improve the quality of the image model through the machine learning module, thereby reducing the misjudgment. In particular, because the same bread cannot be 100% identical, to avoid Due to the misunderstanding caused by the slight difference in appearance of the same bread, machine learning can be performed through the machine learning module to establish an image model of the allowable error value range.

請參照第6圖,其為本創作之影像比對後執行比例判斷之示意圖。如圖所示並一併搭配第2圖,分割影像131係由影像處理模組13產生,影像模型A 1111、影像模型B 1112以及影像模型C 1113為第2圖所示資料庫11內之複數個影像模型111。當影像比對模組14執行待測麵包之分割影像131和複數個影像模型111之比對時,每個影像模型和分割影像131之相似度百分比,分別為影像模型A 1111為a%、影像模型B 1112為b%、影像模型C 1113為c%,且a加b加c總和為100。 Please refer to Fig. 6, which is a schematic diagram of the execution ratio comparison after the image comparison of the creation. As shown in the figure and in conjunction with FIG. 2, the segmentation image 131 is generated by the image processing module 13, and the image model A 1111, the image model B 1112, and the image model C 1113 are plurals in the database 11 shown in FIG. Image model 111. When the image matching module 14 performs the comparison between the divided image 131 of the bread to be tested and the plurality of image models 111, the percentage of similarity between each image model and the segmented image 131 is respectively a% of the image model A 1111, and the image is Model B 1112 is b%, image model C 1113 is c%, and a plus b plus c is 100.

更具體來說,影像比對模組14會先依據分割影像131與各影像模型比較而得到各影像模型之相似度,接著將低於一定數值的影像模型剃除(即比對後明顯不像),其中,影像模型A、影像模型B以及影像模型C可有一定相似度,接著,影像模型A、影像模型B以及影像模型C依據相似程度取得百分比值中各自的比例,即前述之a%、b%以及c%,最終百分比值最高者之影像模型則可視為對應待測麵包之影像模型,據此,可快速且精確地找出可能之影像模型。 More specifically, the image matching module 14 first compares the image images according to the segmented image 131 and obtains the similarity of each image model, and then shaves the image model below a certain value (ie, obviously does not look after the comparison). ), wherein the image model A, the image model B, and the image model C may have a certain degree of similarity. Then, the image model A, the image model B, and the image model C obtain the respective proportions of the percentage values according to the degree of similarity, that is, the aforementioned a% , b% and c%, the image model with the highest percentage value is regarded as the image model corresponding to the bread to be tested, according to which the possible image model can be quickly and accurately found.

倘若影像模型A及影像模型B其百分比值最高且數值極接近,則影像比對模組14復將其影像模型A及影像模型B連同所取得之麵包影像一併傳送至顯示器16供再確 認,當然在此情況,若選擇其中一個影像模型(A或B),亦可由機器學習模組15再針對此影像進行學習。 If the image model A and the image model B have the highest percentage values and the values are very close, the image matching module 14 transmits the image model A and the image model B together with the obtained bread image to the display 16 for reconfirmation. In this case, of course, if one of the image models (A or B) is selected, the machine learning module 15 can also learn about the image.

綜上所述,本創作提出之麵包辨識系統,可透過影像辨識之導入將需要耗費大量人力及時間之麵包銷售結帳型態轉為自動化作業,降低人為之判斷錯誤之可能,以得有高效率及高精確性之辨識過程,除影像辨識外,復可搭配麵包之對應資料,亦可與結帳流程結合,可讓本創作之麵包辨識系統有更廣泛之應用。 In summary, the bread identification system proposed by the present invention can convert the bread sales checkout type, which requires a lot of manpower and time, into an automated operation through the introduction of image recognition, thereby reducing the possibility of human error determination. The identification process of efficiency and high precision, in addition to image recognition, can be combined with the corresponding data of bread, and can also be combined with the checkout process, which can make the bread identification system of this creation more widely used.

上述實施型態僅列示性說明本發明之原理及其功效,而非用於限制本創作。任何熟習此項技藝之人士均可在不違背本創作之精神及範疇下,對上述實施型態進行修飾與改變。因此,本創作之權利保護範圍,應如後述之申請專利範圍所列。 The above-described embodiments are merely illustrative of the principles of the invention and its effects, and are not intended to limit the present invention. Anyone who is familiar with the art can modify and change the above-mentioned implementation form without violating the spirit and scope of this creation. Therefore, the scope of protection of this creation should be as listed in the scope of the patent application described later.

Claims (10)

一麵包辨識系統,其包括:資料庫,係預存複數個影像模型以及對應該複數個影像模型之麵包資訊;影像擷取模組,係執行一待測麵包之影像擷取,以得到該待測麵包之麵包影像;影像處理模組,係接收來自該影像擷取模組之該麵包影像以執行該麵包影像之影像處理,俾由該麵包影像取得有關該待測麵包之分割影像;以及影像比對模組,係執行該分割影像與該複數個影像模型之比對以取得對應該分割影像之影像模型,俾依據比對後所取得之影像模型,自該資料庫取得有關該待測麵包之麵包資訊。 A bread identification system, comprising: a database, pre-stored a plurality of image models and bread information corresponding to a plurality of image models; and an image capturing module, which performs image capturing of a bread to be tested to obtain the to-be-tested An image processing module for receiving a bread image from the image capturing module to perform image processing of the bread image, and obtaining a segmented image of the bread to be tested from the bread image; and an image ratio For the module, performing the comparison between the segmented image and the plurality of image models to obtain an image model corresponding to the segmented image, and obtaining the bread to be tested from the database according to the image model obtained after the comparison Bread information. 如申請專利範圍第1項所述之麵包辨識系統,於該影像處理模組取得該分割影像之前,更包括執行該麵包影像之灰階處理,以將該麵包影像由全彩轉黑白而取得該麵包影像之灰階影像之步驟。 The bread identification system of claim 1, wherein before the image processing module obtains the segmented image, the method further comprises performing grayscale processing of the bread image to obtain the bread image from full color to black and white. The steps of the grayscale image of the bread image. 如申請專利範圍第2項所述之麵包辨識系統,其中,該影像處理模組更執行該灰階影像之特徵點偵測,藉以取得該麵包影像之特徵點。 The bread recognition system of claim 2, wherein the image processing module further performs feature point detection of the grayscale image to obtain feature points of the bread image. 如申請專利範圍第3項所述之麵包辨識系統,其中,該影像處理模組更依據該特徵點執行該麵包影像之前後景判斷,以令該待測麵包所涵蓋範圍為前景部分。 The bread identification system of claim 3, wherein the image processing module further performs the front view determination of the bread image according to the feature point, so that the bread covered area is the foreground portion. 如申請專利範圍第4項所述之麵包辨識系統,其中,該 影像處理模組係依據該前景部分以對該麵包影像執行影像分割,以令分割後所得到之該前景部分為該分割影像。 The bread identification system of claim 4, wherein the The image processing module performs image segmentation on the bread image according to the foreground portion, so that the foreground portion obtained after the segmentation is the segmented image. 如申請專利範圍第1項所述之麵包辨識系統,其中,於該影像比對模組未取得對應該分割影像之影像模型時,該影像比對模組令該未取得對應之影像模型的分割影像為新的影像模型,且新增該新的影像模型至該資料庫。 The bread identification system of claim 1, wherein when the image matching module does not obtain an image model corresponding to the divided image, the image matching module divides the image model that does not obtain the corresponding image. The image is a new image model and the new image model is added to the database. 如申請專利範圍第1項所述之麵包辨識系統,更包括機器學習模組,該機器學習模組於非辨識階段時,透過該影像擷取模組截取複數個同款麵包以得到複數影像資料,俾利用卷積神經網路依據該複數影像資料執行機器學習,藉以得到該複數個影像模型之其中一者。 The bread identification system of claim 1 further includes a machine learning module, wherein the machine learning module intercepts a plurality of the same bread through the image capturing module to obtain a plurality of image data. And using the convolutional neural network to perform machine learning based on the plurality of image data, thereby obtaining one of the plurality of image models. 如申請專利範圍第1項所述之麵包辨識系統,更包括顯示器,該顯示器係用於顯示該影像擷取模組所擷取之該麵包影像以及該影像比對模組比對後所取得之該麵包資訊。 The bread identification system of claim 1, further comprising a display for displaying the bread image captured by the image capturing module and the image matching module The bread information. 如申請專利範圍第8項所述之麵包辨識系統,其中,該影像比對模組所得到之該麵包資訊經複核後為錯誤者時,令該影像擷取模組、該影像處理模組、該影像比對模組重新執行該待測麵包之影像辨識。 The bread-recognition system of claim 8, wherein the image capture module, the image processing module, and the image information obtained by the image comparison module are reviewed The image comparison module re-executes image recognition of the bread to be tested. 如申請專利範圍第8項所述之麵包辨識系統,其中,該影像比對模組所得到之該麵包資訊經複核後為正確者,將該麵包資訊傳送至銷售終端系統。 The bread identification system of claim 8, wherein the bread information obtained by the image comparison module is correct after being reviewed, and the bread information is transmitted to the sales terminal system.
TW107201880U 2018-02-07 2018-02-07 A system for recognizing bread TWM563621U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107201880U TWM563621U (en) 2018-02-07 2018-02-07 A system for recognizing bread

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107201880U TWM563621U (en) 2018-02-07 2018-02-07 A system for recognizing bread

Publications (1)

Publication Number Publication Date
TWM563621U true TWM563621U (en) 2018-07-11

Family

ID=63642143

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107201880U TWM563621U (en) 2018-02-07 2018-02-07 A system for recognizing bread

Country Status (1)

Country Link
TW (1) TWM563621U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117483264A (en) * 2023-12-29 2024-02-02 新乡市口口妙食品有限公司 Conveying equipment for bread packaging and using method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117483264A (en) * 2023-12-29 2024-02-02 新乡市口口妙食品有限公司 Conveying equipment for bread packaging and using method thereof
CN117483264B (en) * 2023-12-29 2024-03-22 新乡市口口妙食品有限公司 Conveying equipment for bread packaging and using method thereof

Similar Documents

Publication Publication Date Title
JP6366024B2 (en) Method and apparatus for extracting text from an imaged document
US8885048B2 (en) Computer vision and radio frequency identification technology based book enrolment management apparatus
RU2613734C1 (en) Video capture in data input scenario
US9785898B2 (en) System and method for identifying retail products and determining retail product arrangements
CN110348439B (en) Method, computer readable medium and system for automatically identifying price tags
CN108717543B (en) Invoice identification method and device and computer storage medium
TW202027007A (en) Computer-executed method and apparatus for assessing vehicle damage
CN103617420A (en) Commodity fast recognition method and system based on image feature matching
TWI669519B (en) Board defect filtering method and device thereof and computer-readabel recording medium
JP6458239B1 (en) Image recognition system
TW201317904A (en) Tag detecting system, apparatus and method for detecting tag thereof
TWI765442B (en) Method for defect level determination and computer readable storage medium thereof
US20210357883A1 (en) Payment method capable of automatically recognizing payment amount
JP6651169B2 (en) Display status judgment system
TWM563621U (en) A system for recognizing bread
CN113486715A (en) Image reproduction identification method, intelligent terminal and computer storage medium
CN111414889B (en) Financial statement identification method and device based on character identification
JP7449505B2 (en) information processing system
JP2002163637A (en) Device and method for examining image
JP2020009466A (en) Display state determination system
CN115631169A (en) Product detection method and device, electronic equipment and storage medium
US11657489B2 (en) Segmentation of continuous dynamic scans
Manlises et al. Expiry Date Character Recognition on Canned Goods Using Convolutional Neural Network VGG16 Architecture
CN113657162A (en) Bill OCR recognition method based on deep learning
JP2020204835A (en) Information processing apparatus, system, information processing method and program

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees