Commodity recognition apparatus and method
Through a product identification device that combines visual sensors and computing processors, machine learning models are used to automatically identify products without barcodes, which solves the problems of cumbersome identification processes and poor accuracy in the existing technology, improves checkout efficiency and accuracy, and reduces costs. Closing time and remodeling costs.
Patent Information
- Application Number
- PCT/CN2023/077305
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-08-29
AI Technical Summary
It is difficult for existing cash register equipment to quickly and accurately identify products without barcodes, resulting in a cumbersome and error-prone settlement process, which increases the time cost of customers and store clerks.
A visual sensor is used to obtain product image information, a machine learning model is used for identification through a computing processor, and category information is transmitted to a backend server for settlement. A product identification device and method are provided, including a visual sensor, a computing processor, and a data transmitter. Use AI chips and image recognition models for automated identification.
It achieves rapid and accurate identification of various commodities, improves checkout efficiency and accuracy, reduces checkout time costs, and gives the existing settlement system externally mounted commodity identification functions, reducing equipment modification costs.
Smart Images

Figure CN2023077305_29082024_PF_FP_ABST
Abstract
Description
Commodity identification device and method Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a commodity identification device and method. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. No statement herein is admitted to be prior art by virtue of its inclusion in this section.
[0003] In the offline world of merchandise sales, the primary method of settlement is to scan product barcodes to identify the product category and then proceed with payment. Most existing checkout devices only support payment for barcoded items. Non-standard items, such as fruits, vegetables, and bulk items, which don't have barcodes, may require specialized, additional equipment for product identification and settlement, or manual determination of the product category before settlement. This process is cumbersome, increasing checkout time for both customers and store employees, and manual judgment is prone to errors.
[0004] To address the above issues, no effective solutions have been proposed so far.
[0005] Summary of the Invention
[0006] An embodiment of the present invention provides a commodity identification device for quickly identifying the categories of various commodities, improving checkout efficiency and accuracy, and improving user experience. The device includes:
[0007] A visual sensor is used to obtain image information of the product and transmit the image information of the product to the computing processor;
[0008] The computing processor is configured to identify the image information of the product based on the image recognition model, obtain the product category information, and transmit the product category information to the data transmitter. The image recognition model is obtained by training a machine learning model based on the image information and the corresponding category information of different products.
[0009] The data transmitter is used to transmit the category information of the goods to the seller's backend server so that the seller's backend server can settle the bill based on the category information of the goods and the preset price information of the goods in different categories.
[0010] An embodiment of the present invention further provides a commodity identification method for quickly identifying the categories of various commodities, improving checkout efficiency and accuracy, and improving user experience. The method includes:
[0011] Receive image information of the product acquired by the visual sensor;
[0012] Input the product image information into the image recognition model and output the product category information. The image recognition model is trained on the machine learning model based on the image information and the corresponding category information of different products.
[0013] The category information of the goods is transmitted to the data transmitter, so that the data transmitter transmits the category information of the goods to the seller's backend server, and the seller's backend server performs settlement based on the category information of the goods and the preset price information of different categories of goods.
[0014] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned commodity identification method when executing the computer program.
[0015] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned commodity identification method is implemented.
[0016] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program implements the above-mentioned commodity identification method.
[0017] In an embodiment of the present invention, the commodity identification device mainly includes: a visual sensor for acquiring image information of the commodity and transmitting the image information of the commodity to an arithmetic processor; an arithmetic processor for identifying the image information of the commodity based on an image recognition model, obtaining category information of the commodity, and transmitting the category information of the commodity to a data transmitter; wherein the image recognition model is obtained by training a machine learning model based on the image information and the actual corresponding category information of different commodities; and a data transmitter for transmitting the category information of the commodity to the seller's backend server, so that the seller's backend server can settle the account based on the category information of the commodity and the preset price information of different categories of commodities. By using the commodity identification device, the categories of various commodities can be quickly identified, the checkout efficiency and accuracy can be improved, and the user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] FIG1 is a block diagram of a commodity identification device according to an embodiment of the present invention;
[0020] FIG2 is a structural block diagram of a specific example of a commodity identification device according to an embodiment of the present invention;
[0021] FIG3 is a structural block diagram of a specific example of a commodity identification device according to an embodiment of the present invention;
[0022] FIG4 is a processing flow chart of a commodity identification method according to an embodiment of the present invention;
[0023] FIG5 is a flow chart of a method for training and testing an image recognition model according to an embodiment of the present invention;
[0024] FIG6 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0026] The inventors discovered that in the offline sales sector, the primary settlement method is to scan product barcodes to identify the product category and then perform the settlement. Most common existing cash register devices only support the settlement of barcoded products. Non-standard products such as fruits, vegetables, and bulk products without barcodes may require specific, additional equipment for product identification and settlement, or manual determination of the product category before settlement. This process is cumbersome, increasing the checkout time and costs for customers and store employees, and manual determination is prone to errors. Therefore, the inventors proposed a product identification device to address this problem.
[0027] FIG1 is a schematic diagram of the structure of a commodity identification device according to an embodiment of the present invention. As shown in FIG1 , the commodity identification device according to an embodiment of the present invention may include:
[0028] The visual sensor 101 is used to obtain image information of the product and transmit the image information of the product to the computing processor;
[0029] The processing unit 102 is configured to identify the product image information based on the image recognition model, obtain the product category information, and transmit the product category information to the data transmitter. The image recognition model is obtained by training a machine learning model based on the image information and the corresponding category information of different products.
[0030] The data transmitter 103 is used to transmit the category information of the commodity to the backend server of the seller, so that the backend server of the seller can perform settlement according to the category information of the commodity and the preset price information of different categories of commodities.
[0031] In an embodiment of the present invention, the appearance of the commodity identification device can be presented as an independent hardware device, which is plug-and-play, and the internal functions are realized by a combination of software and hardware. It can independently complete the shooting of visual images, the category identification of visual images, the transmission of category identification results, the reception of external feedback signals, etc.; it can also be connected to an external settlement system device (such as the seller's backend server) through a data interface to transmit the identification results to the settlement system device, giving the settlement system device an externally mounted commodity identification function.
[0032] The commodity recognition device in the embodiment of the present invention may include a visual sensor, a computing processor, and a data transmission device. The following describes each component of the commodity recognition device in detail:
[0033] The visual sensor is used to obtain image information of the product and transmit the image information of the product to the computing processor. In the embodiment, the image information of a single product can be obtained separately, or the image information of multiple products can be obtained simultaneously.
[0034] The computing processor is used to identify the image information of the product based on the image recognition model, obtain the product information, and transmit the product information to the data transmitter; wherein the image recognition model can be obtained by training the machine learning model based on the image information of different products and the actual information corresponding to the image information of different products.
[0035] In one embodiment, the computing processor may include an AI chip that can run software and perform recognition-related calculations, or may include an AI chip that can run an artificial neural network model.
[0036] In one embodiment, before recognizing the image information of the commodity according to the image recognition model, the computing processor is further configured to: perform target detection on the image information of the commodity using a single-stage detection algorithm or a two-stage detection algorithm.
[0037] In one embodiment, before recognizing the image information of the commodity according to the image recognition model, the computing processor is further configured to: perform image segmentation on the image information of the commodity using an instance segmentation algorithm or a semantic segmentation algorithm.
[0038] In specific implementation, before identifying the image information of the product, a variety of digital image processing algorithms can be used to first perform target detection and / or segmentation on the image information of the product, that is, pre-process the image information of the product, which is conducive to improving the accuracy of the image recognition model in identifying the product.
[0039] The data transmitter is used to transmit the information of the product to the seller's backend server so that the seller's backend server can settle the bill based on the product information.
[0040] In one embodiment, the data transmitter may include a USB cable, a Type-C cable, or a wireless network communication device. In a specific implementation, the function of the data transmitter is to transmit the result of commodity identification or receive external feedback information.
[0041] Figure 2 is a schematic diagram of a specific example of a commodity identification device according to an embodiment of the present invention. As shown in Figure 2 , in this embodiment, the commodity identification device shown in Figure 1 may further include a storage medium 201 , connected to the visual sensor and the computing processor, respectively, and capable of storing commodity image information, commodity category information, and configuration information of the image recognition model.
[0042] Figure 3 is a schematic diagram of a specific example of a commodity identification device according to an embodiment of the present invention. As shown in Figure 3, in this embodiment, the commodity identification device shown in Figure 1 may further include an interactive touch screen 301 connected to the data transmission interface, which can be used to provide visual and clickable commodity category information.
[0043] In specific implementation, when the product identification device obtains multiple identification results for the image information of the same product at the same time, that is, when it is unable to identify a unique product, the multiple identification results can be provided to the seller or buyer for selection through the interactive touch screen, and then the seller or buyer selects the correct product through the interactive touch screen, which is conducive to providing guarantees for the correctness of product identification, thereby ensuring the accuracy of the product settlement amount and avoiding user losses.
[0044] For example, if the commodity to be settled is grapes, since the image information of grapes and grapes is very similar, if the commodity recognition device simultaneously obtains two recognition results of grapes and grapes, the two recognition results will be first displayed on the interactive touch screen. The seller or buyer can select the correct commodity category (grapes) by clicking. The data transmitter then transmits the correct commodity category (grapes) to the seller's backend server, so that the seller's backend server can settle the bill based on the pre-stored price information of grapes.
[0045] In one embodiment, the operation processor is also used to: receive operation instructions issued by the seller's backend server through the data transmitter, and perform corresponding operations according to the operation instructions, where the operation instructions include: re-identifying the category of the product and identifying the categories of multiple products at the same time.
[0046] During specific implementation, the salesperson may fail to identify the product due to incomplete image information of the product obtained by the visual sensor or other improper operations. At this time, the salesperson can issue an operation instruction to re-identify the product through the data transmitter, and the operation processor can re-identify the product according to the operation instruction.
[0047] In addition, when the buyer purchases multiple products at the same time, in order to improve the checkout efficiency, the salesperson can issue an operation instruction to simultaneously identify multiple products through the data transmitter, and the operation processor can simultaneously identify multiple products according to the operation instruction.
[0048] The beneficial effects of the present invention are as follows:
[0049] 1) The commodity recognition device of the present invention can effectively utilize visual image information and artificial intelligence algorithms to automatically identify commodities without relying on commodity barcodes, thereby improving the efficiency of commodity checkout settlement, especially for non-standard commodities without barcodes.
[0050] 2) The commodity identification device of the present invention is plug-and-play and can provide common settlement system equipment with an externally mounted commodity identification function, thereby quickly and flexibly improving the performance of existing cash register equipment and reducing its modification cost.
[0051] The present invention also provides a commodity identification method, as described in the following embodiments. Since the principle of the device to solve the problem is similar to that of the commodity identification device, the implementation of the device can refer to the implementation of the commodity identification device, and the repeated parts will not be repeated.
[0052] FIG4 is a flowchart of a method for identifying a commodity according to an embodiment of the present invention. The method is applied to the computing processor in the aforementioned commodity identification device. As shown in FIG4 , the method for identifying a commodity according to an embodiment of the present invention may include:
[0053] Step 401: receiving image information of a commodity acquired by a visual sensor;
[0054] Step 402: Input the product image information into the image recognition model and output the product category information. The image recognition model is obtained by training the machine learning model based on the image information and the corresponding category information of different products.
[0055] Step 403: Transmit the product category information to the data transmitter, so that the data transmitter transmits the product category information to the seller's backend server. The seller's backend server performs settlement based on the product category information and preset price information of different categories of products.
[0056] In one embodiment, the computing processor includes an AI chip.
[0057] In one embodiment, before recognizing the image information of the commodity according to the image recognition model, the method further includes: performing target detection on the image information of the commodity using a single-stage detection algorithm or a two-stage detection algorithm.
[0058] In one embodiment, before recognizing the image information of the commodity according to the image recognition model, the method further includes: performing image segmentation on the image information of the commodity using an instance segmentation algorithm or a semantic segmentation algorithm.
[0059] In one embodiment, the data transmission device includes: a USB connection, a Type C connection or a wireless network communication device.
[0060] FIG5 is a flowchart of a method for training and testing an image recognition model according to an embodiment of the present invention. As shown in FIG5 , in one embodiment, the training and testing process of the image recognition model includes:
[0061] Step 501: Use image information of different commodities and category information corresponding to the image information of different commodities as sample data to construct a training set and a test set;
[0062] Step 502: Train the machine learning model using the training set to obtain the image recognition model;
[0063] Step 503: Test the image recognition model using the test set.
[0064] In one embodiment, the method further includes: receiving an operation instruction from the seller's backend server through a data transmitter, and performing corresponding operations according to the operation instruction, wherein the operation instruction includes: re-identifying the category of the product and identifying the categories of multiple products at the same time.
[0065] Based on the aforementioned inventive concept, as shown in FIG6 , the present invention further proposes a computer device 600 comprising a memory 610, a processor 620, and a computer program 630 stored in the memory 610 and executable on the processor 620. When the processor 620 executes the computer program 630, the aforementioned commodity identification method is implemented.
[0066] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned commodity identification method is implemented.
[0067] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the computer program implements the above-mentioned commodity identification method.
[0068] In summary, in the embodiment of the present invention, the commodity identification device mainly includes: a visual sensor for acquiring the image information of the commodity and transmitting the image information of the commodity to an operation processor; an operation processor for identifying the image information of the commodity according to an image recognition model, obtaining the category information of the commodity, and transmitting the category information of the commodity to a data transmitter; wherein the image recognition model is obtained by training a machine learning model based on the image information and the actual corresponding category information of different commodities; a data transmitter for transmitting the category information of the commodity to the backend server of the seller, so that the backend server of the seller can settle the account according to the category information of the commodity and the preset price information of different categories of commodities. By using the commodity identification device, the categories of various commodities can be quickly identified, the checkout efficiency and accuracy can be improved, and the user experience can be improved.
[0069] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0070] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0071] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0072] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0073] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A commodity identification device, It is characterized in that include: A visual sensor is used to obtain image information of the product and transmit the image information of the product to a computing processor; The computing processor is used to identify the image information of the commodity according to the image recognition model, obtain the category information of the commodity, and transmit the category information of the commodity to the data transmitter; wherein the image recognition model is obtained by training the machine learning model according to the image information and the actual corresponding category information of different commodities; The data transmitter is used to transmit the category information of the goods to the backend server of the seller, so that the backend server of the seller can make settlement according to the category information of the goods and the preset price information of the goods of different categories.
2. The commodity identification device according to claim 1, It is characterized in that The computing processor includes an AI chip.
3. The commodity identification device according to claim 1, It is characterized in that Before recognizing the image information of the product according to the image recognition model, the computing processor is also used to: A single-stage detection algorithm or a two-stage detection algorithm is used to perform target detection on the image information of the product.
4. The commodity identification device according to claim 1, It is characterized in that Before recognizing the image information of the product according to the image recognition model, the computing processor is also used to: Use instance segmentation algorithm or semantic segmentation algorithm to perform image segmentation on the image information of the product.
5. The commodity identification device according to claim 1, It is characterized in that The data transmission device comprises: USB cable, Type C cable or wireless network communication device.
6. The commodity identification device according to claim 1, It is characterized in that Also includes: The storage medium is connected to the visual sensor and the computing processor respectively, and is used to store the image information of the commodity, the category information of the commodity and the configuration information of the image recognition model.
7. The commodity identification device according to claim 1, It is characterized in that Also includes: The interactive touch screen is connected to the data transmitter and is used to provide visual and clickable commodity category information.
8. The commodity identification device according to claim 1, It is characterized in that The arithmetic processor is also used to: Receive the operation instruction issued by the backend server of the seller through the data transmitter, and perform corresponding operations according to the operation instruction, wherein the operation instruction includes: re-identifying the category of the commodity and identifying the categories of multiple commodities at the same time.
9. A commodity identification method, It is characterized in that Applied to computing processors, including: Receiving image information of the product acquired by the visual sensor; Input the image information of the product into the image recognition model and output the category information of the product, wherein the image recognition model is obtained by training the machine learning model based on the image information and the actual corresponding category information of different products; The category information of the goods is transmitted to the data transmitter, so that the data transmitter transmits the category information of the goods to the backend server of the seller, and the backend server of the seller performs settlement according to the category information of the goods and the preset price information of different categories of goods.
10. The commodity identification method according to claim 9, It is characterized in that The computing processor includes an AI chip.
11. The commodity identification method according to claim 9, It is characterized in that Before identifying the image information of the product according to the image recognition model, it also includes: A single-stage detection algorithm or a two-stage detection algorithm is used to perform target detection on the image information of the product.
12. The commodity identification method according to claim 9, It is characterized in that Before identifying the image information of the product according to the image recognition model, it also includes: Use instance segmentation algorithm or semantic segmentation algorithm to perform image segmentation on the image information of the product.
13. The commodity identification method according to claim 9, It is characterized in that The data transmission device comprises: USB cable, Type C cable or wireless network communication device.
14. The commodity identification method according to claim 9, It is characterized in that The training and testing process of the image recognition model includes: The image information of different commodities and the category information actually corresponding to the image information of different commodities are used as sample data to construct training sets and test sets; Using the training set to train the machine learning model to obtain the image recognition model; The image recognition model is tested using a test set.
15. The commodity identification method according to claim 9, It is characterized in that Also includes: Receive the operation instruction issued by the backend server of the seller through the data transmitter, and perform corresponding operations according to the operation instruction, wherein the operation instruction includes: re-identifying the category of the commodity and identifying the categories of multiple commodities at the same time.
16. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method of claim 9 is implemented.
Citation Information
Patent Citations
Intelligent automatic-identification weighing system for supermarket
CN109708740A
Commodity pricing method, intelligent electronic scale and cashier system
CN110335426A
Commodity identification method and device
CN111178265A
Image-based commodity settlement method and device, medium and electronic equipment
CN111222382A
Settlement method and system based on visual identification
CN111222388A
