[go: up one dir, main page]

JP5808211B2 - Bar code symbol reading apparatus and bar code symbol reading method - Google Patents

Bar code symbol reading apparatus and bar code symbol reading method Download PDF

Info

Publication number
JP5808211B2
JP5808211B2 JP2011212579A JP2011212579A JP5808211B2 JP 5808211 B2 JP5808211 B2 JP 5808211B2 JP 2011212579 A JP2011212579 A JP 2011212579A JP 2011212579 A JP2011212579 A JP 2011212579A JP 5808211 B2 JP5808211 B2 JP 5808211B2
Authority
JP
Japan
Prior art keywords
barcode
reading
decoding
barcode symbol
type determination
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
JP2011212579A
Other languages
Japanese (ja)
Other versions
JP2013073454A (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.)
Idec Auto ID Solutions Co Ltd
Original Assignee
Welcat Inc
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 Welcat Inc filed Critical Welcat Inc
Priority to JP2011212579A priority Critical patent/JP5808211B2/en
Publication of JP2013073454A publication Critical patent/JP2013073454A/en
Application granted granted Critical
Publication of JP5808211B2 publication Critical patent/JP5808211B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、複数のバーコードシンボルを同時に読み取るのに好適なバーコードシンボル読取装置及びバーコードシンボル読取方法に関するものである。   The present invention relates to a barcode symbol reading apparatus and a barcode symbol reading method suitable for simultaneously reading a plurality of barcode symbols.

従来、上記したような複数のバーコードシンボルを同時に読み取る装置としては、例えば、特許文献1に開示されたものがある。
このバーコードシンボル読取装置では、複数のバーコードシンボルが印刷された伝票や商品タグの印刷面を撮影して画像データを取得し、あらかじめ登録されたバーコード位置パターンに重なる画像データをスキャンして、バーコードシンボルとしてデコードするようになっている。
Conventionally, as an apparatus for simultaneously reading a plurality of barcode symbols as described above, there is one disclosed in Patent Document 1, for example.
In this barcode symbol reading device, image data is obtained by photographing the printing surface of a slip or product tag on which a plurality of barcode symbols are printed, and scanning the image data that overlaps a barcode position pattern registered in advance. Decode as a barcode symbol.

特開2004-240874号公報JP 2004-240874 A

ところが、上記した従来のバーコードシンボル読取装置では、バーコード位置パターンをあらかじめ登録する必要があり、すなわち、あらかじめ指定された領域に合致するバーコードシンボルしか読み取ることができず、例えば、伝票のフォームが変更された場合やバーコードシンボルの種別が変わった場合には、その都度、バーコード位置パターンを登録し直さなければならないという問題がある。   However, in the above-described conventional barcode symbol reader, it is necessary to register a barcode position pattern in advance, that is, only barcode symbols that match a predetermined area can be read. There is a problem that the barcode position pattern has to be re-registered each time the symbol is changed or the type of barcode symbol is changed.

加えて、複数のバーコードシンボルを同時に読み取る際の印刷面との読み取り距離や視野を合わせるのが容易ではなく、バーコードシンボルとあらかじめ登録したバーコード位置パターンとの位置ずれによる読み取り失敗が懸念されるという問題を有しており、これらの問題を解決することが従来の課題となっていた。   In addition, it is not easy to match the reading distance and field of view with the printing surface when reading multiple barcode symbols at the same time, and there is a concern about reading failure due to misalignment between the barcode symbol and the barcode position pattern registered in advance. It has been a conventional problem to solve these problems.

本発明は、上記した従来の課題に着目してなされたもので、例えば、複数のバーコードシンボルが印刷された伝票のフォームが変更された場合や、伝票上に一次元バーコードシンボルと二次元バーコードシンボルとが混在して印刷されている場合であったとしても、複数のバーコードシンボルを同時に読み取ることが可能であるバーコードシンボル読取装置及びバーコードシンボル読取方法を提供することを目的としている。   The present invention has been made paying attention to the above-described conventional problems. For example, when the form of a slip on which a plurality of barcode symbols are printed is changed, or when a one-dimensional barcode symbol and two-dimensional are displayed on the slip. To provide a barcode symbol reading apparatus and barcode symbol reading method capable of simultaneously reading a plurality of barcode symbols even when barcode symbols are mixedly printed. Yes.

