JP7360872B2 - Reading device and program - Google Patents
Reading device and program Download PDFInfo
- Publication number
- JP7360872B2 JP7360872B2 JP2019173502A JP2019173502A JP7360872B2 JP 7360872 B2 JP7360872 B2 JP 7360872B2 JP 2019173502 A JP2019173502 A JP 2019173502A JP 2019173502 A JP2019173502 A JP 2019173502A JP 7360872 B2 JP7360872 B2 JP 7360872B2
- Authority
- JP
- Japan
- Prior art keywords
- product
- unit
- reading
- identification information
- reading device
- 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
Links
Images
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Description
本発明の実施形態は、読取装置及びプログラムに関する。 Embodiments of the present invention relate to a reading device and a program.
従来、スーパーマーケット等の小売店(店舗)では、商品に付されたコードシンボル(バーコード、二次元コード)からJAN(Japanese Article Number)コード等の識別情報を読み取り、読み取った識別情報に基づいて客が購入する商品の売上登録が行われている。 Traditionally, retail stores (stores) such as supermarkets read identification information such as JAN (Japanese Article Number) codes from code symbols (barcodes, two-dimensional codes) attached to products, and identify customers based on the read identification information. The sales of the products purchased by the customer are registered.
また、従来、商品をベルトコンベア等の搬送路で搬送し、搬送路途中に設置された撮像装置等の読取部で商品に付された識別情報を読み取る読取装置が存在している。 Furthermore, conventionally, there is a reading device that transports a product on a conveyance path such as a belt conveyor and reads identification information attached to the product with a reading unit such as an image pickup device installed in the middle of the conveyance path.
ところで、上述した商品を搬送する構成では、搬送路に置かれた商品は、店員や客が手を触れることなく袋詰め場所等の受け取り場所に搬送されるため、商品を手で運ぶ手間を省くことができる。しかしながら、商品の搬送途中で他の商品に入れ替える操作が行われてしまう可能性がある。商品の入れ替え操作が行われると、識別情報が読み取られた商品と、受け取り場所に到達する商品とが相違する可能性があり、商品の売上登録を正しく行うことができないという問題があった。 By the way, in the above-mentioned configuration for transporting products, the products placed on the transport path are transported to a receiving place such as a bagging area without being touched by store staff or customers, thereby saving the trouble of transporting the products by hand. be able to. However, there is a possibility that an operation to replace the product with another product may be performed while the product is being transported. When a product replacement operation is performed, there is a possibility that the product whose identification information has been read is different from the product that arrives at the receiving location, which poses a problem in that product sales cannot be registered correctly.
本発明が解決しようとする課題は、搬送路を搬送される商品の売上登録をより確実に行うことが可能な読取装置及びプログラムを提供することである。 The problem to be solved by the present invention is to provide a reading device and a program that can more reliably register sales of products transported along a transport path.
実施形態の読取装置は、搬送路と、読取部と、撮像部と、抽出部と、出力部とを備える。搬送路は、商品を搬送する。読取部は、前記搬送路を搬送される前記商品から当該商品の種別を識別するための識別情報を読み取る。撮像部は、前記読取部の上流側及び下流側にそれぞれ設けられ、前記搬送路を搬送される前記商品を撮像する。抽出部は、前記撮像部の各々で撮像された撮像画像から前記商品の特徴を示す特徴量を抽出する。出力部は、前記抽出部で抽出された前記特徴量の類似度が閾値以上となる場合に、前記読取部で読み取られた前記識別情報を出力する。 The reading device of the embodiment includes a conveyance path, a reading section, an imaging section, an extraction section, and an output section. The conveyance path conveys the product. The reading unit reads identification information for identifying the type of the product from the product being transported along the transport path. The imaging units are provided upstream and downstream of the reading unit, respectively, and capture images of the product being conveyed along the conveyance path. The extracting unit extracts a feature amount representing a feature of the product from the captured image captured by each of the image capturing units. The output unit outputs the identification information read by the reading unit when the degree of similarity of the feature amount extracted by the extraction unit is equal to or greater than a threshold value.
以下、図面を参照して、実施形態に係る読取装置及びプログラムについて説明する。以下に説明する実施形態では、商品の売上登録及び会計処理を実行することが可能な商品販売データ処理システムに適用した例について説明する。なお、以下に説明する実施形態に限定されるものではない。 Hereinafter, a reading device and a program according to an embodiment will be described with reference to the drawings. In the embodiment described below, an example will be described in which the present invention is applied to a product sales data processing system that can perform product sales registration and accounting processing. Note that the present invention is not limited to the embodiment described below.
図1は、実施形態に係る商品販売データ処理システムの一例を示す外観斜視図である。図1に示すように、商品販売データ処理システム1は、読取装置10と、商品販売データ処理装置20とを備える。
FIG. 1 is an external perspective view showing an example of a product sales data processing system according to an embodiment. As shown in FIG. 1, the product sales
読取装置10は、読取装置の一例である。読取装置10は、客が購入する商品Hから当該商品Hの種別を識別する識別情報を読み取るための処理を行う装置である。具体的には、読取装置10は、商品置台11と、基台12と、作荷台13と、ベルトコンベア14と、読取部15と、撮像部16とを備える。
The
商品置台11は、客が購入する商品Hを一時的に載置する台である。基台12は、商品置台11と作荷台13とを接続する筐体である。基台12は、商品置台11から作荷台13に向かって移動するベルトコンベア14を備える。
The
作荷台13は、ベルトコンベア14によって搬送された商品Hを袋詰めするための台である。ベルトコンベア14で搬送された商品Hは、作荷台13に押し出されて載置される。例えば、客は、作荷台13に載置された商品Hを袋詰め等することができる。
The
ベルトコンベア14は、商品置台11から作荷台13に向かって商品Hを搬送する搬送路を形成する。具体的には、ベルトコンベア14は、後述する駆動部108(図2参照)によって駆動され、図中矢印A1の搬送方向、すなわちY軸に沿う方向に移動する。
The
読取部15は、読取部の一例である。読取部15は、ベルトコンベア14によって搬送される商品Hから識別情報を読み取る。ここで、識別情報は、例えばJAN(Japanese Article Number)コード等の商品コードであり、商品Hの種別を識別することが可能な情報を意味する。
The
なお、読取部15は、識別情報を保持する媒体の種別に応じた装置構成を採用することが可能である。例えば、商品Hに付されたコードシンボルに識別情報が保持されている場合には、コードシンボルの読み取りが可能なコードスキャナや撮像装置等で読取部15を実現することができる。また、例えば、商品Hに付されたRFID(Radio Frequency IDentifier)タグ等の無線タグに識別情報が保持されている場合には、無線タグから情報の読み取りを行うことが可能なRFIDリーダ等で読取部15を実現することができる。
Note that the
図1では、上部及び側面が遮蔽されたゲート形状の読取部15を示している。ここで、例えば、ゲートを構成する天板や縦壁には、コードスキャナや撮像装置、RFIDリーダ等の読取デバイス(図示せず)が取り付けられる。読取デバイスは、識別情報の読み取りを行う読取方向がベルトコンベア14の面上等に向けられ、ゲートを通過する商品Hから識別情報を読み取る。なお、読取部15は、ゲート形状に限定されず、読取デバイスがむき出しのままベルトコンベア14の周辺に配置される構成としてもよい。
FIG. 1 shows a gate-
撮像部16は、撮像部の一例である。撮像部16は、CCD(Charge Coupled Device)やCMOS(Complementary Metal-Oxide Semiconductor)等のイメージセンサを有する撮像装置で実現することができる。
The
撮像部16は、ベルトコンベア14の搬送方向における読取部15の上流側及び下流側にそれぞれ配置され、ベルトコンベア14によって搬送される商品Hを撮像する。図1では、読取部15の上流側に撮像部16aを、読取部15の下流側に撮像部16bを配置した例を示している。また、図1では、ベルトコンベア14の搬送方向に沿う両端のうち、一端側に撮像部16を配置し、撮像方向(破線矢印方向)が他端側に向くよう撮像部16の姿勢を固定している。この場合、撮像部16は、ベルトコンベア14によって搬送される商品Hの側面を主として撮像する。
The
なお、撮像部16a、16bがベルトコンベア14上を搬送される商品Hを撮像する角度は、つまりベルトコンベア14に対する撮像部16a、16bの姿勢は、略同一であるとする。これにより、撮像部16a、16bによって撮像される商品Hの角度や部位を略同等とすることができるため、後述する特徴量の類似度判定を効率的に行うことができる。
It is assumed that the angles at which the
商品販売データ処理装置20は、読取装置10で読み取られた識別情報に基づいて、客が購入する商品Hの売上登録と会計処理とを行う。具体的には、商品販売データ処理装置20は、各商品の識別情報と当該商品の商品名や価格等の商品情報を関連付けた商品マスタに基づき、読取装置10で読み取られた識別情報に対応する商品の商品情報を特定する。商品販売データ処理装置20は、読取装置10で読み取られた識別情報や、当該識別情報に対応する商品情報を一時記憶することで商品の売上登録を行う。そして、商品販売データ処理装置20は、売上登録された各商品Hの商品情報に基づいて、客が購入する商品Hの合計価格を算出し、当該合計価格を客が支払った支払金額で精算する会計処理を実行する。
The product sales
次に、読取装置10の構成について説明する。図2は、読取装置10のハードウェア構成の一例を示す図である。図2に示すように、読取装置10は、CPU(Central Processing Unit)101、ROM(Read Only Memory)102及びRAM(Random Access Memory)103を備えている。
Next, the configuration of the
CPU101は、プロセッサの一例であり、読取装置10の動作を統括的に制御する。ROM102は、各種プログラムを記憶する。RAM103は、プログラムや各種データを展開するワークスペースである。CPU101、ROM102、RAM103は、互いにバス104を介して接続されている。CPU101、ROM102及びRAM103は、コンピュータ構成の制御部100を構成する。制御部100では、CPU101がROM102や記憶部105に記憶されRAM103に展開された制御プログラム105aに従って動作することによって、各種の処理を実行する。
The
また、制御部100は、バス104を介して記憶部105に接続される。記憶部105は、HDD(Hard Disc Drive)やフラッシュメモリ等で構成されており、電源を遮断しても記憶内容を維持する。記憶部105は、例えば、制御プログラム105aを記憶する。制御プログラム105aは、読取装置10を制御するための制御プログラムである。
Further, the
また、制御部100には、バス104を介して通信部106が接続される。通信部106は、LAN(Local Area network)等のネットワークに接続可能な通信インタフェースである。通信部106は、出力部の一例である。通信部106は、識別情報の出力先となる商品販売データ処理装置20や、図示しない店舗サーバ、店舗のサービスカウンタに設置された情報処理装置等と通信を行う。
Further, a
また、制御部100には、バス104及び入出力コントローラ107を介して、上述した読取部15及び撮像部16(16a、16b)の他、駆動部108が接続される。駆動部108は、ベルトコンベア14の駆動を制御する。具体的には、駆動部108は、制御部100の制御の下、ベルトコンベア14を駆動することで、商品Hを搬送方向(図1のA1方向)に移動させる。
Further, the
次に、読取装置10の機能構成について説明する。図3は、読取装置10の機能構成の一例を示す図である。
Next, the functional configuration of the
図3に示すように、読取装置10は、読取結果取得部111と、特徴量抽出部112と、出力制御部113とを機能部として備える。これら機能部の一部又は全ては、プロセッサ(CPU101)とメモリ(ROM102、記憶部105)に記憶された各種プログラム(例えば、制御プログラム105a)との協働により実現されるソフトウェア構成であってもよい。また、これら機能部の一部又は全ては、専用回路等で実現されるハードウェア構成であってもよい。
As shown in FIG. 3, the
読取結果取得部111は、取得手段の一例である。読取結果取得部111は、読取部15の読み取り結果を取得する。具体的には、読取結果取得部111は、読取部15が商品Hから読み取った識別情報を取得する。
The reading result
特徴量抽出部112は、抽出部及び抽出手段の一例である。特徴量抽出部112は、撮像部16で撮像された商品Hの撮像画像から、当該商品Hの外観の特徴を示す特徴量を抽出する。具体的には、特徴量抽出部112は、撮像部16から撮像画像を取得し、当該撮像画像に含まれた商品Hを表す画像領域を検出する。
The
例えば、特徴量抽出部112は、撮像画像を2値化した画像から輪郭線等を抽出する。また、特徴量抽出部112は、予め用意された背景画像から抽出した輪郭線と、撮像画像から抽出した輪郭線との差分に基づいて商品Hを検出する。ここで、背景画像は、商品Hが含まれていない背景を撮像部16が撮像した画像である。これにより、特徴量抽出部112は、背景画像の輪郭線にはない輪郭線を撮像画像から抽出することで、商品Hが表された画像領域を検出する。
For example, the
また、特徴量抽出部112は、撮像画像から検出した商品Hの画像領域から、当該商品Hの特徴量を抽出する。例えば、特徴量抽出部112は、商品Hの形状、表面の色合い、模様、凹凸状況等の外観上の特徴をパラメータ化した情報である特徴量を抽出する。
Further, the feature
なお、特徴量抽出部112は、撮像部16a、16bの各々で撮像される撮像画像から特徴量の抽出を行う。具体的には、特徴量抽出部112は、ベルトコンベア14上での商品Hの搬送に伴い、撮像部16aで撮像された撮像画像から特徴量を抽出した後、撮像部16bで撮像された撮像画像から特徴量を抽出する。
Note that the feature
以下、撮像部16aが撮像した撮像画像を第1撮像画像、当該第1撮像画像から抽出された特徴量を第1特徴量とも表記する。また、撮像部16bが撮像した撮像画像を第2撮像画像、当該第2撮像画像から抽出された特徴量を第2特徴量とも表記する。
Hereinafter, the captured image captured by the
出力制御部113は、出力部及び出力手段の一例である。出力制御部113は、特徴量抽出部112で抽出された第1特徴量と第2特徴量との比較結果に基づき、読取結果取得部111で取得された識別情報の出力を制御する。
The
具体的には、出力制御部113は、特徴量抽出部112で抽出された第1特徴量と第2特徴量とを比較し、両特徴量の類似度を算出する。ここで、類似度は、第1撮像画像で表された商品Hと、第2撮像画像で表された商品Hとがどの程度類似しているかを示す物理量である。類似度の算出方法は特に問わず、一般物体認識等の公知の技術を用いることができる。
Specifically, the
出力制御部113は、第1特徴量と第2特徴量との類似度を算出すると、その類似度と閾値とを比較する。そして、出力制御部113は、類似度が閾値以上の場合に、読取結果取得部111で取得された識別情報を商品販売データ処理装置20に出力し、類似度が閾値未満の場合は、読取結果取得部111で取得された識別情報の出力を抑制する。なお、閾値の値は任意に設定できるものとするが、例えば80%や90%等、商品Hの同一性を判定可能な値とすることが好ましい。
After calculating the degree of similarity between the first feature amount and the second feature amount, the
ここで、出力制御部113は、読取部15で識別情報が読み取られた商品Hと、撮像部16a、16bで撮像された商品Hとの同一性を確認するため、読取結果取得部111で識別情報が取得されたタイミングに基づき、その前後に抽出された第1特徴量と第2特徴量とを類似度判定の対象とする。
Here, in order to confirm the identity of the product H whose identification information was read by the
例えば、ベルトコンベア14に載置された商品Hが、その状態を維持したままベルトコンベア14の終端(作荷台13)まで搬送された場合、第1撮像画像と第2撮像画像とは同一の商品Hを撮像することになる。この場合、第1撮像画像及び第2撮像画像には同一の商品Hが表されるため、抽出される第1特徴量と第2特徴量との類似度も閾値以上となる。しがって、出力制御部113は、商品Hの搬送時に読み取られた識別情報を、商品販売データ処理装置20に出力する。
For example, if the product H placed on the
一方、例えば、ベルトコンベア14に載置された商品Hが、読取部15を通過した後、他の商品Hに入れ替えられたような場合、第1撮像画像と第2撮像画像とは異なる商品Hを撮像することになる。この場合、第1撮像画像及び第2撮像画像には異なる商品Hが表されるため、抽出される第1特徴量と第2特徴量との類似度は閾値未満となるため、出力制御部113は、識別情報の出力を抑制することになる。
On the other hand, for example, if the product H placed on the
これにより、読取装置10は、ベルトコンベア14の搬送過程において、商品Hの同一性が確認できた場合に、その商品Hの識別情報を商品販売データ処理装置20に出力することができる。また、読取装置10は、不正行為等の理由により、識別情報の読み取りが完了した商品Hが搬送途中で他の商品Hに入れ替えられた場合には、それら商品Hの非同一性を検出し、識別情報の出力を抑制することができる。
Thereby, the
なお、出力制御部113は、特徴量の類似度が閾値未満となった場合、識別情報の出力を抑制するとともに、商品販売データ処理装置20や他の装置にエラー情報を送信することで、エラーの発生を報知してもよい。また、出力制御部113は、特徴量の類似度が閾値未満となった場合、駆動部108を制御することで、ベルトコンベア14の動作を停止させてもよい。
Note that when the similarity of the feature amounts is less than the threshold, the
以下、図4を参照して、読取装置10の動作について説明する。ここで、図4は、読取装置10が行う読取処理の一例を示すフローチャートである。なお、本処理は、ベルトコンベア14が動作している間、繰り返し実行されるものとする。
The operation of the
まず、商品置台11からベルトコンベア14に商品Hが移動され、ベルトコンベア14による搬送が開始されると、撮像部16aは、その搬送される商品Hを撮像する。特徴量抽出部112は、撮像部16aで撮像された第1撮像画像を取得すると(ステップS11)、当該第1撮像画像から第1特徴量を抽出する(ステップS12)。
First, when the product H is moved from the product placement table 11 to the
次いで、搬送方向に搬送された商品Hが読取部15のゲートを通過すると、読取部15は自己のゲートを通過する商品Hから識別情報の読み取りを行う。これに伴い、特徴量抽出部112は、読取部15によって商品Hから読み取られた識別情報を取得する(ステップS13)。
Next, when the product H transported in the transport direction passes through the gate of the
続いて、読取部15のゲートを通過した商品Hが作荷台13に向けて搬送されると、撮像部16bは、その搬送される商品Hを撮像する。特徴量抽出部112は、撮像部16bで撮像された第2撮像画像を取得すると(ステップS14)、当該第2撮像画像から第2特徴量を抽出する(ステップS15)。
Subsequently, when the product H that has passed through the gate of the
続いて、出力制御部113は、ステップS12で抽出された第1特徴量と、ステップS15で抽出された第2特徴量とを比較し、両特徴量の類似度を算出する(ステップS16)。次いで、出力制御部113は、ステップS16で算出した類似度が閾値以上か否かを判定する(ステップS17)。
Subsequently, the
ここで、類似度が閾値未満の場合(ステップS17;No)、出力制御部113は、エラー情報を商品販売データ処理装置20等に出力した後(ステップS18)、本処理を終了する。
Here, if the similarity is less than the threshold (step S17; No), the
一方、類似度が閾値以上の場合(ステップS17;Yes)、出力制御部113は、ステップS13で取得された識別情報を商品販売データ処理装置20に出力し(ステップS19)本処理を終了する。
On the other hand, if the similarity is greater than or equal to the threshold (step S17; Yes), the
以上のように、読取装置10は、読取部15の上流側及び下流側に配置された撮像部16の撮像画像から、ベルトコンベア14上を搬送される商品Hの特徴量を抽出する。そして、読取装置10は、抽出した特徴量の類似度が閾値以上となった場合に、読取部15で読み取られた識別情報を商品販売データ処理装置20に出力する。
As described above, the
これにより、読取装置10は、ベルトコンベア14上において同一性が確認できた商品Hの識別情報のみを、商品販売データ処理装置20に出力することができる。したがって、読取装置10は、商品販売データ処理装置20において、商品Hの売上登録をより確実に実行させることができる。
Thereby, the
また、読取装置10は、特徴量の類似度が閾値未満となった場合、読取部15で読み取られた識別情報の出力を抑制し、エラーの報知を行う。これにより、読取装置10は、搬送途中で商品Hの入れ替え操作が行われた場合に、識別情報の出力を抑制することができるため、当該商品Hに係る売上登録を抑止することができる。したがって、読取装置10は、商品販売データ処理装置20において、商品Hの売上登録をより確実に実行させることができる。
Further, when the similarity of the feature amounts is less than the threshold value, the
なお、上述した実施形態は、読取装置10が有する構成又は機能の一部を変更することで、適宜に変形して実施することも可能である。そこで、以下では、上述した実施形態に係るいくつかの変形例を他の実施形態として説明する。なお、以下では、上述した実施形態と異なる点を主に説明することとし、既に説明した内容と共通する点については詳細な説明を省略する。また、以下で説明する変形例は、個別に実施されてもよいし、適宜組み合わせて実施されてもよい。
Note that the above-described embodiment can be modified and implemented as appropriate by changing part of the configuration or function of the
(変形例1)
上述の実施形態では、読取部15の上流側と下流側とに撮像部16を一つずつ配置する形態を説明したが、この構成に限定されるものではない。例えば、撮像部16は、読取部15の上流側又は下流側に複数個配置してもよい。なお、この場合、図4で説明したステップS11、S12、ステップS14、S15の処理は、配置される撮像部16の個数に応じて増加させるものとする。また、ステップS16及びS17の類似度の判定に係る処理は、各撮像部16の撮像画像から得られる特徴量に基づいて行われるものとする。
(Modification 1)
In the above-described embodiment, the configuration is described in which one
(変形例2)
上述の実施形態では、商品販売データ処理装置20において売上登録を行う形態を説明した。しかしながら、この形態に限らず、読取装置10で売上登録を行う構成としてもよい。この場合、読取装置10は、出力制御部113が出力する識別情報に基づいて、当該識別情報に対応する商品の売上登録を行う機能部(例えば、売上登録部)を備えるものとする。
(Modification 2)
In the above-described embodiment, the sales registration is performed in the product sales
具体的には、売上登録部は、各商品の識別情報と当該商品の商品名や価格等の商品情報を関連付けた商品マスタに基づき、出力制御部113が出力した識別情報に対応する商品の商品情報を特定する。そして、売上登録部は、出力制御部113が出力した識別情報や、当該識別情報に対応する商品情報を一時記憶することで該当する商品Hの売上登録を行う。この場合、読取装置10は、商品登録装置として機能する。
Specifically, the sales registration unit registers the product corresponding to the identification information output by the
また、上述の実施形態では、読取装置10と商品販売データ処理装置20とを別体としたが、読取装置10と商品販売データ処理装置20とを一体的に構成してもよい。この場合、一体化された読取装置10(或いは商品販売データ処理装置20)は、上述した出力制御部113の出力結果に基づき、商品Hの売上登録と会計処理を実行することができる。
Further, in the above-described embodiment, the
[第2の実施形態]
次に第2の実施形態について説明する。なお、上述の第1の実施形態と同様の構成については、同一の符号を付与し説明を省略する。
[Second embodiment]
Next, a second embodiment will be described. Note that the same configurations as those in the first embodiment described above are given the same reference numerals and explanations are omitted.
図5は、第2の実施形態に係る読取装置の一例を示す上面図である。図5に示すように、読取装置30は、商品置台11と、基台12と、作荷台13と、ベルトコンベア14と、読取部15と、撮像部16とを備える。
FIG. 5 is a top view showing an example of a reading device according to the second embodiment. As shown in FIG. 5, the
ここで、読取装置30は、図1で説明した読取装置10の構成との相違点として、読取部15の下流側に撮像部16を備えている。撮像部16は、上述した第1の実施形態と同様に、ベルトコンベア14によって搬送される商品Hを撮像する。
Here, the
図6は、読取装置30のハードウェア構成の一例を示す図である。図6に示すように、読取装置30は、図2で説明した読取装置10と同様のハードウェア構成を有する。また、読取装置30に固有の構成として、入出力コントローラ107には、一台の撮像部16が接続される。また、記憶部105は、商品設定情報105bを記憶する。
FIG. 6 is a diagram showing an example of the hardware configuration of the
商品設定情報105bは、商品Hの識別情報と特徴量との対応関係を定義した設定情報である。商品設定情報105bは、例えば、図7に示すデータ構成を有する。
The
図7は、商品設定情報105bのデータ構成の一例を示す図である。図7に示すように、商品設定情報105bは、各商品Hの商品名、識別情報及び特徴量等を対応付けて記憶する。ここで、識別情報は、商品Hの種別を識別するための識別情報であり、読取部15によって読み取られる識別情報に対応する。また、特徴量は、商品Hの撮像画像から抽出された特徴量である。ここで、商品設定情報105bに記憶される特徴量は、撮像部16で撮像された撮像画像、又は当該撮像部16と同様の撮像条件(商品Hに対する撮像角度、被写体深度等)で撮像された撮像画像から抽出されたものとすることが好ましい。
FIG. 7 is a diagram showing an example of the data structure of the
図8は、読取装置30の機能構成の一例を示す図である。図8に示すように、読取装置30は、読取結果取得部111と、特徴量抽出部112と、商品特定部311と、出力制御部312とを機能部として備える。
FIG. 8 is a diagram showing an example of the functional configuration of the
ここで、商品特定部311は、読取結果取得部111で取得された識別情報に基づき、当該識別情報に対応する商品の特徴量を特定する。具体的には、商品特定部311は、読取結果取得部111で取得された識別情報と、商品設定情報105bに記憶された識別情報とを比較し、商品設定情報105bから該当する商品Hの特徴量を特定する。
Here, based on the identification information acquired by the reading
出力制御部312は、出力部の一例である。出力制御部312は、特徴量抽出部112により撮像部16の撮像画像から抽出された特徴量と、商品特定部311が特定した特徴量との比較結果に基づき、読取結果取得部111で取得された識別情報の出力を制御する。
The
具体的には、出力制御部312は、特徴量抽出部112で抽出された特徴量と商品特定部311が特定した特徴量とを比較し、両特徴量の類似度を算出する。また、出力制御部113は、算出した類似度と閾値とを比較し、類似度が閾値以上の場合に、読取結果取得部111で取得された識別情報を商品販売データ処理装置20に出力する。なお、類似度が閾値未満の場合には、出力制御部312は、読取結果取得部111で取得された識別情報の出力を抑制し、エラーの報知等を行うものとする。
Specifically, the
例えば、ベルトコンベア14に載置された商品Hが、その状態を維持したままベルトコンベア14の終端(作荷台13)まで搬送された場合、読取部15で読み取られた識別情報に対応する特徴量と、撮像部16の撮像画像から抽出される特徴量とは類似性を有する。この場合、両特徴量の類似度は閾値以上となるため、出力制御部113は、商品Hの搬送時に読み取られた識別情報を、商品販売データ処理装置20に出力する。
For example, when the product H placed on the
一方、例えば、ベルトコンベア14に載置された商品Hが、読取部15を通過した後、他の商品Hに入れ替えが行われたような場合、読取部15で読み取られた識別情報に対応する特徴量と、撮像部16の撮像画像から抽出される特徴量とは相違するものとなる。この場合、両特徴量の類似度は閾値未満となるため、出力制御部113は、識別情報の出力を抑制することになる。
On the other hand, for example, if the product H placed on the
これにより、読取装置30は、ベルトコンベア14の搬送過程において、商品Hの同一性が確認できた場合に、その商品Hの識別情報を商品販売データ処理装置20に出力することができる。また、読取装置30は、不正行為等の理由により、識別情報の読み取りが完了した商品Hが搬送途中で他の商品Hに入れ替えられた場合には、それら商品Hの非同一性を検出し、識別情報の出力を抑制することができる。
Thereby, the
以下、図9を参照して、読取装置30の動作について説明する。ここで、図9は、読取装置30が行う読取処理の一例を示すフローチャートである。なお、本処理は、ベルトコンベア14が動作している間、繰り返し実行されるものとする。
The operation of the
まず、商品置台11からベルトコンベア14に商品Hが移動され、ベルトコンベア14による搬送が開始されると、読取部15は自己のゲートを通過する商品Hから識別情報の読み取りを行う。これに伴い、特徴量抽出部112は、読取部15によって商品Hから読み取られた識別情報を取得する(ステップS21)。
First, when the product H is moved from the product placement table 11 to the
続いて、読取部15のゲートを通過した商品Hが作荷台13に向けて搬送されると、撮像部16は、その搬送される商品Hを撮像する。特徴量抽出部112は、撮像部16で撮像された撮像画像を取得すると(ステップS22)、当該撮像画像から特徴量を抽出する(ステップS23)。
Subsequently, when the product H that has passed through the gate of the
続いて、商品特定部311は、ステップS21で取得された識別情報に基づき、当該識別情報に対応する商品Hの特徴量を商品設定情報105bから特定する(ステップS24)。
Next, based on the identification information acquired in step S21, the
続いて、出力制御部312は、ステップS23で抽出された特徴量と、ステップS24で特定された特徴量とを比較し、両特徴量の類似度を算出する(ステップS25)。次いで、出力制御部312は、ステップS25で算出した類似度が閾値以上か否かを判定する(ステップS26)。
Subsequently, the
ここで、類似度が閾値未満の場合(ステップS26;No)、出力制御部312は、エラー情報を商品販売データ処理装置20等に出力した後(ステップS27)、本処理を終了する。
Here, if the similarity is less than the threshold (step S26; No), the
一方、類似度が閾値以上の場合(ステップS26;Yes)、出力制御部312は、ステップS22で取得された識別情報を商品販売データ処理装置20に出力し(ステップS28)本処理を終了する。
On the other hand, if the similarity is greater than or equal to the threshold (step S26; Yes), the
以上のように、読取装置30は、読取部15の下流側に配置された撮像部16の撮像画像から、ベルトコンベア14上を搬送される商品Hの特徴量を抽出し、当該特徴量と読取部15で読み取られた識別情報に対応する商品Hの特徴量とを比較する。そして、読取装置30は、両特徴量の類似度が閾値以上となった場合、読取部15で読み取られた識別情報を商品販売データ処理装置20に出力する。
As described above, the
これにより、読取装置30は、ベルトコンベア14上において同一性が確認できた商品Hの識別情報を、商品販売データ処理装置20に出力することができる。したがって、読取装置30は、商品販売データ処理装置20において、商品Hの売上登録をより確実に実行させることができる。
Thereby, the
また、読取装置30は、特徴量の類似度が閾値未満となった場合、読取部15で読み取られた識別情報の出力を抑制し、エラーの報知を行う。これにより、読取装置30は、搬送途中で商品Hの入れ替えが行われた場合に、識別情報の出力を抑制することができるため、当該商品Hに係る売上登録の実行を抑止することができる。したがって、読取装置30は、商品販売データ処理装置20において、商品Hの売上登録をより確実に実行させることができる。
Further, when the degree of similarity of the feature amounts is less than the threshold value, the
なお、上述した実施形態は、読取装置30が有する構成又は機能の一部を変更することで、適宜に変形して実施することも可能である。そこで、以下では、上述した実施形態に係るいくつかの変形例を他の実施形態として説明する。なお、以下では、上述した実施形態と異なる点を主に説明することとし、既に説明した内容と共通する点については詳細な説明を省略する。また、以下で説明する変形例は、個別に実施されてもよいし、適宜組み合わせて実施されてもよい。
Note that the above-described embodiment can be modified and implemented as appropriate by changing part of the configuration or function of the
(変形例1)
上述の実施形態では、読取部15の下流側に撮像部16を配置する形態を説明したが、この構成に限定されるものではない。例えば、読取部15の上流側に撮像部16を配置する形態としてもよい。なお、この場合、図9で説明したステップS21~S23の処理の順序は、読取部15と撮像部16との配置順に応じて変更されるものとする。
(Modification 1)
In the above-described embodiment, a configuration in which the
なお、上述の各実施形態の読取装置10(読取装置30)で実行されるプログラムは、ROM等に予め組み込まれて提供される。上述の各実施形態の読取装置10(読取装置30)で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。 Note that the program executed by the reading device 10 (reading device 30) of each of the embodiments described above is provided as being pre-installed in a ROM or the like. The program executed by the reading device 10 (reading device 30) of each of the embodiments described above is a file in an installable format or an executable format and can be stored on a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital). It may be configured to be recorded and provided on a computer-readable recording medium such as Versatile Disk).
さらに、上述の各実施形態の読取装置10(読取装置30)で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上述の各実施形態の読取装置10(読取装置30)で実行されるプログラムをインターネット等のネットワーク経由で提供又は配布するように構成してもよい。 Furthermore, the program executed by the reading device 10 (reading device 30) of each of the above-described embodiments is stored on a computer connected to a network such as the Internet, and is provided by being downloaded via the network. It's okay. Further, the program executed by the reading device 10 (reading device 30) of each embodiment described above may be provided or distributed via a network such as the Internet.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、組み合わせを行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, changes, and combinations can be made without departing from the gist of the invention. These embodiments and their modifications are included within the scope and gist of the invention, as well as within the scope of the invention described in the claims and its equivalents.
1 商品販売データ処理システム
10 読取装置
11 商品置台
12 基台
13 作荷台
14 ベルトコンベア
15 読取部
16、16a、16b 撮像部
20 商品販売データ処理装置
111 読取結果取得部
112 特徴量抽出部
113 出力制御部
311 商品特定部
312 出力制御部
H 商品
1 Product Sales
Claims (4)
前記搬送路を搬送される前記商品から当該商品の種別を識別するための識別情報を読み取る読取部と、
前記読取部の上流側及び下流側にそれぞれ設けられ、前記搬送路を搬送される前記商品を撮像する撮像部と、
前記撮像部の各々で撮像された撮像画像から前記商品の特徴を示す特徴量を抽出する抽出部と、
前記抽出部で抽出された、前記上流側の撮像部の撮像画像に基づく特徴量と前記下流側の撮像部の撮像画像に基づく特徴量との類似度が閾値以上となる場合に、前記読取部で読み取られた前記識別情報を出力する出力部と、
を備える読取装置。 A conveyance path for conveying products;
a reading unit that reads identification information for identifying the type of the product from the product transported on the transport path;
an imaging unit that is provided upstream and downstream of the reading unit and captures an image of the product being conveyed along the conveyance path;
an extraction unit that extracts feature quantities indicating characteristics of the product from the captured images captured by each of the imaging units;
When the degree of similarity between the feature amount based on the image captured by the upstream image capturing unit and the feature amount based on the image captured by the downstream image capturing unit extracted by the extraction unit is equal to or greater than a threshold, the reading unit an output unit that outputs the identification information read by the
A reading device comprising:
搬送路を搬送される商品から当該商品の種別を識別するための識別情報を読み取る読取部から前記識別情報を取得する取得手段と、an acquisition unit that acquires identification information from a reading unit that reads identification information for identifying the type of the product from the product being conveyed on the conveyance path;
前記読取部の上流側及び下流側に設けられ、前記搬送路を搬送される前記商品を撮像する撮像部の撮像画像から、前記商品の特徴を示す特徴量を抽出する抽出手段と、Extracting means that is provided upstream and downstream of the reading unit and extracts a feature amount representing the characteristics of the product from an image captured by an imaging unit that captures an image of the product being conveyed along the conveyance path;
前記抽出手段が抽出した、前記上流側の撮像部の撮像画像に基づく特徴量と前記下流側の撮像部の撮像画像に基づく特徴量との類似度が閾値以上となる場合に、前記取得手段が取得した前記識別情報を出力する出力手段と、When the degree of similarity between the feature amount based on the image captured by the upstream imaging unit and the feature amount based on the image captured by the downstream imaging unit extracted by the extraction unit is equal to or greater than a threshold, the acquisition unit Output means for outputting the acquired identification information;
して機能させるためのプログラム。A program to make it work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019173502A JP7360872B2 (en) | 2019-09-24 | 2019-09-24 | Reading device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019173502A JP7360872B2 (en) | 2019-09-24 | 2019-09-24 | Reading device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021051508A JP2021051508A (en) | 2021-04-01 |
JP7360872B2 true JP7360872B2 (en) | 2023-10-13 |
Family
ID=75157994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019173502A Active JP7360872B2 (en) | 2019-09-24 | 2019-09-24 | Reading device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7360872B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004535030A (en) | 2001-07-11 | 2004-11-18 | ベヘルマッチャピジュ ヴァン デア ルー ビー.ブイ. | Automatic clearing system |
-
2019
- 2019-09-24 JP JP2019173502A patent/JP7360872B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004535030A (en) | 2001-07-11 | 2004-11-18 | ベヘルマッチャピジュ ヴァン デア ルー ビー.ブイ. | Automatic clearing system |
Also Published As
Publication number | Publication date |
---|---|
JP2021051508A (en) | 2021-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5788928B2 (en) | Information processing apparatus and program | |
JP5297506B2 (en) | Code reader and program | |
JP5619095B2 (en) | Product recognition apparatus and product recognition program | |
US8453932B2 (en) | Commodity information reading apparatus and commodity information reading method | |
US8919653B2 (en) | Exception handling in automated data reading systems | |
US20120000980A1 (en) | Code reading apparatus and code reading method | |
JP5681682B2 (en) | Information processing apparatus and program | |
JP5782059B2 (en) | Code reader and program | |
US20120054052A1 (en) | Store system, sales registration apparatus, and control method | |
JP7360872B2 (en) | Reading device and program | |
US20210311010A1 (en) | Device for inspecting article having substantially circular side surface, and device for turning article | |
JP6239537B2 (en) | Product management apparatus and program | |
US20110315764A1 (en) | Code reading apparatus and code reading method | |
JP7330034B2 (en) | reader and program | |
JP6487498B2 (en) | Code reader | |
JP7431074B2 (en) | Reading device and program | |
JP7370782B2 (en) | reading device | |
JP6199332B2 (en) | Information processing apparatus and program | |
JP7280157B2 (en) | Checkout device and program | |
JP7349862B2 (en) | Product registration device and program | |
JP6166753B2 (en) | Code reader | |
JP6401214B2 (en) | Information processing apparatus and program | |
JP5377581B2 (en) | Reading apparatus, merchandise sales information processing apparatus, and control program | |
JP2023107513A (en) | Information processing apparatus and information processing system | |
JP5599494B2 (en) | Product code reader and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220906 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230501 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230509 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230703 |
|
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: 20230905 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231002 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7360872 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |