JP5255027B2 - Code reader and program - Google Patents

Code reader and program Download PDF

Info

Publication number
JP5255027B2
JP5255027B2 JP2010189750A JP2010189750A JP5255027B2 JP 5255027 B2 JP5255027 B2 JP 5255027B2 JP 2010189750 A JP2010189750 A JP 2010189750A JP 2010189750 A JP2010189750 A JP 2010189750A JP 5255027 B2 JP5255027 B2 JP 5255027B2
Authority
JP
Japan
Prior art keywords
image
code
code symbol
detected
unit
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
JP2010189750A
Other languages
Japanese (ja)
Other versions
JP2012048479A (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
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2010189750A priority Critical patent/JP5255027B2/en
Publication of JP2012048479A publication Critical patent/JP2012048479A/en
Application granted granted Critical
Publication of JP5255027B2 publication Critical patent/JP5255027B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、コード読取装置およびプログラムに関する。   Embodiments described herein relate generally to a code reader and a program.

従来、スーパーマーケット等では、商品に貼付されたバーコードや二次元コード(例えば、QRコード(登録商標))等のコードシンボルをCCD(Charge Coupled Device)イメージセンサ等のデジタルカメラによって撮像し、その撮像した画像からコードシンボルを検出し、検出したコードシンボルから商品コード等の商品情報を読み取るコード読取装置が用いられている。   2. Description of the Related Art Conventionally, in supermarkets, code symbols such as barcodes and two-dimensional codes (for example, QR codes (registered trademark)) affixed to products are imaged by a digital camera such as a CCD (Charge Coupled Device) image sensor, and the imaging is performed. A code reading device is used that detects a code symbol from the detected image and reads product information such as a product code from the detected code symbol.

ところで従来のコード読取装置では、オペレータが商品をデジタルカメラにかざしてバーコードの撮像を行うが、商品に貼付されたバーコードがデジタルカメラの撮像範囲に入っているか否かを確認することができない。そのため、従来のコード読取装置では、商品をデジタルカメラにかざしたにも関わらず、商品に貼付されたバーコードがデジタルカメラの撮像範囲に入っていなかった場合、再度、商品をデジタルカメラにかざしてバーコードの読み取りを行わなければならない、という課題がある。   By the way, in the conventional code reader, the operator holds the product over the digital camera to capture the barcode, but cannot check whether the barcode attached to the product is within the imaging range of the digital camera. . Therefore, in the conventional code reader, if the barcode attached to the product is not within the imaging range of the digital camera even though the product is held over the digital camera, the product is again held over the digital camera. There is a problem that the barcode needs to be read.

実施形態のコード読取装置は、撮像手段と、取込手段と、検出手段と、読取手段と、表示手段と、を備える。前記取込手段は、前記撮像手段により撮像された撮像エリアの画像を取り込む。前記検出手段は、前記撮像エリアの画像から、商品情報を示すコードシンボルを検出する。前記読取手段は、前記検出手段により検出したコードシンボルから商品情報を読み取る。前記表示手段は、前記商品情報が読み取られている間、前記撮像エリアの画像に、前記検出したコードシンボルを囲う枠をコードシンボル表示として含めた画像を表示する。前記検出手段は、前記撮像エリアの画像から複数のコードシンボルが検出された場合、前記複数のコードシンボルのうち予め設定されたコードシンボルとの一致度が最も高いコードシンボルを、前記撮像エリアの画像から検出したコードシンボルとする。 The code reading apparatus according to the embodiment includes an imaging unit, a capturing unit, a detecting unit, a reading unit, and a display unit. The capturing unit captures an image of the imaging area captured by the imaging unit. The detection means detects a code symbol indicating product information from the image of the imaging area. The reading unit reads product information from the code symbol detected by the detection unit. The display means displays an image including a frame surrounding the detected code symbol as a code symbol display in the image of the imaging area while the product information is being read. When a plurality of code symbols are detected from the image of the imaging area, the detecting unit selects a code symbol having the highest degree of coincidence with a preset code symbol from the plurality of code symbols. The code symbol detected from

図1は、チェックアウトシステムを示す斜視図である。FIG. 1 is a perspective view showing a checkout system. 図2は、POS端末およびコード読取装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of the POS terminal and the code reading device. 図3は、商品の撮像部の撮像エリアとの関係の一例を示す図である。FIG. 3 is a diagram illustrating an example of a relationship with an imaging area of an imaging unit of a product. 図4は、コード読取装置が備えるCPUの機能構成を示すブロック図である。FIG. 4 is a block diagram illustrating a functional configuration of a CPU included in the code reading device. 図5は、撮像画像取込部により取り込まれる画像の一例を示す図である。FIG. 5 is a diagram illustrating an example of an image captured by the captured image capturing unit. 図6は、表示デバイスに表示された画像の一例を示す図である。FIG. 6 is a diagram illustrating an example of an image displayed on the display device. 図7は、表示デバイスに表示された画像の一例を示す図である。FIG. 7 is a diagram illustrating an example of an image displayed on the display device. 図8は、表示デバイスに表示された画像の一例を示す図である。FIG. 8 is a diagram illustrating an example of an image displayed on the display device. 図9は、本実施形態にかかるコード読取装置による商品情報の出力処理の流れを示すフローチャートである。FIG. 9 is a flowchart showing a flow of output processing of product information by the code reading apparatus according to the present embodiment.

以下では、チェックアウトシステムを例に本実施形態にかかるコード読取装置およびプログラムを図面を参照して説明する。チェックアウトシステムは、一取引にかかる商品の登録、精算を行うPOS(Point Of Sales)端末などがある。本実施形態は、飲食店やスーパーマーケット等の店舗に導入されたチェックアウトシステムへの適用例である。   Hereinafter, a code reading apparatus and a program according to the present embodiment will be described with reference to the drawings, taking a checkout system as an example. The checkout system includes a POS (Point Of Sales) terminal for registering and paying for a product for one transaction. This embodiment is an application example to a checkout system introduced in a store such as a restaurant or a supermarket.

図1は、チェックアウトシステムを示す斜視図である。図1に示すように、チェックアウトシステム1は、一取引にかかる商品の登録、精算を行うPOS端末11を備える。POS端末11は、チェックアウト台51上のドロワ21上面に載置されている。ドロワ21は、POS端末11によって開放動作の制御を受ける。POS端末11の上面には、オペレータ(ユーザ)によって押下操作されるキーボード22が配置されている。キーボード22を操作するオペレータから見てキーボード22よりも奥側には、オペレータに向けて情報を表示する表示デバイス23が設けられている。表示デバイス23は、その表示面23aに情報を表示する。表示面23aには、タッチパネル26が積層されている。表示デバイス23よりもさらに奥側には、顧客用表示デバイス24が回転自在に立設されている。顧客用表示デバイス24は、その表示面24aに情報を表示する。なお、図1に示す顧客用表示デバイス24は、表示面24aを図1中手前側に向けているが、表示面24aが図1中奥側に向くように顧客用表示デバイス24を回転させることによって、顧客用表示デバイス24は顧客に向けて情報を表示する。   FIG. 1 is a perspective view showing a checkout system. As shown in FIG. 1, the checkout system 1 includes a POS terminal 11 that performs registration and settlement of commodities related to one transaction. The POS terminal 11 is placed on the upper surface of the drawer 21 on the checkout table 51. The drawer 21 is controlled by the POS terminal 11 for the opening operation. On the upper surface of the POS terminal 11, a keyboard 22 that is pressed by an operator (user) is arranged. A display device 23 that displays information toward the operator is provided behind the keyboard 22 when viewed from the operator who operates the keyboard 22. The display device 23 displays information on the display surface 23a. A touch panel 26 is laminated on the display surface 23a. A customer display device 24 is erected so as to be rotatable further behind the display device 23. The customer display device 24 displays information on the display surface 24a. The customer display device 24 shown in FIG. 1 has the display surface 24a facing the front side in FIG. 1, but the customer display device 24 is rotated so that the display surface 24a faces the back side in FIG. Thus, the customer display device 24 displays information to the customer.

POS端末11が載置されているチェックアウト台51とL字を形成するようにして、横長テーブル状のカウンタ台151が配置されている。カウンタ台151の上面には、荷受面152が形成されている。荷受面152には、バーコードBCが付された商品Aを収納する買物カゴ153が載置される。買物カゴ153は、顧客によって持ち込まれる第1の買物カゴ153aと、第1の買物カゴ153aからコード読取装置101を挟んだ位置に位置付けられる第2の買物カゴ153bとに分けて考えることができる。   A horizontally long table-shaped counter table 151 is arranged so as to form an L shape with the checkout table 51 on which the POS terminal 11 is placed. A cargo receiving surface 152 is formed on the upper surface of the counter table 151. On the cargo receiving surface 152, a shopping basket 153 for storing the product A with the barcode BC is placed. The shopping basket 153 can be divided into a first shopping basket 153a brought in by a customer and a second shopping basket 153b positioned at a position sandwiching the code reader 101 from the first shopping basket 153a.

カウンタ台151の荷受面152には、POS端末11とデータ送受信自在に接続されたコード読取装置101が設置されている。コード読取装置101は、薄型矩形形状のハウジング102を備える。ハウジング102の正面には読取窓103が配置されている。ハウジング102の上部には、表示・操作部104が取り付けられている。表示・操作部104には、タッチパネル105が表面に積層された表示デバイス106が設けられている。表示デバイス106の右隣にはキーボード107が配設されている。キーボード107の右隣には、図示しないカードリーダのカード読取溝108が設けられている。オペレータから見て表示・操作部104の裏面左奥側には、顧客に情報を提供するための顧客用表示デバイス109が設置されている。顧客用表示デバイス109の表示面には、顧客用タッチパネル109aが積層されている。   A code reader 101 connected to the POS terminal 11 so as to be able to transmit and receive data is installed on the receiving surface 152 of the counter table 151. The code reading device 101 includes a thin rectangular housing 102. A reading window 103 is disposed in front of the housing 102. A display / operation unit 104 is attached to the upper portion of the housing 102. The display / operation unit 104 is provided with a display device 106 on which a touch panel 105 is laminated. A keyboard 107 is disposed on the right side of the display device 106. A card reading groove 108 of a card reader (not shown) is provided on the right side of the keyboard 107. A customer display device 109 for providing information to the customer is installed on the back left side of the display / operation unit 104 as viewed from the operator. A customer touch panel 109 a is laminated on the display surface of the customer display device 109.

顧客によって持ち込まれた第1の買物カゴ153aには、一取引にかかる商品Aが収納されている。商品Aには、その商品Aに関する商品コードが符号化されたバーコードBCが貼付されている。商品Aは、オペレータの手によって第2の買物カゴ153bへと移動される。この移動過程で、バーコードBCがコード読取装置101の読取窓103に向けられる。この際、読取窓103の奥側に配置された撮像部164(図2参照)はバーコードBCを撮像する。コード読取装置101では、撮像部164により撮像された画像に含まれるバーコードBCを検出し、検出したバーコードBCから商品Aに関する商品コードを読み取る。バーコードBCから読み取られる商品コードは、商品Aを特定するために商品ごとに割り当てられたコードであり、一例として13桁の数字であるJANコードである。なお、本実施形態ではコードシンボルとしてバーコードBCを例に説明するが、コードシンボルはQRコード(登録商標)等の二次元コードであってもよいことは言うまでもない。   In the first shopping basket 153a brought in by the customer, a product A for one transaction is stored. A barcode BC in which a product code related to the product A is encoded is attached to the product A. The product A is moved to the second shopping basket 153b by the operator's hand. In this moving process, the barcode BC is directed to the reading window 103 of the code reading device 101. At this time, the imaging unit 164 (see FIG. 2) arranged on the back side of the reading window 103 images the barcode BC. The code reader 101 detects the barcode BC included in the image captured by the imaging unit 164, and reads the product code related to the product A from the detected barcode BC. The product code read from the bar code BC is a code assigned to each product for specifying the product A, and is a JAN code that is a 13-digit number as an example. In the present embodiment, the barcode BC is described as an example of the code symbol, but it goes without saying that the code symbol may be a two-dimensional code such as a QR code (registered trademark).

図2は、POS端末およびコード読取装置のハードウェア構成を示すブロック図である。POS端末11は、情報処理を実行する情報処理部としてのマイクロコンピュータ60を備える。マイクロコンピュータ60は、各種演算処理を実行し各部を制御するCPU(Central Processing Unit)61に、ROM(Read Only Memory)62とRAM(Random Access Memory)63とがバス接続されて構成されている。   FIG. 2 is a block diagram illustrating a hardware configuration of the POS terminal and the code reading device. The POS terminal 11 includes a microcomputer 60 as an information processing unit that executes information processing. The microcomputer 60 is configured by connecting a ROM (Read Only Memory) 62 and a RAM (Random Access Memory) 63 to a CPU (Central Processing Unit) 61 that executes various arithmetic processes and controls each unit.

POS端末11のCPU61には、前述したドロワ21、キーボード22、表示デバイス23、タッチパネル26、顧客用表示デバイス24がいずれも各種の入出力回路(いずれも図示せず)を介して接続されている。これらは、CPU61による制御を受ける。   The drawer 61, the keyboard 22, the display device 23, the touch panel 26, and the customer display device 24 are all connected to the CPU 61 of the POS terminal 11 through various input / output circuits (all not shown). . These are controlled by the CPU 61.

キーボード22は、「1」、「2」、「3」…等の数字や「×」という乗算の演算子が上面に表示されているテンキー22d、仮締めキー22e、および締めキー22fを含む。   The keyboard 22 includes a numeric keypad 22d, a temporary tightening key 22e, and a tightening key 22f on which numbers such as “1”, “2”, “3”.

POS端末11のCPU61には、HDD(Hard Disk Drive)64が接続されている。HDD64には、プログラムや各種ファイルが記憶されている。HDD64に記憶されているプログラムや各種ファイルは、POS端末11の起動時に、その全部又は一部がRAM63にコピーされてCPU61により順次実行される。HDD64に記憶されているプログラムの一例は、商品販売データ処理用のプログラムPRである。HDD64に記憶されているファイルの一例は、ストアコンピュータSCから配信されて格納されているPLUファイルF1である。PLUファイルF1は、商品ごとにユニークに割り当てられた商品コードごとに、その商品の名称、単価、商品分類などの商品に関する情報を格納するファイルである。   An HDD (Hard Disk Drive) 64 is connected to the CPU 61 of the POS terminal 11. The HDD 64 stores programs and various files. All or a part of the programs and various files stored in the HDD 64 are copied to the RAM 63 and sequentially executed by the CPU 61 when the POS terminal 11 is activated. An example of a program stored in the HDD 64 is a product sales data processing program PR. An example of a file stored in the HDD 64 is a PLU file F1 distributed and stored from the store computer SC. The PLU file F1 is a file that stores information related to products such as the name, unit price, and product classification of each product code uniquely assigned to each product.

POS端末11のCPU61には、ストアコンピュータSCとデータ通信を実行するための通信インターフェース25が入出力回路(図示せず)を介して接続されている。ストアコンピュータSCは、店舗のバックヤード等に設置されている。ストアコンピュータSCのHDD(図示せず)には、POS端末11に配信されるPLUファイルF1が格納されている。   A communication interface 25 for performing data communication with the store computer SC is connected to the CPU 61 of the POS terminal 11 via an input / output circuit (not shown). The store computer SC is installed in a store backyard or the like. A PLU file F1 distributed to the POS terminal 11 is stored in the HDD (not shown) of the store computer SC.

さらに、POS端末11のCPU61には、コード読取装置101との間でデータ送受信を可能にする接続インターフェース65が接続されている。POS端末11のCPU61は、接続インターフェース65を介して、コード読取装置101により読み取られた商品コード等の商品情報を受け取り、受け取った商品情報が示す商品を販売登録する。したがって、接続インターフェース65は、コード読取装置101に接続している。また、POS端末11のCPU61には、レシートなどに印字を行うプリンタ66が接続されている。POS端末11は、CPU61の制御の下、一取引の取引内容をレシートに印字する。   Further, the CPU 61 of the POS terminal 11 is connected to a connection interface 65 that enables data transmission / reception with the code reader 101. The CPU 61 of the POS terminal 11 receives product information such as a product code read by the code reading device 101 via the connection interface 65, and sells and registers the product indicated by the received product information. Therefore, the connection interface 65 is connected to the code reading device 101. The CPU 61 of the POS terminal 11 is connected to a printer 66 that prints on receipts and the like. The POS terminal 11 prints the transaction content of one transaction on the receipt under the control of the CPU 61.

コード読取装置101も、マイクロコンピュータ160を備える。マイクロコンピュータ160は、CPU161にROM162とRAM163とがバス接続されて構成されている。ROM162には、CPU161によって実行されるプログラムが記憶されている。CPU161には、撮像部164が各種の入出力回路(いずれも図示せず)を介して接続されている。撮像部164は、CPU161によって動作が制御される。表示・操作部104は接続インターフェース176を介してPOS端末11に接続されている。表示・操作部104はPOS端末11のCPU61によって動作が制御される。   The code reading device 101 also includes a microcomputer 160. The microcomputer 160 is configured by connecting a ROM 162 and a RAM 163 to a CPU 161 via a bus. The ROM 162 stores a program executed by the CPU 161. An imaging unit 164 is connected to the CPU 161 via various input / output circuits (all not shown). The operation of the imaging unit 164 is controlled by the CPU 161. The display / operation unit 104 is connected to the POS terminal 11 via the connection interface 176. The operation of the display / operation unit 104 is controlled by the CPU 61 of the POS terminal 11.

撮像部164は、CCDイメージセンサやCOMSイメージセンサなどであり、CPU161の制御の下で、読取窓103からの画像の撮像を行う。例えば、撮像部164は、所定のフレームレート(例えば、30fps)で画像の撮像を行うものとする。   The imaging unit 164 is a CCD image sensor, a COMS image sensor, or the like, and captures an image from the reading window 103 under the control of the CPU 161. For example, it is assumed that the imaging unit 164 captures an image at a predetermined frame rate (for example, 30 fps).

ここで、本実施形態にかかるコード読取装置101により処理される商品と撮像部164の撮像領域との関係について説明する。図3は、商品の撮像部の撮像エリアとの関係の一例を示す図である。図中鎖線で囲った領域は、撮像部164が1フレームで撮像できる領域である撮像エリア63である。図3に示す商品Aには、バーコードBCが印字されたラベルLが貼付されている。バーコードBCには、商品AをPOS端末11で販売登録するのに必要な情報として、商品コード等の商品情報が組み込まれている。また、バーコードBCの下部には、バーコードBCに組み込まれている商品コード「2101234567890」が数字で表示されている。   Here, the relationship between the product processed by the code reading apparatus 101 according to the present embodiment and the imaging area of the imaging unit 164 will be described. FIG. 3 is a diagram illustrating an example of a relationship with an imaging area of an imaging unit of a product. An area surrounded by a chain line in the figure is an imaging area 63 that is an area where the imaging unit 164 can capture an image in one frame. A label L on which a barcode BC is printed is affixed to the product A shown in FIG. In the barcode BC, product information such as a product code is incorporated as information necessary for selling and registering the product A with the POS terminal 11. In addition, a product code “2101234567890” incorporated in the barcode BC is displayed in numbers below the barcode BC.

図2に戻り、CPU161には、POS端末11の接続インターフェース65に接続して、POS端末11との間でデータ送受信を可能にする接続インターフェース175が接続されている。CPU161の制御の下、コード読取装置101の撮像部164によって撮像された画像に含まれるバーコードBCから読み取られた商品コードは、接続インターフェース175を介して出力され、接続インターフェース65を介してPOS端末11に入力される。   Returning to FIG. 2, the CPU 161 is connected to a connection interface 175 that connects to the connection interface 65 of the POS terminal 11 and enables data transmission / reception with the POS terminal 11. The product code read from the barcode BC included in the image captured by the image capturing unit 164 of the code reader 101 under the control of the CPU 161 is output via the connection interface 175, and the POS terminal via the connection interface 65. 11 is input.

次に、CPU161がプログラムを順次実行することで実現されるコード読取装置101の機能部について、図4を参照して説明する。図4は、コード読取装置が備えるCPUの機能構成を示すブロック図である。図4に示すように、CPU161は、ROM162に記憶されたプログラムを順次実行することにより、撮像画像取込部1611、コード検出部1612、読取部1613、表示部1614、および出力部1615としての機能を備える。   Next, functional units of the code reading apparatus 101 realized by the CPU 161 sequentially executing programs will be described with reference to FIG. FIG. 4 is a block diagram illustrating a functional configuration of a CPU included in the code reading device. As illustrated in FIG. 4, the CPU 161 sequentially executes a program stored in the ROM 162 to function as a captured image capturing unit 1611, a code detection unit 1612, a reading unit 1613, a display unit 1614, and an output unit 1615. Is provided.

撮像画像取込部1611は、撮像部164に撮像オン信号を出力して撮像部164に撮像動作を開始させる。撮像画像取込部1611は、撮像部164により撮像された撮像エリア63内の画像を順次取り込む。そして、撮像画像取込部1611は、取り込んだ画像を、撮像部164により撮像された順に、RAM163に格納する。   The captured image capturing unit 1611 outputs an imaging on signal to the imaging unit 164 and causes the imaging unit 164 to start an imaging operation. The captured image capturing unit 1611 sequentially captures images in the imaging area 63 captured by the imaging unit 164. The captured image capturing unit 1611 stores the captured images in the RAM 163 in the order in which the captured images are captured by the imaging unit 164.

ここで、図5を用いて、撮像画像取込部1611が取り込む画像について説明する。図5は、撮像画像取込部により取り込まれる画像の一例を示す図である。図5に示すように、撮像画像取込部1611は、撮像エリア63に対応する画像DをRAM163に格納する。   Here, an image captured by the captured image capturing unit 1611 will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of an image captured by the captured image capturing unit. As illustrated in FIG. 5, the captured image capturing unit 1611 stores an image D corresponding to the imaging area 63 in the RAM 163.

コード検出部1612は、撮像画像取込部1611により取り込まれRAM163に格納された画像Dから、バーコードBCを検出する。具体的には、コード検出部1612は、RAM163に格納された画像Dからパターンマッチング技術によるバーコードBCの検出や、所定のファインダパターンから二次元コードの検出などを行う。なお、コード検出部1612は、画像Dから複数のバーコードBCが検出された場合、検出された複数のバーコードBCのうち、予め設定されたコードシンボルとの一致度が最も高いバーコードBCを、画像Dから検出されたバーコードBCとする。   The code detection unit 1612 detects the barcode BC from the image D captured by the captured image capture unit 1611 and stored in the RAM 163. Specifically, the code detection unit 1612 detects a barcode BC by a pattern matching technique from the image D stored in the RAM 163, detects a two-dimensional code from a predetermined finder pattern, and the like. In addition, when a plurality of barcodes BC are detected from the image D, the code detection unit 1612 selects a barcode BC having the highest degree of coincidence with a preset code symbol among the plurality of detected barcodes BC. Suppose that the barcode BC is detected from the image D.

読取部1613は、コード検出部1612によりバーコードBCが検出された場合に、コード検出部1612が検出したバーコードBCから、商品コード等の商品情報を読み取る。そして、読取部1613は、読み取った商品情報をRAM163に格納する。   When the code detection unit 1612 detects the barcode BC, the reading unit 1613 reads product information such as a product code from the barcode BC detected by the code detection unit 1612. The reading unit 1613 stores the read product information in the RAM 163.

表示部1614は、読取部1613により商品情報の読み取りが行われている間、撮像画像取込部1611により取り込まれRAM163に格納されている画像Dに、コード検出部1612により検出したバーコードBCを示すコードシンボル表示を含めた画像を表示する。   The display unit 1614 displays the barcode BC detected by the code detection unit 1612 on the image D captured by the captured image capture unit 1611 and stored in the RAM 163 while the product information is being read by the reading unit 1613. The image including the code symbol display is displayed.

図6は、表示デバイスに表示された画像の一例を示す図である。本実施形態では、表示部1614は、読取部1613により商品情報の読み取りが行われている間、撮像画像取込部1611により取り込まれたRAM163に格納されている画像Dに、コード検出部1612により検出したバーコードBCを囲う枠601を含めた画像D1を表示デバイス106に表示する。具体的には、表示部1614は、読取部1613による商品情報の読み取りが開始されると、撮像画像取込部1611によりRAM163に格納された画像Dを読み出す。そして、表示部1614は、読み出した画像D内におけるバーコードBCの座標を検出する。次いで、表示部1614は、読み出した画像Dに、検出したバーコードBCの座標を囲う枠601を重畳した画像D1を生成し、生成した画像D1を表示デバイス106に表示する。これにより、オペレータは、商品Aに貼付されたラベルLに印字されたバーコードBCから商品情報が読み取られていることを確認することができる。   FIG. 6 is a diagram illustrating an example of an image displayed on the display device. In this embodiment, the display unit 1614 causes the code detection unit 1612 to display the image D stored in the RAM 163 captured by the captured image capture unit 1611 while the product information is being read by the reading unit 1613. An image D1 including a frame 601 surrounding the detected barcode BC is displayed on the display device 106. Specifically, when reading of product information by the reading unit 1613 is started, the display unit 1614 reads the image D stored in the RAM 163 by the captured image capturing unit 1611. Then, the display unit 1614 detects the coordinates of the barcode BC in the read image D. Next, the display unit 1614 generates an image D1 in which a frame 601 surrounding the coordinates of the detected barcode BC is superimposed on the read image D, and displays the generated image D1 on the display device 106. Thereby, the operator can confirm that the product information is read from the barcode BC printed on the label L attached to the product A.

なお、本実施形態では、表示部1614は、画像Dに、コード検出部1612により検出したバーコードBCを囲う枠601をコードシンボル表示として含めた画像D1を表示デバイス106に表示しているが、画像Dに、バーコードBCを示すコードシンボル表示を含めた画像を表示するものであれば、これに限定するものではない。例えば、表示部1614は、画像Dに、コード検出部1612により検出したバーコードBCが存在する領域を指し示す矢印などのエリア表示をコードシンボル表示として含めた画像を表示デバイス106に表示しても良い。   In the present embodiment, the display unit 1614 displays the image D1 including the frame 601 surrounding the barcode BC detected by the code detection unit 1612 on the display device 106 as the code symbol display. The image D is not limited to this as long as an image including a code symbol display indicating the barcode BC is displayed. For example, the display unit 1614 may display on the display device 106 an image including an area display such as an arrow indicating an area where the barcode BC detected by the code detection unit 1612 exists in the image D as a code symbol display. .

また、表示部1614は、コード検出部1612によりバーコードBCが検出されなかった場合、バーコードBCが検出されなかったことを示すガイド表示を表示デバイス106に表示する。   Further, the display unit 1614 displays a guide display indicating that the barcode BC is not detected on the display device 106 when the barcode detector 1612 does not detect the barcode BC.

図7は、表示デバイスに表示された画像の一例を示す図である。本実施形態では、表示部1614は、コード検出部1612によりバーコードBCが検出されなかった場合、画像Dに、「No symbol」などバーコードBCが検出されなかったことを示すメッセージ701をガイド表示として含めた画像D2を表示デバイス106に表示する。具体的には、表示部1614は、コード検出部1612によりバーコードBCが検出されなかった場合、撮像画像取込部1611によりRAM163に格納された画像Dを読み出す。そして、表示部1614は、読み出した画像Dに、メッセージ701を重畳した画像D2を生成し、生成した画像D2を表示デバイス106に表示する。これにより、オペレータは、商品Aに貼付されたラベルLに印字されたバーコードBCから商品情報が読み取られていないことを認識することができる。   FIG. 7 is a diagram illustrating an example of an image displayed on the display device. In the present embodiment, the display unit 1614 guides and displays a message 701 indicating that the barcode BC such as “No symbol” has not been detected in the image D when the barcode detector 1612 does not detect the barcode BC. Is displayed on the display device 106. Specifically, the display unit 1614 reads the image D stored in the RAM 163 by the captured image capturing unit 1611 when the barcode BC is not detected by the code detection unit 1612. Then, the display unit 1614 generates an image D2 in which the message 701 is superimposed on the read image D, and displays the generated image D2 on the display device 106. Thereby, the operator can recognize that the product information is not read from the barcode BC printed on the label L attached to the product A.

さらに、表示部1614は、コード検出部1612により画像Dから複数のバーコードBCが検出された場合、複数のバーコードBCのうち予め設定されたコードシンボルとの一致度が最も高いバーコードBCを示すコードシンボル表示を含めた画像を表示デバイス106に表示する。   Furthermore, when a plurality of barcodes BC are detected from the image D by the code detection unit 1612, the display unit 1614 displays the barcode BC having the highest degree of coincidence with a preset code symbol among the plurality of barcodes BC. An image including a code symbol display is displayed on the display device 106.

図8は、表示デバイスに表示された画像の一例を示す図である。本実施形態では、表示部1614は、コード検出部1612により商品A,A´,A´´に添付された複数のバーコードBCが検出された場合、複数のバーコードBCのうち予め設定されたコードシンボルとの一致度が最も高いバーコードBC(商品Aに添付されたバーコードBC)を囲う枠601を含めた画像603を表示デバイス106に表示する。具体的には、表示部1614は、読取部1613による商品情報の読み取りが開始されると、撮像画像取込部1611によりRAM163に格納された画像Dを読み出す。そして、表示部1614は、読み出した画像Dに含まれる複数のバーコードBCのうち、コード検出部1612により予め設定されたコードシンボルとの一致度が最も高いと判断されたバーコードBC(商品Aに添付されたバーコードBC)の画像D内における座標を検出する。次いで、表示部1614は、読み出した画像Dに、検出したバーコードBCの座標を囲う枠801を重畳した画像D3を生成し、生成した画像D3を表示デバイス106に表示する。これにより、オペレータが誤って商品A,A´,A´´を同時に撮像部164の撮像範囲に入れてしまった場合に、商品A,A´,A´´に添付された複数のバーコードBCのうち、いずれの商品に添付されたバーコードBCから商品情報が読み取られたかを認識することができるので、残りの商品の商品情報を読み取る際に、既に商品情報を読み取った商品の商品情報を読み取らせることを防止できる。   FIG. 8 is a diagram illustrating an example of an image displayed on the display device. In the present embodiment, when a plurality of barcodes BC attached to the products A, A ′, and A ″ are detected by the code detection unit 1612, the display unit 1614 is set in advance among the plurality of barcodes BC. An image 603 including a frame 601 that surrounds the barcode BC having the highest degree of coincidence with the code symbol (the barcode BC attached to the product A) is displayed on the display device 106. Specifically, when reading of product information by the reading unit 1613 is started, the display unit 1614 reads the image D stored in the RAM 163 by the captured image capturing unit 1611. The display unit 1614 then displays the barcode BC (product A) determined to have the highest degree of coincidence with the code symbol preset by the code detection unit 1612 among the plurality of barcodes BC included in the read image D. The coordinates of the barcode BC) attached to the image D are detected. Next, the display unit 1614 generates an image D3 in which a frame 801 surrounding the coordinates of the detected barcode BC is superimposed on the read image D, and displays the generated image D3 on the display device 106. As a result, when the operator accidentally puts the products A, A ′, and A ″ into the imaging range of the imaging unit 164 at the same time, the plurality of barcodes BC attached to the products A, A ′, and A ″. Since it is possible to recognize which product information has been read from the barcode BC attached to any product, when reading the product information of the remaining products, the product information of the products for which the product information has already been read is displayed. It can prevent reading.