本発明の請求項1に係る発明は、読み取り対象である複数のバーコードシンボルの画像データを一括撮像する読取部と、この読取部により撮像した画像データを二値データに変換する二値化変換部と、この二値化変換部からの前記二値データに対して膨張処理及び縮退処理を行う膨張縮退処理部と、この膨張縮退処理部からの膨張処理及び縮退処理後の二値データにラベリング処理を行って抽出した複数の画像ブロックからバーコードシンボル領域候補を抽出すると共に、この抽出したバーコードシンボル領域候補の全てに対して前記バーコードシンボルの種別判定及びデータ語の復号を行って、バーコードシンボル領域情報及び復号結果を保持する制御部と、この制御部から出力された前記バーコードシンボルの読み取り結果を表示する表示部を備え、前記制御部は、読み取り対象とした全てのバーコードシンボル領域候補の中で種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補がある場合に、前記読取部により再取得した画像データにおいて、前回の読み取りで種別判定及びデータ語の復号に成功したいずれか一つのバーコードシンボル領域候補に対応する領域を選択して種別判定及びデータ語の復号を行い、前回の読み取り結果と同じ結果が得られたときには、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補に限って前記バーコードシンボルの種別判定及びデータ語の復号を行う構成としたことを特徴としており、このバーコードシンボル読取装置の構成を前述した従来の課題を解決するための手段としている。 According to the first aspect of the present invention, a reading unit that collectively captures image data of a plurality of barcode symbols to be read, and a binarization conversion that converts image data captured by the reading unit into binary data An expansion / reduction processing unit that performs expansion processing and reduction processing on the binary data from the binarization conversion unit, and labeling the binary data after the expansion processing and reduction processing from the expansion / reduction processing unit A barcode symbol region candidate is extracted from a plurality of image blocks extracted by performing processing, and the barcode symbol type determination and data word decoding are performed on all of the extracted barcode symbol region candidates. A control unit that holds the barcode symbol area information and the decoding result, and a table that displays the reading result of the barcode symbol output from the control unit. It includes a section, wherein, when there is a bar code symbol region candidate type determination and decoding of the data word in all of the bar code symbol region candidates and be read is not completed, again by the reading unit In the acquired image data, the region corresponding to any one barcode symbol region candidate that succeeded in the classification determination and the data word decoding in the previous reading is selected, the type determination and the data word decoding are performed, and the previous reading is performed. When the same result as the result is obtained, the bar code symbol type determination and data word decoding are performed only for bar code symbol area candidates whose type determination and data word decoding have not been completed in the previous reading. Means for solving the above-described conventional problems with the configuration of the bar code symbol reader To have.

一方、本発明の請求項に係るバーコードシンボル読取方法は、読み取り対象である複数のバーコードシンボルの画像データを一括撮像し、この画像データに対して二値化処理を施すのに続いて、膨張処理及び縮退処理を行った後、この膨張処理及び縮退処理後の二値データにラベリング処理を行って抽出した複数の画像ブロックからバーコードシンボル領域候補を抽出すると共に、この抽出したバーコードシンボル領域候補の全てに対して前記バーコードシンボルの種別判定及びデータ語の復号を行い、読み取り対象とした全てのバーコードシンボル領域候補の中で種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補がある場合には、再取得した画像データにおいて、前回の読み取りで種別判定及びデータ語の復号に成功した一つのバーコードシンボル領域候補に対応する領域を選択して種別判定及びデータ語の復号を行い、前回の読み取り結果と同じ結果が得られたときには、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補に限って前記バーコードシンボルの種別判定及びデータ語の復号を行う構成としている。 On the other hand, in the barcode symbol reading method according to claim 2 of the present invention, the image data of a plurality of barcode symbols to be read is collectively picked up and binarization processing is performed on the image data. After performing the expansion process and the reduction process, the binary data after the expansion process and the reduction process is subjected to a labeling process to extract barcode symbol region candidates from the extracted image blocks, and the extracted barcode There line determines the type and data words of decoding of the bar code symbol for all symbols region candidate, the type determining and decoding of data words in all of the barcode symbol area candidates and be read is not completed If there is a barcode symbol area candidate, in the re-acquired image data, type determination and data word decoding are performed by the previous reading. Select the area corresponding to one successful barcode symbol area candidate, perform type determination and data word decoding, and if the same result as the previous reading result is obtained, type determination and data word decoding is a type determination and data words of decoding of the bar code symbol only the bar code symbol area candidate which is not completed by the configuration intends row.

本発明に係るバーコードシンボル読取装置において、読取部には、CMOSセンサを使用したカメラ及びA/D変換器で構成されたものを用いることができる。二値化変換部は、読取部で撮像した多値画像データを二値データに変換するものであり、ソフトウェアによっても二値化処理することができる。膨張縮退処理部は、二値化された画像データを従来周知の一般的手法によって膨らませたり収縮させたりする部位であり、これもソフトウエアによって処理することができる。   In the bar code symbol reading apparatus according to the present invention, the reading unit may include a camera using a CMOS sensor and an A / D converter. The binarization conversion unit converts multi-valued image data captured by the reading unit into binary data, and can also be binarized by software. The expansion / contraction processing unit is a part that inflates or contracts the binarized image data by a conventionally known general method, and this can also be processed by software.

