Communication system
The communication system optimizes product barcode scanning in POS systems by using a networked imaging and recognition setup to enhance efficiency and reduce CPU load, addressing the operability challenges in self-service systems.
Patent Information
- Application Number
- JP2023163063
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2026-11-26
- Estimated Expiration
- 2043-09-26
AI Technical Summary
Existing POS systems face challenges in improving the operability of product barcode scanning, particularly in self-service systems, due to the cumbersome nature of locating and scanning barcodes, which places a heavy load on CPU resources and can disrupt communication with image recognition devices.
A communication system is implemented with a first device having an imaging function and a second device with image recognition capabilities, connected via a local area network, allowing periodic requests for image recognition results and communication status checks, thereby optimizing the scanning process and reducing CPU load.
This system enhances the efficiency and accuracy of product barcode scanning by reducing the burden on CPU resources and ensuring continuous communication with image recognition devices, improving the operability of self-service POS systems.
Smart Images

Figure 0007957047000001 
Figure 0007957047000002 
Figure 0007957047000003
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to communication systems.
Background Art
[0002] Stores that sell products or services (hereinafter, collectively referred to as "products") use POS (Point Of Sales) systems. This type of POS system is designed to register information about products that a customer intends to purchase by using a scanner to read product codes from barcodes attached to products (hereinafter, also referred to as "product barcodes"). Product barcodes include 1D codes and 2D codes. In one example, the product barcode is printed on a sticker and affixed to the product. In another example, the product barcode is printed on the package containing the product.
[0003] An operator operating the POS system needs to locate the product barcode on the product and hold it up to the scanner, making the barcode reading operation cumbersome. As a result, the operator's product information registration (hereinafter, also referred to as "product registration") work requires significant effort. In particular, in so-called self-service POS systems, customers who are unfamiliar with product registration need to scan the product barcode, so there is a demand for improved operability in reading product codes, in other words, improved operability for the operator to identify products.
[0004] Some POS systems transmit images captured by a scanner to an image recognition device, use image recognition technology in the image recognition device to obtain product codes from the images, and return the obtained product codes to the scanner.
[0005] For example, image recognition obtains feature amounts included in an image, and compares the obtained feature amounts with a verification dictionary that associates multiple feature amounts with product codes, thereby obtaining the product code of the product shown in the image.
[0006] To improve the accuracy of image recognition, the image recognition device may upload the images used for recognition to a server, where the server enhances the matching dictionary, and the image recognition device may then download the enhanced matching dictionary.
[0007] Image recognition and communication place a heavy load on the CPU, so in some cases, it may be necessary to stop functions that are not being used. For example, if communication with the scanner is stopped while an image is being uploaded to the server, the scanner will not be able to determine whether communication with the image recognition device is stopped or in an abnormal state. [Prior art documents] [Patent Documents]
[0008] [Patent Document 1] Japanese Patent Publication No. 2019-21168 [Overview of the Initiative] [Problems that the invention aims to solve]
[0009] The problem that this invention aims to solve is to provide a communication system that allows a scanner to check the communication status of an image recognition device. [Means for solving the problem]
[0010] The communication system of this embodiment includes a first device having an imaging function, a second device having an image recognition function, and a local area network that connects the first device and the second device in a communicative manner. The first device transmits an image to the second device and then periodically sends a request to the second device for receiving the image recognition result. In response to receiving the request, the second device sends a communication termination notification or a response of the image recognition result to the first device. [Brief explanation of the drawing]
[0011] [Figure 1] Figure 1 shows the overall configuration of the product information management system according to this embodiment. [Figure 2] Figure 2 is a perspective view showing the appearance of a self-service POS system as an example of a product information registration system according to the embodiment. [Figure 3] Figure 3 is a block diagram showing the hardware configuration of a POS terminal according to an embodiment. [Figure 4] Figure 4 is a block diagram showing the hardware configuration of a scanner according to an embodiment. [Figure 5] Figure 5 is a block diagram showing the hardware configuration of the image recognition device according to this embodiment. [Figure 6] Figure 6 is a block diagram showing the hardware configuration of the server according to this embodiment. [Figure 7] Figure 7 shows the data structure of the product master stored in the memory unit of the POS terminal shown in Figure 3. [Figure 8] Figure 8 shows the data structure of the matching dictionary stored in the memory unit of the image recognition device shown in Figure 5. [Figure 9] Figure 9 is a block diagram showing the functional configuration of the control unit of the POS terminal shown in Figure 3. [Figure 10] Figure 10 is a block diagram showing the functional configuration of the control unit of the scanner shown in Figure 4. [Figure 11] Figure 11 is a block diagram showing the functional configuration of the control unit of the image recognition device shown in Figure 5. [Figure 12] Figure 12 is a block diagram showing the functional configuration of the control unit of the server in Figure 6. [Figure 13] Figure 13 is a flowchart showing the operation flow of the scanner and image recognition device when registering a single product in the product information registration system according to the embodiment. [Figure 14] Figure 14 shows the configuration of the communication system of the scanner, image recognition device, and server according to the embodiment. [Figure 15] Figure 15 shows an example of the operation of a scanner, an image recognition device, and a server in a communication system according to an embodiment. [Modes for carrying out the invention]
[0012] Hereinafter, embodiments will be described with reference to the drawings. The present invention is not limited by the embodiments described below.
[0013] (Product information management system) First, a product information management system MS according to the embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an overall configuration of a product information management system MS according to the embodiment. The product information management system MS includes a product information registration system RS and a server 40.
[0014] The product information registration system RS includes a POS terminal 10, a scanner 20, and an image recognition device 30. The POS terminal 10 and the scanner 20 are communicably connected via a LAN (Local Area Network) or a USB (Universal Serial Bus) cable. The scanner 20 and the image recognition device 30 are communicably connected via a LAN. The LAN may be a wired LAN or a wireless LAN, or may be a mixture of wired and wireless connections.
[0015] The POS terminal 10 and the image recognition device 30 are communicably connected to a LAN hub LH via a LAN. The LAN hub LH is communicably connected to a router RT via a LAN. The router RT can wirelessly communicate with the server 40 via a network NW. The router RT may be wired to the network NW for wired communication, or may be wirelessly connected to the network NW for wireless communication.
[0016] Note that although Figure 1 shows only one product information registration system RS per LAN hub LH, there may be multiple product information registration systems RS. Similarly, although only one LAN hub LH is shown per router RT, there may be multiple LAN hub LHs. Furthermore, there may be multiple router RTs. For example, one or more LAN hub LHs under one router RT and one or more product information registration systems RS under each LAN hub LH can be deployed in one store. Server 40 can be, for example, a management server located in the headquarters that manages and oversees the operations of multiple stores in a company that operates multiple stores.
[0017] The scanner 20 captures an image of the product and obtains a product image. The scanner 20 transmits the acquired product image to the image recognition device 30 via the LAN. The scanner 20 also detects and decodes the product barcode (1D code and 2D code) contained in the acquired product image. In other words, the scanner 20 reads the information held by the product barcode. The decoded product barcode includes the product code held by the product barcode. The scanner 20 transmits the decoded result to the image recognition device 30 via the LAN.
[0018] The image recognition device 30 receives product images, which are captured images from the scanner 20, via the LAN. The image recognition device 30 has an image recognition function, for example, using a pre-trained model created by machine learning, and performs image recognition on the product images using this function. Specifically, the image recognition device 30 acquires features contained in the product images using its image recognition function, compares the acquired features with a matching dictionary that associates multiple features with product codes, and acquires the product barcode associated with the feature that is closest to the acquired features. In other words, the image recognition result includes the product code of the product shown in the product image. The image recognition device 30 may also perform image recognition on the product images using methods such as deep learning. The image recognition device 30 transmits the image recognition result to the scanner 20 via the LAN.
[0019] The scanner 20 receives the image recognition results from the image recognition device 30 via LAN. The scanner 20 merges the decoded results and the image recognition results. Here, merging means obtaining a single product code from the decoded results and the image recognition results. Therefore, the merged result includes the product barcode contained in the product image or the product code of the product shown in the product image. The scanner 20 transmits the merged result to the POS terminal 10 via LAN or USB cable. The POS terminal 10 registers the product based on the product code of the merged result received from the scanner 20.
[0020] Furthermore, the image recognition device 30 determines whether to use the product images received from the scanner 20 for additional training. For example, if the difference between the acquired feature and the feature closest to the acquired feature is greater than or equal to a predetermined amount, the image recognition device 30 determines that the product images received from the scanner 20 are product images to be used for additional training. The image recognition device 30 sends the product images determined to be used for additional training, along with the product codes of the decoded results received from the scanner 20, to the server 40 via LAN.
[0021] Server 40 receives product images and product codes from the image recognition device 30 via LAN. Server 40 stores the received product images and product codes in association with each other. Server 40 uses the stored product images and product codes to perform additional training on the pre-trained model for product image recognition. Server 40 updates the pre-trained model through this additional training. In addition, Server 40 updates the matching dictionary in conjunction with the additional training. Updating the matching dictionary includes modifying existing records and adding new records. Server 40 transmits the updated pre-trained model and the updated matching dictionary to the image recognition device 30 via LAN.
[0022] The image recognition device 30 receives the updated trained model and the updated matching dictionary from the server 40 via LAN. The image recognition device 30 updates its currently held trained model with the received updated trained model. The image recognition device 30 also updates its currently held matching dictionary with the received updated matching dictionary.
[0023] In this product information management system (MS), when a product's packaging changes, the effort required to re-collect product images for additional training of the pre-trained model used for product image recognition is eliminated.
[0024] Furthermore, server 40 manages the product master. POS terminals 10 transmit accounting processing information (information related to transactions that have been accounted for) to router RT via LAN through LAN hub LH. Router RT transmits the received accounting processing information to server 40 via network NW. Server 40 manages the product master based on the received accounting processing information. For example, server 40 receives accounting processing information from multiple POS terminals 10 and manages a product master for each of the multiple POS terminals 10. Product master management includes modifying existing records and adding new records. Server 40 also transmits a product master appropriate for each POS terminal 10 to that terminal 10 via network NW, router RT, and LAN hub LH.
[0025] (Product Information Registration System) The following describes a self-service POS system, operated by the customer purchasing the product, as an example of a product information registration system. However, product information registration systems are not limited to self-service POS systems. A product information registration system may also be a POS system operated by the store staff selling the product.
[0026] Figure 2 is a perspective view showing the external appearance of the self-service POS system 1. The self-service POS system 1 comprises a POS terminal 10, a scanner 20 built into the POS terminal 10, and an image recognition device 30 built into the POS terminal 10. Here, the self-service POS system 1 is an example of a product information registration system, the POS terminal 10 is an example of a registration device, and the scanner 20 and image recognition device 30 are examples of information processing devices.
[0027] The scanner 20 identifies the product the customer is purchasing and transmits the product code of the identified product to the POS terminal 10. The product code is an example of product identification information that identifies a product. The POS terminal 10 registers the product based on the product code entered from the scanner 20 and also performs accounting processing related to the registered product. Accounting processing is the process that the POS terminal 10 performs in order for the customer to pay for the purchased product.
[0028] As shown in Figure 2, the POS terminal 10 comprises a main unit 50, a first basket stand 70, and a second basket stand 80. The main unit 50 has a display 51 and a touch panel 52 on its top, and houses a printer 53, a card reader 54, and a change dispenser 55 (see Figure 3 for each) inside.
[0029] Display 51 is a display device such as an LCD (Liquid Crystal Display) that displays various information. For example, display 51 displays product information such as the product name and price of products registered by the customer during the customer registration operation. Display 51 also displays accounting information such as the total transaction amount and change amount in conjunction with the customer's accounting operation.
[0030] The touch panel 52 is located on the surface of the display 51 and inputs information corresponding to the touch location to the control unit 100 (see Figure 3) of the POS terminal 10. Customers using the POS terminal 10 can operate the touch panel 52 by touching various buttons and operation keys displayed on the display 51.
[0031] As shown in Figure 2, below the display 51, facing the direction of the customer, are the reading window 230 for the scanner 20, the receipt printing slot 531 for the printer 53, and the card insertion slot 541 for the card reader 54.
[0032] The reading window 230 is a window through which the scanner 20 captures an image of the product's appearance. The customer, who is the operator of the self-service POS system 1, performs the product registration operation by holding the product they wish to purchase over the reading window 230. The customer holds the product over the reading window 230, changing its orientation, until the self-service POS system 1 completes the product registration and a registration completion sound is emitted.
[0033] The issuing slot 531 is an opening for ejecting receipts printed by the printer 53. The receipts have information (accounting information) related to the transactions processed by the POS terminal 10 printed on them. The POS terminal 10 may also be configured to issue electronic receipts instead of paper receipts printed by the printer 53.
[0034] The card slot 541 is an opening for inserting credit cards or other cards to be read by the card reader 54. When a customer makes a payment with a credit card, or when a customer has a store membership card or similar card read, a card is inserted through the card slot 541.
[0035] Furthermore, the main body 50 has a coin slot 551, a coin outlet 552, a coin tray 553, a banknote slot 554, and a banknote outlet 555, which correspond to the position of the change machine 55 housed inside.
[0036] The coin slot 551 is an opening into which customers insert coins to pay. Coins inserted into the coin slot 551 are stored in the change machine 55. The coin outlet 552 is an opening that discharges coins dispensed from the change machine 55. The coin outlet 552 discharges change or coins that were inserted into the coin slot 551 but not accepted by the change machine 55. The coin tray 553 is a tray that receives coins discharged from the coin outlet 552. The banknote slot 554 is an opening into which customers insert banknotes to pay. Banknotes inserted into the banknote slot 554 are stored in the change machine 55. The banknote outlet 555 is an opening that discharges banknotes, which are the change dispensed from the change machine 55.
[0037] The first basket rest 70 is a rest on which a shopping basket (not shown) containing the goods that a customer intends to purchase is placed. The first basket rest 70 is equipped with a first weighing unit 71. The first weighing unit 71 weighs the total weight of the shopping basket placed on the first basket rest 70 and the goods contained in the shopping basket.
[0038] The second basket placement platform 80 is a platform on which a shopping basket (not shown) containing goods that have been removed from a shopping basket placed on the first basket placement platform 70 and whose product code has been read, i.e., registered goods, is placed. The second basket placement platform 80 comprises a second weighing unit 81, a pair of support rods 82, and a temporary placement platform 83.
[0039] The second weighing unit 81 weighs the total weight of a shopping basket placed on the second basket placement platform 80 and the goods contained in the shopping basket, or the total weight of a shopping bag (not shown) supported by a pair of support rods 82 and the goods contained in the shopping bag. The support rods 82 are rods for hooking and supporting a shopping bag that contains registered goods. The support rods 82 make it easier to put goods into the shopping bag by supporting the shopping bag in an open state. The temporary placement platform 83 is a platform for temporarily placing easily damaged or deformable goods among the registered goods, such as tofu and eggs. The customer can then place the goods placed on the temporary placement platform 83 into the shopping basket or shopping bag at the end.
[0040] The customer registers the items by holding the items they have taken out of the shopping basket placed on the first basket stand 70 up to the reading window 230. The customer then places the registered items into a shopping basket placed on the second basket stand 80 or into a shopping bag supported by the support rod 82.
[0041] The first weighing unit 71 measures the weight before and after removing items from a shopping basket placed on the first basket stand 70, allowing the control unit 100 (see Figure 3) to recognize the weight change. The second weighing unit 81 measures the weight before and after placing items in a shopping basket placed on the second basket stand 80 or in a shopping bag supported by a support rod 82, allowing the control unit 100 to recognize the weight change. By determining whether these two weight changes are equal, the control unit 100 can determine whether all the items the customer intends to purchase have been registered.
[0042] Furthermore, the main body 50 is equipped with a cylindrical pole 57 that extends upward. The upper tip of the pole 57 is provided with a light-emitting part 571 that illuminates when calling a store employee.
[0043] (POS terminal hardware configuration) Next, the hardware configuration of the POS terminal 10 will be described with reference to Figure 3. Figure 3 is a block diagram showing the hardware configuration of the POS terminal 10.
[0044] The POS terminal 10 includes a control unit 100, a storage unit 110, a display 51, a touch panel 52, a printer 53, a card reader 54, a change dispenser 55, a first weighing unit 71, a second weighing unit 81, a light-emitting unit 571, an audio output unit 120, a connection interface 121, and a LAN interface 122. These components—the control unit 100, the storage unit 110, the display 51, the touch panel 52, the printer 53, the card reader 54, the change dispenser 55, the first weighing unit 71, the second weighing unit 81, the light-emitting unit 571, the audio output unit 120, the connection interface 121, and the LAN interface 122—are connected to each other via a bus 123 or the like.
[0045] The control unit 100 consists of a computer equipped with a CPU (Central Processing Unit) 101, ROM (Read Only Memory) 102, and RAM (Random Access Memory) 103. The CPU 101, ROM 102, and RAM 103 are connected to each other via a bus 123.
[0046] The CPU 101 controls the entire POS terminal 10. The CPU 101 is an example of a processor, and an MPU (Micro Processing Unit) may be used instead. A multi-core / multi-threaded processor can execute multiple processes in parallel. Furthermore, the processor may be implemented in various other forms, including integrated circuits such as ASIC (Application Specific Integrated Circuit), GPU (Graphics Processing Unit), FPGA (Field-Programmable Gate Array), DSP (Digital Signal Processor), SoC (System on a Chip), and PLD (Programmable Logic Device), or a combination of several of these.
[0047] ROM 102 stores various programs and data, such as programs used to drive the CPU 101. RAM 103 is used as the work area for the CPU 101 and loads the various programs and data stored in ROM 102 and the memory unit 110. The control unit 100 executes various control processes of the POS terminal 10, for example, by having the CPU 101 operate according to the control program 111 stored in the memory unit 110 and loaded into RAM 103.
[0048] RAM103 has a product information unit 1031. The product information unit 1031 stores product information read from the product master 112 (described later) based on the product code acquired from the scanner 20. Product registration is performed when product information is stored (registered) in the product information unit 1031. The product information stored in the product information unit 1031 includes the product code, product name, price, etc. The product information unit 1031 stores product information related to one transaction and is cleared when the accounting processing for that transaction is completed.
[0049] The storage unit 110 is composed of a storage medium such as an HDD (Hard Disk Drive) or flash memory, and retains its contents even when the power is cut off. The storage unit 110 stores the control program 111 and the product master 112.
[0050] The control program 111 is a program that implements functions such as receiving product codes from the scanner 20, registering products based on the received product codes, and performing accounting processing for registered products. Instead of being stored in the storage unit 110, the control program 111 may be stored in the ROM 102.
[0051] The product master 112 is a master file that stores product information for the products handled by the store. Since the products handled by the store change daily, the product master 112 is updated as needed by the server 40 or store server (not shown) connected via the LAN interface 122. Figure 7 shows the data structure of the product master 112. The product master 112 includes product codes, product classifications associated with the product codes, product names, and prices.
[0052] The product code is information that identifies a product. Product codes can be set independently by each store, for example. The product category is information that classifies the products sold in the store. The product name is information that indicates the name of the product. The price is information that indicates the price (unit price) of the product. In addition, the product master 112 may also include other information associated with the product code.
[0053] Returning to Figure 3, we will continue the explanation of the hardware configuration of the POS terminal 10. The configuration and functions of the display 51 and touch panel 52 are as described above.
[0054] The printer 53 is configured, for example, as a thermal printer. The printer 53 prints transaction information on roll-shaped receipt paper and issues it as a receipt from the issuing slot 531.
[0055] The card reader 54 reads the credit information necessary for payment from the credit card inserted through the card slot 541. The card reader 54 also reads member information that identifies the member from a membership card or point card or other medium inserted through the card slot 541. The card reader 54 may read information magnetically from the card, or it may be an IC card reader that reads information from an IC card with a built-in IC (Integrated Circuit) chip.
[0056] The change dispenser 55 accepts the banknotes and coins paid by the customer when they pay for the goods in cash, and dispenses change as needed. Banknotes are inserted through the banknote slot 554, and coins are inserted through the coin slot 551. The banknotes of the change are discharged through the banknote discharge slot 555, and the coins of the change are discharged through the coin discharge slot 552.
[0057] The configuration and functions of the first weighing unit 71, the second weighing unit 81, and the light-emitting unit 571 are as described above. The voice output unit 120 generates voice as needed to notify the customer of information. For example, the voice output unit 120 outputs a notification sound to indicate that product registration is complete. The voice output unit is an example of a notification unit.
[0058] The connection interface 121 is an interface for communicating with the scanner 20 via LAN or USB cable. The control unit 100 sends and receives information (data) to and from the scanner 20 via the connection interface 121, via LAN or USB cable. For example, the control unit 100 receives a product code from the scanner 20 via the connection interface 121, via LAN or USB cable.
[0059] The LAN interface 122 is an interface for communicating with the LAN hub LH via the LAN. The control unit 100 sends and receives information (data) to and from the LAN hub LH via the LAN interface 122. For example, the control unit 100 sends and receives information between the server 40 and the product master 112 via the LAN through the LAN hub LH and router RT.
[0060] The LAN interface 122 also serves as an interface for communicating with external devices such as a store server (not shown) managed by the store. The control unit 100 sends and receives information to and from external devices via the LAN interface 122.
[0061] (Scanner hardware configuration) Next, the hardware configuration of the scanner 20 will be described with reference to Figure 4. Figure 4 is a diagram showing the hardware configuration of the scanner 20.
[0062] Scanner 20 captures images of the products that customers purchase to acquire product images. Next, scanner 20 detects the product barcode contained in the product image, i.e., the barcode attached to the captured product, and decodes the detected product barcode. The decoding result of the product barcode includes the product code held by the product barcode. Scanner 20 also transmits the product image to image recognition device 30 via LAN.
[0063] The scanner 20 comprises a control unit 200, a storage unit 210, an imaging unit 220, a connection interface 221, and a LAN interface 222. These control unit 200, storage unit 210, imaging unit 220, connection interface 221, and LAN interface 222 are connected to each other via a bus 223 or the like.
[0064] The control unit 200 consists of a computer equipped with a CPU 201, ROM 202, and RAM 203. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 223.
[0065] The CPU 201 controls the entire scanner 20. The ROM 202 stores various programs and data, such as the program used to drive the CPU 201. The RAM 203 is used as the work area for the CPU 201 and loads the various programs and data stored in the ROM 202 and the storage unit 210. The control unit 200 executes various control processes for the scanner 20, for example, by having the CPU 201 operate according to the control program 211 stored in the storage unit 210 and loaded into the RAM 203.
[0066] The storage unit 210 is composed of a storage medium such as an HDD or flash memory, and retains its contents even when the power is cut off. The storage unit 210 stores the control program 211 and the processing results 212.
[0067] The control program 211 is a program that implements functions such as capturing images of products with the imaging unit 220 and saving them to the RAM 203, acquiring frame images (product images) held by the RAM 203, detecting product barcodes included in the product images, decoding product barcodes, transmitting product images to the image recognition device 30, receiving image recognition results from the image recognition device 30, merging the decoding results and image recognition results, and transmitting the product code of the merged result to the POS terminal 10. The control program 211 may be stored in the ROM 202 instead of being stored in the storage unit 210.
[0068] The processing result 212 includes the decoding result obtained by decoding the product barcode, the image recognition result obtained by the image recognition device 30, and the merged result obtained by merging the decoding result and the image recognition result. The merged result includes the product barcode included in the product image or the product code of the product shown in the product image.
[0069] The imaging unit 220 is composed of, for example, a color CCD image sensor or a color CMOS image sensor. The imaging unit 220, in accordance with the control of the control unit 200, captures images of products through the reading window 230 and outputs the acquired product images. For example, the imaging unit 220 captures moving images at a predetermined frame rate (for example, 30fps). The imaging unit 220 sequentially stores the captured frame images in the RAM 203. The frame images (product images) held in the RAM 203 are used to identify the product codes of the products depicted in the frame images.
[0070] The connection interface 221 is an interface for communicating with the POS terminal 10 via LAN or USB cable. The control unit 200 sends and receives information (data) to and from the POS terminal 10 via the connection interface 221, either via LAN or USB cable.
[0071] The LAN interface 222 is an interface for communicating with the image recognition device 30 via the LAN. The control unit 200 sends and receives information (data) to and from the image recognition device 30 via the LAN interface 222. The control unit 200 also sends and receives information (data) to and from the image recognition device 30 via the LAN through the connection interface 221.
[0072] The control unit 200 detects the product barcode contained in the frame image (product image) held by the RAM 203, decodes the product barcode, and obtains the product code held by the product barcode. The control unit 200 also transmits the frame image (product image) held by the RAM 203 to the image recognition device 30 via the LAN interface 222 and receives the image recognition result (product code) from the image recognition device 30. Furthermore, the control unit 200 merges the decoding result and the image recognition result to identify the product barcode contained in the product image or the product code of the product shown in the product image, and transmits the identified product code to the POS terminal 10 via the connection interface 221.
[0073] (Image recognition device hardware configuration) Next, the hardware configuration of the image recognition device 30 will be described with reference to Figure 5. Figure 5 is a diagram showing the hardware configuration of the image recognition device 30.
[0074] The image recognition device 30 receives product images from the scanner 20 via the LAN. The image recognition device 30 performs image recognition on the received product images. Specifically, the image recognition device 30 obtains the product codes of the products shown in the product images based on the features of the product images. The image recognition device 30 transmits the image recognition results to the scanner 20 via the LAN. The image recognition device 30 also transmits the product images and product codes to the server 40 via the LAN as needed. Furthermore, the image recognition device 30 receives the updated trained model and matching dictionary from the server 40 via the LAN and updates the currently held trained model and matching dictionary.
[0075] The image recognition device 30 comprises a control unit 300, a storage unit 310, and a LAN interface 321. These control unit 300, storage unit 310, and LAN interface 321 are connected to each other via a bus 322 or the like.
[0076] The control unit 300 consists of a computer equipped with a CPU 301, ROM 302, and RAM 303. The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 322.
[0077] The CPU 301 controls the entire image recognition device 30. The ROM 302 stores various programs and data, such as the program used to drive the CPU 301. The RAM 303 is used as the work area for the CPU 301 and loads the various programs and data stored in the ROM 302 and the storage unit 310. The control unit 300 executes various control processes of the image recognition device 30, for example, by having the CPU 301 operate according to the control program 311 stored in the storage unit 310 and loaded into the RAM 303.
[0078] The memory unit 310 is composed of a storage medium such as an HDD or flash memory, and retains its contents even when the power is cut off. The memory unit 310 stores the control program 311, the learned model 312, and the comparison dictionary 313.
[0079] The control program 311 is a program that implements functions such as receiving product images from the scanner 20, performing image recognition on the product images, determining whether the image recognition was successful, sending the image recognition results to the scanner 20, receiving the decoded product code from the scanner 20, determining whether to use the product images for additional training, sending the product images and product codes to the server 40, receiving the updated trained model and updated matching dictionary from the server 40, updating the currently held trained model with the updated trained model, and updating the currently held matching dictionary with the updated matching dictionary. The control program 311 may be stored in the ROM 302 instead of the storage unit 310.
[0080] The pre-trained model 312 is an image recognition model for performing image recognition on product images. The pre-trained model 312 has been trained using machine learning and can be further trained using machine learning.
[0081] The matching dictionary 313 is a data table that manages the correspondence between products and the characteristic features of the appearance of those products. Figure 8 shows the data structure of the matching dictionary 313. The matching dictionary 313 includes product codes and the characteristic features associated with the product codes. The matching dictionary 313 may have multiple characteristic features for a single product code. The product codes in the matching dictionary 313 are the same as the product codes in the product master 112 held by the storage unit 110 of the POS terminal 10.
[0082] As described above, the product code is information that identifies a product. Feature quantities are parameterized representations of the product's appearance, such as its standard shape, surface color, pattern, and texture. In addition to the product's appearance, feature quantities may also include parameterized representations of the shape of the sticker label on which the product barcode is printed, and the strings or numbers written on it. The control unit 300 acquires the feature quantities contained in the product image, compares the acquired feature quantities with a matching dictionary, and obtains the product code associated with the acquired feature quantities. In other words, based on the feature quantities acquired from the product image, the control unit 300 acquires the product code of the product shown in the product image from among the products pre-recorded in the matching dictionary 313.
[0083] Returning to Figure 5, we will continue the explanation of the hardware configuration of the image recognition device 30.
[0084] The LAN interface 321 is an interface for communicating with the scanner 20 and the LAN hub LH. The control unit 300 sends and receives information (data) with the scanner 20 and the LAN hub LH via the LAN interface 321.
[0085] For example, the control unit 300 receives a frame image (product image) from the scanner 20 via the LAN interface 321. The control unit 300 also obtains the product code of the product shown in the product image, as described above, and transmits the obtained product code to the scanner 20 via the LAN interface 321.
[0086] Furthermore, the control unit 300 transmits the product image that has undergone image recognition and the product code received from the scanner 20 via the LAN interface 321 to the server 40 as needed. The control unit 300 also receives the updated trained model 412 (see Figure 6) and the updated matching dictionary 413 (see Figure 6) from the server 40 via the LAN interface 321. The control unit 300 updates the currently held trained model 312 with the updated trained model 412. The control unit 300 also updates the currently held matching dictionary 313 with the updated matching dictionary 413.
[0087] (Server hardware configuration) Next, the hardware configuration of server 40 will be described with reference to Figure 6. Figure 6 is a diagram showing the hardware configuration of server 40.
[0088] Server 40 receives and stores product images and product codes from the image recognition device 30. Using the stored product images and product codes, Server 40 performs additional training on the pre-trained model for product image recognition and updates the pre-trained model and the matching dictionary. Server 40 sends the updated pre-trained model and the updated matching dictionary to the image recognition device 30. Server 40 also manages the product master. Server 40 receives accounting processing information from the POS terminal 10 and manages the product master based on the received accounting processing information. Server 40 sends the product master appropriate for each POS terminal 10 to that POS terminal 10.
[0089] Server 40 comprises a control unit 400, a storage unit 410, and a communication unit 421. These control unit 400, storage unit 410, and communication unit 421 are connected to each other via a bus 422 or the like.
[0090] The control unit 400 consists of a computer equipped with a CPU 401, ROM 402, and RAM 403. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 422.
[0091] The CPU 401 controls the entire server 40. The ROM 402 stores various programs and data, such as the program used to drive the CPU 401. The RAM 403 is used as the work area for the CPU 401 and loads the various programs and data stored in the ROM 402 and the storage unit 410. The control unit 400 executes various control processes of the server 40, for example, by having the CPU 401 operate according to the control program 411 stored in the storage unit 410 and loaded into the RAM 403.
[0092] The storage unit 410 is composed of a storage medium such as an HDD or flash memory, and retains its contents even when the power is cut off. The storage unit 410 stores the control program 411, the learned model 412, the comparison dictionary 413, and the product master 414.
[0093] The control program 411 is a program that implements functions such as receiving product images and product codes from the image recognition device 30, storing product images and product codes, further learning and updating the trained model 412, updating the matching dictionary 413, sending the updated trained model 412 and the updated matching dictionary 413 to the image recognition device 30, receiving accounting processing information from the POS terminal 10, managing the product master 414, and sending the product master 414 to the POS terminal 10. The control program 411 may be stored in the ROM 402 instead of the storage unit 410.
[0094] The pre-trained model 412 is a machine learning model trained to perform image recognition on product images. More specifically, the pre-trained model 412 is an image recognition model that obtains the product code of the product shown in the product image by acquiring features contained in the product image and comparing the acquired features with the matching dictionary 413.
[0095] The matching dictionary 413 is a data table that manages the correspondence between the product code of a product and the visual features of that product, similar to the matching dictionary 313 held by the image recognition device 30. The matching dictionary 413 includes the matching dictionaries 313 held by multiple image recognition devices 30. The server 40 transmits the matching dictionary 313 appropriate for each image recognition device 30 to that device 30.
[0096] The product master 414, like the product master 112 held by the POS terminal 10, includes a product code, the product category associated with the product code, the product name, and the price. The product master 414 includes the product masters 112 held by multiple POS terminals 10. The server 40 manages the product master 414 based on accounting processing information received from the POS terminals 10. For example, the server 40 updates the product master 414 based on accounting processing information. The server 40 sends the product master 112 appropriate for each POS terminal 10 to that POS terminal 10.
[0097] The communication unit 421 is an interface for communicating with the router RT. The control unit 400 sends and receives information (data) with the router RT via the communication unit 421.
[0098] For example, the control unit 400 receives and stores product images and image recognition results from the image recognition device 30 via the communication unit 421. The control unit 400 uses the stored product images and image recognition results to further train the trained model 412 and updates the trained model 412 and the matching dictionary 413. The control unit 400 transmits the updated trained model and the updated matching dictionary to the image recognition device 30 via the communication unit 421.
[0099] Furthermore, the server 40 receives accounting processing information from the POS terminal 10 via the communication unit 421. Based on the received accounting processing information, the server 40 manages the product master. The server 40 transmits the product master appropriate for each POS terminal 10 to each POS terminal 10 via the communication unit 421.
[0100] (POS terminal function configuration) Next, the functional configuration of the POS terminal 10 will be described with reference to Figure 9. Figure 9 is a block diagram showing the functional configuration of the control unit 100 of the POS terminal 10.
[0101] The control unit 100 includes an input means 1001, a registration means 1002, an accounting processing means 1003, and an output means 1004. The control unit 100 functions as the input means 1001, registration means 1002, accounting processing means 1003, and output means 1004 when the CPU 101 operates according to a control program stored in the ROM 102 or the storage unit 110. These functions may also be configured using hardware such as dedicated circuits.
[0102] Various information is input to the input means 1001 from the scanner 20, touch panel 52, card reader 54, first weighing unit 71, second weighing unit 81, etc. For example, the product code is input to the input means 1001 from the scanner 20.
[0103] Furthermore, information based on the operation of the touch panel 52 is input to the input means 1001. For example, transaction start information declaring the start of a transaction is input to the input means 1001. Also, registration completion information indicating that the product registration for the goods related to a transaction has been completed is input to the input means 1001.
[0104] The registration means 1002 performs product registration of the product that the customer intends to purchase based on the customer's operation. In other words, the registration means 1002 registers product information identified by the product identification information entered into the input means 1001. Specifically, the registration means 1002 reads product information from the product master 112 based on the product code entered into the input means 1001. The registration means 1002 then stores the read product information in the product information unit 1031. The product information includes information such as the product code, product name, and price.
[0105] The accounting processing device 1003 performs accounting processing related to the payment of goods registered by the registration device 1002. Specifically, the accounting processing device 1003 performs processing such as calculating the total amount (transaction amount) of the registered goods, calculating the amount of change, displaying various information, and issuing a receipt. In addition, if the customer wishes to make a cashless payment such as credit card payment or QR code payment, the accounting processing device 1003 can perform the accounting processing necessary for the payment.
[0106] The output means 1004 outputs various information to the scanner 20, printer 53, change machine 55, light-emitting unit 571, audio output unit 120, etc. For example, when transaction start information is input to the input means 1001, the output means 1004 outputs an imaging start signal to instruct the scanner 20 to start imaging. Also, when registration completion information is input to the input means 1001, the output means 1004 outputs an imaging stop signal to instruct the scanner 20 to stop imaging.
[0107] The output means 1004 outputs a control signal to the audio output unit 120 to emit a notification sound when the registration means 1002 completes the registration of a product for that product. The output means 1004 functions as a notification means to notify the notification unit (audio output unit 120) that the registration of product information by the registration means 1002 has been completed. It is also possible to provide the audio output unit 120 on the scanner 20. In this case, the audio output unit 120 may emit a notification sound when the scanner 20 identifies the product code.
[0108] Furthermore, once the accounting processing by the accounting processing means 1003 is completed, the output means 1004 transmits the accounting processing information to the server 40 via the LAN hub LH.
[0109] (Scanner Functional Configuration) Next, the functional configuration of the scanner 20 will be described with reference to Figure 10. Figure 10 is a block diagram showing the functional configuration of the control unit 200 of the scanner 20.
[0110] The control unit 200 includes an acquisition means 2001, a decoding means 2002, a transmitting and receiving means 2003, a merging means 2004, and a transmitting means 2005. The control unit 200 functions as the acquisition means 2001, decoding means 2002, transmitting and receiving means 2003, merging means 2004, and transmitting means 2005 when the CPU 201 operates according to a control program stored in the ROM 202 or the storage unit 210. Note that each of these functions may be configured with hardware such as dedicated circuits.
[0111] The acquisition means 2001 acquires one frame image as a product image from the moving image captured by the imaging unit 220. The acquisition means 2001 stores the acquired product image in the RAM 203. For example, the acquisition means 2001 acquires all or some of the multiple frame images sequentially captured by the imaging unit 220 as candidate product images, stores all or some of the acquired frame images in the RAM 203, and selects a product image from all or some of the stored frame images.
[0112] Furthermore, the acquisition means 2001 acquires various other information. For example, the acquisition means 2001 acquires an image capture start signal and an image capture stop signal from the POS terminal 10.
[0113] The decoding means 2002 detects the product barcode contained in the product image acquired by the acquisition means 2001 and extracts the product barcode from the product image. The decoding means 2002 decodes the extracted product barcode. As a result of decoding the product barcode, the decoding means 2002 obtains the product code held by the product barcode.
[0114] The transmitting / receiving means 2003 transmits the product image acquired by the acquisition means 2001 to the image recognition device 30. The image recognition device 30 performs image recognition on the received product image and transmits the image recognition result (the product code of the product shown in the product image) to the scanner 20. The transmitting / receiving means 2003 receives the image recognition result transmitted by the image recognition device 30. The transmitting / receiving means 2003 also transmits the decoding result (the product code held by the product barcode) from the decoding means 2002 to the image recognition device 30.
[0115] The merging means 2004 merges the decoded result (the product code held by the product barcode) and the image recognition result (the product code of the product shown in the product image). That is, the merging means 2004 obtains a single product code from the decoded result and the image recognition result. The merged result includes the product code held by the product barcode included in the product image or the product code of the product shown in the product image.
[0116] The merging means 2004 uses the product code from the image recognition result as the merged result if a decoding result cannot be obtained. Situations in which a decoding result cannot be obtained include when the consumer does not correctly hold the product barcode over the imaging unit 220 of the scanner 20, or when the product barcode is bent or folded in an unnatural way.
[0117] If both the decoded result and the image recognition result are obtained and they match, the merging means 2004 will naturally use the matching product code as the merged result. If both the decoded result and the image recognition result are obtained but they do not match, the product code from the more reliable decoded result will be used as the merged result.
[0118] The transmission means 2005 transmits the product code resulting from the merge by the merge means 2004 to the POS terminal 10 via the connection interface 221.
[0119] (Functional configuration of the image recognition device) Next, the functional configuration of the image recognition device 30 will be described with reference to Figure 11. Figure 11 is a block diagram showing the functional configuration of the control unit 300 of the image recognition device 30.
[0120] The control unit 300 includes a receiving means 3001, an image recognition means 3002, a determination means 3003, an update means 3004, and a transmission means 3005. The control unit 300 functions as the receiving means 3001, image recognition means 3002, determination means 3003, update means 3004, and transmission means 3005 when the CPU 301 operates according to a control program stored in the ROM 302 or the storage unit 310. Note that each of these functions may be configured with hardware such as dedicated circuits.
[0121] The receiving means 3001 receives product images from the scanner 20 via the LAN interface 321. The receiving means 3001 stores the received product images in the RAM 303.
[0122] The image recognition means 3002 performs image recognition on product images using an image recognition function based on a pre-trained model 312. Specifically, the image recognition means 3002 acquires features contained in the product image, compares the acquired features with a matching dictionary 313, and obtains a product code associated with the feature closest to the acquired feature. The image recognition means 3002 stores the acquired product code in RAM 303.
[0123] The transmission means 3005 transmits the product code obtained from the image recognition result by the image recognition means 3002 to the transmission / reception means 2003 of the scanner 20 via the LAN interface 321.
[0124] The determination means 3003 determines whether the image recognition by the image recognition means 3002 was successful. For example, if the difference between the acquired feature and the feature closest to the acquired feature is less than a predetermined amount, the determination means 3003 determines that the image recognition was successful. Conversely, if the difference is greater than or equal to the predetermined amount, the determination means 3003 determines that the image recognition was unsuccessful. Furthermore, if the determination means 3003 determines that the image recognition was unsuccessful, it determines that the product image on which the image recognition was performed will be used for additional training.
[0125] Furthermore, the receiving means 3001 receives the decoded product code from the scanner 20 via the LAN interface 321. The receiving means 3001 stores the received product code in the RAM 303.
[0126] If the determination means 3003 determines that the product image it has performed image recognition on is a product image to be used for additional training, the transmission means 3005 transmits that product image and its product code to the server 40 via the LAN interface 321.
[0127] Server 40 uses the received product image and product code to further train the pre-trained model 412 for product image recognition and updates the pre-trained model 412 and the matching dictionary 413. Server 40 transmits the updated pre-trained model 412 and the updated matching dictionary 413 to the receiving means 3001 of the image recognition device 30 via the LAN interface 321.
[0128] The receiving means 3001 receives the updated trained model 412 and the updated matching dictionary 413 from the server 40 via the LAN interface 321. The receiving means 3001 stores the received updated trained model 412 and the updated matching dictionary 413 in the RAM 303.
[0129] The update means 3004 updates the learned model 312 currently held by the storage unit 310 with the received updated learned model 412. The image recognition device 30 also updates the matching dictionary 313 currently held by the storage unit 310 with the received updated matching dictionary 413.
[0130] (Server Functional Configuration) Next, the functional configuration of the server 40 will be described with reference to Figure 12. Figure 12 is a block diagram showing the functional configuration of the control unit 400 of the server 40.
[0131] The control unit 400 includes a receiving means 4001, an additional learning means 4002, a master management means 4003, and a transmitting means 4004. The control unit 400 functions as the receiving means 4001, the additional learning means 4002, the master management means 4003, and the transmitting means 4004 when the CPU 401 operates according to a control program stored in the ROM 402 or the storage unit 410. These functions may also be configured using dedicated circuits or other hardware.
[0132] The receiving means 4001 receives product images for additional learning and the product codes of those product images from the image recognition device 30 via the communication unit 421. The receiving means 4001 stores the received product images and product codes in the RAM 403.
[0133] The additional learning means 4002 performs additional learning on the trained model 412 held by the memory unit 410 at an appropriate time, for example, when a certain amount of product images and product codes for additional learning have been accumulated, and updates the trained model 412. In addition, the additional learning means 4002 updates the matching dictionary 413 held by the memory unit 410 in conjunction with the additional learning of the trained model 412.
[0134] The transmission means 4004 transmits the updated trained model 412, updated by the additional learning means 4002, and the matching dictionary 413 to the receiving means 3001 of the image recognition device 30 via the communication unit 421, for example, as an image file or a compressed file.
[0135] Furthermore, the receiving means 4001 receives accounting processing information from the POS terminal 10 via the communication unit 421. The receiving means 4001 stores the received accounting processing information in the RAM 403.
[0136] The master management means 4003 manages the product master 414 held by the storage unit 410 based on the received accounting processing information. For example, the product master 414 includes a store code that identifies a store, a product master 112 for each store code, and information such as whether or not the product for each product code is handled and the remaining quantity. Based on the received accounting processing information, the master management means 4003 updates the product master 414, for example, the information such as the remaining quantity of the product for each product code.
[0137] The transmission means 4004 transmits a product master 112 suitable for each store to the POS terminal 10 of the store via the communication unit 421, based on the product master 414 updated by the master management means 4003.
[0138] (Operation of scanner and image recognition device) Next, the operation of the scanner 20 and the image recognition device 30 will be described with reference to Figure 13. Figure 13 is a flowchart showing the operation flow of the scanner 20 and the image recognition device 30 when registering one product in the product information registration system according to this embodiment. In Figure 13, the operation of the scanner 20 is shown on the left, and the operation of the image recognition device 30 is shown on the right. The operation of the scanner 20 is performed by each part of the scanner 20 under the control of the control unit 200 which executes the control program 211. The operation of the image recognition device 30 is performed by each part of the image recognition device 30 under the control of the control unit 300 which executes the control program 311. Unless otherwise specified, the processing operations of the scanner 20 and the image recognition device 30 shown in Figure 13 are assumed to transition from ACTn (where n is a natural number) to ACT(n+1).
[0139] In ACT11, the scanner 20 acquires a single product image from the moving image captured by the imaging unit 220. For example, first, the scanner 20 stores all or some of the multiple frame images sequentially captured by the imaging unit 220 in the RAM 203 as candidate product images. Next, the scanner 20 selects one frame image from the multiple frame images held in the RAM 203 and uses the selected frame image as the product image. The scanner 20 also assigns an identification code to the product image to identify it. For convenience, the product image will be assumed to include the identification code below.
[0140] In ACT12, the scanner 20 transmits the product image to the image recognition device 30 via LAN, for example, using TCP communication.
[0141] In ACT21, the image recognition device 30 receives product images and identification codes from the scanner 20 via LAN. The image recognition device 30 stores the received product images in RAM 303.
[0142] In ACT22, the image recognition device 30 performs image recognition on a product image. For example, the image recognition device 30 performs image recognition based on features such as the outline and color of the product shown in the product image. In this case, first, the image recognition device 30 acquires the features contained in the product image. Next, the image recognition device 30 compares the acquired features with the matching dictionary 313 and searches for the feature that is closest to the acquired features. Subsequently, the image recognition device 30 acquires the product code associated with the search result (the feature that is closest to the acquired features).
[0143] In ACT23, the image recognition device 30 determines whether image recognition was successful. For example, first, the image recognition device 30 calculates the difference between the acquired feature and the feature that is closest to the acquired feature. Next, the image recognition device 30 compares the calculated difference with a predetermined amount.
[0144] If the difference in the comparison is less than a predetermined amount, the image recognition device 30 determines that the image recognition was successful. In this case (if Yes in ACT23), the image recognition device 30 stores the product code obtained in ACT22 as the image recognition result in RAM 303. Then, it proceeds to the operation of ACT24.
[0145] Conversely, if the difference in the comparison is greater than a predetermined amount, the image recognition device 30 determines that the image recognition has failed. In this case (when No is found in ACT23), the image recognition device 30 requests the scanner 20 to acquire and transmit another product image, and repeats the operations of ACT21 to ACT23. The image recognition device 30 also determines that the product image for which image recognition was performed is the product image to be used for additional training.
[0146] In ACT24, the image recognition device 30 transmits the image recognition results stored in the RAM 303 to the scanner 20 via the LAN. The image recognition device 30 also transmits an identification code to the scanner 20.
[0147] In ACT13, the scanner 20 detects the product barcode in the product image. In other words, the scanner 20 determines whether or not a product barcode is captured in the product image.
[0148] If a product barcode is detected in ACT13 (Yes in ACT13), then in ACT14, the scanner 20 extracts and decodes the detected product barcode, and obtains the product code held by the product barcode as a result of the decoding. The scanner 20 stores the obtained product code in RAM 203.
[0149] Next, in ACT15, the scanner 20 transmits the decoded product code (the product code held by the product barcode) to the image recognition device 30. Since the operations of ACT14 and ACT15 are performed when the product barcode is detected in ACT13, the scanner 20 may not transmit the decoded product code in ACT15.
[0150] In ACT16, the scanner 20 checks whether it has received the image recognition result (product code of the product shown in the product image) from the image recognition device 30. If it has received the image recognition result (Yes in ACT16), the scanner 20 stores the received image recognition result in RAM 203. The scanner 20 may also identify the product image corresponding to the image recognition result based on the identification code received along with the image recognition result. After that, the process moves to the merging operation in ACT17.
[0151] If the product barcode cannot be detected in ACT13 (in the case of No in ACT13), the actions in ACT14 and ACT15 are skipped, and the process moves on to the action of confirming receipt of the image recognition result in ACT16.
[0152] In ACT16, if no image recognition result has been received (in the case of No in ACT16), the scanner 20 repeats the operations of ACT11 and ACT13-ACT15. At this time, since the image recognition device 30 does not require a new product image, the transmission of the product image in ACT12 is omitted. In other words, until the scanner 20 receives an image recognition result from the image recognition device 30, it continues a series of steady operations, such as acquiring the product image in ACT11, detecting the product barcode in ACT13, decoding in ACT14, and transmitting the product code of the decoding result in ACT15.
[0153] In ACT17, the scanner 20 merges the decoded result (the product code held by the product barcode) and the image recognition result (the product code of the product shown in the product image). In other words, the scanner 20 obtains the single product code that it deems to be the most correct from the decoded result and the image recognition result.
[0154] If a decoding result cannot be obtained, the product code from the image recognition result will be used as the merged result. Situations in which a decoding result cannot be obtained include when the consumer does not correctly hold the product barcode over the imaging unit 220 of the scanner 20, or when the product barcode is bent or folded in an unnatural way.
[0155] If both the decoded result and the image recognition result are obtained, the scanner 20 compares the decoded result and the image recognition result. If the decoded result and the image recognition result match, the scanner 20 merges the product codes of the matching decoded result and the image recognition result. If the decoded result and the image recognition result do not match, the scanner 20 merges the product code of the more reliable decoded result.
[0156] In ACT18, the scanner 20 transmits the merged product code (the single product code considered to be the most correct) to the POS terminal 10.
[0157] In ACT15, when the scanner 20 transmits the decoded product code (the product code held by the product barcode), in ACT25, the image recognition device 30 receives the decoded product code. The image recognition device 30 stores the received decoded product code in RAM 303.
[0158] In ACT26, the image recognition device 30 determines whether there are product images to be used for additional training. For example, if there are product images that failed to be recognized in ACT23, and the image recognition device 30 has received the decoded product code from the scanner 20 in ACT25, the image recognition device 30 determines that there are product images to be used for additional training.
[0159] In the judgment of ACT26, if it is determined that there are product images to be used for additional training, in ACT27 the image recognition device 30 sends to the server 40 the product images that failed to be recognized, which are held in RAM 303, and the product codes of the decoded results received from scanner 20.
[0160] If ACT26 determines that there are no product images to use for additional training, the process will skip ACT27 and terminate.
[0161] (A communication system between a scanner, an image recognition device, and a server.) Next, with reference to Figure 14, the communication system CS of the scanner 20, image recognition device 30, and server 40 will be described. Figure 14 is a block diagram showing the configuration of the communication system CS of the scanner 20, image recognition device 30, and server 40 in an embodiment.
[0162] The scanner 20 and the image recognition device 30 are connected via a LAN (Local Area Network) to enable bidirectional communication. Similarly, the image recognition device 30 and the server 40 are connected via a LAN to enable bidirectional communication.
[0163] Scanner 20 transmits product images via LAN, and image recognition device 30 receives product images via LAN. Scanner 20 also transmits the decoded product code via LAN, and image recognition device 30 receives the decoded product code via LAN. Image recognition device 30 transmits the image recognition result product code via LAN, and scanner 20 receives the image recognition result product code via LAN. Image recognition device 30 transmits product images that failed to be recognized and the decoded product code via LAN, and server 40 receives the product images that failed to be recognized and the decoded product code via LAN. Server 40 transmits the updated trained model and updated matching dictionary via LAN, and image recognition device 30 receives the updated trained model and updated matching dictionary via LAN.
[0164] In the following, for convenience, the operation in which the image recognition device 30 transmits the product image that failed to be recognized and the product code of the decoding result will be referred to as image uploading.
[0165] The scanner 20 and the image recognition device 30 send and receive information using TCP communication. Communication between the scanner 20 and the image recognition device 30 is performed using a short-lived method, where connection, transmission, reception, and disconnection are treated as a single sequence for each communication.
[0166] The scanner 20 sends a request to the image recognition device 30 at regular first time intervals. For this purpose, the scanner 20 has a timer 240. The timer 240 has the function of detecting the elapsed time of the first time interval. The function of the timer 240 is realized, for example, by the control unit 200 of the scanner 20 operating according to the control program 211.
[0167] Upon receiving a request from the scanner 20, the image recognition device 30 sends a communication termination notification or a response containing the image recognition result to the scanner 20.
[0168] When ready to send the image recognition results, the image recognition device 30 sends a response containing the image recognition results to the scanner 20 in response to the request from the scanner 20.
[0169] When uploading an image to the server 40, the image recognition device 30 sends a communication stop notification response to the scanner 20 upon receiving a request from the scanner 20. Subsequently, the image recognition device 30 stops communication control with the scanner 20, uploads the image to the server 40, and resumes communication control with the scanner 20 before the first time interval has elapsed. For this purpose, the image recognition device 30 has a timer 340. The timer 340 has the function of detecting the elapsed time of a second time interval that is shorter than the first time interval. The function of the timer 340 is realized, for example, by the control unit 300 of the image recognition device 30 operating according to the control program 311.
[0170] By using a short-lived method for communication between the scanner 20 and the image recognition device 30, the scanner 20 can know in advance that communication with the image recognition device 30 will stop when it receives a communication stop notification response from the image recognition device 30 in response to a request. Furthermore, if the scanner 20 does not receive a response from the image recognition device 30 in response to a request, it can know that communication with the image recognition device 30 is in an abnormal state. In other words, the scanner 20 can determine whether communication with the image recognition device 30 is stopping or in an abnormal state.
[0171] (Example of operation of scanner, image recognition device, and server) Next, with reference to Figure 15, an example of the operation of the scanner 20, image recognition device 30, and server 40 in the communication system CS will be described. Figure 15 is a diagram showing the flow of an example of the operation of the scanner 20, image recognition device 30, and server 40 in the communication system CS of the embodiment.
[0172] This example shows a scenario where the image recognition device 30 receives a request from the scanner 20 to receive a product image and image recognition results while it is uploading an image to the server 40. In this example, for instance, the first time interval, which is the setting of the scanner 20's timer 240, is 10 minutes, and the second time interval, which is the setting of the image recognition device 30's timer 340, is 9 minutes.
[0173] When the image recognition device 30 starts uploading an image, it first sends a communication stop notification response to the scanner 20 in response to any request received from the scanner 20. Next, the image recognition device 30 starts the timer 340 and, during the second time interval, stops communication control with the scanner 20, uploads the image to the server 40, and then resumes communication control with the scanner 20. The image upload is performed within an allowable time obtained by subtracting the time required to stop and restart communication control with the scanner 20 from the second time interval. In this example, the image upload is temporarily paused during the first communication between the image recognition device 30 and the server 40.
[0174] When scanner 20 receives a communication stop notification response from image recognition device 30, it activates timer 240 and, after the first time interval has elapsed, sends the next request to image recognition device 30. The second time interval, which is the setting value of timer 340 on image recognition device 30, is 9 minutes, which is shorter than the first time interval of 10 minutes, which is the setting value of timer 240 on scanner 20. Therefore, image recognition device 30 resumes communication control with scanner 20 before scanner 20 sends the next request. As a result, image recognition device 30 reliably receives the next request from scanner 20. In this example, the next request from scanner 20 is a request to receive the product image and image recognition results.
[0175] Since image uploading is temporarily suspended, the image recognition device 30 sends a communication suspension notification response to the scanner 20 in response to the scanner 20's request to receive the product image and image recognition results. Next, as before, the image recognition device 30 starts the timer 340 and, during the second time interval, stops communication control with the scanner 20, uploads the image to the server 40, and resumes communication control with the scanner 20. The image upload is performed within an allowable time obtained by subtracting the time required to stop and resume communication control with the scanner 20 from the second time interval. In this example, the image upload is completed during the second communication between the image recognition device 30 and the server 40. The server 40 sends an image upload completion notification to the image recognition device 30 upon completion of the image upload. After receiving the image upload completion notification, the image recognition device 30 resumes communication control with the scanner 20.
[0176] When scanner 20 receives a communication stop notification response from image recognition device 30, it starts timer 240 as before, and after the first time interval has elapsed, sends the next request to image recognition device 30. In this example, the next request from scanner 20 is a request to receive the image recognition result.
[0177] Since image recognition is not yet complete, the image recognition device 30 sends a communication stop notification response to the scanner 20 in response to the scanner 20's request to receive the image recognition result. Next, as before, the image recognition device 30 starts the timer 340 and stops communication control with the scanner 20 during the second time interval, performs image recognition of the product image, and then resumes communication control with the scanner 20. In this example, the image recognition device 30 completes image recognition during this second time interval. After image recognition is complete, the image recognition device 30 resumes communication control with the scanner 20.
[0178] When scanner 20 receives a communication stop notification response from image recognition device 30, it starts timer 240 as before, and after the first time interval has elapsed, sends the next request to image recognition device 30. In this example, the next request from scanner 20 is a request to receive the image recognition result.
[0179] Since image recognition is complete, the image recognition device 30 sends a response containing the image recognition result to the scanner 20 in response to the request from the scanner 20 to receive the image recognition result.
[0180] (effect) In the RS product information registration system of this embodiment, the computer constituting the control unit 200 of the scanner 20 and the computer constituting the control unit 300 of the image recognition device 30 are separate. That is, the control unit 200 of the scanner 20 does not need to perform control processing related to image recognition, and only needs to perform control processing related to the functions of the scanner 20. Similarly, the control unit 300 of the image recognition device 30 does not need to perform control processing related to the functions of the scanner 20, and only needs to perform control processing related to image recognition. Compared to a configuration in which the control unit 200 of the scanner 20 and the control unit 300 of the image recognition device 30 are configured with a common computer, the load on the control unit 200 of the scanner 20 and the control unit 300 of the image recognition device 30 is greatly reduced.
[0181] Since the scanner 20 and the image recognition device 30 can communicate bidirectionally via LAN, the communication load between the scanner 20 and the image recognition device 30 is low.
[0182] Furthermore, in the communication system CS of the embodiment, which consists of a scanner 20, an image recognition device 30, and a server 40, communication between the scanner 20 and the image recognition device 30 is performed using a short-lived method. That is, the scanner 20 sends a request to the image recognition device 30, and the image recognition device 30, upon receiving the request, sends a response to the scanner 20. The scanner 20 can know in advance that communication with the image recognition device 30 will stop by receiving a communication stop notification response from the image recognition device 30 in response to the request. Also, if the scanner 20 does not receive a response from the image recognition device 30 in response to the request, the scanner 20 can know that communication with the image recognition device 30 is in an abnormal state. In other words, the scanner 20 can determine whether communication with the image recognition device 30 is stopped or in an abnormal state.
[0183] (others) In the above embodiment, the control programs executed by the POS terminal 10, scanner 20, image recognition device 30, and server 40 may be provided by recording them on a computer-readable recording medium such as a CD-ROM. Alternatively, the control programs executed by the POS terminal 10, scanner 20, image recognition device 30, and server 40 in the above embodiment may be stored on a computer connected to a network such as the Internet and provided by allowing downloads via the network, or even provided via a network such as the Internet.
[0184] Although embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included in the scope and spirit of the invention, as well as in the claims of the invention and its equivalents. The invention described in the original claims of this application is listed below. [1] A first device having an imaging function, A second device having an image recognition function, The system includes a local area network that enables communication between the first and second devices. The first device transmits an image to the second device, and then periodically sends a request to the second device for receiving the image recognition result. The second device, upon receiving the request, sends a communication termination notification or a response of the image recognition result to the first device. Communication system. [2] The first device transmits the request to the second device at a fixed first time interval. The second device, upon receiving the request, sends a communication termination notification response to the first device, and during a fixed second time interval shorter than the first time interval, it performs the processes of suspending communication with the first device, starting and ending communication with the third device, and resuming communication with the first device. [1] The communication system described above. [3] The communication performed by the second device with the third device is the uploading of an image. [2] The communication system described above. [4] If the upload cannot be completed in a single communication with the third device, the second device will divide the upload into multiple communications with the third device. [3] The communication system described above. [5] While the second device continues the upload, it sends a communication termination notification response to the first device in response to the receipt of the request. [4] The communication system described above. [Explanation of Symbols]
[0185] 1...Self-service POS system, 10...POS terminal, 100...Control unit, 1001...Input means, 1002...Registration means, 1003...Accounting processing means, 1004...Output means, 101...CPU, 102...ROM, 103...RAM, 1031...Product information unit, 110...Storage unit, 111...Control program, 112...Product master, 120...Audio output unit, 121...Connection interface, 122...LAN interface, 123...Bus, 50...Main unit, 51...Display, 52...Touch panel, 53...Printer, 531...Issuing slot, 54...Card reader Da, 541...Card slot, 55...Change dispenser, 551...Coin slot, 552...Coin outlet, 553...Coin tray, 554...Banknote slot, 555...Banknote outlet, 57...Pole, 571...Light-emitting unit, 70...First basket stand, 71...First weighing unit, 80...Second basket stand, 81...Second weighing unit, 82...Support rod, 83...Temporary stand, 20...Scanner, 200...Control unit, 2001...Acquisition means, 2002...Decoding means, 2003...Transmission / reception means, 2004...Merge means, 2005...Transmission means, 201...CPU, 202...ROM, 203...RAM, 2 10...Storage unit, 211...Control program, 212...Processing result, 220...Imaging unit, 221...Connection interface, 222...LAN interface, 223...Bus, 230...Reading window, 240...Timer, 30...Image recognition device, 300...Control unit, 3001...Receiving means, 3002...Image recognition means, 3003...Determination means, 3004...Update means, 3005...Transmission means, 301...CPU, 302...ROM, 303...RAM, 310...Storage unit, 311...Control program, 312...Trained model, 313...Verification dictionary, 321...LAN interface -Face, 322...Bus, 340...Timer, 40...Server, 400...Control Unit, 4001...Receiving Means, 4002...Additional Learning Means, 4003...Master Management Means, 4004...Transmission Means, 401...CPU, 402...ROM, 403...RAM, 410...Storage Unit, 411...Control Program, 412...Learned Model, 413...Verification Dictionary, 414...Product Master, 421...Communication Unit, 422...Bus, CS...Communication System, LH...LAN Hub, MS...Product Information Management System, NW...Network, RS...Product Information Registration System, RT...Router.
Claims
1. A first device having an imaging function, A second device having an image recognition function, The system includes a local area network that enables communication between the first device and the second device. The first device transmits an image to the second device, and then periodically sends a request to the second device for receiving the image recognition result. The second device, upon receiving the request, sends a communication termination notification or a response of the image recognition result to the first device. Communication system.
2. A first device having an imaging function, A second device having an image recognition function, The system includes a local area network that enables communication between the first device and the second device. The first device transmits an image to the second device, and then periodically sends a request to the second device for receiving the image recognition result. The second device, upon receiving the request, sends a communication termination notification or a response of the image recognition result to the first device. The first device transmits the request to the second device at a fixed first time interval. The second device, upon receiving the request, sends a communication termination notification response to the first device, and during a fixed second time interval shorter than the first time interval, it performs the processes of suspending communication with the first device, starting and ending communication with the third device, and resuming communication with the first device. Communication system.
3. The communication performed by the second device with the third device is the uploading of an image. The communication system according to claim 2.
4. If the upload cannot be completed in a single communication with the third device, the second device will divide the upload into multiple communications with the third device. The communication system according to claim 3.
5. While the second device continues the upload, it sends a communication termination notification response to the first device in response to the receipt of the request. The communication system according to claim 4.
Citation Information
Patent Citations
Product data processing apparatus and product data processing program
JP2019021168A
Information processing device, information processing method, and program
JP2021027520A