出力部1615は、読取部1613により商品情報がRAM163に格納されている場合には、RAM163に格納されている商品情報をPOS端末11に出力する。POS端末11は、コード読取装置101から受け取った商品情報に基づいて、商品Aの販売登録を行う。   When the product information is stored in the RAM 163 by the reading unit 1613, the output unit 1615 outputs the product information stored in the RAM 163 to the POS terminal 11. The POS terminal 11 performs sales registration of the product A based on the product information received from the code reading device 101.

次に、コード読取装置101による商品情報の出力処理の流れについて説明する。図9は、本実施形態にかかるコード読取装置による商品情報の出力処理の流れを示すフローチャートである。   Next, the flow of product information output processing by the code reader 101 will be described. FIG. 9 is a flowchart showing a flow of output processing of product information by the code reading apparatus according to the present embodiment.

POS端末11による商品登録の開始などに応じて処理が開始されると、撮像画像取込部1611は、撮像部164に撮像オン信号を出力して撮像部164による撮像を開始する(ステップS901)。次いで、撮像画像取込部1611は、撮像部164が撮像してRAM163に格納した画像Dを取り込む(ステップS902)。次いで、コード検出部1612は、撮像画像取込部1611により取り込まれた画像Dに含まれるバーコードBCを検出する(ステップS903)。   When processing is started in response to the start of product registration by the POS terminal 11, the captured image capturing unit 1611 outputs an imaging on signal to the imaging unit 164 and starts imaging by the imaging unit 164 (step S901). . Next, the captured image capturing unit 1611 captures the image D captured by the imaging unit 164 and stored in the RAM 163 (step S902). Next, the code detection unit 1612 detects the barcode BC included in the image D captured by the captured image capture unit 1611 (step S903).