また、本発明に係るバーコードシンボル読取装置において、バーコードシンボルの読取結果を表示する表示部には、トリガーやテンキーやファンクションキーを有する操作スイッチ部により読取操作を行う際の案内を表示するようにしてもよい。さらに、無線又は赤外線を利用して、制御部から外部端末に対してデータの送受信を行う外部入出力部を設けてもよい。   In the bar code symbol reading apparatus according to the present invention, the display unit for displaying the bar code symbol reading result displays a guide for performing a reading operation by an operation switch unit having a trigger, a numeric keypad, and a function key. It may be. Furthermore, an external input / output unit that transmits and receives data from the control unit to the external terminal using wireless or infrared light may be provided.

本発明の請求項1に係るバーコードシンボル読取装置及び請求項に係るバーコードシンボル読取方法は、上記した構成としていることから、例えば、複数のバーコードシンボルが印刷された伝票のフォームが変更され場合や、伝票上に一次元バーコードシンボルと二次元バーコードシンボルとが混在して印刷されている場合であったとしても、複数のバーコードシンボルを同時に読み取ることが可能であるという非常に優れた効果がもたらされる。 Since the barcode symbol reading device according to claim 1 of the present invention and the barcode symbol reading method according to claim 2 have the above-described configuration, for example, the form of a slip on which a plurality of barcode symbols are printed is changed. Even if one-dimensional barcode symbol and two-dimensional barcode symbol are mixedly printed on the slip, it is possible to read a plurality of barcode symbols at the same time. Excellent effect.

また、本発明の請求項に係るバーコードシンボル読取装置及び請求項に係るバーコードシンボル読取方法では、複数のバーコードシンボルの同時読み取りにおいて、全てのバーコードシンボル領域候補の中で種別判定及び復号が完了していないバーコードシンボル領域候補がある場合には、再取得した画像データにおいて、前回の読み取りで種別判定及び復号に成功した一つのバーコードシンボル領域候補に対応する領域を選択して種別判定及び復号を行い、前回の読み取り結果と同じ結果が得られたときには、前回の画像データとの間にぶれがないものとして、前回の読み取りで種別判定及び復号が完了していないバーコードシンボル領域候補のみの種別判定及び復号を行うようにしているので、読み取り処理時間の短縮を実現することが可能であるという非常に優れた効果がもたらされる。 Further, in the bar code symbol reading method according to the bar code symbol reading device and claim 2 according to claim 1 of the present invention, in the simultaneous reading of a plurality of bar code symbols, type determination of all of the bar code symbol candidate regions In addition, if there is a barcode symbol area candidate that has not been decoded, a region corresponding to one barcode symbol area candidate that has succeeded in classification determination and decoding in the previous reading is selected in the re-acquired image data. If the same result as the previous reading result is obtained, it is assumed that there is no blurring with the previous image data, and the type determination and decoding are not completed in the previous reading. Since the type determination and decoding are performed only for the symbol area candidates, the reading processing time can be shortened. Resulting in a very excellent effect that is possible.

本発明の一実施形態に係るバーコードシンボル読取装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the barcode symbol reader which concerns on one Embodiment of this invention. 図1におけるバーコードシンボル読取装置の動作を示すフローチャートある。2 is a flowchart showing an operation of the barcode symbol reading device in FIG. 1. 複数のバーコードシンボルが印刷された伝票を示す図である。It is a figure showing a slip on which a plurality of barcode symbols are printed. 図1におけるバーコードシンボル読取装置の読取部で図3の伝票を撮像して読み込んだ第一の多値画像を示す図である。It is a figure which shows the 1st multi-value image which imaged and read the slip of FIG. 3 with the reading part of the barcode symbol reader in FIG. 図4の第一の多値画像を二値化処理して得た二値画像を示す図である。It is a figure which shows the binary image obtained by binarizing the 1st multi-value image of FIG. 図5の二値画像に膨張処理及び縮退処理を施した後の画像を示す図である。It is a figure which shows the image after performing the expansion process and the shrinkage | reduction process to the binary image of FIG. 図6の膨張処理及び縮退処理を施した後の画像に対してラベリング処理を行って画像ブロックを抽出した多値画像を示す図である。It is a figure which shows the multi-value image which performed the labeling process with respect to the image after performing the expansion process and the reduction process of FIG. 6, and extracted the image block. 図7の多値画像において復号対象となるバーコードシンボル領域候補を抽出した画像を示す図である。It is a figure which shows the image which extracted the barcode symbol area | region candidate used as decoding object in the multi-value image of FIG. 図8の画像のバーコードシンボル領域候補を復号した結果を示す図である。It is a figure which shows the result of having decoded the barcode symbol area | region candidate of the image of FIG. 前回復号に成功したバーコードシンボル領域候補のうちの再復号を試みる一つの領域を示す図である。It is a figure which shows one area | region which tries re-decoding among the barcode symbol area | region candidates which succeeded in the last decoding.

発明を実施するため形態Mode for carrying out the invention

