Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6987953B2 - Product registration device and product registration program - Google Patents
[go: Go Back, main page]

JP6987953B2 - Product registration device and product registration program - Google Patents

Product registration device and product registration program Download PDF

Info

Publication number
JP6987953B2
JP6987953B2 JP2020194234A JP2020194234A JP6987953B2 JP 6987953 B2 JP6987953 B2 JP 6987953B2 JP 2020194234 A JP2020194234 A JP 2020194234A JP 2020194234 A JP2020194234 A JP 2020194234A JP 6987953 B2 JP6987953 B2 JP 6987953B2
Authority
JP
Japan
Prior art keywords
product
image
cpu
feature amount
recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020194234A
Other languages
Japanese (ja)
Other versions
JP2021039783A (en
Inventor
唯志 竹野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2016180429A external-priority patent/JP6799975B2/en
Application filed by Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2020194234A priority Critical patent/JP6987953B2/en
Publication of JP2021039783A publication Critical patent/JP2021039783A/en
Application granted granted Critical
Publication of JP6987953B2 publication Critical patent/JP6987953B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明の実施形態は、商品登録装置及び商品登録プログラムに関する。 Embodiments of the present invention relate to a product registration device and a product registration program.

小売店などにおいて、販売情報を管理するPOS端末が一般的に用いられている。また、POS端末に会計が必要な商品を登録する商品登録装置も一般的に実用化されている。商品登録装置は、例えば、商品に付与された商品を識別する為の商品識別コードを商品から読み取ることにより、商品を認識する。また、商品の画像と、予め商品毎の画像に応じた特徴量を有する商品認識辞書とに基づいて、画像に写った商品を認識する自動確定を行う商品登録装置が一般的に実用化されている。 In retail stores and the like, POS terminals that manage sales information are generally used. Further, a product registration device for registering a product that requires accounting in a POS terminal has also been put into practical use. The product registration device recognizes a product, for example, by reading a product identification code for identifying the product attached to the product from the product. In addition, a product registration device that automatically confirms a product reflected in an image based on a product image and a product recognition dictionary having a feature amount corresponding to the image of each product in advance has been generally put into practical use. There is.

特許5826152号公報Japanese Patent No. 5826152

上記の自動確定は、画像から算出された特徴量と商品認識辞書の特徴量との類似度が最も高い商品を自動的に特定する方法である為、誤認識が生じる可能性がある。商品には、商品識別コードが付与されたものとされていないものとがある。誤認識を防ぐ為に、商品識別コードが付与された商品は、商品識別コードの読み取りによって認識されることが望ましい。 Since the above automatic confirmation is a method of automatically identifying the product having the highest degree of similarity between the feature amount calculated from the image and the feature amount of the product recognition dictionary, erroneous recognition may occur. Some products may or may not have a product identification code. In order to prevent erroneous recognition, it is desirable that the product to which the product identification code is attached is recognized by reading the product identification code.

そこで、本発明の目的は、高い精度で商品の認識及び登録を行うことができる商品登録装置及び商品登録プログラムを提供することである。 Therefore, an object of the present invention is to provide a product registration device and a product registration program capable of recognizing and registering products with high accuracy.

一実施形態に係る商品登録装置は、商品が写った画像を取得する画像取得部と、商品毎に特徴量を有する商品認識辞書を記憶するメモリと、前記画像の商品が、商品を識別する為の商品識別コードが付与された第1系統商品であるか、前記商品識別コードが付与されていない第2系統商品であるかを前記画像に基づいて識別する系統識別部と、前記画像から前記商品識別コードを取得し、取得した前記商品識別コードに基づいて商品を認識する第1の商品認識部と、前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量とに基づいて商品候補を選択可能な状態で出力し、選択に応じて商品を認識する第2の商品認識部と、商品が前記第1系統商品であると識別された場合、前記第2の商品認識部による商品の認識を保留し、保留中に前記商品識別コードが取得された場合、前記第1の商品認識部による商品を認識するように前記第1の商品認識部及び第2の商品認識部を制御し、商品が前記第2系統商品であると識別された場合、前記第2の商品認識部により商品を認識する制御部と、商品の認識結果を登録する商品登録部と、を具備する。 The product registration device according to one embodiment has an image acquisition unit that acquires an image of a product, a memory that stores a product recognition dictionary having a feature amount for each product, and a product in the image for identifying a product. Based on the image, a system identification unit that identifies whether the product is a first-series product to which the product identification code is attached or a second-series product to which the product identification code is not assigned, and the product from the image. A first product recognition unit that acquires an identification code and recognizes a product based on the acquired product identification code, a feature amount calculated from the image, and the calculated feature amount and the feature of each product in the product recognition dictionary. A second product recognition unit that outputs product candidates in a selectable state based on the quantity and recognizes the product according to the selection, and when the product is identified as the first system product, the second product. When the product recognition unit of the product recognition unit suspends the recognition of the product and the product identification code is acquired during the suspension, the first product recognition unit and the second product recognition unit so as to recognize the product by the first product recognition unit. When the product recognition unit is controlled and the product is identified as the second system product, the control unit that recognizes the product by the second product recognition unit, the product registration unit that registers the product recognition result, and the product registration unit. Equipped with.

図1は、第1の実施形態に係る商品登録装置及びPOS端末の外観の例について説明する為の図である。FIG. 1 is a diagram for explaining an example of the appearance of the product registration device and the POS terminal according to the first embodiment. 図2は、第1の実施形態に係る商品登録装置及びPOS端末の制御系の構成例について説明する為の図である。FIG. 2 is a diagram for explaining a configuration example of the control system of the product registration device and the POS terminal according to the first embodiment. 図3は、第1の実施形態に係る商品登録装置及びPOS端末の動作の例について説明する為の図である。FIG. 3 is a diagram for explaining an example of the operation of the product registration device and the POS terminal according to the first embodiment. 図4は、第1の実施形態に係る商品登録装置の商品登録処理の例について説明する為の図である。FIG. 4 is a diagram for explaining an example of a product registration process of the product registration device according to the first embodiment. 図5は、第2の実施形態に係る商品登録装置の商品登録処理の例について説明する為の図である。FIG. 5 is a diagram for explaining an example of a product registration process of the product registration device according to the second embodiment.

以下、一実施形態に係る商品登録装置及び商品登録プログラムについて図面を参照して説明する。
(第1の実施形態)
まず、第1の実施形態に係る商品登録装置1について説明する。図1及び図2は、第1の実施形態に係る商品登録装置1及びPOS(point of sales)端末2の構成例を示す説明図である。図1は、商品登録装置1及びPOS端末2の外観の例を示す。図2は、商品登録装置1及びPOS端末2の制御系の構成例を示す。商品登録装置1及びPOS端末2は、例えば、小売店などの店舗における会計などに用いられる。商品登録装置1とPOS端末2とは、図示されないケーブル、または無線によって接続される。
Hereinafter, the product registration device and the product registration program according to the embodiment will be described with reference to the drawings.
(First Embodiment)
First, the product registration device 1 according to the first embodiment will be described. 1 and 2 are explanatory views showing a configuration example of a product registration device 1 and a POS (point of sales) terminal 2 according to the first embodiment. FIG. 1 shows an example of the appearance of the product registration device 1 and the POS terminal 2. FIG. 2 shows a configuration example of the control system of the product registration device 1 and the POS terminal 2. The product registration device 1 and the POS terminal 2 are used, for example, for accounting in a store such as a retail store. The product registration device 1 and the POS terminal 2 are connected by a cable (not shown) or wirelessly.

商品登録装置1は、商品から画像を取得し、取得した画像に基づいて商品を認識し、認識した商品を会計が必要な商品としてPOS端末2に登録する装置である。商品登録装置1は、例えば会計カウンタ3の上に配置される。商品登録装置1は、商品を識別する為の商品識別コードを取得することにより、商品を認識する。商品識別コードは、例えば、バーコードまたは二次元コードなどの図柄に変換されて商品に付与されている。例えば、商品登録装置1は、商品に付与された商品識別コードを読み取ることにより、商品を認識する。また、例えば、商品登録装置1は、商品の外観の画像を取得し、画像から生成された商品毎の特徴量と商品識別コードとが対応付けられた辞書(商品認識辞書)を参照し、取得した画像に写った商品に対応する商品識別コードを推定することにより、商品を認識する。 The product registration device 1 is a device that acquires an image from a product, recognizes the product based on the acquired image, and registers the recognized product in the POS terminal 2 as a product that requires accounting. The product registration device 1 is arranged on, for example, the accounting counter 3. The product registration device 1 recognizes a product by acquiring a product identification code for identifying the product. The product identification code is converted into a pattern such as a bar code or a two-dimensional code and attached to the product. For example, the product registration device 1 recognizes a product by reading the product identification code assigned to the product. Further, for example, the product registration device 1 acquires an image of the appearance of the product, and refers to and acquires a dictionary (product recognition dictionary) in which the feature amount for each product generated from the image and the product identification code are associated with each other. The product is recognized by estimating the product identification code corresponding to the product shown in the image.

商品登録装置1は、商品識別コードと、商品名と、金額とが対応付けられたテーブル(商品テーブル)を参照し、認識した商品の商品識別コード、商品名、及び金額をPOS端末2に供給する。これにより、商品登録装置1は、POS端末2の会計が必要な商品の一覧(会計商品一覧)に商品を登録する商品登録処理を行う。 The product registration device 1 refers to a table (product table) in which a product identification code, a product name, and an amount of money are associated with each other, and supplies the product identification code, the product name, and the amount of the recognized product to the POS terminal 2. do. As a result, the product registration device 1 performs the product registration process of registering the product in the list of products (accounting product list) that requires accounting of the POS terminal 2.

図1及び図2に示されるように、商品登録装置1は、CPU11、ROM12、RAM13、不揮発性メモリ14、接続I/F15、デバイスI/F16、操作部17、第1の表示部18、第2の表示部19、撮像部20、及びハウジング21を備える。 As shown in FIGS. 1 and 2, the product registration device 1 includes a CPU 11, a ROM 12, a RAM 13, a non-volatile memory 14, a connection I / F15, a device I / F16, an operation unit 17, a first display unit 18, and a first. The display unit 19, the image pickup unit 20, and the housing 21 of No. 2 are provided.

CPU11は、演算処理を実行する演算素子(たとえば、プロセッサ)である。CPU11は、ROM12に記憶されているプログラムなどのデータに基づいて種々の処理を行う。CPU11は、ROM12に格納されているプログラムを実行することにより、種々の動作を実行可能な制御部として機能する。 The CPU 11 is an arithmetic element (for example, a processor) that executes arithmetic processing. The CPU 11 performs various processes based on data such as a program stored in the ROM 12. The CPU 11 functions as a control unit capable of executing various operations by executing a program stored in the ROM 12.

ROM12は、読み出し専用の不揮発性メモリである。ROM12は、プログラム及びプログラムで用いられるデータなどを記憶する。 The ROM 12 is a read-only non-volatile memory. The ROM 12 stores a program, data used in the program, and the like.

RAM13は、ワーキングメモリとして機能する揮発性のメモリである。RAM13は、CPU11の処理中のデータなどを一時的に格納する。また、RAM13は、CPU11が実行するプログラムを一時的に格納する。 The RAM 13 is a volatile memory that functions as a working memory. The RAM 13 temporarily stores data and the like being processed by the CPU 11. Further, the RAM 13 temporarily stores a program executed by the CPU 11.

不揮発性メモリ14は、種々の情報を記憶可能な記憶媒体である。不揮発性メモリ14は、プログラム及びプログラムで用いられるデータなどを記憶する。不揮発性メモリ14は、例えば、ソリッドステイトドライブ(SSD)、ハードディスクドライブ(HDD)、または他の記憶装置である。なお、不揮発性メモリ14の代わりに、メモリカードなどの記憶媒体を挿入可能なカードスロットなどのメモリI/Fが設けられていてもよい。例えば、不揮発性メモリ14は、商品認識辞書、及び商品テーブルなどを記憶する。また、例えば、不揮発性メモリ14は、商品認識辞書及び商品テーブルを用いて商品を認識し、認識した商品をPOS端末2の会計商品一覧に登録する為のプログラム(商品登録プログラム)を格納する。また、不揮発性メモリ14は、商品登録プログラムで用いられる系統識別辞書を記憶する。系統識別辞書については後述する。 The non-volatile memory 14 is a storage medium capable of storing various information. The non-volatile memory 14 stores a program, data used in the program, and the like. The non-volatile memory 14 is, for example, a solid state drive (SSD), a hard disk drive (HDD), or other storage device. Instead of the non-volatile memory 14, a memory I / F such as a card slot into which a storage medium such as a memory card can be inserted may be provided. For example, the non-volatile memory 14 stores a product recognition dictionary, a product table, and the like. Further, for example, the non-volatile memory 14 stores a program (product registration program) for recognizing a product using a product recognition dictionary and a product table and registering the recognized product in the accounting product list of the POS terminal 2. Further, the non-volatile memory 14 stores a system identification dictionary used in the product registration program. The system identification dictionary will be described later.

接続I/F15は、他の機器と通信する為のインタフェースである。接続I/F15は、POS端末2との通信に用いられる。接続I/F15は、USB規格またはRS−232C規格などの何らかの通信規格に準じた構成の接続端子である。なお、接続I/F15は、POS端末2が接続可能なケーブルであってもよい。また、接続I/F15は、Bluetooth(登録商標)またはWi−fi(登録商標)などの規格に応じてPOS端末2と無線通信を行うものであってもよい。 The connection I / F15 is an interface for communicating with other devices. The connection I / F15 is used for communication with the POS terminal 2. The connection I / F15 is a connection terminal having a configuration conforming to some communication standard such as the USB standard or the RS-232C standard. The connection I / F15 may be a cable to which the POS terminal 2 can be connected. Further, the connection I / F15 may be one that performs wireless communication with the POS terminal 2 according to a standard such as Bluetooth (registered trademark) or Wi-fi (registered trademark).

デバイスI/F16は、種々の機能ブロックとCPU11とが通信する為のインタフェースである。例えば、デバイスI/F16は、操作部17、第1の表示部18、第2の表示部19、及び撮像部20などとの通信に用いられる。デバイスI/F16は、USB規格またはRS−232C規格などの何らかの通信規格に準じた構成の接続端子である。 The device I / F 16 is an interface for communicating between various functional blocks and the CPU 11. For example, the device I / F 16 is used for communication with the operation unit 17, the first display unit 18, the second display unit 19, the image pickup unit 20, and the like. The device I / F16 is a connection terminal having a configuration conforming to some communication standard such as the USB standard or the RS-232C standard.

操作部17は、操作部材の操作に基づいて、操作信号を生成する。操作部材は、例えば、タッチセンサ、テンキー、またはキーボードなどである。タッチセンサは、例えば、抵抗膜式タッチセンサ、または静電容量式タッチセンサ等である。タッチセンサは、ある領域内において指定された位置を示す情報を取得する。タッチセンサは、上記の第1の表示部18と一体にタッチパネルとして構成されることにより、第1の表示部18に表示された画面上のタッチされた位置を示す信号をCPU11に入力する。 The operation unit 17 generates an operation signal based on the operation of the operation member. The operating member is, for example, a touch sensor, a numeric keypad, a keyboard, or the like. The touch sensor is, for example, a resistance film type touch sensor, a capacitance type touch sensor, or the like. The touch sensor acquires information indicating a designated position within a certain area. The touch sensor is configured as a touch panel integrally with the first display unit 18, so that a signal indicating the touched position on the screen displayed on the first display unit 18 is input to the CPU 11.

第1の表示部18は、CPU11、または図示されないグラフィックコントローラなどの表示制御部から入力される映像信号に応じて画面を表示する表示装置である。第1の表示部18には、商品登録装置1のオペレータに確認させる為の画面が表示される。 The first display unit 18 is a display device that displays a screen according to a video signal input from a display control unit such as a CPU 11 or a graphic controller (not shown). On the first display unit 18, a screen for asking the operator of the product registration device 1 to confirm is displayed.

第2の表示部19は、CPU11、または図示されないグラフィックコントローラなどの表示制御部から入力される映像信号に応じて画面を表示する表示装置である。第2の表示部19には、利用者(客)に確認させる為の画面が表示される。 The second display unit 19 is a display device that displays a screen according to a video signal input from a display control unit such as a CPU 11 or a graphic controller (not shown). The second display unit 19 displays a screen for the user (customer) to confirm.

撮像部20は、商品の画像を取得する画像取得部である。撮像部20は、撮像素子と、撮像素子に被写体像を結像させるレンズと、撮像素子を駆動する駆動回路とを備える。撮像部20は、駆動回路によって撮像素子に蓄積された電荷を読み出すことによって、レンズによって結像された被写体像に応じた画像を取得する。撮像部20は、レンズの画角内に商品が存在する場合に商品の画像を取得することができる。撮像部20は、所定の周期で駆動回路によって撮像素子から画像を読み出すことにより、時間的に連続した複数の画像(フレーム)を取得する。撮像部20は、取得した画像をCPU11に逐次供給する。 The image pickup unit 20 is an image acquisition unit that acquires an image of a product. The image pickup unit 20 includes an image pickup element, a lens for forming a subject image on the image pickup element, and a drive circuit for driving the image pickup element. The image pickup unit 20 acquires an image corresponding to the subject image formed by the lens by reading out the electric charge accumulated in the image pickup element by the drive circuit. The image pickup unit 20 can acquire an image of a product when the product is present within the angle of view of the lens. The image pickup unit 20 acquires a plurality of images (frames) that are continuous in time by reading out images from the image pickup element by a drive circuit at a predetermined cycle. The image pickup unit 20 sequentially supplies the acquired images to the CPU 11.

ハウジング21は、商品登録装置1のCPU11、ROM12、RAM13、不揮発性メモリ14、接続I/F15、デバイスI/F16、操作部17、第1の表示部18、第2の表示部19、及び撮像部20を収容または支持する筐体である。ハウジング21は、例えば、会計カウンタ3の上に配置される。ハウジング21は、操作部17、第1の表示部18、及び撮像部20をオペレータ側に向けて支持する。また、ハウジング21は、第2の表示部19を客側に向けて支持する。 The housing 21 includes the CPU 11, ROM 12, RAM 13, non-volatile memory 14, connection I / F 15, device I / F 16, operation unit 17, first display unit 18, second display unit 19, and image pickup of the product registration device 1. A housing that accommodates or supports the unit 20. The housing 21 is arranged, for example, on the accounting counter 3. The housing 21 supports the operation unit 17, the first display unit 18, and the image pickup unit 20 toward the operator side. Further, the housing 21 supports the second display unit 19 toward the customer side.

POS端末2は、商品登録装置1により会計商品一覧に登録された商品の合計金額と、利用者(客)から受け取った預り金額と、に基づいて決済処理を実行する。POS端末2は、例えばレジカウンタ4の上に配置されたドロワ5の上に配置される。なお、ドロワ5は、自動釣銭機に置き換えることが可能である。ドロワ5は、POS端末2の制御に応じて開閉する引き出し式の金庫である。POS端末2は、CPU31、ROM32、RAM33、不揮発性メモリ34、接続I/F35、デバイスI/F36、操作部37、第3の表示部38、第4の表示部39、プリンタ40、及び通信デバイス41を備える。 The POS terminal 2 executes the settlement process based on the total amount of the products registered in the accounting product list by the product registration device 1 and the deposit amount received from the user (customer). The POS terminal 2 is arranged on the drawer 5 arranged on the cash register counter 4, for example. The drawer 5 can be replaced with an automatic change machine. The drawer 5 is a drawer-type safe that opens and closes according to the control of the POS terminal 2. The POS terminal 2 includes a CPU 31, a ROM 32, a RAM 33, a non-volatile memory 34, a connection I / F35, a device I / F36, an operation unit 37, a third display unit 38, a fourth display unit 39, a printer 40, and a communication device. 41 is provided.

CPU31は、演算処理を実行する演算素子(たとえば、プロセッサ)である。CPU31は、ROM32に記憶されているプログラムなどのデータに基づいて種々の処理を行う。CPU31は、ROM32に格納されているプログラムを実行することにより、種々の動作を実行可能な制御部として機能する。 The CPU 31 is an arithmetic element (for example, a processor) that executes arithmetic processing. The CPU 31 performs various processes based on data such as a program stored in the ROM 32. The CPU 31 functions as a control unit capable of executing various operations by executing a program stored in the ROM 32.

ROM32は、読み出し専用の不揮発性メモリである。ROM32は、プログラム及びプログラムで用いられるデータなどを記憶する。 The ROM 32 is a read-only non-volatile memory. The ROM 32 stores a program, data used in the program, and the like.

RAM33は、ワーキングメモリとして機能する揮発性のメモリである。RAM33は、CPU31の処理中のデータなどを一時的に格納する。また、RAM33は、CPU31が実行するプログラムを一時的に格納する。RAM33は、例えば、上記の会計商品一覧を記憶する。 The RAM 33 is a volatile memory that functions as a working memory. The RAM 33 temporarily stores data and the like being processed by the CPU 31. Further, the RAM 33 temporarily stores a program executed by the CPU 31. The RAM 33 stores, for example, the above-mentioned accounting product list.

不揮発性メモリ34は、種々の情報を記憶可能な記憶媒体である。不揮発性メモリ34は、プログラム及びプログラムで用いられるデータなどを記憶する。不揮発性メモリ34は、例えば、ソリッドステイトドライブ(SSD)、ハードディスクドライブ(HDD)、または他の記憶装置である。なお、不揮発性メモリ34の代わりに、メモリカードなどの記憶媒体を挿入可能なカードスロットなどのメモリI/Fが設けられていてもよい。 The non-volatile memory 34 is a storage medium capable of storing various information. The non-volatile memory 34 stores a program, data used in the program, and the like. The non-volatile memory 34 is, for example, a solid state drive (SSD), a hard disk drive (HDD), or other storage device. Instead of the non-volatile memory 34, a memory I / F such as a card slot into which a storage medium such as a memory card can be inserted may be provided.

接続I/F35は、他の機器と通信する為のインタフェースである。接続I/F35は、商品登録装置1との通信に用いられる。接続I/F35は、USB規格またはRS−232C規格などの何らかの通信規格に準じた構成の接続端子である。なお、接続I/F35は、商品登録装置1が接続可能なケーブルであってもよい。また、接続I/F35は、Bluetooth(登録商標)またはWi−fi(登録商標)などの規格に応じて商品登録装置1と無線通信を行うものであってもよい。 The connection I / F35 is an interface for communicating with other devices. The connection I / F 35 is used for communication with the product registration device 1. The connection I / F35 is a connection terminal having a configuration conforming to some communication standard such as the USB standard or the RS-232C standard. The connection I / F35 may be a cable to which the product registration device 1 can be connected. Further, the connection I / F 35 may perform wireless communication with the product registration device 1 according to a standard such as Bluetooth (registered trademark) or Wi-fi (registered trademark).

デバイスI/F36は、種々の機能ブロックとCPU31とが通信する為のインタフェースである。例えば、デバイスI/F36は、操作部37、第3の表示部38、第4の表示部39、及びプリンタ40などとの通信に用いられる。デバイスI/F36は、USB規格またはRS−232C規格などの何らかの通信規格に準じた構成の接続端子である。 The device I / F 36 is an interface for communicating between various functional blocks and the CPU 31. For example, the device I / F 36 is used for communication with the operation unit 37, the third display unit 38, the fourth display unit 39, the printer 40, and the like. The device I / F36 is a connection terminal having a configuration conforming to some communication standard such as the USB standard or the RS-232C standard.

操作部37は、操作部材の操作に基づいて、操作信号を生成する。操作部材は、例えば、タッチセンサ、テンキー、またはキーボードなどである。タッチセンサは、例えば、抵抗膜式タッチセンサ、または静電容量式タッチセンサ等である。タッチセンサは、ある領域内において指定された位置を示す情報を取得する。タッチセンサは、上記の第3の表示部38と一体にタッチパネルとして構成されることにより、第3の表示部38に表示された画面上のタッチされた位置を示す信号をCPU31に入力する。 The operation unit 37 generates an operation signal based on the operation of the operation member. The operating member is, for example, a touch sensor, a numeric keypad, a keyboard, or the like. The touch sensor is, for example, a resistance film type touch sensor, a capacitance type touch sensor, or the like. The touch sensor acquires information indicating a designated position within a certain area. The touch sensor is configured as a touch panel integrally with the third display unit 38, so that a signal indicating the touched position on the screen displayed on the third display unit 38 is input to the CPU 31.

第3の表示部38は、CPU31、または図示されないグラフィックコントローラなどの表示制御部から入力される映像信号に応じて画面を表示する表示装置である。第3の表示部38には、POS端末2のオペレータに確認させる為の画面が表示される。 The third display unit 38 is a display device that displays a screen according to a video signal input from a display control unit such as a CPU 31 or a graphic controller (not shown). On the third display unit 38, a screen for asking the operator of the POS terminal 2 to confirm is displayed.

第4の表示部39は、CPU31、または図示されないグラフィックコントローラなどの表示制御部から入力される映像信号に応じて画面を表示する表示装置である。第4の表示部39には、利用者(客)に確認させる為の画面が表示される。 The fourth display unit 39 is a display device that displays a screen according to a video signal input from a display control unit such as a CPU 31 or a graphic controller (not shown). The fourth display unit 39 displays a screen for the user (customer) to confirm.

プリンタ40は、POS端末2による決済処理の結果を紙などの媒体に印刷して出力する装置である。プリンタ40は、CPU31の制御に基づいて決済処理の結果を媒体に印刷する。 The printer 40 is a device that prints and outputs the result of payment processing by the POS terminal 2 on a medium such as paper. The printer 40 prints the result of the payment process on the medium based on the control of the CPU 31.

通信デバイス41は、他の電子機器と通信を行う為の回路である。例えば、通信デバイス41は、POS端末2による決済処理の結果を集計するストアコンピュータ6と通信を行う。通信デバイス41は、例えば、LAN、USB、Wi−fi、またはBluetoothなどの通信規格に準じて通信を行う構成を備える。 The communication device 41 is a circuit for communicating with other electronic devices. For example, the communication device 41 communicates with the store computer 6 that aggregates the results of payment processing by the POS terminal 2. The communication device 41 includes, for example, a configuration for communicating according to a communication standard such as LAN, USB, Wi-fi, or Bluetooth.

(POS端末2における決済処理について)
POS端末2のCPU31は、商品登録装置1から会計が必要な商品の商品識別コード、商品名、及び金額を受け取る度に、RAM33の会計商品一覧に登録する。また、CPU31は、会計商品一覧の商品の合計金額を算出する。CPU31は、会計商品一覧に登録された商品の商品名、各商品の金額、及び合計金額を第3の表示部38及び第4の表示部39に表示させる。また、CPU31は、操作部37から供給された操作信号に応じて、利用者からPOS端末2のオペレータが受け取った金額である預り金額を認識する。CPU31は、預り金額と合計金額とに基づいて決済処理を行う。CPU31は、決済処理が実行された場合、決済処理の結果をプリンタ40により印刷させる。また、CPU31は、決済処理が実行された場合、ドロワ5を開くようにドロワ5を制御する。またさらに、CPU31は、決済処理の結果を通信デバイス41を介してストアコンピュータ6に送信する。
(About payment processing on POS terminal 2)
The CPU 31 of the POS terminal 2 registers the product identification code, the product name, and the amount of the product requiring accounting from the product registration device 1 in the accounting product list of the RAM 33 each time. Further, the CPU 31 calculates the total amount of the products in the accounting product list. The CPU 31 causes the third display unit 38 and the fourth display unit 39 to display the product name of the product registered in the accounting product list, the amount of each product, and the total amount. Further, the CPU 31 recognizes the deposit amount, which is the amount received by the operator of the POS terminal 2 from the user, in response to the operation signal supplied from the operation unit 37. The CPU 31 performs payment processing based on the deposit amount and the total amount. When the payment process is executed, the CPU 31 causes the printer 40 to print the result of the payment process. Further, the CPU 31 controls the drawer 5 so as to open the drawer 5 when the payment process is executed. Furthermore, the CPU 31 transmits the result of the payment process to the store computer 6 via the communication device 41.

(商品登録装置1における商品登録処理について)
商品登録装置1のCPU11は、商品登録プログラムを実行することにより、商品の認識と登録とを行う。CPU11は、認識した商品の商品識別コード、商品名、及び金額をPOS端末2に送信することにより商品を登録する。CPU11は、第1の商品認識方法、第2の商品認識方法、または第3の商品認識方法のいずれかによって商品を認識する。
(About the product registration process in the product registration device 1)
The CPU 11 of the product registration device 1 recognizes and registers the product by executing the product registration program. The CPU 11 registers the product by transmitting the product identification code, the product name, and the amount of the recognized product to the POS terminal 2. The CPU 11 recognizes a product by any one of a first product recognition method, a second product recognition method, or a third product recognition method.

第1の商品認識方法により商品を認識する場合、CPU11は、撮像部20により撮像された商品識別コードの画像をデコードすることにより商品識別コードを取得し、取得した商品識別コードに基づいて商品を認識する。即ち、CPU11は、画像から商品識別コードを取得し、取得した商品識別コードに基づいて商品を認識する商品認識部として機能する。 When the product is recognized by the first product recognition method, the CPU 11 acquires the product identification code by decoding the image of the product identification code captured by the image pickup unit 20, and obtains the product based on the acquired product identification code. recognize. That is, the CPU 11 acquires a product identification code from the image and functions as a product recognition unit that recognizes the product based on the acquired product identification code.

第2の商品認識方法により商品を認識する場合、CPU11は、撮像部20により撮像された商品の外観の画像から特徴量を算出し、算出した特徴量に基づいて商品認識辞書から商品候補を抽出する。例えば、CPU11は、商品認識辞書内の商品毎の特徴量と、画像から抽出した特徴量との類似度を算出し、算出した類似度が高い順に商品候補を抽出する。例えば、CPU11は、算出した類似度が高い順に所定個数の商品候補を抽出する。また、例えば、CPU11は、算出した類似度が所定の値を超えた商品を商品候補として抽出する。CPU11は、抽出した商品候補を選択可能な状態で第1の表示部18に表示し、表示させた画面上での操作における候補を選択する操作に応じて商品を認識する。 When the product is recognized by the second product recognition method, the CPU 11 calculates the feature amount from the image of the appearance of the product captured by the image pickup unit 20, and extracts the product candidate from the product recognition dictionary based on the calculated feature amount. do. For example, the CPU 11 calculates the similarity between the feature amount for each product in the product recognition dictionary and the feature amount extracted from the image, and extracts the product candidates in descending order of the calculated similarity. For example, the CPU 11 extracts a predetermined number of product candidates in descending order of the calculated similarity. Further, for example, the CPU 11 extracts a product whose calculated similarity exceeds a predetermined value as a product candidate. The CPU 11 displays the extracted product candidates on the first display unit 18 in a selectable state, and recognizes the products according to the operation of selecting the candidates in the operation on the displayed screen.

第3の商品認識方法により商品を認識する場合、CPU11は、撮像部20により撮像された商品の外観の画像から特徴量を算出し、算出した特徴量に基づいて商品認識辞書から1つの商品を特定及び認識する。例えば、CPU11は、商品認識辞書内の商品毎の特徴量と、画像から抽出した特徴量との類似度を算出し、最も高い類似度が算出された商品を認識する。即ち、CPU11は、商品識別コードの読み取り及び商品候補の選択の操作などが行われない場合であっても、画像から特徴量を算出し、算出した特徴量と商品認識辞書の商品毎の特徴量との類似度に応じて自動的に商品を認識する自動確定部として機能する。 When the product is recognized by the third product recognition method, the CPU 11 calculates the feature amount from the image of the appearance of the product captured by the image pickup unit 20, and based on the calculated feature amount, one product is selected from the product recognition dictionary. Identify and recognize. For example, the CPU 11 calculates the similarity between the feature amount for each product in the product recognition dictionary and the feature amount extracted from the image, and recognizes the product for which the highest similarity is calculated. That is, the CPU 11 calculates the feature amount from the image even when the operation of reading the product identification code and selecting the product candidate is not performed, and the calculated feature amount and the feature amount for each product in the product recognition dictionary. It functions as an automatic confirmation unit that automatically recognizes products according to the degree of similarity with.

商品登録装置1のCPU11は、登録する商品の特徴に応じて、商品の認識に用いる方法を上記の第1の商品認識方法と、第2の商品認識方法と、第3の商品認識方法とで切り替える。CPU11は、商品識別コードを取得することができた場合、第1の商品認識方法により商品を認識する。また、CPU11は、商品識別コードを取得することができない場合、第2の商品認識方法と、第3の商品認識方法とのいずれかにより商品を認識する。 The CPU 11 of the product registration device 1 uses the above-mentioned first product recognition method, second product recognition method, and third product recognition method as methods used for product recognition according to the characteristics of the product to be registered. Switch. When the CPU 11 can acquire the product identification code, the CPU 11 recognizes the product by the first product recognition method. Further, when the product identification code cannot be acquired, the CPU 11 recognizes the product by either the second product recognition method or the third product recognition method.

商品登録装置1により処理する商品には、例えば、商品識別コードが付与されている商品(第1系統商品)と、商品識別コード(第2系統商品)が付与されている商品とがある。第1系統商品は、例えばパッケージを有する人工物である。第2系統商品は、例えばパッケージのない青果などである。 The products processed by the product registration device 1 include, for example, a product to which a product identification code is assigned (first system product) and a product to which a product identification code (second system product) is assigned. The first line product is, for example, an artifact having a package. The second line product is, for example, fruits and vegetables without a package.

第2系統商品は、商品識別コードが付与されていない為、第1の商品認識方法による認識が不可能である。この為、CPU11は、第2の商品認識方法または第3の商品認識方法によって第2系統商品の認識を行う。 Since the second system product is not given a product identification code, it cannot be recognized by the first product recognition method. Therefore, the CPU 11 recognizes the second system product by the second product recognition method or the third product recognition method.

これに対し、第1系統商品は、商品識別コードが付与されている為、第1の商品認識方法、第2の商品認識方法、及び第3の商品認識方法のいずれでも認識が可能である。しかしながら、第3の商品認識方法は、画像から算出された特徴量と商品認識辞書の特徴量との類似度が最も高い商品を自動的に特定する方法である為、誤認識が生じる可能性がある。CPU11は、誤認識を防ぐ為に第1の商品認識方法または第2の商品認識方法によって第1系統商品の認識を行うことが望ましい。 On the other hand, since the product identification code is attached to the first system product, it can be recognized by any of the first product recognition method, the second product recognition method, and the third product recognition method. However, since the third product recognition method is a method of automatically identifying the product having the highest degree of similarity between the feature amount calculated from the image and the feature amount of the product recognition dictionary, erroneous recognition may occur. be. It is desirable that the CPU 11 recognizes the first system product by the first product recognition method or the second product recognition method in order to prevent erroneous recognition.

そこで、商品登録装置1のCPU11は、商品が第1系統商品であるか第2系統商品であるかを識別し、商品が第1系統商品である場合、第3の商品認識方法を行わず第1の商品認識方法または第2の商品認識方法によって商品を認識する。この為に、CPU11は、商品の外観の画像から特徴量を算出し、算出した特徴量と上記の系統識別辞書とに基づいて、画像中の商品が第1系統商品であるか第2系統商品であるかを識別する系統識別を行う。即ち、CPU11は、画像の商品が、商品識別コードが付与された第1系統商品であるか、商品識別コードが付与されていない第2系統商品であるかを画像に基づいて識別する系統識別部として機能する。 Therefore, the CPU 11 of the product registration device 1 identifies whether the product is the first system product or the second system product, and if the product is the first system product, the third product recognition method is not performed and the second product is not performed. The product is recognized by the product recognition method of 1 or the product recognition method of the second. For this purpose, the CPU 11 calculates the feature amount from the image of the appearance of the product, and based on the calculated feature amount and the above-mentioned system identification dictionary, whether the product in the image is the first system product or the second system product. Perform system identification to identify whether it is. That is, the CPU 11 is a system identification unit that identifies based on the image whether the product in the image is the first system product to which the product identification code is attached or the second system product to which the product identification code is not assigned. Functions as.

系統識別に用いる特徴量は、例えば多次元ベクトルである。具体的には、CPU11は、商品の外観の画像からHOG特徴量を算出する。 The feature quantity used for system identification is, for example, a multidimensional vector. Specifically, the CPU 11 calculates the HOG feature amount from the image of the appearance of the product.

第1系統商品は、人工物である為、例えば直線が多いなどの特徴がある。第2系統商品は、青果などである為、例えば直線が少ないなどの特徴がある。この為、第1系統商品の複数の画像から算出された特徴量の群と、第2系統商品の複数の画像から算出された特徴量の群とが多次元空間上で偏る。 Since the first line product is an artificial product, it has a feature such as many straight lines. Since the second line product is fruits and vegetables, it has a feature that, for example, there are few straight lines. Therefore, the group of the feature amount calculated from the plurality of images of the first system product and the group of the feature amount calculated from the plurality of images of the second system product are biased in the multidimensional space.

系統識別辞書は、上記の第1系統商品の複数の画像から算出された特徴量の群と、第2系統商品の複数の画像から算出された特徴量の群とを第1系統商品側と第2系統商品側とに分離する多次元空間上の超平面(識別面)を有する。この識別面は、第1系統商品の複数の画像から算出された特徴量の群と、第2系統商品の複数の画像から算出された特徴量の群とに基づいて、例えばサポートベクトルマシンなどの学習モデルによって予め設定されたものである。 The system identification dictionary includes a group of feature quantities calculated from a plurality of images of the above-mentioned first system product and a group of feature quantities calculated from a plurality of images of the second system product on the first system product side and the first. It has a hyperplane (discrimination surface) on a multidimensional space that is separated from the two-system product side. This identification surface is based on, for example, a group of feature quantities calculated from a plurality of images of the first system product and a group of feature quantities calculated from a plurality of images of the second system product, such as a support vector machine. It is preset by the learning model.

CPU11は、商品の外観の画像から生成した多次元ベクトルの特徴量を上記の多次元空間上にプロットした場合に、識別面のどちら側にプロットした点が存在するかに応じて商品が第1系統商品であるか第2系統商品であるかを推定する。例えば、CPU11は、プロットした点が識別面の第1系統商品側に存在する場合、商品が第1系統商品であると推定する。また、例えば、CPU11は、プロットした点が識別面の第2系統商品側に存在する場合、商品が第2系統商品であると推定する。 When the feature amount of the multidimensional vector generated from the image of the appearance of the product is plotted on the above-mentioned multidimensional space, the CPU 11 first produces the product according to which side of the discrimination surface the plotted points exist. Estimate whether it is a line product or a second line product. For example, the CPU 11 estimates that the product is the first system product when the plotted points are on the first system product side of the identification surface. Further, for example, when the plotted points are on the second system product side of the identification surface, the CPU 11 estimates that the product is the second system product.

上記のように、CPU11は、商品が写った1つの画像を撮像部20から取得した場合、画像から商品識別コードを取得することができるか否か判断する。CPU11は、商品識別コードを取得することができない場合、商品の外観的特徴から商品が第1系統商品であるか第2系統商品であるかを推定する。CPU11は、商品が第1系統商品であると推定された場合、第3の商品認識方法を行わず、第2の商品認識方法により商品の認識を行う。 As described above, when the CPU 11 acquires one image of a product from the image pickup unit 20, the CPU 11 determines whether or not the product identification code can be acquired from the image. When the product identification code cannot be obtained, the CPU 11 estimates whether the product is a first-system product or a second-system product from the appearance characteristics of the product. When the product is presumed to be the first system product, the CPU 11 does not perform the third product recognition method, but recognizes the product by the second product recognition method.

図3は、商品登録装置1及びPOS端末2の動作の例を示す。商品登録装置1及びPOS端末2は、オペレータにより撮像部20の撮像範囲に翳された商品の登録、及び会計を行う。まず、商品登録装置1のCPU11は、撮像部20により取得した画像に基づいて商品登録処理を行う(ACT11)。POS端末2のCPU31は、ACT11によって新たに会計商品一覧に商品が登録される毎に、合計金額を算出する。 FIG. 3 shows an example of the operation of the product registration device 1 and the POS terminal 2. The product registration device 1 and the POS terminal 2 register and account for the products held in the image pickup range of the image pickup unit 20 by the operator. First, the CPU 11 of the product registration device 1 performs a product registration process based on the image acquired by the image pickup unit 20 (ACT 11). The CPU 31 of the POS terminal 2 calculates the total amount each time a product is newly registered in the accounting product list by the ACT 11.

CPU11は、商品登録処理を完了したか否か判断する(ACT12)。例えば、CPU11は、オペレータによってPOS端末2に対して決済処理を実行する操作が行われた場合、商品登録処理を完了したと判断する。決済処理を実行する操作は、例えば預り金額の入力と決済を実行するボタンの操作、または現金ではない他の何らかの決済方法を選択する操作などである。CPU11は、商品登録処理が完了されるまでACT11の処理を繰り返し実行する。 The CPU 11 determines whether or not the product registration process has been completed (ACT 12). For example, when the operator performs an operation to execute the payment process on the POS terminal 2, the CPU 11 determines that the product registration process has been completed. The operation of executing the payment process is, for example, the operation of inputting the deposit amount and the operation of the button for executing the payment, or the operation of selecting some other payment method other than cash. The CPU 11 repeatedly executes the ACT 11 process until the product registration process is completed.

POS端末のCPU31は、商品登録処理を完了したと判断した場合、決済処理を実行し(ACT13)、処理を終了する。例えば、CPU31は、預り金額から会計商品一覧に登録された商品の合計金額を減算して釣り銭額を算出し、第3の表示部38及び第4の表示部39などに表示するとともに、ドロワ5を開く。 When the CPU 31 of the POS terminal determines that the product registration process has been completed, it executes the settlement process (ACT13) and ends the process. For example, the CPU 31 calculates the change amount by subtracting the total amount of the products registered in the accounting product list from the deposit amount, displays it on the third display unit 38, the fourth display unit 39, and the like, and also displays the drawer 5 open.

図4は、図3のACT11の商品登録処理の例を示す。商品登録装置1のCPU11は、例えばRAM13などに撮像部20により撮像された画像であって物体が検出された画像(フレーム)の数をカウントするカウンタnと、商品が第2系統商品であると識別された画像(フレーム)の数をカウントするカウンタmと、を記憶する。なお、CPU11は、不揮発性メモリ14にカウンタn及びカウンタmを記憶する構成であってもよい。 FIG. 4 shows an example of the product registration process of ACT11 of FIG. The CPU 11 of the product registration device 1 has a counter n that counts the number of images (frames) in which an object is detected, which is an image captured by the image pickup unit 20 in, for example, a RAM 13, and the product is a second system product. A counter m that counts the number of identified images (frames) and a counter m are stored. The CPU 11 may be configured to store the counter n and the counter m in the non-volatile memory 14.

CPU11は、商品登録処理を実行する場合、まずカウンタn及びカウンタmの値をリセットして「0」にする(ACT21)。 When executing the product registration process, the CPU 11 first resets the values of the counter n and the counter m to "0" (ACT21).

CPU11は、撮像部20により撮像された1フレーム分の画像を取得する(ACT22)。 The CPU 11 acquires an image for one frame captured by the image pickup unit 20 (ACT 22).

CPU11は、取得した画像に対して画像解析によって画像中の物体を検出する処理を行う。CPU11は、物体が検出されたか否か判断する(ACT23)。物体が検出されない場合(ACT23、NO)、CPU11は、ACT21に戻る。 The CPU 11 performs a process of detecting an object in the image by image analysis on the acquired image. The CPU 11 determines whether or not an object has been detected (ACT 23). If no object is detected (ACT23, NO), the CPU 11 returns to ACT21.

CPU11は、物体が検出された場合(ACT23、YES)、取得した画像から商品識別コードを検出する。CPU11は、商品識別コードを画像から検出し且つデコードが成功したか否か判断する(ACT24)。 When the object is detected (ACT23, YES), the CPU 11 detects the product identification code from the acquired image. The CPU 11 detects the product identification code from the image and determines whether or not the decoding is successful (ACT 24).

CPU11は、商品識別コードを画像から検出し且つデコードが成功したと判断した場合(ACT24、YES)、デコードした商品識別コードに対応付けられた商品名及び金額を商品認識辞書から抽出し、商品識別コード、商品名、及び金額をPOS端末2に登録する商品登録を行い(ACT25)、処理を終了する。即ち、CPU11は、商品識別コードを画像から検出し且つデコードが成功したと判断した場合、第1の商品認識方法により商品を認識し、POS端末2に登録する。 When the CPU 11 detects the product identification code from the image and determines that the decoding is successful (ACT24, YES), the CPU 11 extracts the product name and the amount of money associated with the decoded product identification code from the product recognition dictionary, and identifies the product. Register the code, product name, and amount in the POS terminal 2 Product registration is performed (ACT25), and the process is completed. That is, when the CPU 11 detects the product identification code from the image and determines that the decoding is successful, the CPU 11 recognizes the product by the first product recognition method and registers it in the POS terminal 2.

また、ACT24において、商品識別コードを画像から検出できなかった、またはデコードが失敗したと判断した場合(ACT24、NO)、CPU11は、カウンタnの値をカウントアップ(例えば+1)する(ACT26)。 Further, when it is determined in the ACT 24 that the product identification code cannot be detected from the image or the decoding has failed (ACT 24, NO), the CPU 11 counts up the value of the counter n (for example, +1) (ACT 26).

CPU11は、カウンタnの値が予め設定された値である「N」未満であるか否か判断する(ACT27)。CPU11は、カウンタnの値が予め設定された値である「N」未満ではない、即ち、カウンタnの値が「N」に達したと判断した場合(ACT27、NO)、後述するACT31に移行する。 The CPU 11 determines whether or not the value of the counter n is less than the preset value "N" (ACT27). When the CPU 11 determines that the value of the counter n is not less than the preset value "N", that is, the value of the counter n has reached "N" (ACT27, NO), the CPU 11 shifts to the ACT 31 described later. do.

CPU11は、カウンタnの値が予め設定された値である「N」未満であると判断した場合(ACT27、YES)、商品の系統を識別する系統識別を行う(ACT28)。 When the CPU 11 determines that the value of the counter n is less than the preset value "N" (ACT27, YES), the CPU 11 performs system identification to identify the system of the product (ACT28).

CPU11は、系統識別の結果を参照し、商品が第2系統商品であるか否か判断する。(ACT29)。CPU11は、商品が第2系統商品ではないと判断した場合(ACT29、NO)、後述するACT31に移行する。 The CPU 11 refers to the result of the system identification and determines whether or not the product is a second system product. (ACT29). When the CPU 11 determines that the product is not a second system product (ACT29, NO), the CPU 11 shifts to ACT31, which will be described later.

CPU11は、商品が第2系統商品であると判断した場合(ACT29、YES)、CPU11は、カウンタmの値をカウントアップ(例えば+1)する(ACT30)。 When the CPU 11 determines that the product is a second system product (ACT29, YES), the CPU 11 counts up the value of the counter m (for example, +1) (ACT30).

次に、CPU11は、商品候補の抽出を行う(ACT31)。例えば、CPU11は、撮像部20により撮像された商品の画像から特徴量を算出し、算出した特徴量と商品認識辞書の中の商品毎の特徴量との類似度を算出し、算出した類似度に応じて商品候補を抽出する。 Next, the CPU 11 extracts product candidates (ACT31). For example, the CPU 11 calculates the feature amount from the image of the product captured by the image pickup unit 20, calculates the similarity between the calculated feature amount and the feature amount for each product in the product recognition dictionary, and calculates the similarity degree. Product candidates are extracted according to the above.

CPU11は、ACT31において商品候補が抽出された否か判断する(ACT32)。CPU11は、商品候補が抽出されていないと判断した場合(ACT32、NO)、ACT22の処理に移行し、次のフレームの画像を取得する。 The CPU 11 determines whether or not the product candidate has been extracted in the ACT 31 (ACT 32). When the CPU 11 determines that the product candidate has not been extracted (ACT 32, NO), the CPU 11 proceeds to the process of the ACT 22 and acquires an image of the next frame.

CPU11は、商品候補が抽出されたと判断した場合(ACT32、YES)、抽出した商品候補を選択可能な状態で第1の表示部18に表示する(ACT33)。例えば、CPU11は、抽出した商品候補の商品名を選択可能な状態で第1の表示部18に表示する。また、例えば、商品認識辞書に商品毎の画像が記憶されていてもよい。この場合、CPU11は、抽出した商品候補の画像を選択可能な状態で第1の表示部18に表示してもよい。 When the CPU 11 determines that the product candidate has been extracted (ACT 32, YES), the CPU 11 displays the extracted product candidate on the first display unit 18 in a selectable state (ACT 33). For example, the CPU 11 displays the product name of the extracted product candidate on the first display unit 18 in a selectable state. Further, for example, an image for each product may be stored in the product recognition dictionary. In this case, the CPU 11 may display the extracted image of the product candidate on the first display unit 18 in a selectable state.

CPU11は、ACT33で表示された商品候補の画面において、いずれかの商品候補が選択されたか否か判断する(ACT34)。 The CPU 11 determines whether or not any of the product candidates is selected on the product candidate screen displayed by the ACT 33 (ACT 34).

CPU11は、商品候補の画面において商品候補が選択されたと判断した場合(ACT34、YES)、ACT25に移行し、選択された商品候補の商品識別コード、商品名、及び金額をPOS端末2に登録する。 When the CPU 11 determines that the product candidate has been selected on the product candidate screen (ACT34, YES), the CPU 11 proceeds to ACT25 and registers the product identification code, product name, and amount of the selected product candidate in the POS terminal 2. ..

CPU11は、商品候補の画面において商品候補が選択されなかったと判断した場合(ACT34、NO)、カウンタmの値が予め設定された値である「M」以下であるか否か判断する(ACT35)。CPU11は、カウンタmの値が「M」を超えた場合、商品が第2系統商品(即ち青果)である可能性が高いと判断する。また、CPU11は、カウンタmの値が「M」以下である場合、商品が第2系統商品である可能性が十分ではないと判断する。 When the CPU 11 determines that the product candidate has not been selected on the product candidate screen (ACT34, NO), the CPU 11 determines whether or not the value of the counter m is "M" or less, which is a preset value (ACT35). .. When the value of the counter m exceeds "M", the CPU 11 determines that the product is likely to be a second system product (that is, fruits and vegetables). Further, when the value of the counter m is "M" or less, the CPU 11 determines that the possibility that the product is a second system product is not sufficient.

CPU11は、カウンタmの値が予め設定された値である「M」以下であると判断した場合(ACT35、YES)、ACT22の処理に移行し、次のフレームの画像を取得する。即ち、CPU11は、画像の取得を継続して、バーコードの検出、商品候補の選択、または自動確定による商品の認識が可能になるまで処理を継続する。 When the CPU 11 determines that the value of the counter m is "M" or less, which is a preset value (ACT35, YES), the process proceeds to the processing of the ACT 22 and the image of the next frame is acquired. That is, the CPU 11 continues to acquire the image, and continues the process until it becomes possible to detect the barcode, select the product candidate, or recognize the product by automatic confirmation.

CPU11は、ACT35でカウンタmの値が「M」以下ではない、即ち、カウンタmの値が「M」を超えたと判断した場合に達したと判断した場合(ACT35、NO)、自動確定を実行するか否か判断する(ACT36)。CPU11は、操作部37の操作、またはPOS端末2から受け取る情報に応じて、自動確定を有効にするか無効にするかを切り替える。例えば、CPU11は、自動確定が有効であるか否かを示す設定をRAM13、または不揮発性メモリ14などに記憶する。CPU11は、この設定を参照して自動確定を実行するか否か判断する。CPU11は、自動確定を実行しない設定であると判断した場合(ACT36、NO)、ACT22に移行する。 When the CPU 11 determines that the value of the counter m is not "M" or less in the ACT 35, that is, when it is determined that the value of the counter m exceeds "M" (ACT35, NO), the CPU 11 executes automatic confirmation. It is determined whether or not to do so (ACT36). The CPU 11 switches whether to enable or disable the automatic confirmation according to the operation of the operation unit 37 or the information received from the POS terminal 2. For example, the CPU 11 stores a setting indicating whether or not automatic determination is valid in the RAM 13 or the non-volatile memory 14. The CPU 11 refers to this setting and determines whether or not to execute the automatic confirmation. When the CPU 11 determines that the setting is not to execute the automatic confirmation (ACT36, NO), the CPU 11 shifts to the ACT 22.

CPU11は、自動確定を実行すると判断した場合(ACT36、YES)、ACT25に移行する。この場合、CPU11は、それまでに商品毎に算出された類似度に基づいて、1つの商品を特定及び認識する。例えば、CPU11は、画像から算出した特徴量と商品認識辞書の商品毎の特徴量との類似度を1フレーム毎に算出し、物体が検出されてから取得した複数のフレームの類似度を統合し、統合した商品毎の類似度のうちの最も高い類似度に対応した商品を特定及び認識する。CPU11は、認識した商品の商品識別コード、商品名、及び金額をPOS端末2に登録する。 When the CPU 11 determines that the automatic confirmation is executed (ACT36, YES), the CPU 11 shifts to the ACT25. In this case, the CPU 11 identifies and recognizes one product based on the similarity calculated for each product so far. For example, the CPU 11 calculates the similarity between the feature amount calculated from the image and the feature amount for each product in the product recognition dictionary for each frame, and integrates the similarity of a plurality of frames acquired after the object is detected. , Identify and recognize the product corresponding to the highest similarity among the similarities for each integrated product. The CPU 11 registers the product identification code, product name, and amount of the recognized product in the POS terminal 2.

上記のような構成において、撮像部20の画像取得のフレームレートを30fpsとし、値「N」を10とし、値Mを「7」とした場合、物体が検出されてから少なくとも7フレームの間、自動確定が保留される。 In the above configuration, when the frame rate of image acquisition of the image pickup unit 20 is 30 fps, the value "N" is 10, and the value M is "7", for at least 7 frames after the object is detected, Automatic confirmation is suspended.

上記したように、商品登録装置1のCPU11は、商品識別コードが読み取られない場合、商品が商品識別コードが付与された人工物などの第1系統商品であるか、商品識別コードが付与されていない青果などの第2系統商品であるかフレーム毎に識別する系統識別を行う。CPU11は、複数フレームに亘って系統識別を行い、第2系統商品であると識別したフレームの数mが予め設定された値である「M」を超えたと判断した場合、商品が第2系統商品であると判断し、自動確定による商品の認識を行う。即ち、CPU11は、商品が第2系統商品であると判断するまでの間、自動確定による商品の認識を保留する。言い換えると、CPU11は、商品が第1系統商品である可能性が高いと判断する場合、自動確定による商品の認識を保留し続け、商品識別コードの読み取りによる商品認識、または商品候補の選択による商品認識によって商品を認識する。これにより、商品登録装置1は、商品識別コードが付与された第1系統商品を自動確定によって認識することを防ぐことができる。この結果、高い精度で商品の認識及び登録を行うことができる商品登録装置及び商品登録プログラムを提供することができる。 As described above, when the product identification code cannot be read, the CPU 11 of the product registration device 1 indicates that the product is a first-system product such as an artificial product to which the product identification code is attached, or the product identification code is assigned. System identification is performed to identify whether it is a second system product such as a fruit or vegetable that is not present, for each frame. When the CPU 11 performs system identification over a plurality of frames and determines that the number m of the frames identified as the second system product exceeds the preset value "M", the product is the second system product. It is judged that the product is recognized by automatic confirmation. That is, the CPU 11 suspends the recognition of the product by automatic determination until it is determined that the product is the second system product. In other words, when the CPU 11 determines that the product is likely to be the first system product, it continues to suspend the recognition of the product by automatic confirmation, and the product recognition by reading the product identification code or the product by selecting the product candidate. Recognize the product by recognition. As a result, the product registration device 1 can prevent the product registration device 1 from recognizing the first system product to which the product identification code is attached by automatic confirmation. As a result, it is possible to provide a product registration device and a product registration program capable of recognizing and registering products with high accuracy.

(第2の実施形態)
次に、第2の実施形態に係る商品登録装置1について説明する。なお、構成は、第1の実施形態に係る商品登録装置1と同様である為、構成の説明を省略する。
(Second embodiment)
Next, the product registration device 1 according to the second embodiment will be described. Since the configuration is the same as that of the product registration device 1 according to the first embodiment, the description of the configuration will be omitted.

図5は、図3のACT11の第2の実施形態に係る商品登録処理の例を示す。なお、ACT41乃至ACT54は、図4のACT21乃至ACT34と同様である為、簡略に説明する。 FIG. 5 shows an example of the product registration process according to the second embodiment of ACT11 of FIG. Since ACT 41 to ACT 54 are the same as ACT 21 to ACT 34 in FIG. 4, they will be briefly described.

CPU11は、商品登録処理を実行する場合、まずカウンタn及びカウンタmの値をリセットして「0」にする(ACT41)。 When executing the product registration process, the CPU 11 first resets the values of the counter n and the counter m to "0" (ACT41).

CPU11は、撮像部20により撮像された1フレーム分の画像を取得する(ACT42)。 The CPU 11 acquires an image for one frame captured by the image pickup unit 20 (ACT 42).

CPU11は、取得した画像に対して画像解析によって画像中の物体を検出する処理を行う。CPU11は、物体が検出されたか否か判断する(ACT43)。物体が検出されない場合(ACT43、NO)、CPU11は、ACT41に戻る。 The CPU 11 performs a process of detecting an object in the image by image analysis on the acquired image. The CPU 11 determines whether or not an object has been detected (ACT43). If no object is detected (ACT43, NO), the CPU 11 returns to ACT41.

CPU11は、物体が検出された場合(ACT43、YES)、取得した画像から商品識別コードを検出する。CPU11は、商品識別コードを画像から検出し且つデコードが成功したか否か判断する(ACT44)。 When the object is detected (ACT43, YES), the CPU 11 detects the product identification code from the acquired image. The CPU 11 detects the product identification code from the image and determines whether or not the decoding is successful (ACT44).

CPU11は、商品識別コードを画像から検出し且つデコードが成功したと判断した場合(ACT44、YES)、デコードした商品識別コードに対応付けられた商品名及び金額を商品認識辞書から抽出し、商品識別コード、商品名、及び金額をPOS端末2に登録する商品登録を行い(ACT45)、処理を終了する。 When the CPU 11 detects the product identification code from the image and determines that the decoding is successful (ACT44, YES), the CPU 11 extracts the product name and the amount of money associated with the decoded product identification code from the product recognition dictionary, and identifies the product. Register the code, product name, and amount in the POS terminal 2 Product registration is performed (ACT45), and the process is completed.

また、ACT44において、商品識別コードを画像から検出できなかった、またはデコードが失敗したと判断した場合(ACT44、NO)、CPU11は、カウンタnの値をカウントアップ(例えば+1)する(ACT46)。 Further, when it is determined in the ACT 44 that the product identification code cannot be detected from the image or the decoding has failed (ACT 44, NO), the CPU 11 counts up the value of the counter n (for example, +1) (ACT 46).

CPU11は、カウンタnの値が予め設定された値である「N」未満であるか否か判断する(ACT47)。CPU11は、カウンタnの値が予め設定された値である「N」未満ではない、即ち、カウンタnの値が「N」に達したと判断した場合(ACT47、NO)、後述するACT51に移行する。 The CPU 11 determines whether or not the value of the counter n is less than the preset value "N" (ACT47). When the CPU 11 determines that the value of the counter n is not less than the preset value "N", that is, the value of the counter n has reached "N" (ACT47, NO), the CPU 11 shifts to the ACT 51 described later. do.

CPU11は、カウンタnの値が予め設定された値である「N」未満であると判断した場合(ACT47、YES)、商品の系統を識別する系統識別を行う(ACT48)。 When the CPU 11 determines that the value of the counter n is less than the preset value "N" (ACT47, YES), the CPU 11 performs system identification to identify the system of the product (ACT48).

CPU11は、系統識別の結果を参照し、商品が第2系統商品であるか否か判断する。(ACT49)。CPU11は、商品が第2系統商品ではないと判断した場合(ACT49、NO)、後述するACT51に移行する。 The CPU 11 refers to the result of the system identification and determines whether or not the product is a second system product. (ACT49). When the CPU 11 determines that the product is not the second system product (ACT49, NO), the CPU 11 shifts to the ACT 51 described later.

CPU11は、商品が第2系統商品であると判断した場合(ACT49、YES)、CPU11は、カウンタmの値をカウントアップ(例えば+1)する(ACT50)。 When the CPU 11 determines that the product is a second system product (ACT49, YES), the CPU 11 counts up the value of the counter m (for example, +1) (ACT50).

次に、CPU11は、商品候補の抽出を行う(ACT51)。 Next, the CPU 11 extracts product candidates (ACT 51).

CPU11は、ACT51において商品候補が抽出された否か判断する(ACT52)。CPU11は、商品候補が抽出されていないと判断した場合(ACT52、NO)、ACT42の処理に移行し、次のフレームの画像を取得する。 The CPU 11 determines whether or not the product candidate has been extracted in the ACT 51 (ACT 52). When the CPU 11 determines that the product candidate has not been extracted (ACT 52, NO), the CPU 11 proceeds to the process of the ACT 42 and acquires an image of the next frame.

CPU11は、商品候補が抽出されたと判断した場合(ACT52、YES)、抽出した商品候補を選択可能な状態で第1の表示部18に表示する(ACT53)。 When the CPU 11 determines that the product candidate has been extracted (ACT 52, YES), the CPU 11 displays the extracted product candidate on the first display unit 18 in a selectable state (ACT 53).

CPU11は、ACT53で表示された商品候補の画面において、いずれかの商品候補が選択されたか否か判断する(ACT54)。 The CPU 11 determines whether or not any of the product candidates is selected on the product candidate screen displayed by the ACT 53 (ACT 54).

CPU11は、商品候補の画面において商品候補が選択されたと判断した場合(ACT54、YES)、ACT45に移行し、選択された商品候補の商品識別コード、商品名、及び金額をPOS端末2に登録する。 When the CPU 11 determines that the product candidate has been selected on the product candidate screen (ACT54, YES), the CPU 11 proceeds to ACT45 and registers the product identification code, product name, and amount of the selected product candidate in the POS terminal 2. ..

CPU11は、商品候補の画面において商品候補が選択されなかったと判断した場合(ACT54、NO)、カウンタmの値が予め設定された値である「M」以下であるか否か判断する(ACT55)。CPU11は、カウンタmの値が「M」を超えた場合、商品が第2系統商品(即ち青果)である可能性が高いと判断する。また、CPU11は、カウンタmの値が「M」以下である場合、商品が第2系統商品である可能性が十分ではないと判断する。 When the CPU 11 determines that the product candidate has not been selected on the product candidate screen (ACT54, NO), the CPU 11 determines whether or not the value of the counter m is "M" or less, which is a preset value (ACT55). .. When the value of the counter m exceeds "M", the CPU 11 determines that the product is likely to be a second system product (that is, fruits and vegetables). Further, when the value of the counter m is "M" or less, the CPU 11 determines that the possibility that the product is a second system product is not sufficient.

CPU11は、カウンタmの値が予め設定された値である「M」以下であると判断した場合(ACT55、YES)、所定フレームが経過したか否か判断する(ACT56)。即ち、CPU11は、ACT45において画像から物体が検出されたからの経過フレームであるフレーム数nが、予め設定されたフレーム数「X」に達したか否か判断する。CPU11は、所定フレームが経過していないと判断した場合(ACT56、NO)、ACT42の処理に移行し、次のフレームの画像を取得する。即ち、CPU11は、次のフレームの画像を取得し、処理を継続する。 When the CPU 11 determines that the value of the counter m is "M" or less, which is a preset value (ACT55, YES), the CPU 11 determines whether or not a predetermined frame has elapsed (ACT56). That is, the CPU 11 determines whether or not the number of frames n, which is the elapsed frame since the object was detected from the image in the ACT 45, has reached the preset number of frames "X". When the CPU 11 determines that the predetermined frame has not elapsed (ACT56, NO), the CPU 11 proceeds to the process of the ACT 42 and acquires an image of the next frame. That is, the CPU 11 acquires the image of the next frame and continues the process.

CPU11は、ACT55でカウンタmの値が「M」以下ではない、即ち、カウンタmの値が「M」を超えたと判断した場合に達したと判断した場合(ACT35、NO)、またはACT56で所定フレームが経過したと判断した場合(ACT56、YES)、自動確定を実行するか否か判断する(ACT57)。CPU11は、自動確定を実行しない設定であると判断した場合(ACT57、NO)、ACT42に移行する。 When the CPU 11 determines that the value of the counter m is not "M" or less in the ACT 55, that is, when it is determined that the value of the counter m exceeds "M" (ACT35, NO), or when it is determined by the ACT 56. When it is determined that the frame has elapsed (ACT56, YES), it is determined whether or not to execute the automatic confirmation (ACT57). When the CPU 11 determines that the setting does not execute the automatic confirmation (ACT 57, NO), the CPU 11 shifts to the ACT 42.

CPU11は、自動確定を実行すると判断した場合(ACT57、YES)、ACT45に移行する。この場合、CPU11は、それまでに商品毎に算出された類似度に基づいて、1つの商品を特定及び認識する。例えば、CPU11は、画像から算出した特徴量と商品認識辞書の商品毎の特徴量との類似度を1フレーム毎に算出し、物体が検出されてから取得した複数のフレームの類似度を統合し、統合した商品毎の類似度のうちの最も高い類似度に対応した商品を特定及び認識する。CPU11は、認識した商品の商品識別コード、商品名、及び金額をPOS端末2に登録する。 When the CPU 11 determines that the automatic confirmation is executed (ACT57, YES), the CPU 11 shifts to the ACT 45. In this case, the CPU 11 identifies and recognizes one product based on the similarity calculated for each product so far. For example, the CPU 11 calculates the similarity between the feature amount calculated from the image and the feature amount for each product in the product recognition dictionary for each frame, and integrates the similarity of a plurality of frames acquired after the object is detected. , Identify and recognize the product corresponding to the highest similarity among the similarities for each integrated product. The CPU 11 registers the product identification code, product name, and amount of the recognized product in the POS terminal 2.

上記のような構成において、例えばフレーム数「X」が30であるとし、商品識別コードが読み取られず、商品候補が選択されず、且つ商品が第2系統商品であると識別されない場合、CPU11は、物体が検出されたフレーム数が30フレームに達するまでの間、自動確定処理を保留する。 In the above configuration, for example, when the number of frames "X" is 30, the product identification code is not read, the product candidate is not selected, and the product is not identified as the second system product, the CPU 11 determines. The automatic confirmation process is suspended until the number of frames in which the object is detected reaches 30 frames.

上記したように、商品登録装置1のCPU11は、商品識別コードが読み取られず、商品候補が選択されず、且つ商品が第2系統商品であると識別されない場合であっても、物体が検出されたフレーム数(保留時間)が予め設定されたフレーム数(所定時間)に達した場合、自動確定によって商品を認識する。即ち、商品登録装置1は、商品が第2系統商品であると判断された場合、または一定時間経過した場合に自動確定による商品認識を行う。これにより、商品登録装置1は、商品の認識が実行されずに経過する時間を調整することが可能になる。この結果、商品登録装置1は、効率的に商品の登録を行うことができる。 As described above, the CPU 11 of the product registration device 1 detects the object even when the product identification code is not read, the product candidate is not selected, and the product is not identified as the second system product. When the number of frames (holding time) reaches the preset number of frames (predetermined time), the product is recognized by automatic confirmation. That is, the product registration device 1 performs product recognition by automatic determination when it is determined that the product is a second system product or when a certain period of time has elapsed. As a result, the product registration device 1 can adjust the time elapsed without the product recognition being executed. As a result, the product registration device 1 can efficiently register the product.

上記の実施形態では、商品登録装置1は、サポートベクトルマシンによって多次元空間上に定義した識別面に基づいて、画像の商品が第1系統商品であるか第2系統商品であるかを識別する構成であると説明したが、この構成に限定されない。商品登録装置1は、商品が第1系統商品であるか第2系統商品であるかを他の手法によって識別する構成であってもよい。例えば、商品登録装置1は、Deep Neural Networkなどを用いて商品が第1系統商品であるか第2系統商品であるか識別する構成であってもよい。 In the above embodiment, the product registration device 1 identifies whether the product in the image is the first system product or the second system product based on the identification surface defined on the multidimensional space by the support vector machine. Although it was explained that it is a configuration, it is not limited to this configuration. The product registration device 1 may be configured to identify whether the product is a first-system product or a second-system product by another method. For example, the product registration device 1 may be configured to identify whether the product is a first-system product or a second-system product by using a Deep Neural Network or the like.

また、上記の実施形態では、商品登録装置1は、第2系統商品であると識別したフレームの数mが予め設定された値である「M」を超えた場合に、商品が第2系統商品であると判断する構成であると説明したが、この構成に限定されない。商品登録装置1は、サポートベクトルマシンによって多次元空間上に定義した識別面と、画像から生成した特徴量を多次元空間上にプロットした点との距離の加算値に基づいて、商品が第1系統商品であるか第2系統商品であるか識別する構成であってもよい。 Further, in the above embodiment, when the number m of the frame identified as the second system product exceeds the preset value "M", the product is the second system product. Although it was explained that the configuration is determined to be, the configuration is not limited to this configuration. In the product registration device 1, the product is first set based on the added value of the distance between the identification surface defined on the multidimensional space by the support vector machine and the point where the feature amount generated from the image is plotted on the multidimensional space. It may be configured to identify whether it is a system product or a second system product.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
なお、以下に本願の出願当初の特許請求の範囲の記載を付記する。
[C1]
商品が写った画像を取得する画像取得部と、
商品毎に特徴量を有する商品認識辞書を記憶するメモリと、
前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量との類似度に応じて商品を認識する自動確定部と、
前記画像の商品が、商品を識別する為の商品識別コードが付与された第1系統商品であるか、前記商品識別コードが付与されていない第2系統商品であるかを前記画像に基づいて識別する系統識別部と、
商品が前記第2系統商品であると識別された場合、前記自動確定部により商品を認識し、商品が前記第1系統商品であると識別された場合、前記自動確定部による商品の認識を保留するように前記自動確定部を制御する制御部と、
商品の認識結果を登録する商品登録部と、
を具備する商品登録装置。
[C2]
前記制御部は、保留時間が所定時間に達した場合、前記第1系統商品を前記自動確定部により認識するC1に記載の商品登録装置。
[C3]
前記画像から前記商品識別コードを取得し、取得した前記商品識別コードに基づいて商品を認識する商品認識部をさらに具備し、
前記制御部は、商品が前記第1系統商品であると識別され、且つ前記商品識別コードが取得された場合、前記商品認識部による商品を認識するように前記商品認識部を制御するC1または2に記載の商品登録装置。
[C4]
前記第1系統商品は、前記第2系統商品に比べて直線が多い人工物であり、
前記第2系統商品は、前記第系統商品に比べて直線が少ない青果であるC1乃至3のいずれか1項に記載の商品登録装置。
[C5]
商品が写った画像を取得する画像取得部と、商品毎に特徴量を有する商品認識辞書を記憶するメモリと、を具備する商品登録装置により実行される商品登録プログラムであって、
前記商品登録装置を、
前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量との類似度に応じて商品を認識する自動確定部と、
前記画像の商品が、商品を識別する為の商品識別コードが付与された第1系統商品であるか、前記商品識別コードが付与されていない第2系統商品であるかを前記画像に基づいて識別する系統識別部と、
商品が前記第2系統商品であると識別された場合、前記自動確定部により商品を認識し、商品が前記第1系統商品であると識別された場合、前記自動確定部による商品の認識を保留するように前記自動確定部を制御する制御部と、
商品の認識結果を登録する商品登録部と、
して動作させる商品登録プログラム。
Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other embodiments, and various omissions, replacements, and changes can be made without departing from the gist of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.
The following is a description of the scope of claims at the time of filing the application.
[C1]
The image acquisition unit that acquires the image of the product, and
A memory that stores a product recognition dictionary that has a feature amount for each product,
An automatic confirmation unit that calculates a feature amount from the image and recognizes the product according to the degree of similarity between the calculated feature amount and the feature amount for each product in the product recognition dictionary.
Based on the image, it is determined whether the product in the image is a first-series product to which a product identification code for identifying the product is attached or a second-series product to which the product identification code is not assigned. System identification unit and
When the product is identified as the second system product, the product is recognized by the automatic confirmation unit, and when the product is identified as the first system product, the recognition of the product by the automatic confirmation unit is suspended. A control unit that controls the automatic confirmation unit and
The product registration department that registers the product recognition results, and
A product registration device equipped with.
[C2]
The product registration device according to C1, wherein the control unit recognizes the first system product by the automatic confirmation unit when the holding time reaches a predetermined time.
[C3]
A product recognition unit that acquires the product identification code from the image and recognizes the product based on the acquired product identification code is further provided.
When the product is identified as the first system product and the product identification code is acquired, the control unit controls the product recognition unit to recognize the product by the product recognition unit C1 or 2. Product registration device described in.
[C4]
The first line product is an artifact having more straight lines than the second line product.
The product registration device according to any one of C1 to 3, wherein the second system product is a fruit or vegetable having fewer straight lines than the first system product.
[C5]
It is a product registration program executed by a product registration device including an image acquisition unit for acquiring an image of a product and a memory for storing a product recognition dictionary having a feature amount for each product.
The product registration device
An automatic confirmation unit that calculates a feature amount from the image and recognizes the product according to the degree of similarity between the calculated feature amount and the feature amount for each product in the product recognition dictionary.
Based on the image, it is determined whether the product in the image is a first-series product to which a product identification code for identifying the product is attached or a second-series product to which the product identification code is not assigned. System identification unit and
When the product is identified as the second system product, the product is recognized by the automatic confirmation unit, and when the product is identified as the first system product, the recognition of the product by the automatic confirmation unit is suspended. A control unit that controls the automatic confirmation unit and
The product registration department that registers the product recognition results, and
Product registration program to operate.

1…商品登録装置、2…POS端末、3…会計カウンタ、4…レジカウンタ、5…ドロワ、6…ストアコンピュータ、11…CPU、12…ROM、13…RAM、14…不揮発性メモリ、15…接続I/F、16…デバイスI/F、17…操作部、18…第1の表示部、19…第2の表示部、20…撮像部、21…ハウジング、31…CPU、32…ROM、33…RAM、34…不揮発性メモリ、35…接続I/F、36…デバイスI/F、37…操作部、38…第3の表示部、39…第4の表示部、40…プリンタ、41…通信デバイス。 1 ... Product registration device, 2 ... POS terminal, 3 ... Accounting counter, 4 ... Cash register counter, 5 ... Drawer, 6 ... Store computer, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Non-volatile memory, 15 ... Connection I / F, 16 ... Device I / F, 17 ... Operation unit, 18 ... First display unit, 19 ... Second display unit, 20 ... Imaging unit, 21 ... Housing, 31 ... CPU, 32 ... ROM, 33 ... RAM, 34 ... non-volatile memory, 35 ... connection I / F, 36 ... device I / F, 37 ... operation unit, 38 ... third display unit, 39 ... fourth display unit, 40 ... printer, 41. … Communication device.

Claims (7)

商品が写った画像を取得する画像取得部と、
商品毎に特徴量を有する商品認識辞書を記憶するメモリと、
前記画像の商品が、商品を識別する為の商品識別コードが付与された第1系統商品であるか、前記商品識別コードが付与されていない第2系統商品であるかを前記画像に基づいて識別する系統識別部と、
前記画像から前記商品識別コードを取得し、取得した前記商品識別コードに基づいて商品を認識する第1の商品認識部と、
前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量とに基づいて商品候補を選択可能な状態で出力し、選択に応じて商品を認識する第2の商品認識部と、
商品が前記第1系統商品であると識別された場合、前記第2の商品認識部による商品の認識を保留し、保留中に前記商品識別コードが取得された場合、前記第1の商品認識部による商品を認識するように前記第1の商品認識部及び第2の商品認識部を制御し、商品が前記第2系統商品であると識別された場合、前記第2の商品認識部により商品を認識する制御部と、
商品の認識結果を登録する商品登録部と、
を具備する商品登録装置。
The image acquisition unit that acquires the image of the product, and
A memory that stores a product recognition dictionary that has a feature amount for each product,
Based on the image, it is determined whether the product in the image is a first-series product to which a product identification code for identifying the product is attached or a second-series product to which the product identification code is not assigned. System identification unit and
A first product recognition unit that acquires the product identification code from the image and recognizes the product based on the acquired product identification code.
A second method in which a feature amount is calculated from the image, product candidates are output in a selectable state based on the calculated feature amount and the feature amount for each product in the product recognition dictionary, and the product is recognized according to the selection. Product recognition department and
When the product is identified as the first system product, the recognition of the product by the second product recognition unit is suspended, and when the product identification code is acquired during the suspension, the first product recognition unit The first product recognition unit and the second product recognition unit are controlled so as to recognize the product according to the above, and when the product is identified as the second system product, the second product recognition unit determines the product. The control unit to recognize and
The product registration department that registers the product recognition results, and
A product registration device equipped with.
前記制御部は、保留時間が所定時間に達し、且つ商品が前記第1系統商品であると識別された場合、を前記第2の商品認識部により商品を認識する請求項1に記載の商品登録装置。 The product registration according to claim 1, wherein the control unit recognizes the product by the second product recognition unit when the holding time reaches a predetermined time and the product is identified as the first system product. Device. 前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量との類似度が最も高い商品を前記商品登録部により登録する商品として認識する第3の商品認識部をさらに具備し、
前記制御部は、保留時間が所定時間に達し、且つ商品が前記第2系統商品であると識別された場合、前記第3の商品認識部により商品を認識する請求項1または2に記載の商品登録装置。
A third product recognition unit that calculates a feature amount from the image and recognizes a product having the highest degree of similarity between the calculated feature amount and the feature amount for each product in the product recognition dictionary as a product to be registered by the product registration unit. Further equipped,
The product according to claim 1 or 2, wherein the control unit recognizes the product by the third product recognition unit when the holding time reaches a predetermined time and the product is identified as the second system product. Registration device.
前記第2の商品認識部は、前記商品認識辞書内の商品毎の特徴量と、前記画像から算出特徴量との類似度を算出し、算出した類似度が高い順に所定数の前記商品候補を出力する請求項1乃至3のいずれか1項に記載の商品登録装置。 The second product recognition unit calculates the similarity between the feature amount for each product in the product recognition dictionary and the calculated feature amount from the image, and selects a predetermined number of the product candidates in descending order of the calculated similarity. The product registration device according to any one of claims 1 to 3 to be output. 前記第2の商品認識部は、前記商品認識辞書内の商品毎の特徴量と、前記画像から算出特徴量との類似度を算出し、算出した類似度が所定の値を超えた商品を前記商品候補として出力する請求項1乃至4のいずれか1項に記載の商品登録装置。 The second product recognition unit calculates the similarity between the feature amount for each product in the product recognition dictionary and the calculated feature amount from the image, and the product whose calculated similarity exceeds a predetermined value is described. The product registration device according to any one of claims 1 to 4, which is output as a product candidate. 前記第1系統商品は、前記第2系統商品に比べて直線が多い人工物であり、
前記第2系統商品は、前記第系統商品に比べて直線が少ない青果である請求項1乃至5のいずれか1項に記載の商品登録装置。
The first line product is an artifact having more straight lines than the second line product.
The product registration device according to any one of claims 1 to 5, wherein the second system product is a fruit or vegetable having fewer straight lines than the first system product.
商品が写った画像を取得する画像取得部と、商品毎に特徴量を有する商品認識辞書を記憶するメモリと、を具備する商品登録装置により実行される商品登録プログラムであって、
前記商品登録装置を、
前記画像の商品が、商品を識別する為の商品識別コードが付与された第1系統商品であるか、前記商品識別コードが付与されていない第2系統商品であるかを前記画像に基づいて識別する系統識別部と、
前記画像から前記商品識別コードを取得し、取得した前記商品識別コードに基づいて商品を認識する第1の商品認識部と、
前記画像から特徴量を算出し、算出した特徴量と前記商品認識辞書の商品毎の特徴量とに基づいて商品候補を選択可能な状態で出力し、選択に応じて商品を認識する第2の商品認識部と、
商品が前記第1系統商品であると識別された場合、前記第2の商品認識部による商品の認識を保留し、保留中に前記商品識別コードが取得された場合、前記第1の商品認識部による商品を認識するように前記第1の商品認識部及び第2の商品認識部を制御し、商品が前記第2系統商品であると識別された場合、前記第2の商品認識部により商品を認識する制御部と、
商品の認識結果を登録する商品登録部と、
して動作させる商品登録プログラム。
It is a product registration program executed by a product registration device including an image acquisition unit for acquiring an image of a product and a memory for storing a product recognition dictionary having a feature amount for each product.
The product registration device
Based on the image, it is determined whether the product in the image is a first-series product to which a product identification code for identifying the product is attached or a second-series product to which the product identification code is not assigned. System identification unit and
A first product recognition unit that acquires the product identification code from the image and recognizes the product based on the acquired product identification code.
A second method in which a feature amount is calculated from the image, product candidates are output in a selectable state based on the calculated feature amount and the feature amount for each product in the product recognition dictionary, and the product is recognized according to the selection. Product recognition department and
When the product is identified as the first system product, the recognition of the product by the second product recognition unit is suspended, and when the product identification code is acquired during the suspension, the first product recognition unit The first product recognition unit and the second product recognition unit are controlled so as to recognize the product according to the above, and when the product is identified as the second system product, the second product recognition unit determines the product. The control unit to recognize and
The product registration department that registers the product recognition results, and
Product registration program to operate.
JP2020194234A 2016-09-15 2020-11-24 Product registration device and product registration program Active JP6987953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020194234A JP6987953B2 (en) 2016-09-15 2020-11-24 Product registration device and product registration program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016180429A JP6799975B2 (en) 2016-09-15 2016-09-15 Product registration device and product registration program
JP2020194234A JP6987953B2 (en) 2016-09-15 2020-11-24 Product registration device and product registration program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016180429A Division JP6799975B2 (en) 2016-09-15 2016-09-15 Product registration device and product registration program

Publications (2)

Publication Number Publication Date
JP2021039783A JP2021039783A (en) 2021-03-11
JP6987953B2 true JP6987953B2 (en) 2022-01-05

Family

ID=79239677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020194234A Active JP6987953B2 (en) 2016-09-15 2020-11-24 Product registration device and product registration program

Country Status (1)

Country Link
JP (1) JP6987953B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5403657B2 (en) * 2009-02-23 2014-01-29 Necインフロンティア株式会社 Stationary scanner, POS terminal, and settlement product selection method
JP5543572B2 (en) * 2012-01-30 2014-07-09 東芝テック株式会社 Product reading apparatus and product reading program
JP5826152B2 (en) * 2012-11-20 2015-12-02 東芝テック株式会社 Product recognition apparatus and product recognition program
JP6208091B2 (en) * 2014-08-08 2017-10-04 東芝テック株式会社 Information processing apparatus and program
JP6555866B2 (en) * 2014-09-22 2019-08-07 カシオ計算機株式会社 Product registration apparatus and program

Also Published As

Publication number Publication date
JP2021039783A (en) 2021-03-11

Similar Documents

Publication Publication Date Title
JP6799975B2 (en) Product registration device and product registration program
US10169752B2 (en) Merchandise item registration apparatus, and merchandise item registration method
EP3379505A1 (en) Sales data processing apparatus and sales data processing method
EP2899670B1 (en) Object recognition device, checkout terminal, and method for processing information
JP6555866B2 (en) Product registration apparatus and program
JP6730076B2 (en) Product sales data processing device, product sales data processing system and program
EP3252673B1 (en) Recognition system, information processing apparatus, and information processing method
US20140067574A1 (en) Information processing apparatus and information processing method
EP3002739A2 (en) Information processing apparatus and information processing method by the same
US9672506B2 (en) Product identification apparatus with dictionary registration
EP3293685A1 (en) Information processing apparatus that identifies an item based on a captured image thereof
US20170344853A1 (en) Image processing apparatus and method for easily registering object
US20190385141A1 (en) Check-out system with merchandise reading apparatus and pos terminal
EP3249621A1 (en) Information processing apparatus and method for ensuring selection operation
EP2980729B1 (en) Information processing apparatus and method for recognizing object by the same
JP6938293B2 (en) Readers and programs
EP2985741A1 (en) Information processing apparatus and information processing method
JP6987953B2 (en) Product registration device and product registration program
JP6873711B2 (en) Product recognition device
JP6964166B2 (en) Recognition systems, information processing devices, and programs
US9792635B2 (en) Information processing apparatus and method for updating feature values of products for object recognition
US10360475B2 (en) Object recognition apparatus
JP6178250B2 (en) Information processing apparatus and program
US20170024416A1 (en) Image recognition system and an image-based search method
JP2025031055A (en) Product registration device and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201124

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211008

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211102

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211201

R150 Certificate of patent or registration of utility model

Ref document number: 6987953

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150