読取部1613は、コード検出部1612によりバーコードBCが検出されたか否かを判断する(ステップS904)。バーコードBCが検出されなかった場合(ステップS904:No)、ステップS902に戻り、次の画像Dに対する処理を行う。   The reading unit 1613 determines whether the barcode BC is detected by the code detection unit 1612 (step S904). If the barcode BC is not detected (step S904: No), the process returns to step S902, and the process for the next image D is performed.

バーコードBCが検出された場合(ステップS904:Yes)、読取部1613は、検出されたバーコードBCからの商品情報の読み取りを行う(ステップS905)。なお、読取部1613により読み取られた商品情報は、出力部1615によってPOS端末11に出力される。POS端末11では、入力された商品情報をもとにPLUファイルF1を参照することで、一取引にかかる商品の販売登録が行われる。表示部1614は、読取部1613により商品情報の読み取りが行われている間、撮像画像取込部1611により取り込まれた画像Dに、コード検出部1612により検出したバーコードBCを囲う枠601を含めた画像D1(図6参照)を表示デバイス106に表示する(ステップS906)。   When the barcode BC is detected (step S904: Yes), the reading unit 1613 reads product information from the detected barcode BC (step S905). The product information read by the reading unit 1613 is output to the POS terminal 11 by the output unit 1615. In the POS terminal 11, the sales registration of the product related to one transaction is performed by referring to the PLU file F1 based on the input product information. The display unit 1614 includes a frame 601 that surrounds the barcode BC detected by the code detection unit 1612 in the image D captured by the captured image capture unit 1611 while the product information is being read by the reading unit 1613. The displayed image D1 (see FIG. 6) is displayed on the display device 106 (step S906).