以下、本発明に係るバーコードシンボル読取装置及びバーコードシンボル読取方法を図面に基づいて説明する。
図1及び図2は、本発明に係るバーコードシンボル読取装置及びバーコードシンボル読取方法の一実施形態を示している。
Hereinafter, a barcode symbol reading device and a barcode symbol reading method according to the present invention will be described with reference to the drawings.
1 and 2 show an embodiment of a barcode symbol reading apparatus and barcode symbol reading method according to the present invention.

図1に示すように、このバーコードシンボル読取装置1は、一つのバーコードシンボルを読み取るシングルモード機能及び複数のバーコードシンボルを一括で読み取るマルチモード機能を有しており、トリガーや各種キーを有する操作スイッチ部2と、この操作スイッチ部2のトリガー操作により例えば伝票に印刷された読み取り対象である複数のバーコードシンボルの画像データを一括撮像する読取部3と、この読取部3により撮像した画像データを二値データに変換する二値化変換部4と、この二値化変換部4からの二値データに対して膨張処理及び縮退処理を行う膨張縮退処理部5と、印刷された複数のバーコードシンボルが一次元バーコードシンボルか二次元バーコードシンボルかの種別判定を行うと共にデータ語の復号を行って、バーコードシンボル領域情報及び復号結果を保持する制御部6と、この制御部6から出力されたバーコードシンボルの読取結果を表示する表示部7と、読取結果を無線(又は赤外線)を用いて外部端末へ送信する外部入出力部8を備えている。   As shown in FIG. 1, this bar code symbol reader 1 has a single mode function for reading one bar code symbol and a multi mode function for reading a plurality of bar code symbols at one time. The operation switch unit 2 has, the reading unit 3 that collectively captures image data of a plurality of barcode symbols to be read printed on a slip, for example, by a trigger operation of the operation switch unit 2, and the reading unit 3 A binarization conversion unit 4 that converts image data into binary data, an expansion / reduction processing unit 5 that performs expansion processing and reduction processing on the binary data from the binarization conversion unit 4, and a plurality of printed data And determining whether the barcode symbol is a one-dimensional barcode symbol or a two-dimensional barcode symbol and decoding a data word, A control unit 6 that holds the code symbol area information and the decoding result, a display unit 7 that displays the reading result of the bar code symbol output from the control unit 6, and the reading result is externally transmitted by radio (or infrared) An external input / output unit 8 for transmission to the terminal is provided.

制御部6は、膨張縮退処理部5からの膨張処理及び縮退処理後の二値データに対してラベリング処理を行って複数の画像ブロックを抽出すると共に、この抽出した複数の画像ブロックからバーコードシンボル領域候補を抽出したうえで、この抽出したバーコードシンボル領域候補の全てに対してバーコードシンボルの種別判定及びデータ語の復号を行うようになっている。   The control unit 6 extracts a plurality of image blocks by performing labeling processing on the binary data after the expansion processing and the reduction processing from the expansion / reduction processing unit 5, and barcode symbols from the extracted plurality of image blocks After extracting the area candidates, barcode symbol type determination and data word decoding are performed for all of the extracted barcode symbol area candidates.

ここで、全てのバーコードシンボル領域候補の中で種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補が存在した場合には、伝票に印刷された複数のバーコードシンボルの画像データを読取部2によって再び一括撮像したうえで、制御部6において、再取得した画像データ上で前回の読み取りで種別判定及びデータ語の復号に成功したいずれか一つのバーコードシンボル領域に対応する領域を選択して種別判定及びデータ語の復号を行い、前回の読み取り結果と同じ結果が得られたときには、前回の画像データとの間にぶれがないものと判断して、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補のみに対してバーコードシンボルの種別判定及びデータ語の復号を行うようになっている。   Here, if there is a barcode symbol area candidate for which classification determination and data word decoding have not been completed among all barcode symbol area candidates, image data of a plurality of barcode symbols printed on the slip In the control unit 6, the region corresponding to any one bar code symbol region that has succeeded in the type determination and decoding of the data word in the previous reading is obtained. Select the type and decode the data word, and when the same result as the previous reading result is obtained, it is determined that there is no blurring between the previous image data and the type is determined by the previous reading. In addition, barcode symbol type determination and data word decoding are performed only on barcode symbol region candidates for which data word decoding has not been completed. Going on.

このバーコードシンボル読取装置1において、複数のバーコードシンボルを一括で読み取るマルチモードでは、バーコードシンボルの読み取り個数と読み取り時間のいずれかを指定することができ、以下に、このバーコードシンボル読取装置1を用いて、例えば伝票に印刷された複数のバーコードシンボルの全てを読み取り対象として(バーコードシンボルの読み取り個数を指定して)読み取る要領を説明する。   In the barcode symbol reader 1, in the multi-mode for reading a plurality of barcode symbols at once, either the number of barcode symbols to be read or the reading time can be designated. 1 will be used to explain how to read all the barcode symbols printed on a slip as a reading target (specifying the number of barcode symbols to be read).

