JP2012181705A - Bar code reader - Google Patents

Bar code reader Download PDF

Info

Publication number
JP2012181705A
JP2012181705A JP2011044518A JP2011044518A JP2012181705A JP 2012181705 A JP2012181705 A JP 2012181705A JP 2011044518 A JP2011044518 A JP 2011044518A JP 2011044518 A JP2011044518 A JP 2011044518A JP 2012181705 A JP2012181705 A JP 2012181705A
Authority
JP
Japan
Prior art keywords
barcode
unit
image data
image
product information
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.)
Granted
Application number
JP2011044518A
Other languages
Japanese (ja)
Other versions
JP5613592B2 (en
Inventor
Sadaaki Kotani
定明 小谷
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2011044518A priority Critical patent/JP5613592B2/en
Publication of JP2012181705A publication Critical patent/JP2012181705A/en
Application granted granted Critical
Publication of JP5613592B2 publication Critical patent/JP5613592B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a bar code reader which can read a desired bar code from among a plurality of bar codes existing within a readable range by a simple operation.SOLUTION: A bar code reader 1 includes an image acquisition unit 2, a rectangular image extraction unit 8, an image analysis unit 9 including a bar code determination unit 10, a communication unit 6, a storage unit 3, a display unit 4, an input unit 5, and a control unit 7. The control unit 7 performs control so that, if image data includes a plurality of rectangular image data items, a plurality of merchandise information items stored in the storage unit 3 are displayed on the display unit, and if the input unit 5 selects a merchandise information item, the selected merchandise information item is established as a read result.

Description

本発明は、バーコード読み取り装置に関する。   The present invention relates to a barcode reader.

バーコード読み取り装置は、走査ビームを走査して、商品に付記されたバーコード読み取るバーコードスキャナ、および読み取ったバーコードに格納されたバーコード情報に対応した商品名、商品コードおよび価格などを表示するディスプレイなどで構成される。バーコードスキャナは、たとえば、走査ビームを出射する窓を有するヘッド部と、グリップ部とで構成され、テーブルなどに取り付けられた保持部に着脱自在に保持することができる手持ち式のバーコードスキャナからなる。   The barcode reader scans the scanning beam and displays the barcode scanner that reads the barcode attached to the product, and the product name, product code, price, etc. corresponding to the barcode information stored in the scanned barcode. It consists of a display and so on. The barcode scanner is, for example, a hand-held barcode scanner that includes a head portion having a window for emitting a scanning beam and a grip portion and can be detachably held by a holding portion attached to a table or the like. Become.

このようなバーコード読み取り装置のバーコードスキャナでは、走査ビームが出射される範囲である読み取り可能範囲内に存在するバーコードが1つだけの場合、そのバーコードが読み取られる。しかしながら、図9に示すように、読み取り可能範囲100内に複数の商品20,21,22,23が存在し、それらの商品20,21,22,23に付記された複数のバーコード20a,21a,22a,23aが存在すると、バーコード20a,21a,22a,23aを読み取ることができずに(読み取り不可)エラーとなる。または、1つのバーコードが勝手に選択され、読み取られるという処理が行われる。この処理では、目的としないバーコードを読み取るおそれがあり、その場合には読み取ったバーコードを消去して再度読み取り動作を行う必要がある。さらには、目的としないバーコードを読み取ったことに気が付くことなくその後の処理を続行してしまうおそれがある。   In such a barcode scanner of the barcode reading apparatus, when there is only one barcode within the readable range that is the range in which the scanning beam is emitted, the barcode is read. However, as shown in FIG. 9, there are a plurality of products 20, 21, 22, 23 within the readable range 100, and a plurality of barcodes 20 a, 21 a appended to these products 20, 21, 22, 23. , 22a, and 23a, the barcodes 20a, 21a, 22a, and 23a cannot be read (unreadable), resulting in an error. Alternatively, a process is performed in which one barcode is arbitrarily selected and read. In this process, an unintended barcode may be read. In this case, it is necessary to erase the read barcode and perform the reading operation again. Furthermore, there is a possibility that the subsequent processing may be continued without noticing that a bar code that has not been intended has been read.

読み取り可能範囲100内に複数のバーコードが存在することで読み取り不可になることを避ける方法としては、目的のバーコードが付記された商品にバーコードスキャナを近づけ、読み取り可能範囲100内のバーコードが1つになるようにする方法がある。または、目的のバーコードが付記された商品以外の商品を移動させ、読み取り可能範囲100内に存在するバーコードを1つだけにする方法がある。しかしながら、どちらの方法も、バーコード読み取り装置の操作者に手間がかかる。   As a method of avoiding a situation in which reading is not possible due to the presence of a plurality of barcodes within the readable range 100, a barcode scanner is brought close to the product with the target barcode attached, and the barcodes within the readable range 100 are read. There is a way to make it one. Alternatively, there is a method in which a product other than the product to which the target barcode is added is moved so that only one barcode exists in the readable range 100. However, both methods require time and effort for the operator of the barcode reader.

このような問題に対して、特許文献1には、操作者がバーコードスキャナに備わるスイッチを操作することで、走査方向が異なる複数の走査ビームが出射されるオムニスキャンモードから、一方向の走査ビームが出射されるシングルスキャンモードに変更することができるバーコード読み取り装置が開示されている。特許文献1に開示のバーコード読み取り装置によれば、複数のバーコードが近接して存在する場合であっても、スキャンモードを切り替えることで、目的とするバーコードを読み取ることができる。   In order to deal with such a problem, Patent Document 1 discloses a one-way scanning from an omni-scan mode in which a plurality of scanning beams having different scanning directions are emitted by an operator operating a switch provided in a barcode scanner. A barcode reader that can be changed to a single scan mode in which a beam is emitted is disclosed. According to the barcode reading apparatus disclosed in Patent Document 1, even when a plurality of barcodes are close to each other, the target barcode can be read by switching the scan mode.

特開平11−203395号公報Japanese Patent Laid-Open No. 11-203395

しかしながら、特許文献1に開示のバーコード読み取り装置を用いたバーコード読み取り方法であっても、操作者が手動でスキャンモードを変更する必要があるため、手間がかかる。また、シングルスキャンモードでは、バーコードを正しく読み取るために、走査ビームがバーコードに対して垂直になるよう、バーコードスキャナまたはバーコードが付記された商品の向きを手動で調整する必要がある。   However, even the barcode reading method using the barcode reading device disclosed in Patent Document 1 is troublesome because the operator needs to manually change the scan mode. In the single scan mode, in order to correctly read the barcode, it is necessary to manually adjust the orientation of the barcode scanner or the product with the barcode attached so that the scanning beam is perpendicular to the barcode.

本発明の目的は、簡単な操作で、読み取り可能範囲内に存在する複数のバーコードの中から目的のバーコードを読み取ることができるバーコード読み取り装置を提供することである。   An object of the present invention is to provide a bar code reader capable of reading a target bar code from a plurality of bar codes existing within a readable range by a simple operation.

本発明は、バーコード情報と商品情報とが対応付けられて記憶されるサーバとデータ通信可能なバーコード読み取り装置であって、
商品を撮影して画像データを取得する画像取得部と、
画像取得部で取得した画像データから矩形画像データを抽出する矩形画像抽出部と、
矩形画像抽出部で抽出した矩形画像データがバーコードを示す画像データかどうか判断するバーコード判断部を含み、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データから、数値または文字の少なくともいずれか一方で示されるバーコード情報に変換する画像解析部と、
前記バーコード情報をサーバに送信し、送信したバーコード情報に対応付けられた商品情報をサーバから受信する通信部と、
サーバから受信した商品情報を記憶する記憶部と、
記憶部に記憶された商品情報を表示する表示部と、
表示部に表示された商品情報から、所望の商品情報を選択する入力部と、
画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれるか複数含まれるか判断し、複数含まれる場合、記憶部に記憶された複数の商品情報を表示部に表示し、入力部によって商品情報が選択されると、選択された商品情報を読み取り結果として確定するよう制御する制御部と、を備えることを特徴とするバーコード読み取り装置である。
The present invention is a barcode reader capable of data communication with a server in which barcode information and product information are stored in association with each other,
An image acquisition unit that captures image data by photographing a product;
A rectangular image extraction unit that extracts rectangular image data from the image data acquired by the image acquisition unit;
From the rectangular image data determined to be the image data indicating the barcode by the barcode determination unit, including a barcode determination unit that determines whether the rectangular image data extracted by the rectangular image extraction unit is image data indicating a barcode, An image analysis unit that converts the barcode information indicated by at least one of a numerical value and a character;
A communication unit that transmits the barcode information to a server and receives product information associated with the transmitted barcode information from the server;
A storage unit for storing product information received from the server;
A display unit for displaying product information stored in the storage unit;
An input unit for selecting desired product information from the product information displayed on the display unit;
It is determined whether the image data acquired by the image acquisition unit includes only one rectangular image data or a plurality of rectangular image data determined as image data indicating a barcode by the barcode determination unit. A plurality of product information stored in the display unit, and when the product information is selected by the input unit, the control unit controls to confirm the selected product information as a read result. This is a bar code reading device.

また本発明は、制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれる場合、記憶部に記憶された1つの商品情報を表示部に表示することなく読み取り結果として確定することを特徴とする。   Further, according to the present invention, when the image data acquired by the image acquisition unit includes only one piece of rectangular image data that is determined to be image data indicating a barcode by the barcode determination unit, the control unit stores the data in the storage unit. One memorized product information is determined as a reading result without being displayed on the display unit.

また本発明は、入力部が、表示部に重ねて配置されたタッチパネルであり、
画像解析部で変換されたバーコード情報からバーコード画像を作成するバーコード画像作成部と、
画像取得部で取得した画像データにおける、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データの位置を特定する画像位置特定部と、をさらに備え、
制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像位置特定部で特定された矩形画像データの位置に基づいて、画像取得部で取得した画像データに、前記バーコード画像を重ね合わせて表示部に表示し、
表示部に表示されたバーコード画像に対応するタッチパネルの部分がタッチされることで商品情報が選択されると、選択された商品情報を読み取り結果として確定することを特徴とする。
Further, the present invention is a touch panel in which the input unit is arranged to overlap the display unit,
A barcode image creation unit that creates a barcode image from the barcode information converted by the image analysis unit;
An image position specifying unit that specifies the position of the rectangular image data determined to be image data indicating a barcode by the barcode determination unit in the image data acquired by the image acquisition unit;
The control unit, when the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined to be image data indicating a barcode by the barcode determination unit, the rectangular image specified by the image position specifying unit Based on the position of the data, the barcode image is superimposed on the image data acquired by the image acquisition unit and displayed on the display unit,
When product information is selected by touching a part of the touch panel corresponding to the barcode image displayed on the display unit, the selected product information is confirmed as a reading result.

また本発明は、制御部は、画像位置特定部で特定された矩形画像データの位置に基づいて、前記バーコード画像が重ね合わせて表示された前記画像データにおいて、記憶部に記憶された複数の商品情報を、その商品情報に対応する前記バーコード画像の近傍にそれぞれ表示することを特徴とする。   Further, according to the present invention, the control unit includes a plurality of image data stored in the storage unit in the image data in which the barcode image is superimposed and displayed based on the position of the rectangular image data specified by the image position specifying unit. Product information is displayed in the vicinity of the barcode image corresponding to the product information.

また本発明は、画像取得部で取得した画像データにおいて、その画像データの中心から、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データまでの距離を検出する画像距離検出部をさらに備え、
制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像距離検出部で検出された前記距離が短い順に、記憶部に記憶された複数の商品情報を表示部にリスト表示することを特徴とする。
According to the present invention, in the image data acquired by the image acquisition unit, an image distance for detecting a distance from the center of the image data to the rectangular image data determined to be the image data indicating the barcode by the barcode determination unit. A detection unit;
When the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined by the barcode determination unit as image data indicating a barcode, the control unit detects the distance detected by the image distance detection unit. Are displayed in a list in a short order in a plurality of product information stored in the storage unit.

本発明によれば、バーコード読み取り装置は、バーコード情報と商品情報とが対応付けられて記憶されるサーバとデータ通信可能である。バーコード読み取り装置は、画像取得部と、矩形画像抽出部と、バーコード判断部を含む画像解析部と、通信部と、記憶部と、表示部と、入力部と、制御部とを備える。   According to the present invention, the barcode reader is capable of data communication with a server in which barcode information and product information are stored in association with each other. The barcode reading apparatus includes an image acquisition unit, a rectangular image extraction unit, an image analysis unit including a barcode determination unit, a communication unit, a storage unit, a display unit, an input unit, and a control unit.

画像取得部は、商品を撮影して画像データを取得する。矩形画像抽出部は、画像取得部で取得した画像データから矩形画像データを抽出する。バーコード判断部は、矩形画像抽出部で抽出した矩形画像データがバーコードを示す画像データかどうか判断する。画像解析部は、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データから、数値または文字の少なくともいずれか一方で示されるバーコード情報に変換する。通信部は、バーコード情報をサーバに送信し、送信されたバーコード情報に対応付けられた商品情報をサーバから受信する。記憶部は、サーバから受信した商品情報を記憶する。表示部は、記憶部に記憶された商品情報を表示する。入力部は、表示部に表示された商品情報から、所望の商品情報を選択する。制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれるか複数含まれるか判断し、複数含まれる場合、記憶部に記憶された複数の商品情報を表示部に表示し、入力部によって商品情報が選択されると、選択された商品情報を読み取り結果として確定するよう制御する。   The image acquisition unit captures the product and acquires image data. The rectangular image extraction unit extracts rectangular image data from the image data acquired by the image acquisition unit. The barcode determination unit determines whether the rectangular image data extracted by the rectangular image extraction unit is image data indicating a barcode. The image analysis unit converts the rectangular image data determined as the image data indicating the barcode by the barcode determination unit into barcode information indicated by at least one of a numerical value and a character. The communication unit transmits the barcode information to the server, and receives the product information associated with the transmitted barcode information from the server. The storage unit stores product information received from the server. The display unit displays the product information stored in the storage unit. The input unit selects desired product information from the product information displayed on the display unit. The control unit determines whether the image data acquired by the image acquisition unit includes only one or a plurality of rectangular image data determined to be image data indicating a barcode by the barcode determination unit. When the product information is selected by the input unit, the selected product information is controlled to be confirmed as a read result.

このようなバーコード読み取り装置であれば、読み取り可能範囲内に複数のバーコードが存在しても読み取り不可になることなく、また、読み取り可能範囲内の複数のバーコードのうちの1つが勝手に選択されることもない。そして、表示部に複数の商品情報が表示されるので、簡単に所望の商品情報を選択することができる。したがって、操作者は、簡単な操作で、読み取り可能範囲内に存在する複数のバーコードの中から目的のバーコードを読み取ることができる。   With such a barcode reading apparatus, even if a plurality of barcodes exist within the readable range, the barcode is not disabled, and one of the plurality of barcodes within the readable range is arbitrarily used. It is never selected. And since several goods information is displayed on a display part, desired goods information can be selected easily. Therefore, the operator can read the target barcode from a plurality of barcodes existing within the readable range by a simple operation.

また本発明によれば、制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれる場合、記憶部に記憶された1つの商品情報を表示部に表示することなく読み取り結果として確定するので、読み取り可能範囲内に存在するバーコードが1つのみの場合、操作者はバーコード読み取り装置を操作することなく、目的のバーコードを読み取ることができる。   Further, according to the present invention, the control unit stores the image data acquired by the image acquisition unit when only one piece of rectangular image data determined by the barcode determination unit as image data indicating a barcode is stored. Since one item information stored in the section is determined as a reading result without being displayed on the display section, when there is only one barcode within the readable range, the operator operates the barcode reading apparatus. The target barcode can be read without any problem.

また本発明によれば、バーコード読み取り装置は、バーコード画像作成部と、画像位置特定部とをさらに備える。バーコード画像作成部は、画像解析部で変換されたバーコード情報からバーコード画像を作成する。画像位置特定部は、画像取得部で取得した画像データにおける、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データの位置を特定する。このようなバーコード読み取り装置において、制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像位置特定部で特定された矩形画像データの位置に基づいて、画像取得部で取得した画像データに、前記バーコード画像を重ね合わせて表示部に表示し、表示部に表示されたバーコード画像に対応する入力部であるタッチパネルの部分がタッチされることで商品情報が選択されると、選択された商品情報を読み取り結果として確定する。   According to the invention, the barcode reading apparatus further includes a barcode image creating unit and an image position specifying unit. The barcode image creation unit creates a barcode image from the barcode information converted by the image analysis unit. The image position specifying unit specifies the position of the rectangular image data determined by the bar code determination unit as image data indicating a bar code in the image data acquired by the image acquisition unit. In such a barcode reading apparatus, when the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined by the barcode determination unit as image data indicating a barcode, Based on the position of the rectangular image data specified by the position specifying unit, the barcode image is superimposed on the image data acquired by the image acquiring unit and displayed on the display unit, and the barcode image displayed on the display unit is displayed. When product information is selected by touching a touch panel portion that is a corresponding input unit, the selected product information is confirmed as a reading result.

表示部に画像データが表示されるので、操作者は、読み取りたいバーコードが付記された商品の写真を見て読み取りたいバーコードを選択することができ、より簡単に目的とするバーコードを選択することができる。   Since the image data is displayed on the display unit, the operator can select the barcode that he / she wants to read by looking at the picture of the product with the barcode to be read and select the desired barcode more easily. can do.

また本発明によれば、制御部は、画像位置特定部で特定された矩形画像データの位置に基づいて、前記バーコード画像が重ね合わせて表示された前記画像データにおいて、記憶部に記憶された複数の商品情報を、その商品情報に対応する前記バーコード画像の近傍にそれぞれ表示する。複数の商品情報を、その商品情報に対応するバーコード画像の近傍にそれぞれ表示することによって、表示部に表示された商品情報から、所望の商品情報をより選択しやすくすることができる。   According to the invention, the control unit stores the image data in which the barcode image is displayed in a superimposed manner on the basis of the position of the rectangular image data specified by the image position specifying unit. A plurality of product information is displayed in the vicinity of the barcode image corresponding to the product information. By displaying a plurality of product information in the vicinity of the barcode image corresponding to the product information, it is possible to easily select desired product information from the product information displayed on the display unit.

また本発明によれば、バーコード読み取り装置は、画像距離検出部をさらに備える。画像距離検出部は、画像取得部で取得した画像データにおいて、その画像データの中心から、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データまでの距離を検出する。このようなバーコード読み取り装置において、制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像距離検出部で検出された前記距離が短い順に、記憶部に記憶された複数の商品情報を表示部にリスト表示する。   According to the invention, the barcode reading apparatus further includes an image distance detection unit. The image distance detection unit detects a distance from the center of the image data acquired by the image acquisition unit to the rectangular image data determined to be the image data indicating the barcode by the barcode determination unit. In such a barcode reading apparatus, when the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined by the barcode determination unit as image data indicating a barcode, A plurality of product information stored in the storage unit is displayed in a list on the display unit in the order of the shortest distance detected by the distance detection unit.

バーコード読み取り装置の操作者が読み取りたい目的のバーコードは、画像データの中央で撮影されている可能性が高い。画像データの中心からの距離が近い順に商品情報をリスト表示することによって、読み取りたいバーコードに対応する商品情報を、容易に見つけることができる。したがって、操作者は、簡単な操作で、読み取り可能範囲内に存在する複数のバーコードの中から目的のバーコードを読み取ることができる。   There is a high possibility that the target barcode that the operator of the barcode reader wants to read is captured at the center of the image data. By displaying the product information as a list in order of increasing distance from the center of the image data, product information corresponding to the barcode to be read can be easily found. Therefore, the operator can read the target barcode from a plurality of barcodes existing within the readable range by a simple operation.

本発明の第1の実施形態であるバーコード読み取り装置1の構成を示すブロック図である。It is a block diagram which shows the structure of the barcode reader 1 which is the 1st Embodiment of this invention. サーバ19に備えられるデータベースに含まれるデータ構造を示すテーブルである。4 is a table showing a data structure included in a database provided in the server 19. 読み取り装置1によるバーコード読み取り処理の手順を示すフローチャートである。4 is a flowchart illustrating a procedure of barcode reading processing by the reading device 1. 表示部4に表示される画像を示す図面である。4 is a diagram illustrating an image displayed on the display unit 4. バーコード情報を受信したサーバ19の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process of the server 19 which received barcode information. 本発明の第2の実施形態であるバーコード読み取り装置50の構成を示すブロック図である。It is a block diagram which shows the structure of the barcode reader 50 which is the 2nd Embodiment of this invention. 読み取り装置50によるバーコード読み取り処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of barcode reading processing by the reading device 50. 表示部4に表示される画像を示す図面である。4 is a diagram illustrating an image displayed on the display unit 4. 読み取り可能範囲100内に複数の商品20,21,22,23が存在する様子を示す図である。It is a figure which shows a mode that several goods 20, 21, 22, and 23 exist in the readable range 100. FIG.

図1は、本発明の第1の実施形態であるバーコード読み取り装置(以下単に「読み取り装置」と呼ぶ場合がある)1の構成を示すブロック図である。読み取り装置1は、商品に付記されたバーコードを読み取ることによって、そのバーコードに格納されるバーコード情報を取得可能な装置である。読み取り装置1は、たとえばPOS(Point of Sales)システムなどに用いられる。本実施の形態において、読み取り装置1の読み取り対象は、バーコードなどの一次元コードであってもよく、QRコード(登録商標)などの2次元コードであってもよい。読み取り装置1は、バーコード情報と商品情報とが対応付けられて記憶されるサーバ19とデータ通信が可能である。   FIG. 1 is a block diagram showing a configuration of a barcode reading apparatus (hereinafter sometimes simply referred to as “reading apparatus”) 1 according to a first embodiment of the present invention. The reading device 1 is a device that can acquire barcode information stored in a barcode by reading the barcode attached to the product. The reading device 1 is used for a POS (Point of Sales) system, for example. In the present embodiment, the reading target of the reading device 1 may be a one-dimensional code such as a bar code or a two-dimensional code such as a QR code (registered trademark). The reading device 1 can perform data communication with a server 19 that stores bar code information and product information in association with each other.

読み取り装置1は、画像取得部2と、制御部7と、記憶部3と、表示部4と、入力部5と、通信部6とを備える。画像取得部2、記憶部3、表示部4、入力部5および通信部6は、制御部7と電気的に接続され、一方向および双方向のいずれかの方向に情報を伝送することができるように構成される。具体的には、画像取得部2は画像取得制御回路14によって制御部7に接続され、記憶部3は記憶制御回路15によって制御部7に接続され、表示部4は表示制御回路16によって制御部7に接続され、入力部5は入力制御回路17によって制御部7に接続され、通信部6は通信制御回路18によって制御部7に接続される。   The reading device 1 includes an image acquisition unit 2, a control unit 7, a storage unit 3, a display unit 4, an input unit 5, and a communication unit 6. The image acquisition unit 2, the storage unit 3, the display unit 4, the input unit 5, and the communication unit 6 are electrically connected to the control unit 7 and can transmit information in one direction or both directions. Configured as follows. Specifically, the image acquisition unit 2 is connected to the control unit 7 by the image acquisition control circuit 14, the storage unit 3 is connected to the control unit 7 by the storage control circuit 15, and the display unit 4 is controlled by the display control circuit 16. 7, the input unit 5 is connected to the control unit 7 by the input control circuit 17, and the communication unit 6 is connected to the control unit 7 by the communication control circuit 18.

画像取得部2は、撮像レンズと電荷結合素子(Charge Coupled Device:CCD)イメージセンサまたは相補形金属酸化膜半導体(Complementary metal−Oxide Semiconductor:CMOS)イメージセンサなどの撮像素子とを含んで構成される。画像取得部2は、読み取り可能範囲内に存在する商品を撮影して画像データを取得し、取得した画像データを、画像取得制御回路14を介して制御部7に伝送する。   The image acquisition unit 2 includes an imaging lens and an imaging device such as a charge coupled device (CCD) image sensor or a complementary metal-oxide semiconductor (CMOS) image sensor. . The image acquisition unit 2 acquires the image data by photographing the product existing within the readable range, and transmits the acquired image data to the control unit 7 via the image acquisition control circuit 14.

制御部7は、読み取り装置1に含まれる各構成部を制御する。制御部7には、中央演算処理装置(Central Processing Unit:CPU)およびリードオンリーメモリ(Read Only Memory:ROM)が含まれる。また制御部7には、矩形画像抽出部8と、バーコード判断部10を含む画像解析部9と、バーコード画像作成部11と、画像位置特定部12と、タッチ位置特定部13とが含まれる。   The control unit 7 controls each component included in the reading device 1. The control unit 7 includes a central processing unit (CPU) and a read only memory (ROM). The control unit 7 includes a rectangular image extraction unit 8, an image analysis unit 9 including a barcode determination unit 10, a barcode image creation unit 11, an image position specification unit 12, and a touch position specification unit 13. It is.

CPUは、たとえばマイクロコンピュータによって実現され、ROMに記憶される動作プログラムに基づいて、画像取得部2、矩形画像抽出部8、バーコード判断部10、画像解析部9、バーコード画像作成部11と、画像位置特定部12と、タッチ位置特定部13、通信部6、記憶部3、表示部4および入力部5を制御する。   The CPU is realized by a microcomputer, for example, and based on an operation program stored in the ROM, the image acquisition unit 2, the rectangular image extraction unit 8, the barcode determination unit 10, the image analysis unit 9, the barcode image creation unit 11, The image position specifying unit 12, the touch position specifying unit 13, the communication unit 6, the storage unit 3, the display unit 4, and the input unit 5 are controlled.

矩形画像抽出部8は、画像取得部2で取得した画像データから矩形画像データを抽出する。その方法としては、まず、取得された画像データに平滑化フィルタをかけ、画像データをぼやけた状態にする。その後、その画像データから島状の塊(同じ色が集中している箇所)の位置を抽出する。抽出した島状の塊の位置付近において、フィルタをかける前の画像データにて直線が存在すれば、その直線を検出する(エッジ抽出)。検出した直線と直角に伸びる島状の塊の範囲を抽出することによって、画像データから矩形画像データを抽出する。画像データから抽出された矩形画像データは、一時的にリストアップされる。   The rectangular image extraction unit 8 extracts rectangular image data from the image data acquired by the image acquisition unit 2. As the method, first, a smoothing filter is applied to the acquired image data to make the image data blurred. After that, the position of the island-like chunk (location where the same color is concentrated) is extracted from the image data. If there is a straight line in the image data before applying the filter in the vicinity of the extracted island-shaped lump position, the straight line is detected (edge extraction). The rectangular image data is extracted from the image data by extracting a range of island-shaped chunks extending at right angles to the detected straight line. The rectangular image data extracted from the image data is temporarily listed.

バーコード判断部10は、矩形画像抽出部8で抽出した矩形画像データがバーコードを示す画像データかどうか判断し、画像解析部9は、バーコード判断部10でバーコードを示す画像データであると判断された矩形画像データから、数値または文字の少なくともいずれか一方で示されるバーコード情報に変換する。バーコード情報は、さらに記号を含んでいてもよい。   The barcode determination unit 10 determines whether the rectangular image data extracted by the rectangular image extraction unit 8 is image data indicating a barcode, and the image analysis unit 9 is image data indicating a barcode by the barcode determination unit 10. The rectangular image data determined to be converted into barcode information indicated by at least one of numerical values and characters. The barcode information may further include a symbol.

矩形画像抽出部8で抽出した矩形画像データがバーコードを示す画像データかどうかの判断は、矩形画像データに含まれるバーに基づいて、矩形画像データをコード化し、そのコードのバターンがバーコードのパターンに合っているかどうかなどを判断するパリティチェックによって行う。バーコード判断部10が、一次元コードおよび二次元コードも判断できる場合には、まず、矩形画像抽出部8で抽出した矩形画像データが一次元コードでコード化されたデータであるか判断し、一次元コードでコード化されたデータではなかった場合、二次元コードでコード化されたデータであるか判断する。   Whether the rectangular image data extracted by the rectangular image extraction unit 8 is image data indicating a barcode is determined by coding the rectangular image data based on the bar included in the rectangular image data, and the code pattern is the barcode. This is done by a parity check that determines whether the pattern matches. When the barcode determination unit 10 can also determine a one-dimensional code and a two-dimensional code, first, it is determined whether the rectangular image data extracted by the rectangular image extraction unit 8 is data encoded with a one-dimensional code, If the data is not coded with a one-dimensional code, it is determined whether the data is coded with a two-dimensional code.

バーコード画像作成部11は、画像解析部9で変換されたバーコード情報の数値または文字に対応するバーを、バーコード情報の数値および文字の順に配置することでバーコード画像を作成する。なお、バーコード画像は、予め作成されたバーコード画像の中から選択されてもよい。   The barcode image creation unit 11 creates a barcode image by arranging the bar corresponding to the numeric value or character of the barcode information converted by the image analysis unit 9 in the order of the numeric value and the character of the barcode information. The barcode image may be selected from previously created barcode images.

画像位置特定部12は、画像取得部2で取得した画像データにおける、バーコード判断部10によってバーコードを示す画像データであると判断された矩形画像データの位置を特定する。画像位置特定部12は、画像データにおいて、バーコード判断部10によってバーコードを示す画像データであると判断された矩形の図心座標を2次元位置にて特定する。   The image position specifying unit 12 specifies the position of the rectangular image data determined by the bar code determination unit 10 as image data indicating a bar code in the image data acquired by the image acquisition unit 2. The image position specifying unit 12 specifies a rectangular centroid coordinate determined by the barcode determining unit 10 as image data indicating a barcode in a two-dimensional position in the image data.

タッチ位置特定部13は、入力部5である後述のタッチパネルにおいてタッチされた部分の位置を特定する。   The touch position specifying unit 13 specifies the position of the touched portion on the touch panel described later, which is the input unit 5.

通信部6は、画像解析部9で変換されたバーコード情報をサーバ19に送信する。サーバ19には、たとえば図2に示すようなデータ構造のテーブル25を含むデータベースが備えられる。図2は、サーバ19に備えられるデータベースを示すテーブル25である。サーバ19は、読み取り装置1から受信したバーコード情報に基づきデータベースを検索する。このデータベースには、バーコード情報25aに対して、商品情報であるメーカー名25b、商品名25cおよび値段25dが対応付けられている。受信したバーコード情報と合致するバーコード情報25aが検出されれば、そのバーコード情報25aに対応付けられた商品情報を通信部6に送信する。データベースに合致するバーコード情報が検出されなければ、通信部6にエラーを送信する。
通信部6は、サーバ19から送信された商品情報を受信する。
The communication unit 6 transmits the barcode information converted by the image analysis unit 9 to the server 19. The server 19 is provided with a database including a table 25 having a data structure as shown in FIG. FIG. 2 is a table 25 showing a database provided in the server 19. The server 19 searches the database based on the barcode information received from the reading device 1. In this database, the manufacturer information 25b, the product name 25c, and the price 25d, which are product information, are associated with the barcode information 25a. When the barcode information 25a that matches the received barcode information is detected, the product information associated with the barcode information 25a is transmitted to the communication unit 6. If no barcode information matching the database is detected, an error is transmitted to the communication unit 6.
The communication unit 6 receives the product information transmitted from the server 19.

記憶部3は、画像取得部2で取得した画像データと、画像解析部9で変換されたバーコード情報と、サーバ19から受信した商品情報と、バーコード画像作成部11で作成されたバーコード画像と、画像位置特定部12で特定された矩形画像データの位置を記憶する。   The storage unit 3 includes the image data acquired by the image acquisition unit 2, the barcode information converted by the image analysis unit 9, the product information received from the server 19, and the barcode generated by the barcode image creation unit 11. The image and the position of the rectangular image data specified by the image position specifying unit 12 are stored.

表示部4は、記憶部3に記憶された、画像データ、商品情報およびバーコード画像、ならびに後述する「終了」アイコンを表示する。表示部4は、たとえばカラー表示可能な半透過半反射型液晶表示素子によって実現される。なお、表示部4は、カラー表示または白黒表示可能な透過型液晶表示素子、反射型液晶表示素子、エレクトロルミネッセンス(Electro Luminescence:略称EL)素子および白黒表示可能な半透過半反射型液晶表示素子のうちいずれか1つによって実現されてもよい。   The display unit 4 displays image data, product information, a barcode image, and an “end” icon, which will be described later, stored in the storage unit 3. The display unit 4 is realized by a transflective liquid crystal display element capable of color display, for example. The display unit 4 includes a transmissive liquid crystal display element capable of color display or monochrome display, a reflective liquid crystal display element, an electroluminescence (electroluminescence) element, and a transflective liquid crystal display element capable of monochrome display. It may be realized by any one of them.

入力部5は、表示部4に表示された商品情報から、所望の商品情報を選択する。本実施形態において、入力部5は、表示部4に重ねて配置されたタッチパネルである。   The input unit 5 selects desired product information from the product information displayed on the display unit 4. In the present embodiment, the input unit 5 is a touch panel arranged on the display unit 4.

図3は、読み取り装置1によるバーコード読み取り処理の手順を示すフローチャートである。操作者が、商品に付記されたバーコードを読み取る準備ができたら、ステップS1に進む。
ステップS1では、画像取得部2が、商品を撮影して画像データを取得する。
FIG. 3 is a flowchart illustrating a procedure of barcode reading processing by the reading device 1. When the operator is ready to read the bar code attached to the product, the process proceeds to step S1.
In step S1, the image acquisition unit 2 captures the product and acquires image data.

ステップS2では、制御部7が、画像取得部2が取得した画像データを記憶部3に記憶させる。   In step S <b> 2, the control unit 7 stores the image data acquired by the image acquisition unit 2 in the storage unit 3.

ステップS3では、矩形画像抽出部8が、画像取得部2が取得した画像データから矩形画像データを抽出する。また、本ステップでは、画像位置特定部12が、抽出されたすべての矩形画像データの位置を仮に特定し、記憶部3が記録する。   In step S <b> 3, the rectangular image extraction unit 8 extracts rectangular image data from the image data acquired by the image acquisition unit 2. In this step, the image position specifying unit 12 temporarily specifies the positions of all the extracted rectangular image data, and the storage unit 3 records them.

ステップS4では、バーコード判断部10が、矩形画像抽出部8で抽出した矩形画像データがバーコードを示す画像データであるか判断する。バーコードを示す画像データであると判断された場合、ステップS5に進み、そうでない場合はステップS10に進む。   In step S4, the barcode determination unit 10 determines whether the rectangular image data extracted by the rectangular image extraction unit 8 is image data indicating a barcode. If it is determined that the image data indicates a barcode, the process proceeds to step S5, and if not, the process proceeds to step S10.

ステップS5では、画像解析部9が、ステップS4でバーコードを示す画像データであると判断された矩形画像データから、数値または文字の少なくともいずれか一方で示されるバーコード情報に変換する。   In step S5, the image analysis unit 9 converts the rectangular image data determined as the image data indicating the barcode in step S4 into the barcode information indicated by at least one of numerical values and characters.

ステップS6では、バーコード画像作成部11が、ステップS5で変換されたバーコード情報からバーコード画像を作成する。   In step S6, the barcode image creation unit 11 creates a barcode image from the barcode information converted in step S5.

ステップS7では、ステップS5で変換されたバーコード情報をサーバ19に送信する。サーバ19からは、後述する図5のフローチャートにて示すように、商品情報またはエラーが送信される。商品情報が送信された場合は、ステップS8に進み、エラーが送信された場合には、ステップS11に進む。   In step S7, the bar code information converted in step S5 is transmitted to the server 19. Product information or an error is transmitted from the server 19 as shown in the flowchart of FIG. If the product information is transmitted, the process proceeds to step S8, and if the error is transmitted, the process proceeds to step S11.

ステップS8では、通信部6がサーバ19から商品情報を受信する。
ステップS11では、通信部6がサーバ19からエラーを受信する。
In step S <b> 8, the communication unit 6 receives product information from the server 19.
In step S <b> 11, the communication unit 6 receives an error from the server 19.

ステップS9では、記憶部3が、ステップS6で作成されたバーコード画像、ステップS8で受信した商品情報、および画像位置特定部12で特定された矩形画像データの位置(画像位置)を記憶する。すなわち、本ステップでは、バーコードを示す画像データであると判断された矩形画像データの位置が確定される。   In step S9, the storage unit 3 stores the barcode image created in step S6, the product information received in step S8, and the position (image position) of the rectangular image data specified by the image position specifying unit 12. That is, in this step, the position of the rectangular image data determined to be image data indicating a barcode is determined.

ステップS10で、制御部7が、矩形画像抽出部8で抽出した全ての矩形画像データにおいて、ステップS4〜S9またはステップS4〜S7,S11の処理を行ったかどうか判断する。全ての矩形画像データにおいて、ステップS4〜S9またはステップS4〜S7,S11の処理を行った場合は、ステップS12に進み、そうでない場合はステップS4に進み、次の矩形画像データの処理を行う。なお、次に処理を行う順番は、ステップS3において一時的にリストアップされた順で行われる。   In step S10, the control unit 7 determines whether or not the processing of steps S4 to S9 or steps S4 to S7 and S11 has been performed on all the rectangular image data extracted by the rectangular image extraction unit 8. If the processing of steps S4 to S9 or steps S4 to S7 and S11 is performed on all the rectangular image data, the process proceeds to step S12. Otherwise, the process proceeds to step S4, and the next rectangular image data is processed. Note that the next processing order is the order temporarily listed in step S3.

ステップS12では、制御部7が、ステップS2で取得された画像データに、ステップS4でバーコードを示す画像データであると判断された矩形画像データが複数含まれるかどうか判断する。矩形画像データが複数含まれる場合、ステップS13に進み、そうでない場合、ステップS18に進む。   In step S12, the control unit 7 determines whether or not the image data acquired in step S2 includes a plurality of rectangular image data determined to be image data indicating a barcode in step S4. If a plurality of pieces of rectangular image data are included, the process proceeds to step S13, and if not, the process proceeds to step S18.

ステップS13では、制御部7が、記憶部3に記憶された、画像データ、複数のバーコード画像および複数の商品情報を表示部4に表示する。表示部4には、たとえば図4に示すような画像が表示される。図4は、ステップS13で表示部4に表示される画像を示す図面である。図4に示すように、表示部4には、画像データ32および複数のバーコード画像30が表示されており、複数のバーコード画像30が、画像データ32に写っているバーコードにそれぞれ重ね合わされて表示される。バーコード画像は、画像データ32に写っているバーコードの向きにかかわらず、全て一定の向きに表示する。   In step S <b> 13, the control unit 7 displays the image data, the plurality of barcode images, and the plurality of product information stored in the storage unit 3 on the display unit 4. For example, an image as shown in FIG. 4 is displayed on the display unit 4. FIG. 4 is a diagram showing an image displayed on the display unit 4 in step S13. As shown in FIG. 4, image data 32 and a plurality of barcode images 30 are displayed on the display unit 4, and the plurality of barcode images 30 are respectively superimposed on the barcodes reflected in the image data 32. Displayed. All barcode images are displayed in a fixed direction regardless of the orientation of the barcode reflected in the image data 32.

また、表示部4には、複数の商品情報31が、その商品情報31に対応するバーコード画像30の近傍にそれぞれ表示される。これによって、表示部4に表示された商品情報31から、所望の商品情報31をより選択しやすくすることができる。さらに、表示部4には、「終了」アイコンが表示される。   The display unit 4 displays a plurality of product information 31 in the vicinity of the barcode image 30 corresponding to the product information 31. This makes it easier to select desired product information 31 from the product information 31 displayed on the display unit 4. Furthermore, an “end” icon is displayed on the display unit 4.

ステップS14では、タッチ位置特定部13が、操作者によってタッチパネルがタッチされた位置を特定することで、タッチパネルがタッチされたかどうか判断する。タッチパネルがタッチされたと判断された場合、ステップS15に進む。   In step S14, the touch position specifying unit 13 determines whether the touch panel has been touched by specifying the position where the touch panel is touched by the operator. If it is determined that the touch panel has been touched, the process proceeds to step S15.

ステップS15では、制御部7が、ステップS14で操作者によってタッチされた部分がバーコード画像30に対応する部分であるかどうか判断する。タッチされた部分がバーコード画像30に対応する部分であると判断された場合、ステップS16に進み、そうでない場合、ステップS17に進む。   In step S <b> 15, the control unit 7 determines whether or not the portion touched by the operator in step S <b> 14 is a portion corresponding to the barcode image 30. If it is determined that the touched portion is a portion corresponding to the barcode image 30, the process proceeds to step S16. Otherwise, the process proceeds to step S17.

ステップS16では、制御部7が、ステップS15でタッチされることで選択されたバーコード画像30に対応する商品情報を、読み取り結果として確定する。その後、ステップS14に戻る。   In step S16, the control unit 7 determines the product information corresponding to the barcode image 30 selected by being touched in step S15 as a reading result. Then, it returns to step S14.

ステップS17では、制御部7が、ステップS15でタッチされた部分が「終了」アイコンであるかどうか判断する。「終了」アイコンであると判断された場合、バーコード読み取り処理の終了となり、そうでない場合、ステップS14に戻る。   In step S17, the control unit 7 determines whether or not the portion touched in step S15 is an “end” icon. If it is determined that the icon is an “end” icon, the barcode reading process ends, and if not, the process returns to step S14.

ステップS18では、制御部7が、ステップS2で取得された画像データに、ステップS4でバーコードを示す画像データであると判断された矩形画像データが1つだけ含まれるかどうか判断する。矩形画像データが1つだけ含まれる場合、ステップS19に進み、そうでない場合、バーコード読み取り処理の終了となる。   In step S18, the control unit 7 determines whether or not the image data acquired in step S2 includes only one piece of rectangular image data determined to be image data indicating a barcode in step S4. If only one piece of rectangular image data is included, the process proceeds to step S19. Otherwise, the barcode reading process ends.

ステップS19では、制御部7が、記憶部3に記憶された商品情報を読み取り結果として確定し、バーコード読み取り処理の終了となる。このように、読み取り可能範囲内に存在するバーコードが1つのみの場合、操作者はバーコード読み取り装置を操作することなく、目的のバーコードを読み取ることができる。   In step S19, the control unit 7 determines the product information stored in the storage unit 3 as a reading result, and the barcode reading process ends. Thus, when only one barcode exists within the readable range, the operator can read the target barcode without operating the barcode reader.

図5は、図3に示すステップS7で送信されたバーコード情報を受信したサーバ19の処理の手順を示すフローチャートである。   FIG. 5 is a flowchart showing a processing procedure of the server 19 that has received the barcode information transmitted in step S7 shown in FIG.

ステップS21では、バーコード情報を受信する。
ステップS22では、ステップS21で受信したバーコード情報に基づき、データベースを検索する。
In step S21, barcode information is received.
In step S22, the database is searched based on the barcode information received in step S21.

ステップS23では、データベースに合致するバーコード情報が検出されたかどうか判断する。データベースに合致するバーコード情報が検出された場合、ステップS24に進み、そうでない場合、ステップS26に進む。   In step S23, it is determined whether barcode information matching the database has been detected. If barcode information matching the database is detected, the process proceeds to step S24, and if not, the process proceeds to step S26.

ステップS24では、バーコード情報に対応付けて記憶されている商品情報を取得する。   In step S24, the product information stored in association with the barcode information is acquired.

ステップS25では、ステップS24で取得した商品情報を、読み取り装置1の通信部6に送信する。これによって、サーバ19の処理は終了となる。   In step S25, the product information acquired in step S24 is transmitted to the communication unit 6 of the reading device 1. As a result, the processing of the server 19 ends.

ステップS26では、読み取り装置1の通信部6にエラーを送信する。これによって、サーバ19の処理は終了となる。   In step S26, an error is transmitted to the communication unit 6 of the reading device 1. As a result, the processing of the server 19 ends.

以上のようなバーコード読み取り処理を行うバーコード読み取り装置1であれば、読み取り可能範囲内に複数のバーコードが存在しても読み取り不可になることなく、また、読み取り可能範囲内の複数のバーコードのうちの1つが勝手に選択されることもない。そして、表示部4に複数の商品情報が表示されるので、操作者は簡単に所望の商品情報を選択することができる。したがって、簡単な操作で、読み取り可能範囲内に存在する複数のバーコードの中から目的のバーコードを読み取ることができる。   With the barcode reading apparatus 1 that performs the barcode reading process as described above, even if a plurality of barcodes exist within the readable range, the barcode is not disabled, and a plurality of barcodes within the readable range are also present. One of the codes is not selected arbitrarily. And since several goods information is displayed on the display part 4, the operator can select desired goods information easily. Therefore, the target barcode can be read from a plurality of barcodes existing within the readable range by a simple operation.

図6は、本発明の第2の実施形態であるバーコード読み取り装置(以下単に「読み取り装置」と呼ぶ場合がある)50の構成を示すブロック図である。   FIG. 6 is a block diagram showing a configuration of a barcode reading apparatus (hereinafter sometimes simply referred to as “reading apparatus”) 50 according to the second embodiment of the present invention.

読み取り装置50は、画像取得部2と、制御部58と、記憶部3と、表示部4と、入力部52と、通信部6とを備える。画像取得部2、記憶部3、表示部4および通信部6の構成は、図1に示す読み取り装置1と同じ構成であり、記載を省略する。   The reading device 50 includes an image acquisition unit 2, a control unit 58, a storage unit 3, a display unit 4, an input unit 52, and a communication unit 6. The configurations of the image acquisition unit 2, the storage unit 3, the display unit 4, and the communication unit 6 are the same as those of the reading device 1 shown in FIG.

制御部58は、矩形画像抽出部8と、画像解析部9と、画像距離検出部51とを含む。矩形画像抽出部8および画像解析部9の構成は、図1に示す読み取り装置1と同じ構成である。画像距離検出部51は、画像取得部2で取得した画像データにおいて、その画像データの中心から、バーコード判断部10によってバーコードを示す画像データであると判断された矩形画像データまでの距離(画像距離)を検出する。   The control unit 58 includes a rectangular image extraction unit 8, an image analysis unit 9, and an image distance detection unit 51. The configurations of the rectangular image extraction unit 8 and the image analysis unit 9 are the same as those of the reading device 1 shown in FIG. In the image data acquired by the image acquisition unit 2, the image distance detection unit 51 is a distance (from the center of the image data to the rectangular image data determined by the barcode determination unit 10 as image data indicating a barcode ( Image distance) is detected.

入力部52は、制御部58に指示を与える数値情報を入力するためのボタン入力部54、および制御部58に指示を与える数値情報、文字情報および支持情報などを入力するためのキー入力部55を含んで構成される。入力部52は、操作者がボタン入力部54およびキー入力部55を操作することによって、数値情報、文字情報および指示情報に対応する指示信号を制御部58に伝送する。ボタン入力部54は、たとえばテンキーによって実現され、キー入力部55は、たとえばスクロールキーおよび選択キーを含むキーボードによって実現される。入力部52は、入力制御回路53によって制御部58に接続されている。入力制御回路53は、ボタン制御回路56とキー制御回路57とを含み、ボタン制御回路56は、ボタン入力部54を制御部58に接続する。キー制御回路57は、キー入力部55を制御部58に接続する。   The input unit 52 includes a button input unit 54 for inputting numerical information giving instructions to the control unit 58, and a key input unit 55 for inputting numerical information, character information, support information, and the like giving instructions to the control unit 58. It is comprised including. The input unit 52 transmits an instruction signal corresponding to numerical information, character information, and instruction information to the control unit 58 when the operator operates the button input unit 54 and the key input unit 55. The button input unit 54 is realized by a numeric keypad, for example, and the key input unit 55 is realized by a keyboard including a scroll key and a selection key, for example. The input unit 52 is connected to the control unit 58 by the input control circuit 53. The input control circuit 53 includes a button control circuit 56 and a key control circuit 57, and the button control circuit 56 connects the button input unit 54 to the control unit 58. The key control circuit 57 connects the key input unit 55 to the control unit 58.

図7は、読み取り装置50によるバーコード読み取り処理の手順を示すフローチャートである。操作者が、商品に付記されたバーコードを読み取る準備ができたら、ステップS31に進む。以下、図3に示すフローチャートと同じ処理を行うステップは記載を省略する。   FIG. 7 is a flowchart showing the procedure of barcode reading processing by the reading device 50. When the operator is ready to read the bar code attached to the product, the process proceeds to step S31. Hereinafter, description of the steps for performing the same processing as the flowchart shown in FIG. 3 is omitted.

ステップS31〜35は、ステップS1〜S5と同様である。ステップS36,37は、ステップS7,8と同様である。なお、ステップS33では、画像距離検出部51が、本ステップで抽出されたすべての矩形画像データの画像距離を仮に検出し、記憶部3が記憶する。   Steps S31 to S35 are the same as steps S1 to S5. Steps S36 and 37 are the same as steps S7 and S8. In step S33, the image distance detection unit 51 temporarily detects the image distances of all the rectangular image data extracted in this step, and the storage unit 3 stores them.

ステップS38では、記憶部3が、ステップS37で受信した商品情報、および画像距離検出部51で検出した画像距離を記憶する。すなわち、本ステップで、バーコードを示す画像データであると判断された矩形画像の画像距離が確定される。   In step S <b> 38, the storage unit 3 stores the product information received in step S <b> 37 and the image distance detected by the image distance detection unit 51. That is, in this step, the image distance of the rectangular image determined to be the image data indicating the barcode is determined.

ステップS39〜41は、ステップS10〜12と同様である。
ステップS42では、記憶部3が、ステップ34でバーコードを示す画像データであると判断された矩形画像データを、画像距離の短い順に記憶する。その方法としては、制御部58が、記憶部3に記憶されている画像距離を短い順に抽出し、それを記憶部3が記憶していくことによって行う。
Steps S39-41 are the same as steps S10-12.
In step S <b> 42, the storage unit 3 stores the rectangular image data determined to be the image data indicating the barcode in step 34 in the ascending order of the image distance. As the method, the control unit 58 extracts the image distances stored in the storage unit 3 in the shortest order, and the storage unit 3 stores them.

ステップS43では、図8に示すように、ステップS42で記憶された順に、複数の商品情報を表示部4にリストアップする。図8は、ステップS13で表示部4に表示される画像を示す図面である。図4に示すように、表示部4には、画像距離の短い順に上から、画像距離の近い順を示す数値、商品情報60およびアイコン61が表示されている。   In step S43, as shown in FIG. 8, a plurality of product information is listed on the display unit 4 in the order stored in step S42. FIG. 8 is a diagram showing an image displayed on the display unit 4 in step S13. As shown in FIG. 4, the display unit 4 displays numerical values, product information 60, and icons 61 indicating the order of image distance from the top in ascending order of image distance.

ステップS44では、制御部58が、商品情報が選択されたかどうか判断する。商品情報は、テンキーで画像距離の近い順を示す数値を押すことによって選択される。またはスクロールキーによってアイコン61を動かし、選択キーを押すことによって選択される。商品情報が選択されれば、ステップS45に進む。なお、本実施形態においても、入力部52は第1実施形態と同様にタッチパネルであってもよい。   In step S44, the control unit 58 determines whether or not product information has been selected. The product information is selected by pressing a numerical value indicating the order in which the image distances are close with the numeric keypad. Alternatively, the icon 61 is moved by the scroll key and selected by pressing the selection key. If product information is selected, the process proceeds to step S45. In the present embodiment, the input unit 52 may be a touch panel as in the first embodiment.

ステップS45では、ステップS44で選択された商品情報を読み取り結果として確定する。これによって、読み取り装置50のバーコード読み取り処理は終了となる。
ステップS46,47は、ステップS18,19と同様である。
In step S45, the product information selected in step S44 is confirmed as a reading result. Thereby, the barcode reading process of the reading device 50 is completed.
Steps S46 and 47 are the same as steps S18 and S19.

以上のようなバーコード読み取り装置50において、制御部58は、画像取得部2で取得した画像データに、バーコード判断部10でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像距離検出部51で検出された画像距離が短い順に、記憶部3に記憶された複数の商品情報を表示部4にリスト表示する。   In the barcode reading apparatus 50 as described above, the control unit 58 includes a plurality of rectangular image data determined by the barcode determination unit 10 as image data indicating a barcode in the image data acquired by the image acquisition unit 2. If included, a plurality of product information stored in the storage unit 3 is displayed in a list on the display unit 4 in order of increasing image distance detected by the image distance detection unit 51.

バーコード読み取り装置50の操作者が読み取らせたい目的のバーコードは、画像データの中央で撮影されている可能性が高い。画像データの中心からの距離が近い順に商品情報をリスト表示することによって、読み取りたいバーコードに対応する商品情報を、容易に見つけることができる。したがって、簡単な操作で、読み取り可能範囲内に存在する複数のバーコードの中から目的のバーコードを読み取ることができる。   There is a high possibility that the target barcode that the operator of the barcode reader 50 wants to read is captured at the center of the image data. By displaying the product information as a list in order of increasing distance from the center of the image data, product information corresponding to the barcode to be read can be easily found. Therefore, the target barcode can be read from a plurality of barcodes existing within the readable range by a simple operation.

1,50 バーコード読み取り装置
2 画像取得部
3 記憶部
4 表示部
5,52 入力部
6 通信部
7,58 制御部
8 矩形画像抽出部
9 画像解析部
10 バーコード判断部
14 画像取得制御回路
15 記憶制御回路
16 表示制御回路
17 入力制御回路
18 通信制御回路
51 画像距離検出部
54 ボタン入力部
55 キー入力部
56 ボタン制御回路
57 キー制御回路
DESCRIPTION OF SYMBOLS 1,50 Barcode reader 2 Image acquisition part 3 Storage | storage part 4 Display part 5,52 Input part 6 Communication part 7,58 Control part 8 Rectangular image extraction part 9 Image analysis part 10 Barcode judgment part 14 Image acquisition control circuit 15 Memory control circuit 16 Display control circuit 17 Input control circuit 18 Communication control circuit 51 Image distance detection unit 54 Button input unit 55 Key input unit 56 Button control circuit 57 Key control circuit

Claims (5)

バーコード情報と商品情報とが対応付けられて記憶されるサーバとデータ通信可能なバーコード読み取り装置であって、
商品を撮影して画像データを取得する画像取得部と、
画像取得部で取得した画像データから矩形画像データを抽出する矩形画像抽出部と、
矩形画像抽出部で抽出した矩形画像データがバーコードを示す画像データかどうか判断するバーコード判断部を含み、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データから、数値または文字の少なくともいずれか一方で示されるバーコード情報に変換する画像解析部と、
前記バーコード情報をサーバに送信し、送信したバーコード情報に対応付けられた商品情報をサーバから受信する通信部と、
サーバから受信した商品情報を記憶する記憶部と、
記憶部に記憶された商品情報を表示する表示部と、
表示部に表示された商品情報から、所望の商品情報を選択する入力部と、
画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれるか複数含まれるか判断し、複数含まれる場合、記憶部に記憶された複数の商品情報を表示部に表示し、入力部によって商品情報が選択されると、選択された商品情報を読み取り結果として確定するよう制御する制御部と、を備えることを特徴とするバーコード読み取り装置。
A barcode reader capable of data communication with a server in which barcode information and product information are stored in association with each other,
An image acquisition unit that captures image data by photographing a product;
A rectangular image extraction unit that extracts rectangular image data from the image data acquired by the image acquisition unit;
From the rectangular image data determined to be the image data indicating the barcode by the barcode determination unit, including a barcode determination unit that determines whether the rectangular image data extracted by the rectangular image extraction unit is image data indicating a barcode, An image analysis unit that converts the barcode information indicated by at least one of a numerical value and a character;
A communication unit that transmits the barcode information to a server and receives product information associated with the transmitted barcode information from the server;
A storage unit for storing product information received from the server;
A display unit for displaying product information stored in the storage unit;
An input unit for selecting desired product information from the product information displayed on the display unit;
It is determined whether the image data acquired by the image acquisition unit includes only one rectangular image data or a plurality of rectangular image data determined as image data indicating a barcode by the barcode determination unit. A plurality of product information stored in the display unit, and when the product information is selected by the input unit, the control unit controls to confirm the selected product information as a read result. Bar code reader.
制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが1つのみ含まれる場合、記憶部に記憶された1つの商品情報を表示部に表示することなく読み取り結果として確定することを特徴とする請求項1に記載のバーコード読み取り装置。   When the image data acquired by the image acquisition unit includes only one piece of rectangular image data that is determined to be image data indicating a barcode by the barcode determination unit, the control unit stores one image stored in the storage unit. The barcode reading apparatus according to claim 1, wherein the product information is determined as a reading result without being displayed on the display unit. 入力部が、表示部に重ねて配置されたタッチパネルであり、
画像解析部で変換されたバーコード情報からバーコード画像を作成するバーコード画像作成部と、
画像取得部で取得した画像データにおける、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データの位置を特定する画像位置特定部と、をさらに備え、
制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像位置特定部で特定された矩形画像データの位置に基づいて、画像取得部で取得した画像データに、前記バーコード画像を重ね合わせて表示部に表示し、
表示部に表示されたバーコード画像に対応するタッチパネルの部分がタッチされることで商品情報が選択されると、選択された商品情報を読み取り結果として確定することを特徴とする請求項1に記載のバーコード読み取り装置。
The input unit is a touch panel placed on the display unit,
A barcode image creation unit that creates a barcode image from the barcode information converted by the image analysis unit;
An image position specifying unit that specifies the position of the rectangular image data determined to be image data indicating a barcode by the barcode determination unit in the image data acquired by the image acquisition unit;
The control unit, when the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined to be image data indicating a barcode by the barcode determination unit, the rectangular image specified by the image position specifying unit Based on the position of the data, the barcode image is superimposed on the image data acquired by the image acquisition unit and displayed on the display unit,
The product information is selected and confirmed as a result of reading when product information is selected by touching a portion of the touch panel corresponding to the barcode image displayed on the display unit. Bar code reader.
制御部は、画像位置特定部で特定された矩形画像データの位置に基づいて、前記バーコード画像が重ね合わせて表示された前記画像データにおいて、記憶部に記憶された複数の商品情報を、その商品情報に対応する前記バーコード画像の近傍にそれぞれ表示することを特徴とする請求項3に記載のバーコード読み取り装置。   The control unit, based on the position of the rectangular image data specified by the image position specifying unit, in the image data displayed by overlaying the barcode image, a plurality of product information stored in the storage unit, The barcode reading apparatus according to claim 3, wherein the barcode reading device displays each in the vicinity of the barcode image corresponding to the product information. 画像取得部で取得した画像データにおいて、その画像データの中心から、バーコード判断部によってバーコードを示す画像データであると判断された矩形画像データまでの距離を検出する画像距離検出部をさらに備え、
制御部は、画像取得部で取得した画像データに、バーコード判断部でバーコードを示す画像データであると判断された矩形画像データが複数含まれる場合、画像距離検出部で検出された前記距離が短い順に、記憶部に記憶された複数の商品情報を表示部にリスト表示することを特徴とする請求項1または2に記載のバーコード読み取り装置。
The image data acquired by the image acquisition unit further includes an image distance detection unit that detects a distance from the center of the image data to the rectangular image data determined to be the image data indicating the barcode by the barcode determination unit. ,
When the image data acquired by the image acquisition unit includes a plurality of rectangular image data determined by the barcode determination unit as image data indicating a barcode, the control unit detects the distance detected by the image distance detection unit. The barcode reading apparatus according to claim 1 or 2, wherein a plurality of product information stored in the storage unit is displayed in a list on the display unit in ascending order.
JP2011044518A 2011-03-01 2011-03-01 Bar code reader Active JP5613592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011044518A JP5613592B2 (en) 2011-03-01 2011-03-01 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011044518A JP5613592B2 (en) 2011-03-01 2011-03-01 Bar code reader

Publications (2)

Publication Number Publication Date
JP2012181705A true JP2012181705A (en) 2012-09-20
JP5613592B2 JP5613592B2 (en) 2014-10-29

Family

ID=47012847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011044518A Active JP5613592B2 (en) 2011-03-01 2011-03-01 Bar code reader

Country Status (1)

Country Link
JP (1) JP5613592B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015069358A (en) * 2013-09-27 2015-04-13 共同印刷株式会社 Article management system and method
JP2015072586A (en) * 2013-10-02 2015-04-16 共同印刷株式会社 Identification code reading system and method
US10102627B2 (en) 2014-06-03 2018-10-16 Seiko Epson Corporation Head-mounted display device, method of controlling a head-mounted display device, an information transmitting and receiving system, and a non-transitory computer readable medium for augmenting visually recognized outside scenery
JP2019082871A (en) * 2017-10-31 2019-05-30 富士通株式会社 Display control program, display control method, and display control device
JP2019205111A (en) * 2018-05-25 2019-11-28 セイコーエプソン株式会社 Image processing apparatus, robot, and robot system
KR20200040060A (en) * 2018-10-08 2020-04-17 카페24 주식회사 Shipment appropriateness inspection method in shipment standby rack apparatus, shipment standby rack apparatus using said method, and shipment appropriateness inspection system
JP2022002124A (en) * 2012-11-15 2022-01-06 ハンド ヘルド プロダクツ インコーポレーティッド Method for processing multiple decodable indicia
JP7396102B2 (en) 2020-02-19 2023-12-12 日本電気株式会社 Code reading device, code reading method, and code reading program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263585A (en) * 1995-03-24 1996-10-11 Casio Comput Co Ltd Bar code reading device
JP2007034546A (en) * 2005-07-26 2007-02-08 Keyence Corp Optical reader
JP2009193531A (en) * 2008-02-18 2009-08-27 Toshiba Tec Corp Data code reader and commodity registration system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263585A (en) * 1995-03-24 1996-10-11 Casio Comput Co Ltd Bar code reading device
JP2007034546A (en) * 2005-07-26 2007-02-08 Keyence Corp Optical reader
JP2009193531A (en) * 2008-02-18 2009-08-27 Toshiba Tec Corp Data code reader and commodity registration system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022002124A (en) * 2012-11-15 2022-01-06 ハンド ヘルド プロダクツ インコーポレーティッド Method for processing multiple decodable indicia
JP7460728B2 (en) 2012-11-15 2024-04-02 ハンド ヘルド プロダクツ インコーポレーティッド Method for handling large numbers of decodable indicia
JP2023001179A (en) * 2012-11-15 2023-01-04 ハンド ヘルド プロダクツ インコーポレーティッド Method for processing multiple decodable indicia
JP7167279B2 (en) 2012-11-15 2022-11-08 ハンド ヘルド プロダクツ インコーポレーティッド Method for processing multiple decodable indicia
JP2015069358A (en) * 2013-09-27 2015-04-13 共同印刷株式会社 Article management system and method
JP2015072586A (en) * 2013-10-02 2015-04-16 共同印刷株式会社 Identification code reading system and method
US10102627B2 (en) 2014-06-03 2018-10-16 Seiko Epson Corporation Head-mounted display device, method of controlling a head-mounted display device, an information transmitting and receiving system, and a non-transitory computer readable medium for augmenting visually recognized outside scenery
JP2019082871A (en) * 2017-10-31 2019-05-30 富士通株式会社 Display control program, display control method, and display control device
US11712807B2 (en) 2018-05-25 2023-08-01 Seiko Epson Corporation Image processing apparatus, robot and robot system
JP2019205111A (en) * 2018-05-25 2019-11-28 セイコーエプソン株式会社 Image processing apparatus, robot, and robot system
KR102114364B1 (en) * 2018-10-08 2020-05-22 카페24 주식회사 Shipment appropriateness inspection method in shipment standby rack apparatus, shipment standby rack apparatus using said method, and shipment appropriateness inspection system
KR20200040060A (en) * 2018-10-08 2020-04-17 카페24 주식회사 Shipment appropriateness inspection method in shipment standby rack apparatus, shipment standby rack apparatus using said method, and shipment appropriateness inspection system
JP7396102B2 (en) 2020-02-19 2023-12-12 日本電気株式会社 Code reading device, code reading method, and code reading program

Also Published As

Publication number Publication date
JP5613592B2 (en) 2014-10-29

Similar Documents

Publication Publication Date Title
JP5613592B2 (en) Bar code reader
JP4192847B2 (en) Code reader and program
EP3234750B1 (en) Floating soft trigger for touch displays on electronic device
JP4538056B2 (en) Data code reader and product registration system
US10671277B2 (en) Floating soft trigger for touch displays on an electronic device with a scanning module
JP4792421B2 (en) Product sales registration data processing device
JP2006268313A (en) Display controller and arrangement method for display content thereof
JP2002074261A (en) Information code reader
US11321696B2 (en) Commodity registration device with wireless tag reader and optical reading unit
JP2016066290A (en) Commodity display position registration device, communication system and program
EP3301616B1 (en) Slip processing device, slip processing method, and recording medium
JP2011248917A (en) Commodity sales registration data processing device
US20170249616A1 (en) Register system capable of disabling security tags
US9961217B2 (en) Electronic apparatus with instruction reception unit receiving instruction indicated by user and computer-readable medium with program
JP5753759B2 (en) Product reading apparatus and program
JP7468580B2 (en) Terminal device and program
JP4951266B2 (en) Display device, related information display method and program
JP5780219B2 (en) Information terminal and program
CN111046683A (en) Reading apparatus, control method, computer-readable storage medium, and electronic device
JP6114320B2 (en) Code reading learning system
JP2018026025A (en) Code reading device, control program and control method
JP2010176620A (en) Symbol reading device, symbol reading system, and program
US20140201393A1 (en) Image processing apparatus and method
JP2014110024A (en) Display device
JP2012058788A (en) Commodity 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: 20131001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140908

R150 Certificate of patent or registration of utility model

Ref document number: 5613592

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150