次いで、CPU161は、POS端末11から商品登録の終了通知などによる業務終了の有無を判定する(ステップS907)。業務を継続する場合(ステップS907:No)、CPU161は、ステップS902に戻して次の画像Dに対する処理を継続させる。業務を終了させる場合(ステップS907:Yes)、CPU161は、撮像部164に撮像オフ信号を出力して撮像部164による撮像を終了し(ステップS908)、処理を終了する。   Next, the CPU 161 determines the presence / absence of business end from the POS terminal 11 based on the end notification of product registration (step S907). When the business is continued (step S907: No), the CPU 161 returns to step S902 to continue the process for the next image D. When the business is to be ended (step S907: Yes), the CPU 161 outputs an imaging off signal to the imaging unit 164, ends the imaging by the imaging unit 164 (step S908), and ends the process.

このように本実施形態にかかるコード読取装置101によれば、画像Dを撮像し、撮像された画像Dを取り込み、取り込んだ画像Dから、販売登録する商品の商品情報を示すバーコードBCを検出し、検出したバーコードBCから商品情報を読み取り、商品情報が読み取られている間、取り込んだ画像Dに、検出したバーコードBCを示すコードシンボル表示を含めた画像を表示することにより、バーコードBCが撮像部164の撮像範囲に入っているか否かを確認することができるので、商品Aに貼付されたバーコードBCが撮像部164の撮像範囲に入っていなかった場合、再度、商品Aを撮像部164にかざしてバーコードBCの読み取りを行わせる必要がなくなる。   As described above, according to the code reading apparatus 101 according to the present embodiment, the image D is captured, the captured image D is captured, and the barcode BC indicating the product information of the product to be registered for sale is detected from the captured image D. By reading the product information from the detected barcode BC and displaying the image including the code symbol display indicating the detected barcode BC on the captured image D while the product information is being read, Since it can be confirmed whether BC is in the imaging range of the imaging unit 164, if the barcode BC attached to the product A is not in the imaging range of the imaging unit 164, the product A is again selected. The barcode BC need not be read over the imaging unit 164.