まず、操作スイッチ部2のキー操作によりマルチモードを選択して、読み取り個数を指定する(この実施形態では6個)。なお、バーコードシンボルの読み取り個数は、アプリケーションプログラムによっても設定することができる。
次に、図2に示すように、ステップS1において、操作スイッチ部2のトリガーを押操作して、読取部3のエイマー(読取位置表示灯)及び照明用LEDを点灯させ、読取部3のエイマーが示した読み取り対象である図3に示す伝票A上の複数のバーコードシンボルB1〜B6を一括撮像して図4に示すデジタル多値画像Cの取得を行う。
First, the multi-mode is selected by the key operation of the operation switch unit 2, and the number of readings is designated (6 in this embodiment). Note that the number of barcode symbols read can also be set by an application program.
Next, as shown in FIG. 2, in step S <b> 1, the trigger of the operation switch unit 2 is pressed to turn on the aimer (reading position indicator lamp) and the illumination LED of the reading unit 3, and the aimer of the reading unit 3. A plurality of bar code symbols B1 to B6 on the slip A shown in FIG.

この読取部3により読み取ったデジタル多値画像Cのデータは、ステップS2において二値化変換部4により、一定の閾値で白・黒(0,1)の図5に示す二値画像Dのデータに変換され、続いて、この二値化された画像のデータは、ステップS3において膨張縮退処理部5により、一般的な膨張処理で太められた後に一般的な縮退処理で細められ、図6に示す膨張・縮退処理後の画像Eのデータから、文字列や枠線や汚れの小さな塊が黒い孤立部Fとして取り除かれる。   The data of the digital multilevel image C read by the reading unit 3 is converted into the data of the binary image D shown in FIG. 5 of white / black (0, 1) at a constant threshold by the binarization conversion unit 4 in step S2. Subsequently, the binarized image data is expanded by the expansion / reduction processing unit 5 in step S3 and then reduced by a general expansion process after being thickened by a general expansion process. Character strings, frame lines, and small blocks of dirt are removed as black isolated portions F from the data of the image E after the expansion / reduction process shown.

そして、制御部6では、膨張・縮退処理後の画像Eのデータに対して、ステップS4において一般的なラベリング処理を行って、図7に示すように、黒のブロックGを抽出し、ステップS5において、図8に示すように、バーコードシンボルの形状らしい大きさ及び形状でバーコードシンボル領域候補H1〜H6を抽出する。   Then, the control unit 6 performs a general labeling process on the data of the image E after the expansion / reduction process in step S4 to extract a black block G as shown in FIG. As shown in FIG. 8, the barcode symbol region candidates H1 to H6 are extracted with a size and shape that is likely to be a barcode symbol shape.

このバーコードシンボル領域候補H1〜H6は、デジタル多値画像における領域の4隅の位置をX,Y座標で示したものであり、これらのバーコードシンボル領域候補H1〜H6の抽出に続いて、制御部6では、ステップS6においてバーコードシンボル領域候補H1〜H6の各多値画像データだけを個別に二値化変換し、これらの画像データからバーコードシンボルの種別の特徴を検出してバーコードシンボルの種別を判定する。例えば、3隅の基準パターンを検出した場合はQRコードであると判定する。   These barcode symbol area candidates H1 to H6 indicate the positions of the four corners of the area in the digital multi-valued image by X and Y coordinates. Following the extraction of these barcode symbol area candidates H1 to H6, In step S6, the control unit 6 individually binarizes only the multi-value image data of the barcode symbol area candidates H1 to H6, detects the characteristics of the type of barcode symbol from these image data, and performs barcode processing. Determine the symbol type. For example, if a reference pattern at three corners is detected, it is determined that the QR code is used.

次いで、ステップS6で種別判定した二値化データに対して、同じくステップS6においてバーコードシンボルの規格書に示されるデータ語への復号方法により復号を試み、復号が成功した場合には、ステップS7においてバーコードシンボル領域情報及び復号結果を記録し、一方、復号が失敗した場合には、失敗を示す情報及びバーコードシンボル領域候補Hを記録する。   Next, the binarized data determined in step S6 is tried to be decoded by the decoding method into the data word indicated in the bar code symbol standard in step S6. If the decoding is successful, step S7 is executed. The barcode symbol area information and the decoding result are recorded in FIG. 1. On the other hand, if the decoding fails, information indicating the failure and the barcode symbol area candidate H are recorded.

すべてのバーコードシンボル領域候補H1〜H6の読み取り処理が完了して、指定した6個のバーコードシンボル結果が得られた場合には、ステップS8において読み取り完了と判断して、ステップS14に進んで表示部7で読み取り結果を表示すると共に、外部入出力部8を介して読み取り結果を外部端末へ送信する。   If all the barcode symbol area candidates H1 to H6 have been read and six designated barcode symbol results have been obtained, it is determined in step S8 that reading has been completed, and the flow proceeds to step S14. The display unit 7 displays the reading result, and transmits the reading result to the external terminal via the external input / output unit 8.

