Identification system for packaged food and method for affixing food labels to packages
The identification system addresses misidentification in food labeling by using image recognition and database comparison to ensure accurate product identification and suggests packaging changes, enhancing reliability and credibility in food labeling.
Patent Information
- Application Number
- JP2024107903
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2026-12-03
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing methods for affixing food labels in packaged food are prone to input errors and misidentification due to difficulties in distinguishing between similar food products, which can lead to health hazards and credibility issues for stores.
An identification system that uses image recognition to identify the overall features of packaging and food contents, comparing them with a product database to ensure accurate product identification, and suggests changes to packaging design if necessary to differentiate new products from registered ones.
Enables accurate and reliable affixing of food labels by identifying products through image recognition, reducing misidentification and enhancing store credibility by ensuring correct product identification.
Smart Images

Figure 0007960395000001 
Figure 0007960395000002 
Figure 0007960395000003
Abstract
Description
Technical Field
[0001] The present invention relates to determining the type of packaged food by image recognition, so that a label based on the Food Labeling Act can be affixed.
Background Art
[0002] Food is processed in stores such as convenience stores and supermarkets, stored in packages, affixed with food labels, and then sold. The food label is a label based on the Food Labeling Act, and displays the product name (black pork cutlet, vegetable dumplings, scattered sushi, etc.), ingredients, expiration date or best-before date, allergen information, storage method, nutritional components, and the like. Note that packages containing food may be affixed with labels unrelated to the Food Labeling Act, such as "○○ specialty", "○○ farm", "○○ tomato", etc.; however, in this specification, such labels are referred to as "seals" to distinguish them from food labels. In this specification, the term simply "label" means a food label in principle.
[0003] The food label is associated with numbers such as 3 to 5 digits, barcodes, etc., printed by a label printer, and affixed to the food package manually, for example. In affixing food labels, the type of food is identified by human eyes, and the number assigned to each food is input into a label printer or the like for printing. Alternatively, a food label is printed by manually reading a barcode printed together with the food name in a barcode book using a barcode scanner, and inputting it into a label printer or the like. However, when inputting numbers, it is difficult to completely eliminate input errors. When reading a barcode, there is a possibility of accidentally reading an adjacent barcode. If the wrong label type is input, it may not only cause health hazards related to allergens, but also reduce the store's credibility due to incorrect product names.
[0004] The following is related prior art. Patent document 1 (JP 2023-64548A) proposes printing food labels by image recognition of the type of food element. However, in the inventor's view, it is difficult to distinguish between "meat dumplings" and "vegetable dumplings," or between a simple "pork cutlet" and a "pork cutlet" made with branded meat, based on the image features of the food itself. Hereafter in this specification, "product" means food contained in a package, and "food" means the packaged food itself. Patent document 2 (Patent 7250275B) discloses a method for identifying food on a tray in a cafeteria, etc., that narrows down the list of food candidates and facilitates food identification by identifying the tableware. [Prior art documents] [Patent Documents]
[0005] [Patent Document 1] Japanese Patent Publication No. 2023-64548A [Patent Document 2] Patent 7250275B [Overview of the project] [Problems that the invention aims to solve]
[0006] The objective of this invention is to provide an identification system that detects when it is difficult to distinguish between a new product and an already registered product, and proposes a change to the product packaging. In this invention, the overall image features of the packaging and the food contents are identified, so even if the food contents are not identifiable, the product can be identified by changing the packaging. This makes it possible to distinguish between new products and already registered products, and to register new products in an identifiable manner. [Means for solving the problem]
[0007] The identification system for packaged food according to this invention is A camera that takes images of a product consisting of its packaging and the food contents, A computer that identifies the type of product based on product images obtained from a camera, The system includes a display that shows the product identification results by the aforementioned computer, The aforementioned computer, A feature extraction unit that extracts features from product images obtained from a camera, A product database is created to register products by storing the product name, data identifying the food label to be affixed to the package, and the feature quantities of the product image. The feature extraction unit compares the features extracted by the feature extraction unit with the features of product images registered in the product database to identify the type of product, and When registering a new product in the product database, if the features extracted from the new product image are more or less similar to the features of other products already registered in the product database, the new product registration unit displays a message on the display indicating that the new product cannot be registered because a similar product has already been registered.
[0008] In this invention, the method for affixing food labels to packaging is as follows: A camera that takes images of a product consisting of its packaging and the food contents, A computer that identifies the type of product based on product images obtained from a camera, The system includes a display that shows the product identification results by the aforementioned computer, The aforementioned computer, A feature extraction unit that extracts features from product images obtained from a camera, A product database is created to register products by storing the product name, data identifying the food label to be affixed to the package, and the feature quantities of the product image. The feature extraction unit compares the features extracted by the feature extraction unit with the features of product images registered in the product database to identify the type of product, and The identification system for packaged food products is equipped with a new registration unit that, when registering a new product in the product database, displays on the display that if the features extracted from the new product image are more similar than a threshold to the features of other products already registered in the product database, the new product cannot be registered because a similar product is already registered. In this invention, when the type of product is identified, the identification result is transferred to a label printer, which prints a food label corresponding to the identified product and attaches it to the product packaging. When registering a new product in the product database, if the display shows that the new product cannot be registered because a similar product is already registered, the product packaging will be changed.
[0009] Preferably, when the new product registration unit cannot register the new product, it suggests on the display that a sticker be affixed to the package to enable product identification. Particularly preferably, it suggests a sticker design on the display. In this way, the new product can be easily identified from the already registered product without changing the package itself or the food contents.
[0010] Preferably, when the new product registration unit is unable to register a new product, it displays the new product image obtained from the camera and an image of an already registered product with similar features on the display. This display allows the operator to understand why identification is difficult and provides hints on how to change the packaging to enable identification.
[0011] Preferably, the product database is configured to store feature quantities of product images across multiple products for a single type of product, and when the type of product is identified by the identification unit, it updates the stored product image feature quantities by adding the newly identified feature quantities. If the product type can be identified, but other product types with similar product image features are registered in the product database, a request to update the stored product image features will be displayed on the indicator.
[0012] Each time a product A already registered in a product database is cooked and identified, it is preferable to additionally learn the features on the image of the product A to broaden the range within which the product can be identified as the product A. However, when a feature amount close to that of another product B is additionally learned, the possibility of erroneously identifying the product B as the product A increases. Therefore, preferably, while the type of product can be identified, when another type of product having a close feature amount of the product image is registered in the product database, an inquiry is displayed on a display as to whether or not the storage of the feature amount of the product image may be updated, and additional learning is performed after waiting for confirmation by an operator.
[0013] Preferably, a code such as a barcode corresponding to the identified type of product is displayed on the display. When the code is read by a barcode scanner or the like, a food label to be printed by a label printer can be specified in the same manner as when a barcode is read from a barcode book.
[0014] In the present invention, an identification system detects that a new product is difficult to identify. In the present invention, since the entire package and the food contained therein are identified, even if the food contained therein cannot be identified, the product can be identified by changing the package. This makes it possible to identify the product and affix a correct food label. [Brief Description of Drawings]
[0015] [Figure 1] Block diagram of an identification system of an embodiment [Figure 2] Diagram schematically showing display of identification results and reading of output barcode [Figure 3] Block diagram of essential parts in an identification system [Figure 4] Diagram schematically showing a product database in an identification system [Figure 5] Flowchart showing a product identification algorithm [Figure 6] Diagram schematically showing processing when reliability of identification is low [Figure 7] Diagram schematically showing data in a log memory [Figure 8] Flowchart showing processing during new registration [Modes for carrying out the invention]
[0016] The following is an optimal embodiment. The scope of this invention should be determined based on the claims, taking into consideration the description in the specification and the well-known art in this field, and in accordance with the understanding of those skilled in the art. [Examples]
[0017] Examples are shown in Figures 1 to 8. As shown in Figure 1, the identification system 2 includes a platform 3 on which packaged goods 5 are placed, an identification computer 4, a light source 6, a camera 8, and a display 10 such as an LCD touch panel. The display 10 does not need to be a touch panel, as it can display images and process on-screen instructions as input. To facilitate imaging, it is preferable to provide a polarizing plate for processing light from the light source 6 and another polarizing plate for processing light incident on the camera 8.
[0018] As shown by the dashed line in Figure 1, processing on computer 4 may be transferred to server 12, and multiple identification systems 2 may be connected to server 12. 14 is a code scanner such as a barcode scanner, which reads barcodes, QR codes (registered trademarks), etc., displayed on display unit 10, transfers them to label printer 15, prints food labels corresponding to product 5, and attaches them to the product 5 package, for example, by hand. The barcode scanner 14 and label printer 15 are not part of the system of the present invention.
[0019] As shown in Figure 2, for example, each package of product 5 prepared in the store is placed on the machine 3, photographed with a camera, and the type of product 5 is determined from the feature quantities of the product image. Product 5 is food contained in a package, and even something like a rice ball wrapped in plastic wrap is included as a product of this invention, as the wrap is considered part of the package. For example, all of the products 5 prepared in the store are image-identified, and food labels are attached.
[0020] The features of a product image include not only the features of the food inside, but also the features of the entire image, including the packaging. These features include the shape and size of the packaging, the patterns printed on the packaging, the size and pattern of any stickers attached to the packaging, and the text on the packaging or stickers. Image recognition may or may not require character recognition. The shape, size, color, and pattern of the food inside the packaging are also included in the product image features. Any feature used for image recognition can be used, regardless of whether it pertains to the packaging or the food inside.
[0021] The captured product image, product name, and barcode corresponding to the food label are displayed on the display unit 10. The displayed barcode is read by the barcode scanner 14, the barcode is transferred to the label printer to print the food label, and then, for example, it is manually attached to the product 5.
[0022] Figure 3 shows the configuration of computer 4. Image memory 20 stores captured product images, and preprocessing unit 21 performs preprocessing such as rotating, adjusting the orientation of product images and removing noise as needed. Feature extraction unit 22 extracts features from product images, and identification unit 24 compares the extracted features with the features of each registered product in the product database 26, and extracts those whose extracted features are similar to the features of registered products by a threshold or more. Details of the processing of identification unit 24 are shown in Figure 5.
[0023] Figure 4 shows the data from product database 26. The data for one type of product consists of the product name, barcode or other codes, a collection of individual product features across multiple products, a representative image of the product, etc. Since the system learns by identifying one type of product multiple times, there are features for multiple products. The system can either store the mean and variance of the features, or store multiple features directly.
[0024] Returning to Figure 3, the display control 27 controls the display on the display unit 10 and processes the operator's input to the display unit 10. In this embodiment, each time a product registered in the product database 26 is identified, the product's features are added to the product database 26 as additional learning and stored. At this time, if the features are close to those of other already registered products, the learning control unit 28 asks the operator via the display unit 10 whether or not to perform additional learning.
[0025] The new registration unit 30 processes new products when they are registered in the product database 26, and the details of this process are shown in Figure 8. In addition, each time a product is identified, its image is stored in the log memory 31 along with the operator's name, the date and time of imaging, etc. The data in the log memory 31 is schematically shown in Figure 7.
[0026] Figure 5 shows the product identification algorithm. In step 1, each product package is imaged, and in step 2, feature quantities are extracted from the images of the package and the food inside. In step 3, the product database is searched and products with feature quantities similar to a threshold are extracted. If there is only one product with feature quantities similar to a threshold and the identification reliability is high, in step 5 the captured product image, product name, and barcode are displayed on the display (see Figure 2). It is preferable that even if the identification reliability is high, a button such as "Cancel" is displayed on the display 10 to allow the user to jump to step 9 in Figure 5.
[0027] In step 6, the barcode is read by a scanner and transferred to the label printer. In Figure 2, the elongated mark in the center of the barcode indicates that the barcode has not been read, and the mark disappears when the barcode is read. The elongated mark does not need to be displayed. Alternatively, instead of reading the barcode with a scanner, the barcode data can be transferred from computer 4 to label printer 15. In step 6, the food label printed by the printer is then, for example, manually attached to product 5.
[0028] If the reliability of the identification is low, for example, if there are multiple products with similar features exceeding a threshold, or if there are no products with similar features exceeding a threshold, then step 9.10 is executed. For example, as shown on the far left of Figure 6, the area around the captured image is marked with color coding to draw attention, and the candidate product names (in this case, "Yukari" rice balls) and an icon indicating doubt about the identification (in this case, a "?" mark) are displayed. If the operator selects the product name "Yukari," the product name is set to "Yukari." When the operator touches a marked product or the "?" mark, the product names of the top few products with similar features are displayed (center of Figure 6). If the operator selects "Wakame" from here, the process jumps to step 5, the display shown in the upper right of Figure 6 is shown, the barcode is read with a barcode scanner, and the food label is printed.
[0029] Each time a product is identified, additional learning is performed as a general rule (Step 8), and the features of the identified product are added to the product database 26. As shown in Figure 6, when an operator selects a product from multiple candidates, learning the identification result is highly meaningful, but it may also lead to confusion in identification. Therefore, preferably, as shown in the lower right of Figure 6, the operator is asked whether or not to perform additional learning, and additional learning is performed only if the operator chooses to do so. A similar problem arises when one type of candidate is identified, but the difference in features between it and other products is small, and there is a possibility that additional learning will make the difference in features between products in the product database 26 too small. In such cases as well, the operator is asked whether or not to perform additional learning. If the reliability of the identification is judged to be high in Step 4 of Figure 5, it is not necessary to confirm whether or not additional learning is required.
[0030] As shown in Figure 7, the log memory 33 stores the date and time, the name of the worker, the identified product name, and the captured image each time a product is identified, and records the identification result. The log memory 33 is useful when verifying the validity of the identification at a later date.
[0031] Figure 8 shows the process for new registration. The process in Figure 8 is performed when registering a new product in the product database, or when registering a product that is not entirely new but should be treated as a separate product from already registered products. In step 11, the product to be newly registered is imaged package by package, and in step 2, feature quantities are extracted. In step 13, the feature quantities are compared with other already registered products to check for the presence of other already registered products that are difficult to distinguish (step 14). Difficult to distinguish means, for example, that the feature quantities are similar to a predetermined value or more, and this predetermined value is different from the identification threshold in step 4 of Figure 5. If there are no already registered products that are difficult to distinguish, in step 15, the product name, barcode corresponding to the food label, product image, and feature quantities are registered in the product database, and the process ends.
[0032] If there are already registered products that are difficult to distinguish, the image of the new product obtained from the camera and the images of the already registered products with similar features are displayed on the display unit along with their product names so that the operator can understand why they are difficult to distinguish. This display provides hints on how to change the packaging to make it distinguishable. Particularly preferably, the display unit 10 suggests changes to the packaging (step 16). For example, it may suggest attaching a sticker to the packaging that clearly indicates the difference from similar products, or changing the shape or color of the packaging. An example of a sticker that clearly indicates the difference may be created using AI or the like and displayed on the display unit. Once it becomes easy to distinguish the new product from the already registered products by attaching a sticker to the packaging, the process returns to step 11 to complete the registration of the new product. [Explanation of symbols]
[0033] 2. Identification System 3 units 4 Computers 5 products 6 light source 8 cameras 10 Display 12 servers 14 Barcode Scanners 15 Label printers 20 Image memory 21 Pre-processing section 22 Feature Extraction Unit 24 Identification Unit 26 Product Database 27 Display Control Unit 28 Learning Control Unit 30 New Registration Section 31 Log memory
Claims
1. A camera that takes images of a product consisting of its packaging and the food contents, A computer that identifies the type of product based on product images obtained from a camera, The system includes a display that shows the product identification results by the aforementioned computer, The aforementioned computer, A feature extraction unit that extracts features from product images obtained from a camera, A product database is created to register products by storing the product name, data identifying the food label to be affixed to the package, and the feature quantities of the product image. The feature extraction unit compares the features extracted by the feature extraction unit with the features of product images registered in the product database to identify the type of product, and A packaged food identification system that includes a new registration unit that, when registering a new product in the product database, displays on the aforementioned display that if the features extracted from the new product image are more similar than a threshold to the features of other products already registered in the product database, the new product cannot be registered because a similar product is already registered.
2. The identification system for packaged food according to claim 1, characterized in that when the new registration unit cannot register a new product, it displays on the display a suggestion to affix a sticker to the package that enables product identification.
3. The packaged food identification system according to claim 1 or 2, characterized in that when the new registration unit cannot register a new product, it displays on the display an image of a new product obtained from a camera and an image of a previously registered product with similar features.
4. The aforementioned product database stores feature quantities of product images spanning multiple products for a single type of product, and is configured to update the stored feature quantities of product images when the type of product is identified by the identification unit. The packaged food identification system according to claim 1, characterized in that it can identify the type of product, but if other types of products with similar product image features are registered in the product database, it displays a request on the display asking whether it is okay to update the memory of the product image features.
5. The packaged food identification system according to claim 1, characterized in that a code corresponding to the type of product identified is displayed on the display device.
6. A camera that takes images of a product consisting of its packaging and the food contents, A computer that identifies the type of product based on product images obtained from a camera, The system includes a display that shows the product identification results by the aforementioned computer, The aforementioned computer, A feature extraction unit that extracts features from product images obtained from a camera, A product database is created to register products by storing the product name, data identifying the food label to be affixed to the package, and the feature quantities of the product image. The feature extraction unit compares the features extracted by the feature extraction unit with the features of product images registered in the product database to identify the type of product, and A packaged food identification system is equipped with a new registration unit that, when registering a new product in the product database, displays on the display that if the features extracted from the new product image are more similar than a threshold to the features of other products already registered in the product database, the new product cannot be registered because a similar product is already registered. Once the product type is identified, the identification result is transferred to a label printer, which prints a food label corresponding to the identified product and attaches it to the product packaging. When registering a new product in the product database, if the display shows that the new product cannot be registered because a similar product is already registered, the product packaging will be changed. How to affix food labels to packaging.
Citation Information
Patent Citations
Meal identification system and identification program
JP2022040805A
Parcel reception system, and control method for parcel reception system
JP2023027793A
Determination system, information processing device, method, and program
JP2023064548A
Image-based packaged meat quality classification and sales method, device and system
JP2023538048A
Classifying device and storage shed
JP2024077857A