なお、本実施形態のコード読取装置101で実行されるプログラムは、ROM162等に予め組み込まれて提供されるが、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the code reading apparatus 101 according to the present embodiment is provided by being preinstalled in the ROM 162 or the like, but is a CD-ROM or flexible disk (FD) in an installable or executable format file. Further, the recording medium may be provided by being recorded on a computer-readable recording medium such as a CD-R or a DVD (Digital Versatile Disk).

さらに、本実施形態のコード読取装置101で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のコード読装置101で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the code reading apparatus 101 according to the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. In addition, the program executed by the code reading apparatus 101 of the present embodiment may be provided or distributed via a network such as the Internet.

101 コード読取装置
161 CPU
162 ROM
163 RAM
164 撮像部
1611 撮像画像取込部
1612 コード検出部
1613 読取部
1614 表示部
101 Code reader 161 CPU
162 ROM
163 RAM
164 Imaging unit 1611 Captured image capturing unit 1612 Code detection unit 1613 Reading unit 1614 Display unit

特開平06−223271号公報Japanese Patent Laid-Open No. 06-223271

Claims (4)

撮像手段と、
前記撮像手段により撮像された撮像エリアの画像を取り込む取込手段と、
前記撮像エリアの画像から、商品情報を示すコードシンボルを検出する検出手段と、
前記検出手段により検出したコードシンボルから商品情報を読み取る読取手段と、
前記商品情報が読み取られている間、前記撮像エリアの画像に、前記検出したコードシンボルを囲う枠をコードシンボル表示として含めた画像を表示する表示手段と、を備え、
前記検出手段は、前記撮像エリアの画像から複数のコードシンボルが検出された場合、前記複数のコードシンボルのうち予め設定されたコードシンボルとの一致度が最も高いコードシンボルを、前記撮像エリアの画像から検出したコードシンボルとすることを特徴とするコード読取装置。
Imaging means;
Capture means for capturing an image of the imaging area imaged by the imaging means;
Detecting means for detecting a code symbol indicating product information from the image of the imaging area;
Reading means for reading product information from the code symbol detected by the detection means;
Display means for displaying an image including a frame surrounding the detected code symbol as a code symbol display in the image of the imaging area while the product information is read;
When a plurality of code symbols are detected from the image of the imaging area, the detecting unit selects a code symbol having the highest degree of coincidence with a preset code symbol from the plurality of code symbols. A code reading device characterized in that the code symbol is detected from the code symbol.
前記表示手段は、前記検出手段によってコードシンボルが検出されなかった場合、コードシンボルが検出されなかったことを示すガイド表示を表示することを特徴とする請求項1に記載のコード読取装置。 The code reading apparatus according to claim 1, wherein the display unit displays a guide display indicating that no code symbol is detected when the code symbol is not detected by the detection unit. コンピュータを、
撮像手段により撮像された撮像エリアの画像を取り込む取込手段と、
前記撮像エリアの画像から、商品情報を示すコードシンボルを検出する検出手段と、
前記検出手段により検出したコードシンボルから商品情報を読み取る読取手段と、
前記商品情報が読み取られている間、前記撮像エリアの画像に、前記検出したコードシンボルを囲う枠をコードシンボル表示として含めた画像を表示する表示手段と、として機能させ、
前記検出手段は、前記撮像エリアの画像から複数のコードシンボルが検出された場合、前記複数のコードシンボルのうち予め設定されたコードシンボルとの一致度が最も高いコードシンボルを、前記撮像エリアの画像から検出したコードシンボルとするプログラム。
Computer
Capture means for capturing an image of the imaging area captured by the imaging means;
Detecting means for detecting a code symbol indicating product information from the image of the imaging area;
Reading means for reading product information from the code symbol detected by the detection means;
While the product information is being read, the image of the imaging area functions as display means for displaying an image including a frame surrounding the detected code symbol as a code symbol display,
When a plurality of code symbols are detected from the image of the imaging area, the detecting unit selects a code symbol having the highest degree of coincidence with a preset code symbol from the plurality of code symbols. Program to be code symbol detected from.
前記表示手段は、前記検出手段によってコードシンボルが検出されなかった場合、コードシンボルが検出されなかったことを示すガイド表示を表示することを特徴とする請求項3に記載のプログラム。4. The program according to claim 3, wherein the display means displays a guide display indicating that no code symbol is detected when the code symbol is not detected by the detecting means.
JP2010189750A 2010-08-26 2010-08-26 Code reader and program Active JP5255027B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010189750A JP5255027B2 (en) 2010-08-26 2010-08-26 Code reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010189750A JP5255027B2 (en) 2010-08-26 2010-08-26 Code reader and program