しかし、図9に示すように、復号に失敗したバーコードシンボル候補領域H2,H4があった場合には、ステップS9においてリトライ処理として新しい画像を撮像して、新しいデジタル多値画像データとして取り込む。   However, as shown in FIG. 9, if there are barcode symbol candidate regions H2 and H4 that have failed to be decoded, a new image is captured as retry processing in step S9 and is taken in as new digital multi-valued image data.

ここで、制御部6では、ステップS10において、図10に示すように、前回の画像データで復号に成功した一つのバーコードシンボル候補領域H1に対応する領域を選択して、ステップS11において種別判定及びデータ語の復号を行い、前回の読み取り結果と同じ結果が得られたときには、画像データのぶれが無いと判断して、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補H2,H4に限ってバーコードシンボルの種別判定及びデータ語の復号を行う。   Here, in step S10, as shown in FIG. 10, the control unit 6 selects a region corresponding to one barcode symbol candidate region H1 that has been successfully decoded with the previous image data, and determines the type in step S11. When the data word is decoded and the same result as the previous reading result is obtained, it is determined that there is no blur of the image data, and the type determination and the decoding of the data word are not completed in the previous reading. Barcode symbol type determination and data word decoding are performed only on the symbol area candidates H2 and H4.

バーコードシンボル領域候補H2,H4の復号が成功した場合には、ステップS12においてバーコードシンボル領域情報及び復号結果を記録し、一方、復号が失敗した場合には、失敗を示す情報及びバーコードシンボル領域候補Hを記録する。   If the decoding of the barcode symbol area candidates H2 and H4 is successful, the barcode symbol area information and the decoding result are recorded in step S12. On the other hand, if the decoding fails, information indicating the failure and the barcode symbol are recorded. Region candidate H is recorded.

そして、すべてのバーコードシンボル領域候補H1〜H6の読み取り処理が完了して、指定した6個のバーコードシンボルB1〜B6の読み取り結果が得られた場合には、ステップS13において読み取り完了と判断して、ステップS14に進んで表示部7で読み取り結果を表示すると共に、外部入出力部8を介して読み取り結果を外部端末へ送信する。   When all the barcode symbol area candidates H1 to H6 are read and the designated six barcode symbols B1 to B6 are read, it is determined in step S13 that the reading is complete. In step S14, the display unit 7 displays the reading result and transmits the reading result to the external terminal via the external input / output unit 8.

また、ステップS11における種別判定及び復号の結果が前回の読み取り結果と一致しない場合や、バーコードシンボル領域候補H2,H4の復号が失敗したときには、読取部3が移動してエイマーが読み取り対象である複数のバーコードシンボルB1〜B6から外れたと判断し、ステップS1に戻って複数のバーコードシンボルB1〜B6の読み取り処理を継続する。   If the type determination and decoding results in step S11 do not match the previous reading results, or if decoding of the barcode symbol region candidates H2 and H4 fails, the reading unit 3 moves and the aimer is the reading target. It is determined that the plurality of barcode symbols B1 to B6 have deviated, and the process returns to step S1 to continue reading the plurality of barcode symbols B1 to B6.

このように、この実施形態によるバーコードシンボルの読取装置1及び読取方法では、伝票A上に一次元バーコードシンボルと二次元バーコードシンボルとが混在して印刷されている場合であったとしても、複数のバーコードシンボルを同時に読み取ることができ、複数のバーコードシンボルが印刷された伝票Aのフォームが変更され場合にも、複数のバーコードシンボルを同時に読み取り得ることとなる。   As described above, in the barcode symbol reading apparatus 1 and the reading method according to this embodiment, even when the one-dimensional barcode symbol and the two-dimensional barcode symbol are mixedly printed on the slip A, A plurality of barcode symbols can be read simultaneously, and even when the form of the slip A on which the plurality of barcode symbols are printed is changed, the plurality of barcode symbols can be read simultaneously.

また、この実施形態によるバーコードシンボルの読取装置1及び読取方法では、複数のバーコードシンボルの同時読み取りにおいて、上記したように、全てのバーコードシンボル領域候補H1〜H6の中で種別判定及び復号が完了していないバーコードシンボル領域候補H2,H4があった場合には、再取得した画像データにおいて、前回の読み取りで種別判定及び復号に成功した一つのバーコードシンボル領域H1に対応する領域を選択して種別判定及び復号を行い、前回の読み取り結果と同じ結果が得られたときに、前回の読み取りで種別判定及び復号が完了していないバーコードシンボル領域候補H2,H4のみの種別判定及び復号を行うようにしているので、読み取り処理時間の短縮(例えば、50〜300msec)の短縮を実現し得ることとなる。   Further, in the barcode symbol reader 1 and the reading method according to this embodiment, in simultaneous reading of a plurality of barcode symbols, as described above, classification determination and decoding among all barcode symbol area candidates H1 to H6. If there are barcode symbol region candidates H2 and H4 that have not been completed, the region corresponding to one barcode symbol region H1 that has succeeded in the type determination and decoding in the previous reading is obtained in the re-acquired image data. Select and perform type determination and decoding, and when the same result as the previous reading result is obtained, only type determination of barcode symbol area candidates H2 and H4 for which type determination and decoding have not been completed in the previous reading and Since decoding is performed, the reading processing time can be shortened (for example, 50 to 300 msec). It will be.

