Information processing device and program
The information processing device in the POS system addresses the challenge of communication disconnection by presetting and switching operations, ensuring uninterrupted product registration and system control.
Patent Information
- Application Number
- JP2023163075
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-04-07
- Estimated Expiration
- 2043-09-26
AI Technical Summary
Existing POS systems face challenges in maintaining proper operation when communication between devices is disconnected, leading to difficulties in product registration and system control.
An information processing device with a communication function, including a setting means to preset operations in case of communication disconnection and a switching means to switch operations accordingly, ensuring seamless product registration and system control.
The solution enables continuous product registration and system operation even when communication is disconnected, improving user experience and operational efficiency in POS systems.
Smart Images

Figure 2025053939000001_ABST
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing device and a program. [Background technology]
[0002] POS (Point Of Sales) systems are used in stores that sell products and services (hereinafter collectively referred to as "products"). This type of POS system is equipped with a scanner that reads product codes from barcodes (hereinafter referred to as "product barcodes") attached to products. Product barcodes include one-dimensional codes and two-dimensional 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 packaging that contains the product. The POS system registers information about the product that the customer is about to purchase based on the product code read by the scanner.
[0003] The POS system operator must search for the product barcode on the product and hold it up to the scanner, making the operation of reading the product code cumbersome. As a result, the operator must register product information (hereinafter also referred to as "product registration") in a time-consuming manner. In particular, in so-called self-service POS systems, customers who are not familiar with product registration must scan product barcodes, so there is a demand for improving the operability of reading product codes, in other words, the operability of the operator to identify products.
[0004] In such a POS system, it is considered that the multiple devices constituting the system are connected and communicated via a LAN (Local Area Network).When communication between the devices connected via the LAN is cut off, it is desirable to appropriately control the operation of the system. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2019-21168 A [Patent Document 2] JP 2003-317156 A Summary of the Invention [Problem to be solved by the invention]
[0006] An object of the present invention is to provide an information processing device and a program capable of appropriately controlling the operation of a system when communication between at least one pair of devices constituting the system is interrupted. [Means for solving the problem]
[0007] The information processing device according to the embodiment is an information processing device having a communication function with an external device, and includes a setting unit and a switching unit. The setting unit pre-sets an operation of the information processing device to one of a plurality of operations when communication with the external device is disconnected. The switching unit switches the operation of the information processing device to the operation set by the setting unit when communication with the external device is disconnected. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing the overall configuration of a product information management system according to an embodiment. [Diagram 2] FIG. 2 is a perspective view showing the appearance of the self-service POS system according to the embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating a hardware configuration of the POS terminal according to the embodiment. [Figure 4] FIG. 4 is a block diagram showing a hardware configuration of the scanner according to the embodiment. [Diagram 5] FIG. 5 is a block diagram illustrating a hardware configuration of the image recognition apparatus according to the embodiment. [Figure 6] FIG. 6 is a block diagram illustrating a hardware configuration of the server according to the embodiment. [Figure 7] FIG. 7 is a diagram showing a data configuration of a product master stored in the storage unit of the POS terminal of the embodiment. [Figure 8] FIG. 8 is a diagram showing a data structure of setting information stored in the storage unit of the scanner according to the embodiment. [Figure 9] FIG. 9 is a diagram illustrating a data structure of the comparison dictionary stored in the storage unit of the image recognition device according to the embodiment. [Figure 10] FIG. 10 is a block diagram illustrating a functional configuration of the control unit of the POS terminal of the embodiment. [Figure 11] FIG. 11 is a block diagram showing the functional configuration of the control unit of the scanner according to the embodiment. [Figure 12] FIG. 12 is a block diagram illustrating a functional configuration of a control unit of the image recognition device according to the embodiment. [Figure 13] FIG. 13 is a block diagram illustrating a functional configuration of a control unit of the server according to the embodiment. [Figure 14] FIG. 14 is a flowchart showing the flow of operations of the POS terminal and the scanner according to the embodiment. [Figure 15] FIG. 15 is a flowchart showing the flow of operations of the scanner and image recognition device according to the embodiment. [Figure 16] FIG. 16 is a flowchart showing the flow of operations of the scanner and the POS terminal according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings. Note that the present invention is not limited to the embodiment described below.
[0010] (Product Information Management System) First, a product information management system MS according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing the overall configuration of the product information management system MS according to an embodiment. The product information management system MS includes a product information registration system RS and a server 40.
[0011] The product information registration system RS includes a POS terminal 10, a scanner 20 (information processing device), and an image recognition device 30 (external device). The POS terminal 10 (another external device) and the scanner 20 (information processing device) are communicatively connected via a LAN (Local Area Network) or a USB (Universal Serial Bus). The scanner 20 (information processing device) and the image recognition device 30 (external device) are communicatively connected via a LAN.
[0012] In the embodiment, a combination of Ethernet (registered trademark) and TCP (Transmission Control Protocol) is used for LAN communication, but the communication protocol is not limited.
[0013] The POS terminal 10 and the image recognition device 30 are communicatively connected to a LAN hub LH via a LAN. The LAN hub LH is communicatively connected to a wireless router WR via a LAN. The wireless router WR is capable of wireless communication with a server 40 via a network NW.
[0014] The scanner 20 captures an image of a product to obtain a product image. The scanner 20 transmits the obtained product image to the image recognition device 30 via a LAN. The scanner 20 also detects and decodes product barcodes (one-dimensional codes and two-dimensional codes) included in the obtained product image. That is, the scanner 20 reads information held by the product barcode. The decoded result of the 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 a LAN.
[0015] The image recognition device 30 receives the product image from the scanner 20 via a LAN. The image recognition device 30 has an image recognition function using a trained model by machine learning, for example, and performs image recognition on the product image using the image recognition function. In detail, the image recognition device 30 acquires a feature amount included in the product image using the image recognition function, compares the acquired feature amount with a matching dictionary in which a plurality of feature amounts and product codes are associated, and acquires a product code associated with the feature amount that is closest to the acquired feature amount. That is, the image recognition result includes the product code of the product shown in the product image. The image recognition device 30 may perform image recognition on the product image using a method such as deep learning. The image recognition device 30 transmits the image recognition result to the scanner 20 via a LAN.
[0016] The scanner 20 receives the image recognition result from the image recognition device 30 via the LAN. The scanner 20 merges the decoded result and the image recognition result. Here, merging means obtaining one product code from the decoded result and the image recognition result. 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 the LAN or USB. The POS terminal 10 registers the product based on the product code of the merged result received from the scanner 20.
[0017] Furthermore, the image recognition device 30 determines whether the product image received from the scanner 20 is to be used for additional learning. For example, if the difference between the acquired feature amount and the feature amount closest to the acquired feature amount is equal to or greater than a predetermined amount, the image recognition device 30 determines that the product image received from the scanner 20 is a product image to be used for additional learning. The image recognition device 30 transmits the product image determined to be used for additional learning and the product code of the decoded result received from the scanner 20 to the server 40 via the LAN.
[0018] The server 40 receives product images and product codes from the image recognition device 30 via the LAN. The server 40 stores the received product images and product codes in association with each other. The server 40 performs additional learning of a trained model for product image recognition using the stored product images and product codes. The server 40 updates the trained model through the additional learning. The server 40 also updates the matching dictionary in conjunction with the additional learning. Updating the matching dictionary includes correcting existing records and adding new records. The server 40 transmits the updated trained model and the updated matching dictionary to the image recognition device 30 via the LAN.
[0019] The image recognition device 30 receives the updated trained model and the updated matching dictionary from the server 40 via a LAN. The image recognition device 30 updates the currently held trained model with the received updated trained model. The image recognition device 30 also updates the currently held matching dictionary with the received updated matching dictionary.
[0020] In this product information management system MS, if the product packaging is changed, it is possible to eliminate the need to collect new product images for additional training of the trained model for product image recognition.
[0021] The server 40 also manages the product master. The POS terminal 10 transmits transaction processing information (information related to a processed transaction) via the LAN to the wireless router WR via the LAN hub LH. The wireless router WR transmits the received transaction processing information to the server 40 via the network NW. The server 40 manages the product master based on the received transaction processing information. For example, the server 40 receives transaction processing information from multiple POS terminals 10 and manages the product master for each of the multiple POS terminals 10. Managing the product master includes modifying existing records and adding new records. The server 40 also transmits the product master suitable for each POS terminal 10 to that POS terminal 10 via the network NW, the wireless router WR, and the LAN hub LH.
[0022] The image recognition device 30 may transmit the product images received from the scanner 20 to the server 40 regardless of whether they are used for additional learning. In this case, the product images stored in the server 40 may be used, for example, to analyze the state (event) of image recognition in the image recognition device 30.
[0023] (Product Information Registration System) Hereinafter, as an example of a product information registration system, a self-service POS system operated by a customer who purchases a product will be described. However, the product information registration system is not limited to a self-service POS system. The product information registration system may be a POS system operated by a salesperson at a store that sells the product.
[0024] 2 is a perspective view showing the appearance of the self-service POS system 1. The self-service POS system 1 has 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 the image recognition device 30 are examples of an information processing device.
[0025] The scanner 20 identifies the product that the customer purchases, 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 the product. The POS terminal 10 executes product registration based on the product code input from the scanner 20, and also executes accounting processing for the registered product. The accounting processing is processing executed by the POS terminal 10 to allow the customer to pay for the purchase price of the product.
[0026] 2, the POS terminal 10 includes a main body 50, a first basket mounting stand 70, and a second basket mounting stand 80. The main body 50 includes a display 51 and a touch panel 52 on an upper portion, and also houses a printer 53, a card reader 54, and a change dispenser 55 (see FIG. 3 for each).
[0027] Display 51 is a display device such as an LCD (Liquid Crystal Display) and displays various information. For example, display 51 displays product information such as the product name and price of a product registered by a customer's registration operation. Display 51 also displays accounting information such as the total amount of the transaction and the amount of change in accordance with the customer's accounting operation. Display 51 also displays a setting screen for setting various operating modes within product information registration system RS in response to operations by an administrator of the system RS, for example.
[0028] The touch panel 52 is provided on the surface of the display 51, and inputs information according to the touched position into the control unit 100 (see FIG. 3) of the POS terminal 10. A customer or an administrator (both of whom are operators who are users) who uses the POS terminal 10 can operate the touch panel 52 by touching various buttons and operation keys displayed on the display 51.
[0029] As shown in FIG. 2, below the display 51, a reading window 230 for the scanner 20, an issuing port 531 for receipts printed by the printer 53, and a card insertion port 541 for the card reader 54 are formed facing the direction in which the customer is positioned.
[0030] The reading window 230 is a window through which the scanner 20 captures an image of the exterior of a commodity. A customer who is an operator operating the self-service POS system 1 performs an operation related to commodity registration by holding the commodity to be purchased over the reading window 230. The customer holds the commodity over the reading window 230 while changing the orientation of the commodity with respect to the reading window 230 until the self-service POS system 1 executes the commodity registration and generates a registration completion sound.
[0031] The issuing port 531 is an opening through which a receipt printed by the printer 53 is ejected. Information (transaction processing information) related to a transaction processed by the POS terminal 10 is printed on the receipt. The POS terminal 10 may be configured to issue an electronic receipt instead of a paper receipt printed by the printer 53.
[0032] Card insertion slot 541 is an opening for inserting a credit card or the like to be read by card reader 54. A card is inserted through card insertion slot 541 when a customer makes a payment with a credit card or when a customer has a store membership card or the like read.
[0033] The main body 50 is also formed with a coin insertion slot 551, a coin ejection slot 552, a coin receiving tray 553, a bill insertion slot 554, and a bill ejection slot 555 in correspondence with the position of the change machine 55 housed therein.
[0034] The coin slot 551 is an opening through which a customer inserts coins to be paid. Coins inserted into the coin slot 551 are stored in the change machine 55. The coin outlet 552 is an opening through which coins to be dispensed from the change machine 55 are discharged. The coin outlet 552 discharges change or coins 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 through which a customer inserts banknotes to be paid. Banknotes inserted into the banknote slot 554 are stored in the change machine 55. The banknote outlet 555 is an opening through which banknotes that are change to be dispensed from the change machine 55 are discharged.
[0035] The first basket placement table 70 is a table on which a shopping basket (not shown) containing products that a customer wishes to purchase is placed. The first basket placement table 70 includes a first weighing unit 71. The first weighing unit 71 weighs the total weight of a shopping basket placed on the first basket placement table 70 and the products contained in the shopping basket.
[0036] The second basket placement table 80 is a table for placing shopping baskets (not shown) that contain products that have been removed from the shopping basket placed on the first basket placement table 70 and whose product codes have been read, i.e., registered products. The second basket placement table 80 includes a second weighing unit 81, a pair of support rods 82, and a temporary placement table 83.
[0037] The second weighing unit 81 weighs the total weight of a shopping basket placed on the second basket placement table 80 and the products 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 products contained in the shopping bag. The support rods 82 are rods for hanging and supporting a shopping bag containing registered products. The support rods 82 support the shopping bag in an open state, making it easier to put products into the shopping bag. The temporary placement table 83 is a table on which registered products that are easily broken or deformed, such as tofu and eggs, are temporarily placed. The customer can finally place the products placed on the temporary placement table 83 into a shopping basket or shopping bag.
[0038] The customer registers the product by holding the product taken out of the shopping basket placed on the first basket placement stand 70 over the reading window 230. The customer then places the registered product in a shopping basket placed on the second basket placement stand 80 or in a shopping bag supported by the support rod 82.
[0039] The control unit 100 (see FIG. 3) recognizes the weight change when the first weighing unit 71 weighs the weight before and after an item is removed from the shopping basket placed on the first basket placement table 70. The control unit 100 recognizes the weight change when the second weighing unit 81 weighs the weight before and after an item is placed in the shopping basket placed on the second basket placement table 80 or a shopping bag supported by the support rod 82. Depending on whether these two weight changes are equal, the control unit 100 can determine whether all of the items the customer wishes to purchase have been registered.
[0040] The main body 50 also includes a cylindrical pole 57 extending upward. The pole 57 has a light-emitting section 571 at its upper end that emits light when calling a store clerk (also called the manager of the POS terminal 10).
[0041] (POS terminal hardware configuration) Next, the hardware configuration of the POS terminal 10 will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the hardware configuration of the POS terminal 10.
[0042] The POS terminal 10 includes a control unit 100, a memory unit 110, a display 51, a touch panel 52, a printer 53, a card reader 54, a change machine 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. The control unit 100, the memory unit 110, the display 51, the touch panel 52, the printer 53, the card reader 54, the change machine 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.
[0043] The control unit 100 is configured as a computer including a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, and a RAM (Random Access Memory) 103. The CPU 101, the ROM 102, and the RAM 103 are connected to each other via a bus 123.
[0044] The CPU 101 controls the entire POS terminal 10. The ROM 102 stores various programs, such as a program used to drive the CPU 101, and various data. The RAM 103 is used as a work area for the CPU 101, and loads various programs and data stored in the ROM 102 and the storage unit 110. The control unit 100 executes various control processes of the POS terminal 10, for example, by the CPU 101 operating in accordance with a control program 111 stored in the storage unit 110 and loaded in the RAM 103.
[0045] RAM 103 has a product information section 1031. Product information section 1031 stores product information read from product master 112 (described later) based on the product code acquired from scanner 20. A product is registered by storing (registering) product information in product information section 1031. Product information stored in product information section 1031 includes product code, product name, price, etc. Product information section 1031 stores product information related to one transaction, and is cleared when the accounting process for that transaction is completed.
[0046] The storage unit 110 is configured with a storage medium such as a hard disk drive (HDD) or a flash memory, and maintains the stored contents even when the power is cut off. The storage unit 110 stores a control program 111 and a product master 112.
[0047] The control program 111 is a program for realizing a function of receiving a product code from the scanner 20, a function of executing product registration based on the received product code, a function of executing accounting processing for the registered product, a function of executing settings of various operation modes in the product information registration system RS in response to operations by an administrator, etc. The control program 111 may be stored in the ROM 102 instead of in the memory unit 110.
[0048] The product master 112 is a master file that stores product information about products handled in the store. Since the products handled in the store change daily, the product master 112 is updated as appropriate by a store server (not shown) connected via a LAN interface 122. Fig. 7 is a diagram showing the data configuration of the product master 112. The product master 112 includes product codes, product categories, product names, and prices associated with the product codes.
[0049] The product code is information that identifies a product. The product classification is information that classifies products sold in a 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. The product master 112 may include other information in association with the product code.
[0050] Returning to Fig. 3, the description will continue of the hardware configuration of the POS terminal 10. The configurations and functions of the display 51 and the touch panel 52 are as described above.
[0051] The printer 53 is, for example, a thermal printer. The printer 53 prints information about the transaction on a roll of receipt paper and issues the paper as a receipt from an issuing port 531.
[0052] Card reader 54 reads credit information required for payment from a credit card inserted through card insertion slot 541. Card reader 54 also reads membership information identifying a member from a medium such as a membership card or a point card inserted through card insertion slot 541. Card reader 54 may magnetically read information from a card, or may be an IC card reader that reads information from an IC card with a built-in IC (Integrated Circuit) chip.
[0053] The change machine 55 accepts bills and coins paid by a customer when the customer pays for the purchase price of a product in cash, and dispenses change as necessary. Bills are inserted through a bill insertion slot 554, and coins are inserted through a coin insertion slot 551. Bills as change are discharged from a bill discharge slot 555, and coins as change are discharged from a coin discharge slot 552.
[0054] The configurations and functions of first weighing unit 71, second weighing unit 81, and light-emitting unit 571 are as described above. Audio output unit 120 generates sound as necessary to notify the customer of information. For example, audio output unit 120 outputs an alarm sound that notifies the customer that product registration has been completed. The audio output unit is an example of an alarm unit.
[0055] The connection interface 121 is an interface for communicating with the scanner 20 via a LAN or a USB. The control unit 100 transmits and receives information (data) to and from the scanner 20 via the connection interface 121, via the LAN or the USB. For example, the control unit 100 receives a product code from the scanner 20 via the connection interface 121, via the LAN or the USB. Also, for example, the control unit 100 transmits data of an operation mode selected in response to an administrator's operation to the scanner 20 via the connection interface 121, via the LAN or the USB.
[0056] The LAN interface 122 is an interface for communicating with the LAN hub LH via the LAN. The control unit 100 transmits and receives information (data) to and from the LAN hub LH via the LAN interface 122. For example, the control unit 100 transmits and receives the product master 112 to and from the server 40 via the LAN, via the LAN hub LH and the wireless router WR.
[0057] The LAN interface 122 is also an interface for communicating with external devices such as a store server (not shown) managed by the store. The control unit 100 transmits and receives information to and from external devices via the LAN interface 122 and the LAN.
[0058] (Scanner hardware configuration) Next, the hardware configuration of the scanner 20 will be described with reference to Fig. 4. Fig. 4 is a diagram showing the hardware configuration of the scanner 20.
[0059] The scanner 20 captures an image of a product purchased by a customer to obtain the product image. The scanner 20 then detects a product barcode included in the product image, i.e., a barcode attached to the captured product, and decodes the detected product barcode. The decoded product barcode includes the product code held by the product barcode. The scanner 20 also transmits the product image to the image recognition device 30 via a LAN. If the scanner 20 loses communication with the image recognition device 30, which is connected to the scanner 20 via a LAN, the scanner 20 operates according to an operation mode previously selected in response to an administrator's operation of the POS terminal 10.
[0060] The scanner 20 includes a control unit 200, a storage unit 210, an imaging unit 220, a connection interface 221, and a LAN interface 222. The control unit 200, the storage unit 210, the imaging unit 220, the connection interface 221, and the LAN interface 222 are connected to each other via a bus 223 or the like.
[0061] The control unit 200 is configured as a computer including a CPU 201, a ROM 202, and a RAM 203. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 223.
[0062] The CPU 201 controls the entire scanner 20. The ROM 202 stores various programs, such as a program used to drive the CPU 201, and various data. The RAM 203 is used as a work area for the CPU 201, and loads 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 the CPU 201 operating in accordance with a control program 211 stored in the storage unit 210 and loaded in the RAM 203.
[0063] The storage unit 210 is configured with a storage medium such as a HDD or a flash memory, and maintains the stored contents even when the power is cut off. The storage unit 210 stores a control program 211, a processing result 212, and setting information 213.
[0064] The control program 211 is a program for realizing a function of capturing an image of a commodity by the imaging unit 220 and storing it in the RAM 203, a function of acquiring a frame image (commodity image) held in the RAM 203, a function of detecting a commodity barcode included in the commodity image, a function of decoding a commodity barcode, a function of transmitting a commodity image to the image recognition device 30, a function of receiving an image recognition result from the image recognition device 30, a function of merging the decoded result and the image recognition result, a function of transmitting a commodity code of the merged result to the POS terminal 10, a function of switching to an operation mode selected in advance when communication with the image recognition device 30 is disconnected, and the like. The control program 211 may be stored in the ROM 202 instead of being stored in the storage unit 210.
[0065] The processing result 212 includes a decoded result of the product barcode, an image recognition result by the image recognition device 30, and a merged result of merging the decoded result and the image recognition result. The merged result includes a product barcode included in the product image or a product code of the product shown in the product image.
[0066] The setting information 213 is, for example, information for setting an operation mode to be switched to when communication with the image recognition device 30 is disconnected, which has been selected in advance in response to an administrator's operation on the POS terminal 10. FIG. 8 is a diagram showing a data configuration of the setting information 213. The setting information 213 includes information indicating a plurality of operation modes to which the POS terminal 10 can be switched when communication with the image recognition device 30 is disconnected (here, operation mode "1" and operation mode "2"), and switching information (e.g., a flag) for setting which of the plurality of operation modes is selected as the operation mode to be switched to, in association with each other. Here, the operation mode corresponding to the switching information "1" is set as the operation mode to be switched to. The number of the plurality of operation modes to be switched to is not limited to two.
[0067] The imaging unit 220 is composed of, for example, a color CCD image sensor or a color CMOS image sensor. The imaging unit 220 images a product through the reading window 230 under the control of the control unit 200, and outputs the acquired product image. For example, the imaging unit 220 captures a moving image at a predetermined frame rate (e.g., 30 fps). The imaging unit 220 stores the captured frame images in sequence in the RAM 203. The frame images (product images) stored in the RAM 203 are used to identify the product code of the product shown in the frame image.
[0068] The connection interface 221 is an interface for communicating with the POS terminal 10 via a LAN or a USB. The control unit 200 transmits and receives information (data) to and from the POS terminal 10 via the connection interface 221, the LAN, or the USB.
[0069] The LAN interface 222 is an interface for communicating with the image recognition device 30 via a LAN. The control unit 200 transmits and receives information (data) to and from the image recognition device 30 via the LAN interface 222 and the LAN.
[0070] The control unit 200 detects a product barcode included in a frame image (product image) held by the RAM 203, decodes the product barcode, and acquires a 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) by the image recognition device 30 from the image recognition device 30. The control unit 200 also merges the decoded result and the image recognition result to identify the product barcode included 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. The control unit 200 also switches to an operation mode set in the setting information 213 when communication with the image recognition device 30 via the LAN interface 222 is disconnected.
[0071] (Hardware configuration of image recognition device) Next, the hardware configuration of the image recognition device 30 will be described with reference to Fig. 5. Fig. 5 is a diagram showing the hardware configuration of the image recognition device 30.
[0072] 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. That is, the image recognition device 30 acquires a product code of the product depicted in the product image based on the feature amount of the product image. The image recognition device 30 transmits the image recognition result to the scanner 20 via the LAN. Furthermore, the image recognition device 30 transmits the product image or the product image and the product code to the server 40 via the LAN as necessary. 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.
[0073] The image recognition device 30 includes a control unit 300, a storage unit 310, and a LAN interface 321. The control unit 300, the storage unit 310, and the LAN interface 321 are connected to each other via a bus 322 or the like.
[0074] The control unit 300 is configured as a computer including a CPU 301, a ROM 302, and a RAM 303. The CPU 301, the ROM 302, and the RAM 303 are connected to each other via a bus 322.
[0075] The CPU 301 controls the entire image recognition device 30. The ROM 302 stores various programs, such as a program used to drive the CPU 301, and various data. The RAM 303 is used as a work area for the CPU 301, and loads 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 the CPU 301 operating in accordance with a control program 311 stored in the storage unit 310 and loaded in the RAM 303.
[0076] The storage unit 310 is configured with a storage medium such as a HDD or a flash memory, and maintains the stored contents even when the power is cut off. The storage unit 310 stores a control program 311, a trained model 312, and a matching dictionary 313.
[0077] The control program 311 is a program for realizing functions such as receiving a product image from the scanner 20, performing image recognition on the product image, determining whether the image recognition has been successful, transmitting the image recognition result to the scanner 20, receiving the product code of the decoded result from the scanner 20, determining whether the product image is used for additional learning, transmitting the product image or the product image and the product code to the server 40, receiving an updated trained model and an 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 being stored in the storage unit 310.
[0078] The trained model 312 is an image recognition model for performing image recognition on product images. The trained model 312 has been trained by machine learning and is additionally trained by machine learning.
[0079] The matching dictionary 313 is a data table that manages products in association with the features of the appearance of the products. FIG. 9 is a diagram showing the data structure of the matching dictionary 313. The matching dictionary 313 includes product codes and features associated with the product codes. The matching dictionary 313 may have multiple features for one product code. The product codes in the matching dictionary 313 are the same as the product codes in the product master 112 held in the memory unit 110 of the POS terminal 10.
[0080] As described above, the product code is information for identifying a product. The feature amount is, for example, a parameterized feature of the product's appearance, such as the product's standard shape, surface color, pattern, unevenness, etc. The control unit 300 acquires the feature amount included in the product image, compares the acquired feature amount with the collation dictionary, and acquires the product code associated with the acquired feature amount. In other words, the control unit 300 acquires the product code of the product shown in the product image from the products pre-recorded in the collation dictionary 313 based on the feature amount acquired from the product image.
[0081] Returning to FIG. 5, the description of the hardware configuration of the image recognition device 30 will be continued.
[0082] The LAN interface 321 is an interface for communicating with the scanner 20 and the LAN hub LH. The control unit 300 transmits and receives information (data) to and from the scanner 20 and the LAN hub LH via the LAN interface 321.
[0083] For example, the control unit 300 receives a frame image (product image) from the scanner 20 via the LAN interface 321. In addition, the control unit 300 acquires the product code of the product shown in the product image as described above, and transmits the acquired product code to the scanner 20 via the LAN interface 321.
[0084] Furthermore, the control unit 300 transmits, as necessary, the product image that has been subjected to image recognition, or the product image that has been subjected to image recognition and the product code of the decoded result received from the scanner 20, to the server 40 via the LAN interface 321. Furthermore, the control unit 300 receives the updated trained model 412 (see FIG. 6) and the updated matching dictionary 413 (see FIG. 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. Furthermore, the control unit 300 updates the currently held matching dictionary 313 with the updated matching dictionary 413.
[0085] (Server hardware configuration) Next, the hardware configuration of the server 40 will be described with reference to Fig. 6. Fig. 6 is a diagram showing the hardware configuration of the server 40.
[0086] The server 40 receives and stores product images and product codes from the image recognition device 30. The server 40 uses the stored product images and product codes to perform additional learning of a trained model for product image recognition, and updates the trained model and the matching dictionary. The server 40 transmits the updated trained model and the updated matching dictionary to the image recognition device 30. The server 40 also manages product master data. The server 40 receives transaction processing information from the POS terminal 10, and manages the product master data based on the received transaction processing information. The server 40 transmits to each POS terminal 10 a product master data suitable for that POS terminal 10.
[0087] The server 40 includes a control unit 400, a storage unit 410, and a communication unit 421. The control unit 400, the storage unit 410, and the communication unit 421 are connected to each other via a bus 422 or the like.
[0088] The control unit 400 is configured by a computer including a CPU 401, a ROM 402, and a RAM 403. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 422.
[0089] The CPU 401 controls the entire server 40. The ROM 402 stores various programs, such as a program used to drive the CPU 401, and various data. The RAM 403 is used as a work area for the CPU 401, and loads 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 the CPU 401 operating in accordance with a control program 411 stored in the storage unit 410 and loaded in the RAM 403.
[0090] The storage unit 410 is configured with a storage medium such as a HDD or a flash memory, and maintains the stored contents even when the power is cut off. The storage unit 410 stores a control program 411, a trained model 412, a comparison dictionary 413, and a product master 414.
[0091] The control program 411 is a program for realizing functions such as receiving product images and product codes from the image recognition device 30, storing product images and product codes, additionally learning and updating the trained model 412, updating the matching dictionary 413, transmitting the updated trained model 412 and the updated matching dictionary 413 to the image recognition device 30, receiving transaction processing information from the POS terminal 10, managing the product master 414, transmitting the product master 414 to the POS terminal 10, and transmitting the stored product images to an external device as necessary. The control program 411 may be stored in the ROM 402 instead of in the storage unit 410.
[0092] The trained model 412 is a model trained by machine learning for performing image recognition on product images. In detail, the trained model 412 is an image recognition model that acquires a feature amount included in the product image and compares the acquired feature amount with a matching dictionary 413 to acquire a product code of a product shown in the product image.
[0093] The matching dictionary 413 is a data table that manages product codes of products in association with the appearance features of the products, 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 to each image recognition device 30 the matching dictionary 313 suitable for that image recognition device 30.
[0094] Like the product master data 112 held by the POS terminal 10, the product master data 414 includes product codes, and product categories, product names, and prices associated with the product codes. The product master data 414 includes the product master data 112 held by multiple POS terminals 10. The server 40 manages the product master data 414 based on transaction processing information received from the POS terminals 10. For example, the server 40 updates the product master data 414 based on the transaction processing information. The server 40 sends to each POS terminal 10 the product master data 112 suitable for that POS terminal 10.
[0095] The communication unit 421 is an interface for communicating with the wireless router WR. The control unit 400 transmits and receives information (data) to and from the wireless router WR via the communication unit 421.
[0096] 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 performs additional learning of the trained model 412 using the stored product images and image recognition results, 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. The control unit 400 transmits the stored product images to an external device as necessary.
[0097] The server 40 also receives transaction processing information from the POS terminal 10 via the communication unit 421. The server 40 manages the product master based on the received transaction processing information. The server 40 transmits the product master suitable for each POS terminal 10 to that POS terminal 10 via the communication unit 421.
[0098] (Functional configuration of POS terminal) Next, the functional configuration of the POS terminal 10 will be described with reference to Fig. 10. Fig. 10 is a block diagram showing the functional configuration of the control unit 100 of the POS terminal 10.
[0099] Control unit 100 has input means 1001, registration means 1002, accounting processing means 1003, output means 1004, and setting means 1005. Control unit 100 functions as input means 1001, registration means 1002, accounting processing means 1003, output means 1004, and setting means 1005 by CPU 101 operating in accordance with a control program stored in ROM 102 or storage unit 110. Each of these functions may be configured using hardware such as a dedicated circuit.
[0100] Various information is input to the input means 1001 from the scanner 20, the touch panel 52, the card reader 54, the first weighing unit 71, the second weighing unit 81, etc. For example, a product code is input to the input means 1001 from the scanner 20.
[0101] 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 one transaction is input to the input means 1001. Furthermore, registration completion information indicating that product registration of the product related to one transaction has been completed is input to the input means 1001.
[0102] Furthermore, a disconnection notification signal transmitted from the scanner 20 to notify the disconnection when communication between the scanner 20 and the image recognition device 30 is disconnected is input to the input means 1001. Furthermore, selection information of an operation mode to which the operation of the scanner 20 should be switched when communication between the scanner 20 and the image recognition device 30 is disconnected is input to the input means 1001.
[0103] The registration means 1002 executes product registration of a product that a customer wishes to purchase through an operation of the customer. In other words, the registration means 1002 registers information on a product identified by product identification information inputted to the input means 1001. Specifically, the registration means 1002 reads product information from the product master 112 based on the product code inputted to the input means 1001. Then, the registration means 1002 stores the read product information in the product information section 1031. The product information is information including a product code, a product name, a price, etc.
[0104] The transaction processing means 1003 executes transaction processing related to the payment of the prices of the products registered by the registration means 1002. Specifically, the transaction processing means 1003 executes processing to calculate the total price (transaction amount) of the registered products, calculate the amount of change, display various information, issue receipts, etc. If the customer desires cashless payment such as credit card payment or two-dimensional code payment, the transaction processing means 1003 can execute the transaction processing necessary for payment.
[0105] The output unit 1004 outputs various information to the scanner 20, the printer 53, the change machine 55, the light emitting unit 571, the audio output unit 120, etc. For example, when transaction start information is input to the input unit 1001, the output unit 1004 outputs an imaging start signal that instructs the scanner 20 to start imaging. Also, when registration completion information is input to the input unit 1001, the output unit 1004 outputs an imaging stop signal that instructs the scanner 20 to stop imaging.
[0106] When the registration means 1002 completes the product registration for one product, the output means 1004 outputs a control signal for causing the audio output unit 120 to output an alarm sound. The output means 1004 functions as an alarm means for causing an alarm unit (audio output unit 120) to notify that the registration means 1002 has completed the registration of product information. It is also possible to provide the audio output unit 120 in the scanner 20. In this case, the audio output unit 120 may be configured to emit an alarm sound when the scanner 20 identifies the product code.
[0107] Furthermore, when the output means 1004 receives a disconnection notification signal, which is transmitted from the scanner 20 and notifies of a disconnection, via the input means 1001, the output means 1004 outputs a control signal for emitting light from the light emitting unit 571. The output means 1004 also functions as a notification means for causing the notification unit (light emitting unit 571) to notify that communication between the scanner 20 and the image recognition device 30 has been disconnected.
[0108] Furthermore, when selection information of an operation mode is input to the input means 1001, the output means 1004 transmits information of the selected operation mode to the scanner 20.
[0109] The setting means 1005 displays on the display 51 a setting screen (not shown) for setting the operation mode of the scanner 20 when communication between the scanner 20 and the image recognition device 30 is disconnected in response to, for example, an administrator's operation on the touch panel 52. The setting means 1005 transmits selection information of the operation mode to which the operation of the scanner 20 should be switched, input by the input means 1001 based on the setting screen, to the scanner 20 via the output means 1004 as information of the selected operation mode.
[0110] (Scanner Functional Configuration) Next, the functional configuration of the scanner 20 will be described with reference to Fig. 11. Fig. 11 is a block diagram showing the functional configuration of the control unit 200 of the scanner 20.
[0111] The control unit 200 has an acquiring means 2001, a decoding means 2002, a transmitting / receiving means 2003, a merging means 2004, a transmitting means 2005, a setting means 2006, and a switching means 2007. The control unit 200 functions as the acquiring means 2001, the decoding means 2002, the transmitting / receiving means 2003, the merging means 2004, the transmitting means 2005, the setting means 2006, and the switching means 2007 by the CPU 201 operating in accordance with a control program stored in the ROM 202 or the storage unit 210. Each of these functions may be configured by hardware such as a dedicated circuit.
[0112] The acquisition means 2001 acquires one frame image as a product image from a 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 a plurality of frame images sequentially captured by the imaging unit 220 as candidates for 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.
[0113] The acquiring unit 2001 also acquires various other information. For example, the acquiring unit 2001 acquires an imaging start signal and an imaging stop signal from the POS terminal 10. The acquiring unit 2001 acquires information on a selected operation mode to which the operation of the scanner 20 should be switched from the POS terminal 10.
[0114] The decoding means 2002 detects a product barcode included 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. The decoding means 2002 acquires the product code held by the product barcode as a decoding result of the decoding of the product barcode.
[0115] The transmitting / receiving means 2003 transmits the product image acquired by the acquiring 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 (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. In addition, the transmitting / receiving means 2003 transmits the decoded result by the decoding means 2002 (product code held by the product barcode) to the image recognition device 30.
[0116] The merging means 2004 merges the decoded result (the product code held by the product barcode) and the recognition result (the product code of the product shown in the product image). That is, the merging means 2004 acquires one 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.
[0117] If no decoded result is obtained, the merging means 2004 uses the product code of the image recognition result as the merged result. Situations in which no decoded result is obtained include when the consumer does not properly hold the product barcode over the imaging unit 220 of the scanner 20, or when the product barcode is unnaturally bent or folded.
[0118] If both the decoded result and the image recognition result are obtained and match, the merging means 2004 naturally takes the matching product code as the merged result. Also, if both the decoded result and the image recognition result are obtained but do not match, the merging means 2004 takes the product code of the more reliable decoded result as the merged result.
[0119] The transmission means 2005 transmits the product code resulting from the merging by the merging means 2004 to the POS terminal 10 via the connection interface 221. In addition, the transmission means 2005 transmits a disconnection notification signal, which notifies the POS terminal 10 of a disconnection when communication with the image recognition device 30 is disconnected, via the connection interface 221.
[0120] The setting means 2006 stores in the memory unit 210 setting information 213 (see FIG. 8) of the operation mode to be switched when communication with the image recognition device 30 is disconnected, in accordance with the information of the selected operation mode to which the operation of the scanner 20 should be switched, which is acquired from the POS terminal 10 by the acquisition means 2001.
[0121] The switching means 2007 acquires a communication signal with the image recognition device 30 transmitted and received by the transmitting and receiving means 2003, and detects a disconnection of the communication. When the switching means 2007 detects a disconnection of the communication with the image recognition device 30, the switching means 2007 switches the operation mode of the scanner 20 according to the setting information 213.
[0122] In detail, when the switching information (flag) of the setting information 213 (see FIG. 8) is set to the operation mode "1", the switching means 2007 continues the detection and decoding of the product barcode from the product image performed by the acquisition means 2001 and the decoding means 2002, and continues acquisition of the product code. The switching means 2007 stops the transmission (transfer) of the product image to the image recognition device 30 by the transmission / reception means 2003, and transmits a disconnection notification signal to the POS terminal 10 by the transmission means 2005. The POS terminal 10 emits light from the light emitting unit 571 to notify the administrator that the communication between the scanner 20 and the image recognition device 30 has been disconnected.
[0123] Furthermore, if the switching information (flag) of the setting information 213 (see FIG. 8) is set to operation mode "2", and if the acquisition means 2001 and the decoding means 2002 are identifying the product code, the switching means 2007 continues to detect and decode the product barcode and continues to acquire the product code. The switching means 2007 stops the transmission (transfer) of the product image to the image recognition device 30 by the transmission / reception means 2003. If the product code is not being identified, the switching means 2007 stops the acquisition of the product image by the acquisition means 2001 and transmits a disconnection notification signal to the POS terminal 10 by the transmission means 2005. The POS terminal 10 emits light from the light emitting unit 571 to notify the administrator that communication between the scanner 20 and the image recognition device 30 has been disconnected.
[0124] (Functional configuration of image recognition device) Next, the functional configuration of the image recognition device 30 will be described with reference to Fig. 12. Fig. 12 is a block diagram showing the functional configuration of the control unit 300 of the image recognition device 30.
[0125] The control unit 300 has 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, the image recognition means 3002, the determination means 3003, the update means 3004, and the transmission means 3005 by the CPU 301 operating in accordance with a control program stored in the ROM 302 or the storage unit 310. Each of these functions may be configured by hardware such as a dedicated circuit.
[0126] The receiving means 3001 receives the product image from the scanner 20 via the LAN interface 321. The receiving means 3001 stores the received product image in the RAM 303.
[0127] The image recognition means 3002 performs image recognition on the product image by an image recognition function using the trained model 312. In detail, the image recognition means 3002 acquires a feature amount included in the product image, compares the acquired feature amount with the matching dictionary 313, and acquires a product code associated with the feature amount that is closest to the acquired feature amount. The image recognition means 3002 stores the acquired product code in the RAM 303.
[0128] The transmission means 3005 transmits the product code, which is 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 .
[0129] The determination means 3003 determines whether the image recognition by the image recognition means 3002 has been successful. For example, if the difference between the acquired feature amount and the feature amount closest to the acquired feature amount is less than a predetermined amount, the determination means 3003 determines that the image recognition has been successful, and conversely, if the difference is equal to or greater than the predetermined amount, the determination means 3003 determines that the image recognition has failed. In addition, if the determination means 3003 determines that the image recognition has failed, it determines that the product image that has been subjected to image recognition is a product image to be used for additional learning.
[0130] Furthermore, the receiving means 3001 receives the product code, which is the decoded result, from the scanner 20 via the LAN interface 321. The receiving means 3001 stores the received product code in the RAM 303.
[0131] When the determination means 3003 determines that the product image that has been subjected to image recognition is a product image to be used for additional learning, the transmission means 3005 transmits the product image and its product code to the server 40 via the LAN interface 321.
[0132] The server 40 performs additional learning of the trained model 412 for product image recognition using the received product image and product code, and updates the trained model 412 and the matching dictionary 413. The server 40 transmits the updated 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.
[0133] 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 updated matching dictionary 413 in the RAM 303.
[0134] The update means 3004 updates the trained model 312 currently held in the storage unit 310 with the received updated trained model 412. In addition, the image recognition device 30 updates the matching dictionary 313 currently held in the storage unit 310 with the received updated matching dictionary 413.
[0135] (Server Functionality Configuration) Next, the functional configuration of the server 40 will be described with reference to Fig. 13. Fig. 13 is a block diagram showing the functional configuration of the control unit 400 of the server 40.
[0136] The control unit 400 has 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 by the CPU 401 operating in accordance with a control program stored in the ROM 402 or the storage unit 410. Each of these functions may be configured by hardware such as a dedicated circuit.
[0137] The receiving means 4001 receives a product image for additional learning to be used for additional learning and a product code of the product image for additional learning from the image recognition device 30 via the communication unit 421. The receiving means 4001 stores the received product image and product code in the RAM 403. The receiving means 4001 may store and accumulate the received product image in the RAM 403 or the storage unit 410 as a product image for analyzing a state (event) of image recognition in the image recognition device 30, for example.
[0138] The additional learning means 4002 performs additional learning on the trained model 412 held in the storage unit 410 at an appropriate timing, 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 in the storage unit 410 in accordance with the additional learning of the trained model 412.
[0139] The transmitting means 4004 transmits the updated trained model 412 and the matching dictionary 413 updated by the additional learning means 4002 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.
[0140] The receiving means 4001 also receives transaction processing information from the POS terminal 10 via the communication unit 421. The receiving means 4001 stores the received transaction processing information in RAM 403.
[0141] The master data management means 4003 manages the product master data 414 held in the storage unit 410 based on the received transaction processing information. For example, the product master data 414 includes a store code that identifies the store, the product master data 112 for each store code, and information such as whether or not a product with a product code for each store code is available and the remaining quantity, and the master data management means 4003 updates the product master data 414, for example, information such as the remaining quantity of a product with a product code, based on the received transaction processing information.
[0142] The transmission means 4004 transmits the 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.
[0143] (POS terminal and scanner operation) Next, with reference to Fig. 14, the operation of the POS terminal 10 and the scanner 20 for presetting the operation mode of the scanner 20 when communication between the scanner 20 and the image recognition device 30 is cut off will be described. Fig. 14 is a flowchart showing the flow of the operation of the POS terminal 10 and the scanner 20 according to the embodiment. In Fig. 14, the operation of the POS terminal 10 is shown on the left side, and the operation of the scanner 20 is shown on the right side. The operation of the POS terminal 10 is performed by each unit of the POS terminal 10 under the control of the control unit 100 which executes a control program 111. The operation of the scanner 20 is performed by each unit of the scanner 20 under the control of the control unit 200 which executes a control program 211.
[0144] The process of presetting the operation mode of the scanner 20 in the case where communication between the scanner 20 and the image recognition device 30 is cut off is started, for example, in response to an administrator (which may be either an administrator of the product information registration system RS or an administrator of the store) operating the touch panel 52 of the POS terminal 10. This is performed, for example, depending on the situation on the store side, i.e., whether an operator who is the administrator is absent or present at the store.
[0145] In ACT31, the POS terminal 10 displays on the display 51 a setting screen (not shown) that prompts the operator (here, the administrator) to select the operating mode to be performed by the scanner 20 when communication with the image recognition device 30 is disconnected, in response to the administrator's operation on the touch panel 52.
[0146] In ACT32, the operator selects one of multiple operating modes in accordance with the setting screen displayed on the display 51 (if Yes in ACT32), and in ACT33, the POS terminal 10 transmits information about the selected operating mode (operating mode selection information) to the scanner 20.
[0147] In ACT41, when the scanner 20 receives the selection information of the operation mode transmitted from the POS terminal 10 (if Yes in ACT41), in ACT42, the scanner 20 stores the setting information 213 (see FIG. 8) of the operation mode to be switched when the communication with the image recognition device 30 is disconnected in the storage unit 210. Here, the scanner 20 sets (sets) the switching information (flag) in association with the information of the selected operation mode.
[0148] In the embodiment, the number of operation modes of the scanner 20 that can be switched when communication with the image recognition device 30 is disconnected is two, but this is not limited to this. In the setting information 213 (see FIG. 8) of the embodiment, either operation mode "1" or operation mode "2" is set. Here, operation mode "1" is an operation mode in which the image recognition device 30 cannot identify the product code, but the scanner 20 continues to detect and decode the product barcode, and continues to obtain the product code. Operation mode "1" is suitable, for example, for a situation in which the manager operator is not present in the store.
[0149] Moreover, in operation mode "2", when an operator who is a customer is working on registering a product, detection of the product barcode and acquisition of the product code based on the decoding of the product barcode are continued until the product registration is completed, and after the product registration is completed, capturing of the product image is stopped and an abnormality (disconnection of communication with the image recognition device 30) is notified to the operator (here, the manager) in a so-called error mode. Operation mode "2" is suitable, for example, for a situation where an operator who is the manager is always present in the store.
[0150] (Scanner and image recognition device operation) Next, the operations of the scanner 20 and the image recognition device 30 will be described with reference to Fig. 15. Fig. 15 is a flowchart showing the flow of operations of the scanner 20 and the image recognition device 30 of the embodiment. In Fig. 15, the operations of the scanner 20 are shown on the left side, and the operations of the image recognition device 30 are shown on the right side. The operations of the scanner 20 are performed by each unit of the scanner 20 under the control of the control unit 200 which executes a control program 211. The operations of the image recognition device 30 are performed by each unit of the image recognition device 30 under the control of the control unit 300 which executes a control program 311.
[0151] In ACT11, the scanner 20 acquires one product image from a moving image captured by the imaging unit 220. For example, the scanner 20 first stores in the RAM 203 all or some of the multiple frame images captured sequentially by the imaging unit 220 as product image candidates. Next, the scanner 20 selects one frame image from the multiple frame images stored in the RAM 203, and sets the selected frame image as the product image. The scanner 20 also assigns an identification code to the product image for identifying the product image. In the following, for convenience, the product image is assumed to include the identification code.
[0152] In ACT12, the scanner 20 transmits the product image to the image recognition device 30 via the LAN, for example, by TCP communication.
[0153] In ACT21, the image recognition device 30 receives the product image and the identification code from the scanner 20 via the LAN. The image recognition device 30 stores the received product image in the RAM 303.
[0154] In ACT22, the image recognition device 30 performs image recognition on the product image. For example, the image recognition device 30 performs image recognition based on features such as the contour and color of the product depicted in the product image. In this case, first, the image recognition device 30 acquires the features included in the product image. Next, the image recognition device 30 checks the acquired features against the matching dictionary 313 and searches for features that are closest to the acquired features. Next, the image recognition device 30 acquires the product code associated with the search result (the feature that is closest to the acquired feature).
[0155] In ACT23, the image recognition device 30 determines whether the image recognition has been successful. For example, the image recognition device 30 first obtains a difference between the acquired feature amount and a feature amount closest to the acquired feature amount. Next, the image recognition device 30 compares the obtained difference with a predetermined amount.
[0156] If the comparison result shows that the difference is less than a predetermined amount, the image recognition device 30 determines that the image recognition has been successful. In this case, the image recognition device 30 stores the product code acquired in ACT22 in the RAM 303 as the image recognition result. Then, the operation proceeds to ACT24.
[0157] On the other hand, if the comparison result shows that the difference is equal to or greater than the predetermined amount, the image recognition device 30 determines that the image recognition has failed. In this case, the image recognition device 30 requests the scanner 20 to acquire and transmit another product image, and performs the operations of ACT21 to ACT23 again. The image recognition device 30 also determines that the product image that has undergone image recognition is a product image to be used for additional learning.
[0158] In ACT24, the image recognition device 30 transmits the image recognition result held 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.
[0159] In ACT13, the scanner 20 detects a product barcode from the product image. In other words, the scanner 20 determines whether or not a product barcode is captured in the product image.
[0160] If the product barcode is detected in ACT 13 (YES in ACT 13), the scanner 20 extracts and decodes the detected product barcode in ACT 14, and obtains the product code held by the product barcode as the decoding result. The scanner 20 stores the obtained product code in the RAM 203.
[0161] Next, in ACT15, the scanner 20 transmits the product code of the decoded result (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 product code of the decoded result in ACT15.
[0162] In ACT16, the scanner 20 checks whether it has received the image recognition result of the product image (the 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 the RAM 203. The scanner 20 may identify the product image corresponding to the image recognition result based on the identification code received together with the image recognition result. Then, it proceeds to the merging operation in ACT17.
[0163] If the product barcode cannot be detected in ACT13 (No in ACT13), the operations in ACT14 and ACT15 are skipped and the process moves to the operation of confirming receipt of the image recognition result in ACT16.
[0164] If the image recognition result has not been received in ACT16 (No in ACT16), the scanner 20 repeats the operations in ACT11 and ACT13 to ACT15. At this time, the image recognition device 30 does not require a new product image, so the product image transmission in ACT12 is omitted. That is, until the image recognition result is received from the image recognition device 30, the scanner 20 continues a series of regular operations such as obtaining a product image in ACT11, detecting a product barcode in ACT13, decoding in ACT14, and transmitting the product code of the decoded result in ACT15.
[0165] 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). That is, the scanner 20 obtains one product code that is considered to be the most correct from the decoded result and the image recognition result.
[0166] If no decoded result is obtained, the product code from the image recognition result is treated as the merged result. Situations in which no decoded result is obtained include when the consumer does not hold the product barcode over the image capturing unit 220 of the scanner 20 correctly, or when the product barcode is unnaturally bent or folded.
[0167] When both the decoded result and the image recognition result are obtained, the scanner 20 compares the decoded result with the image recognition result. If the comparison shows that the decoded result and the image recognition result match, the scanner 20 merges the product code of the matching decoded result and image recognition result. If the comparison shows that the decoded result and the image recognition result do not match, the scanner 20 merges the product code of the more reliable decoded result.
[0168] In ACT 18, the scanner 20 transmits the merged product code (the product code that is considered to be the most correct) to the POS terminal 10.
[0169] In ACT16 to ACT18 of this embodiment, the scanner 20, after receiving the image recognition result from the image recognition device 30 (in the case of Yes in ACT16), uploads (transmits) to the upper device (here, the POS terminal 10) any product code obtained by merging the product code decoded from the product barcode, which is the scan result, and the product code, which is the image recognition result, into the upper device. However, the scanner 20 may first transmit the product code decoded from the product barcode, which is the scan result, to the upper device in a state where the image recognition result has not yet been received from the image recognition device 30, and then, when the image recognition result is received from the image recognition device 30, transmit to the upper device any product code obtained by merging the product code decoded from the product barcode, which is the scan result, and the product code, which is the image recognition result, into the upper device.
[0170] When the scanner 20 transmits the decoded product code (the product code held by the product barcode) in ACT 15, the image recognition device 30 receives the decoded product code in ACT 25. The image recognition device 30 stores the received decoded product code in the RAM 303.
[0171] In ACT 26, the image recognition device 30 determines whether there is a product image to be used for additional learning. For example, if there is a product image for which image recognition has failed in ACT 23 and a product code of the decoded result has been received from the scanner 20 in ACT 25, the image recognition device 30 determines that there is a product image to be used for additional learning.
[0172] If it is determined in ACT26 that there is a product image to be used for additional learning, in ACT27, the image recognition device 30 transmits to the server 40 the product image that failed image recognition and is stored in the RAM 303, and the product code that is the decoded result received from the scanner 20.
[0173] If it is determined in ACT26 that there are no product images to be used for additional learning, the operation in ACT27 is skipped and the process ends.
[0174] (Scanner and POS terminal operation) Next, with reference to Fig. 16, the operation of the scanner 20 and the POS terminal 10 for appropriately switching the operation mode of the scanner 20 when communication between the scanner 20 and the image recognition device 30 is disconnected will be described. Fig. 16 is a flowchart showing the flow of the operation of the scanner 20 and the POS terminal 10 according to the embodiment. In Fig. 16, the operation of the scanner 20 is shown on the left side, and the operation of the POS terminal 10 is shown on the right side. The operation of the scanner 20 is performed by each unit of the scanner 20 under the control of the control unit 200 which executes a control program 211. The operation of the POS terminal 10 is performed by each unit of the POS terminal 10 under the control of the control unit 100 which executes a control program 111.
[0175] As described above, the scanner 20 and the image recognition device 30 of the embodiment communicate by TCP via a LAN, but the communication may be interrupted for some reason. For example, the communication may be interrupted when an error occurs in the operation of the image recognition device 30, causing the control unit 300 to forcibly terminate the process being executed, or when an abnormality occurs in the cable of the LAN connecting the image recognition device 30 to the image recognition device 30.
[0176] In ACT51, the scanner 20 acquires and monitors a communication signal transmitted and received with the image recognition device 30 via the LAN interface 222, and in ACT52, detects whether the communication has been disconnected.
[0177] In ACT52, when the scanner 20 detects a disconnection from the image recognition device 30, for example, because a communication signal from the image recognition device 30 is no longer received (if Yes in ACT52), in ACT53, the scanner 20 checks the setting information 213 (see FIG. 8) stored in the storage unit 210. That is, the scanner 20 determines whether the switching information (flag) of the setting information 213 is set to the operation mode "1" or the operation mode "2".
[0178] In ACT54, when the scanner 20 determines that the switching information (flag) of the setting information 213 is set to the operation mode "1" (case (1) in ACT54), the scanner 20 continues to obtain the product code based on the detection of the product barcode from the product image in ACT55. Also, in ACT56, the scanner 20 stops transmitting (transferring) the product image to the image recognition device 30.
[0179] 15, except for the processing related to the image recognition device 30 with which communication has been disconnected, the scanner 20 continues to obtain product codes based on detection of product barcodes from product images in ACT11, ACT13-14, and ACT17-18, and to transmit the product codes to the POS terminal 10. When communication between the scanner 20 and the image recognition device 30 is disconnected, the operator, who is the customer, can continue to register products even if, for example, the store manager is not present.
[0180] Returning to FIG. 16, in ACT 57, the scanner 20 transmits a disconnection notification signal to the POS terminal 10 to notify that communication with the image recognition device 30 has been disconnected.
[0181] In ACT71, the POS terminal 10 receives a disconnection notification signal from the scanner 20, and in ACT72, the POS terminal 10 emits light from the light-emitting unit 571 to notify the manager that communication between the scanner 20 and the image recognition device 30 has been disconnected. In this case, even if the manager is not present in the store, when the manager makes a regular visit to the store, for example, the manager can know that communication between the scanner 20 and the image recognition device 30 has been disconnected by the light emitted from the light-emitting unit 571, and can promptly start work to restore communication.
[0182] In ACT73, for example, the administrator stops the light emission of the light emitting unit 571 in the POS terminal 10, so that the POS terminal 10 determines that the administrator has confirmed the disconnection notification (if Yes in ACT73). Then, in ACT74, the POS terminal 10 transmits to the scanner 20 a confirmation signal indicating that the administrator has confirmed the disconnection of the communication between the scanner 20 and the image recognition device 30.
[0183] On the other hand, if the scanner 20 determines in ACT 54 that the switching information (flag) of the setting information 213 is set to the operation mode "2" (case (2) in ACT 54), the scanner 20 determines in ACT 59 whether the product code is being specified from the product image. That is, the scanner 20 determines whether the product code is being specified (product registration is being performed) depending on whether the process is in the middle of the process from obtaining the product image to transmitting the product code in the flowchart of the scanner 20 in FIG. 15.
[0184] If the scanner 20 determines in ACT 59 that the product code is being specified (product registration is being performed) (if Yes in ACT 59), then in ACT 60 the scanner 20 continues to acquire the product code based on detection of the product barcode from the product image. Also, in ACT 61 the scanner 20 stops sending (transferring) the product image to the image recognition device 30. If the scanner 20 determines in ACT 59 that the product code is not being specified (product registration is being performed) (if No in ACT 59), then in ACT 62 the scanner 20 stops acquiring the product image and stops the processing of the scanner 20 in the flowchart of Fig. 15. If the customer, who is the operator, is in the middle of product registration, he or she can continue until the product registration is completed.
[0185] In ACT57, the scanner 20 transmits a disconnection notification signal to the POS terminal 10 to notify the disconnection of communication with the image recognition device 30. When the POS terminal 10 receives the disconnection notification signal from the scanner 20 in ACT71, the POS terminal 10 emits light from the light-emitting unit 571 to notify the manager that the communication between the scanner 20 and the image recognition device 30 has been disconnected in ACT72. In this case, the manager who is stationed at the store can know that the communication between the scanner 20 and the image recognition device 30 has been disconnected by the emission of the light-emitting unit 571 of the POS terminal 10, and can promptly start work to restore the communication. In this case, the POS terminal 10 may output a notification sound from the audio output unit 120 in addition to the emission of the light-emitting unit 571, to notify not only the store manager but also the operator, who is a customer, that new product registration cannot be performed.
[0186] In ACT73, for example, the administrator stops the light emission of the light emitting unit 571 in the POS terminal 10, so that the POS terminal 10 determines that the administrator has confirmed the disconnection notification (if Yes in ACT73). Then, in ACT74, the POS terminal 10 transmits to the scanner 20 a confirmation signal indicating that the administrator has confirmed the disconnection of the communication between the scanner 20 and the image recognition device 30.
[0187] In ACT58, when the scanner 20 receives a confirmation signal from the POS terminal 10 (Yes in ACT58), the scanner 20 ends the series of processes for switching the operation mode of the scanner 20 when communication with the image recognition device 30 is disconnected.
[0188] (Summary of the embodiment) According to the embodiment of the product information registration system RS, when communication between the scanner 20 and the image recognition device 30 connected via a LAN is cut off, the scanner 20 switches to operation in operation mode “1” suitable for when the manager is not present in the store, or operation mode “2” suitable for when the manager is always present in the store, in accordance with the operation mode setting information 213 preset in response to the operation of an operator who is the manager, for example.
[0189] In operating mode "1", the scanner 20 continues to detect product barcodes and obtain product codes based on their decoding even when the image recognition device 30 is unable to obtain product codes from product images, allowing the customer (operator) to continue product registration without interruption.
[0190] In operation mode "2", if the scanner 20 is identifying a product code (registering a product), it continues to detect the product barcode and acquire the product code based on the decoded product barcode. After the scanner 20 has identified the product code, it stops acquiring the product image, transmits a disconnection notification signal to the POS terminal 10 to notify the POS terminal 10 of a disconnection of communication, causes the light-emitting unit 571 of the POS terminal 10 to emit light, and outputs a notification sound from the audio output unit 120. If the customer is in the middle of registering a product, the operator can continue until the product registration is completed, and can also know that a new product cannot be registered. Furthermore, the operator, who is the administrator, can promptly start work to restore communication.
[0191] The number of switchable operation modes preset in the scanner 20 is not limited to two as described above as an embodiment. In other words, a plurality of appropriate operation modes may be set according to the situation in which the product information registration system RS is placed when communication between the scanner 20 and the image recognition device 30 is cut off, i.e., the situation of the store and the customer.
[0192] (others) In the above embodiment, the control programs executed by the POS terminal 10, the scanner 20, the image recognition device 30, and the server 40 may be configured to be provided by recording them on a computer-readable recording medium such as a CD-ROM. Also, the control programs executed by the POS terminal 10, the scanner 20, the image recognition device 30, and the server 40 in the above embodiment may be configured to be stored on a computer connected to a network such as the Internet and provided by downloading them via the network, or may be configured to be provided via a network such as the Internet.
[0193] Although the embodiment of the present invention has been described above, this embodiment is presented as an example and is not intended to limit the scope of the invention. This embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. This embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0194] 1... Self-service POS system, 10... POS terminal, 100... Control unit, 1001... Input means, 1002... Registration means, 1003... Accounting means, 1004... Output means, 1005... Setting 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 port, 54...card reader, 541...card insertion port, 55...change machine, 551...coin insertion port, 552...coin discharge port, 553...coin tray, 554...banknote insertion port, 555...banknote discharge port, 57...pole, 571...light emitting unit, 70...first basket placement stand, 71...first weighing unit, 80...second basket placement stand, 81...second weighing unit, 82...support rod, 83...temporary placement stand, 20...scanner, 200...control unit, 2001...acquiring means, 2002...decoding means, 2003...transmitting / receiving means, 2004...merging means, 2005...transmitting means, 2006...setting means , 2007...switching means, 201...CPU, 202...ROM, 203...RAM, 210...storage unit, 211...control program, 212...processing result, 213...setting information, 220...imaging unit, 221...connection interface, 222...LAN interface, 223...bus, 230...reading window, 30...image recognition device, 300...control unit, 3001...receiving means, 3002...image recognition means, 3003...determination means, 3004...updating means, 3005...transmitting means, 301...CPU, 302...ROM, 303...RAM, 310...storage unit, 31 1...control program, 312...trained model, 313...matching dictionary, 321...LAN interface, 322...bus, 40...server, 400...control unit, 4001...receiving means, 4002...additional learning means, 4003...master management means, 4004...transmitting means, 401...CPU, 402...ROM, 403...RAM, 410...memory unit, 411...control program, 412...trained model, 413...matching dictionary, 414...product master, 421...communication unit, 422...bus, LH...LAN hub, NW...network, WR...wireless router.
Claims
1. An information processing device having a communication function with an external device, a setting means for setting in advance an operation of the information processing device when communication with the external device is disconnected to one of a plurality of operations; a switching means for switching an operation of the information processing device to the operation set by the setting means when communication with the external device is disconnected; An information processing device comprising:
2. the setting means sets in advance an operation of the information processing device when communication with the external device is disconnected to one of a plurality of operations in response to a user operation; The information processing device according to claim 1 .
3. An image acquisition means for acquiring a captured image of a commodity; a code acquiring means for acquiring a product code of the product based on code information attached to the product included in the captured image acquired by the image acquiring means; a transmission means for transmitting the captured image acquired by the image acquisition means to the external device; a receiving means for receiving a product code of the product obtained by the external device based on an external feature of the product included in the captured image; a code transmitting means for transmitting the product code acquired by the code acquiring means or the product code received by the receiving means to another external device, The plurality of operations includes at least an operation of continuing acquisition of a product code by the code acquisition means. The information processing device according to claim 2 .
4. The plurality of operations includes at least an operation of stopping acquisition of a captured image by the image acquisition means. The information processing device according to claim 3 .
5. a notification means for notifying the user of a disconnection of communication with the external device when the communication with the external device is disconnected; 5. The information processing device according to claim 3.
6. A computer of an information processing device having a communication function with an external device, a setting means for setting in advance an operation of the information processing device when communication with the external device is disconnected to any one of a plurality of operations; a switching means for switching the operation of the information processing device to the operation set by the setting means when communication with the external device is disconnected; A program to function as a
Citation Information
Patent Citations
Commodity sales data processing device, program, and commodity sales data processing method
JP2021015366A
Ticket machine, ticket machine system and program
JP2021082180A
Shopping support device and control program thereof
JP2021152787A
Scanner and program
JP2023023496A
Network POS terminal system
JP2003317156A