Publications (2)

Publication Number Publication Date
JP2012048479A JP2012048479A (en) 2012-03-08
JP5255027B2 true JP5255027B2 (en) 2013-08-07

Family

ID=45903274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010189750A Active JP5255027B2 (en) 2010-08-26 2010-08-26 Code reader and program

Country Status (1)

Country Link
JP (1) JP5255027B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6392927B2 (en) * 2017-04-24 2018-09-19 東芝テック株式会社 Information processing apparatus and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5140820B2 (en) * 2008-03-31 2013-02-13 日本電産サンキョー株式会社 Symbol information reading apparatus and symbol information reading method
JP5310040B2 (en) * 2009-02-02 2013-10-09 カシオ計算機株式会社 Imaging processing apparatus and program
JP4995257B2 (en) * 2009-12-25 2012-08-08 東芝テック株式会社 Data code reading apparatus and method

Also Published As

Publication number Publication date
JP2012048479A (en) 2012-03-08

Similar Documents

Publication Publication Date Title
JP5596630B2 (en) Product list ticketing device
JP5166490B2 (en) Product code reader and program
JP5320360B2 (en) Product code reader and program
JP5149950B2 (en) Product information reading apparatus and program
JP5166496B2 (en) Code reader and program
US8805092B2 (en) Store system, reading apparatus, and sales registration apparatus
JP5106602B2 (en) Code reader and program
US20120054052A1 (en) Store system, sales registration apparatus, and control method
JP5502662B2 (en) Store system and product code reader
JP5221599B2 (en) Product code reader and program
JP5362058B2 (en) Code reader and program
JP5462302B2 (en) Code reading device, sales registration device and program
JP5255027B2 (en) Code reader and program
JP2013069306A (en) Merchandise information reading apparatus, merchandise information processing apparatus and program
JP5341844B2 (en) Store system, sales registration device and program
JP5183767B2 (en) Code reader and program
JP2012053713A (en) Store system, sales registration device and program
JP5496971B2 (en) Reader, reader system, and program
JP6671412B2 (en) Checkout system, receipt issuing method, and program
JP2012048486A (en) Code reader and program
JP5377581B2 (en) Reading apparatus, merchandise sales information processing apparatus, and control program
JP5599494B2 (en) Product code reader and program
JP2014174569A (en) Information processor and program
JP2012053706A (en) Commodity code reader and program
JP2013118000A (en) Commodity code reading device and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130325

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: 20130409

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130418

R150 Certificate of patent or registration of utility model

Ref document number: 5255027

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160426

Year of fee payment: 3