本発明に係るバーコードシンボル読取装置及びバーコードシンボル読取方法の構成は、上記した実施形態に係るバーコードシンボル読取装置1及びバーコードシンボル読取方法の構成に限定されるものではない。   The configurations of the barcode symbol reading device and the barcode symbol reading method according to the present invention are not limited to the configurations of the barcode symbol reading device 1 and the barcode symbol reading method according to the above-described embodiment.

1 バーコードシンボル読取装置
3 読取部
4 二値化変換部
5 膨張縮退処理部
6 制御部
7 表示部
DESCRIPTION OF SYMBOLS 1 Barcode symbol reader 3 Reading part 4 Binary conversion part 5 Expansion / reduction processing part 6 Control part 7 Display part

Claims (2)

読み取り対象である複数のバーコードシンボルの画像データを一括撮像する読取部と、
この読取部により撮像した画像データを二値データに変換する二値化変換部と、
この二値化変換部からの前記二値データに対して膨張処理及び縮退処理を行う膨張縮退処理部と、
この膨張縮退処理部からの膨張処理及び縮退処理後の二値データにラベリング処理を行って抽出した複数の画像ブロックからバーコードシンボル領域候補を抽出すると共に、この抽出したバーコードシンボル領域候補の全てに対して前記バーコードシンボルの種別判定及びデータ語の復号を行って、バーコードシンボル領域情報及び復号結果を保持する制御部と、
この制御部から出力された前記バーコードシンボルの読み取り結果を表示する表示部を備え
前記制御部は、読み取り対象とした全てのバーコードシンボル領域候補の中で種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補がある場合に、前記読取部により再取得した画像データにおいて、前回の読み取りで種別判定及びデータ語の復号に成功したいずれか一つのバーコードシンボル領域候補に対応する領域を選択して種別判定及びデータ語の復号を行い、前回の読み取り結果と同じ結果が得られたときには、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補に限って前記バーコードシンボルの種別判定及びデータ語の復号を行う
ことを特徴とするバーコードシンボル読取装置。
A reading unit that collectively captures image data of a plurality of barcode symbols to be read;
A binarization conversion unit that converts image data captured by the reading unit into binary data;
An expansion / reduction processing unit that performs expansion processing and reduction processing on the binary data from the binarization conversion unit;
The barcode symbol area candidates are extracted from the plurality of image blocks extracted by performing the labeling process on the binary data after the expansion process and the reduction process from the expansion / reduction processing unit, and all of the extracted barcode symbol area candidates A control unit that performs barcode symbol type determination and data word decoding to hold barcode symbol region information and decoding results;
A display unit for displaying a reading result of the barcode symbol output from the control unit ;
The control unit, when there is a barcode symbol area candidate for which classification determination and data word decoding have not been completed among all barcode symbol area candidates to be read, the image data reacquired by the reading unit , The type determination and data word decoding are performed by selecting an area corresponding to any one bar code symbol area candidate that has succeeded in the type determination and data word decoding in the previous reading, and the same result as the previous reading result The bar code symbol type determination and data word decoding are performed only for bar code symbol area candidates whose type determination and data word decoding has not been completed in the previous reading. Code symbol reader.
読み取り対象である複数のバーコードシンボルの画像データを一括撮像し、
この画像データに対して二値化処理を施すのに続いて、膨張処理及び縮退処理を行った後、
この膨張処理及び縮退処理後の二値データにラベリング処理を行って抽出した複数の画像ブロックからバーコードシンボル領域候補を抽出すると共に、この抽出したバーコードシンボル領域候補の全てに対して前記バーコードシンボルの種別判定及びデータ語の復号を行い、
読み取り対象とした全てのバーコードシンボル領域候補の中で種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補がある場合には、
再取得した画像データにおいて、前回の読み取りで種別判定及びデータ語の復号に成功した一つのバーコードシンボル領域候補に対応する領域を選択して種別判定及びデータ語の復号を行い、
前回の読み取り結果と同じ結果が得られたときには、前回の読み取りで種別判定及びデータ語の復号が完了していないバーコードシンボル領域候補に限って前記バーコードシンボルの種別判定及びデータ語の復号を行
ことを特徴とするバーコードシンボル読取方法。
Collect image data of multiple barcode symbols to be scanned,
After performing binarization processing on this image data, after performing expansion processing and reduction processing,
A barcode symbol area candidate is extracted from a plurality of image blocks extracted by performing a labeling process on the binary data after the expansion process and the reduction process, and the barcode is applied to all the extracted barcode symbol area candidates. There row decoding of type determination and data word symbols,
When there is a barcode symbol area candidate whose type determination and data word decoding has not been completed among all barcode symbol area candidates to be read,
In the re-acquired image data, the type determination and the data word decoding are performed by selecting an area corresponding to one barcode symbol area candidate that has succeeded in the type determination and data word decoding in the previous reading,
When the same result as the previous reading result is obtained, the type determination of the barcode symbol and the decoding of the data word are performed only for the barcode symbol area candidate for which the type determination and the decoding of the data word have not been completed by the previous reading. bar code symbol reading method characterized by intends row.
JP2011212579A 2011-09-28 2011-09-28 Bar code symbol reading apparatus and bar code symbol reading method Active JP5808211B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011212579A JP5808211B2 (en) 2011-09-28 2011-09-28 Bar code symbol reading apparatus and bar code symbol reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011212579A JP5808211B2 (en) 2011-09-28 2011-09-28 Bar code symbol reading apparatus and bar code symbol reading method

Publications (2)

Publication Number Publication Date
JP2013073454A JP2013073454A (en) 2013-04-22
JP5808211B2 true JP5808211B2 (en) 2015-11-10

Family

ID=48477896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011212579A Active JP5808211B2 (en) 2011-09-28 2011-09-28 Bar code symbol reading apparatus and bar code symbol reading method

Country Status (1)

Country Link
JP (1) JP5808211B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6332952B2 (en) * 2013-11-29 2018-05-30 共同印刷株式会社 Decoding method, program and system
JP2018010555A (en) * 2016-07-15 2018-01-18 シャープ株式会社 Code reading apparatus, code reading program, and code reading method
JP2018156311A (en) * 2017-03-16 2018-10-04 富士通株式会社 Bar code reading program, bar code reading method and bar code reading device
JP7206041B2 (en) * 2017-12-27 2023-01-17 株式会社ディスコ cutting equipment
CN112241639B (en) * 2019-07-18 2024-07-16 神讯电脑(昆山)有限公司 Multi-bar code scanning method and system thereof
JP7402088B2 (en) * 2020-03-19 2023-12-20 株式会社キーエンス optical reader
JP7534896B2 (en) 2020-09-08 2024-08-15 株式会社Fuji Object Association System

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0896059A (en) * 1994-09-28 1996-04-12 Toshiba Corp Bar code reader
JP2001028033A (en) * 1999-07-14 2001-01-30 Oki Electric Ind Co Ltd Display method for bar code recognition result and bar code recognition device
JP3640573B2 (en) * 1999-07-27 2005-04-20 日立コンピュータ機器株式会社 Bar code reading method and bar code reading system
JP2006031603A (en) * 2004-07-21 2006-02-02 Denso Wave Inc Optical information reader and control method for optical information reader
US20070069028A1 (en) * 2004-12-10 2007-03-29 Yaron Nemet System to improve reading performance and accuracy of single or two dimensional data codes in a large field of view

Also Published As

Publication number Publication date
JP2013073454A (en) 2013-04-22

Similar Documents

Publication Publication Date Title
JP5808211B2 (en) Bar code symbol reading apparatus and bar code symbol reading method
JP6090997B2 (en) Bar code symbol reading apparatus and bar code symbol reading method
WO2008010513A1 (en) Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program
JP6565786B2 (en) Optical symbol, display medium, article and generating device
EP2422294A1 (en) A multiple barcode detection system and method
JP5140820B2 (en) Symbol information reading apparatus and symbol information reading method
JP3640573B2 (en) Bar code reading method and bar code reading system
CN101874250A (en) Enhanced virtual scan line processing
JP6457971B2 (en) System and method for pattern stitching and decoding using multiple captured images
WO2014063836A1 (en) Method and device for identifying a two-dimensional barcode
RU2729399C1 (en) Method for detection and recognition of visual markers of long range and high density
JP2021119465A (en) Enhanced matrix symbol error correction method
JP4473335B1 (en) Optical information reading apparatus and optical information reading method
CN102279922B (en) Bar code image recognition system applied to handheld device and relevant method
US10121040B2 (en) Recognition apparatus, recognition method, storage medium, management system, and conveyance system
JP4404224B2 (en) Optical recognition code recognition apparatus, method and program
JP2017191420A (en) Two-dimensional code recording medium and two-dimensional code reading method
JP2011076208A (en) Method and device for reading stacked bar code information
JP2016151800A (en) Code reading learning system
JP4335229B2 (en) QR code recognition device, QR code recognition device control method, QR code recognition device control program, and computer-readable recording medium recording the same
JP2007094584A (en) Method for detecting two dimensional code, detecting device, and detecting program
JP2017182108A (en) Two-dimensional code reading method and two-dimensional code recording medium
JP2007034546A (en) Optical reader
JP5762190B2 (en) Bar code symbol, reading method thereof and reading apparatus
JP4591216B2 (en) Information code reading system, information code reading device, and label

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150617

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150908

R150 Certificate of patent or registration of utility model

Ref document number: 5808211

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250