JP4128757B2 - Optical character reader and optical character reader barcode reading method - Google Patents

Optical character reader and optical character reader barcode reading method Download PDF

Info

Publication number
JP4128757B2
JP4128757B2 JP2001177315A JP2001177315A JP4128757B2 JP 4128757 B2 JP4128757 B2 JP 4128757B2 JP 2001177315 A JP2001177315 A JP 2001177315A JP 2001177315 A JP2001177315 A JP 2001177315A JP 4128757 B2 JP4128757 B2 JP 4128757B2
Authority
JP
Japan
Prior art keywords
barcode
digits
reading
recorded
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.)
Expired - Fee Related
Application number
JP2001177315A
Other languages
Japanese (ja)
Other versions
JP2002366890A (en
Inventor
大介 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001177315A priority Critical patent/JP4128757B2/en
Publication of JP2002366890A publication Critical patent/JP2002366890A/en
Application granted granted Critical
Publication of JP4128757B2 publication Critical patent/JP4128757B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、バーコードの読取機能を備えた光学的文字読取装置に関する。
【0002】
また、本発明は、可変長バーコードを扱うOCRに適用して好適な光学的文字読取装置のバーコード読取方法に関する。
【0003】
【従来の技術】
従来、OCRに於けるバーコードの読み取りは、文字読み取りの場合と同様に、FC(Format Control)と称される帳票読取情報をもとに行われ、FCにより指定されたバーコードの桁数情報をもとに、FCで定義されたバーコードフィールドのバーコード読み取りを行っている。即ち、OCRで読み取るフィールドに印字されるバーコードについては、桁数が必ず固定(FCで指定した桁)でなければならず、FCで定義された桁数以外のバーコードは読み取ることができない。
【0004】
具体的には、FCにより、バーコードの読取条件(種類、桁数等)を与え、この条件をもとにバーコードフィールドに記録されたバーコードの本数チェックを行って、当該フィールドに記録されたバーコードの読み取りを行っていた。
【0005】
しかしながら近年、バーコードの長さ(桁数)が異なるものが出現しており、異なる長さのバーコードが記録された帳票を読み取る対応策として、バーコードの長さを定義した情報を含むFCをバーコードの長さが変わる毎に事前に読み取らせる必要があった。
【0006】
このようにすることにより、バーコードの長さが変わっても、FCで指定した桁数をもとにバーコードの本数チェックを行ってバーコードフィールドに記録されたバーコードを読み取ることができる。換言すると、FCによってバーコードの長さが変わる毎にバーコードの桁数情報が定義されていないとフィールド上のバーコードを読み取ることができない。
【0007】
上述した従来技術により、具体的には、桁数の異なるバーコード毎にそれぞれに固有のIDを帳票に付し、その各ID毎にFCを作成して、認識したID毎に対応するFCを用いてバーコードを読み取ることで、帳票毎にバーコードの桁数が異なる場合であってもバーコードを読み取ることができるようにしている。しかしながら、この方法は、バーコードの桁数が変わる毎に、その桁数を定義するFCを作成しなければならず、FCの作成並びに管理を含めた種々の面で実用上の問題があった。
【0008】
【発明が解決しようとする課題】
上記したように、従来では、FCで指定した桁数をもとにバーコードの本数チェックを行ってバーコードフィールドに記録されたバーコードを読み取っていることから、OCRで読み取るフィールドに印字されるバーコードについては、桁数が必ず固定でなければならず、FCで定義された桁数以外のバーコードは読み取ることができないという問題があった。
【0009】
また、ID処理を用いて帳票毎にバーコードの桁数が異なる場合であってもバーコードを読み取ることができるようにした場合は、バーコードの桁数が変わる毎に、その桁数を定義するFCを作成しなければならず、FCの作成並びに管理を含めた種々の面で実用上の問題があった。
【0010】
本発明は上記実情に鑑みなされたもので、バーコードフィールドをもつ帳票を扱う光学的文字読取装置に於いて、帳票毎にバーコードの桁数が異なる場合であっても、桁数が変わる毎に固有のFCを必要とせず、簡単かつ容易に各種桁数のバーコード(可変長バーコード)を読み取ることができる光学的文字読取装置を提供することを目的とする。
【0011】
また、本発明は、可変長のバーコードを読み取るのための複数種のFCを用意することなく、既存のFC並びにシステム構成で、可変長のバーコード読み取りを可能にした、光学的文字読取装置のバーコード読取方法を提供することを目的とする。
【0012】
【課題を解決するための手段】
本発明は、帳票上に印字されたバーコードの桁数を示す情報を用いて当該帳票上に記録されたバーコード読み取ることで、既存のFC並びにシステム構成にて、帳票毎に桁数が異なるバーコードの読み取りを可能にしたことを特徴とする。
【0013】
即ち、本発明は、バーコードを扱う光学的文字読取装置に於いて、バーコードとこのバーコードの桁数を示す桁数情報とを記録した帳票と、前記帳票から前記桁数情報を読み取る文字認識手段と、前記文字認識手段で読み取った前記桁数情報をもとに前記帳票に記録されたバーコードの桁数を認識し、当該認識した桁数をもとに前記帳票に記録されたバーコードの情報を読み取るバーコード読取手段とを具備したことを特徴とする。
【0014】
また、本発明は、バーコードを記録した帳票を読取対象とする光学的文字読取装置のバーコード読取方法であって、前記光学的文字読取装置の読取対象となる前記帳票各々に、バーコードとこのバーコードの桁数を示す桁数情報とをそれぞれ所定の領域に記録しておき、前記光学的文字読取装置に、前記読取対象となる帳票から前記桁数情報を読み取るステップと、前記読み取った桁数情報をもとに前記帳票に記録されたバーコードの桁数を認識するステップと、前記認識した桁数をもとに前記帳票に記録されたバーコードの情報を読み取るステップとを具備して、桁数を可変長としたバーコードを記録した複数種の帳票を読取対象としたことを特徴とする。
【0018】
上記した構成により、帳票毎にバーコードの桁数が異なる場合であっても、各桁数毎に固有のFCを必要とせず、簡単かつ容易に各種の可変長バーコードを読み取ることができる。
【0019】
また、本発明は、バーコードを扱う光学的文字読取装置に適用されるOCR帳票に於いて、帳票上に、バーコードと、そのバーコードの桁数を表す情報とを記録したことを特徴とする。
【0020】
また、本発明は、光学的文字読取装置に於けるバーコード読取方法に於いて、フォーマットコントロール情報で定義した帳票上の特定フィールドよりバーコードの桁数を表すバーコード桁数情報を読み取り、前記読み取ったバーコード桁数情報により前記帳票上のバーコードフィールドに記録されたバーコードの桁数を認識して、前記認識したバーコードの桁数と前記フォーマットコントロール情報とをもとに前記帳票上のバーコードフィールドに記録されたバーコードを読み取ることを特徴とする。
【0021】
上記したようなOCR帳票、及びバーコード読取方法を適用することにより、OCR側に複数種のFCを用意することなく、既存のFC並びにシステムを有効に活用して、簡単かつ容易に、可変長バーコードを読み取ることができる。また、可変長バーコードを扱う光学的文字読取装置を容易に構築できる。
【0022】
【発明の実施の形態】
以下図面を参照して本発明の実施形態を説明する。
【0023】
図1は本発明の実施形態に於ける要部の構成を示すブロック図である。
【0024】
図中、11乃至15はそれぞれ光学的文字読取装置の構成要素をなすもので、11はスキャナ、12はFC(フォーマットコントロール)管理部、13は文字認識部、14はバーコード読取部、15は出力部である。Pは上記光学的文字読取装置の読み取り対象となるバーコードフィールドをもつ帳票であり、バーコードBa,Bb,…それぞれに対応して、バーコード桁数情報Ca,Cb,…が記録される。
【0025】
スキャナ11は、帳票P上を走査して、その画像を二値化処理し、バッファリングした後、その二値画像データ101を認識処理対象データとして文字認識部13に送出する。ここで、帳票Pに記録されたバーコード桁数情報Ca,Cb,…は、文字認識部13に於いて文字認識が行われ、バーコードBa,Bb,…の二値画像データは認識処理対象データとして文字認識部13を介してバーコード読取部14に送出される。
【0026】
FC管理部12は、文字読取のためのFC(フォーマットコントロール)を管理するもので、ここでは上記帳票P上のバーコード桁数情報Ca,Cb,…を読み取るための桁数情報読取FC102、及びバーコードBa,Bb,…を読み取るためのバーコード読取FC103を管理し、桁数情報読取FC102を文字認識部13に送出し、バーコード読取FC103をバーコード読取部14に送出する。尚、FC102,FC103の定義情報は、同一FC帳票に記録されていても、別々であってもよい。また、上記各FCの入力手段としては、FC帳票を用いる以外に、FCの設定画面上で入力してもよい。
【0027】
文字認識部13は、スキャナ11より入力した二値画像データ101を認識処理対象データとしてFC管理部12より入力したFCに従い認識処理するもので、ここではFC管理部12より入力された桁数情報読取FC102によって定義されたバーコード桁数情報の位置情報を用いて帳票P上のバーコード桁数情報Ca,Cb,…を読み取り、その値をバーコード桁指定情報104としてバーコード読取部14に送出する。
【0028】
バーコード読取部14には、スキャナ11より文字認識部13を介してバーコードBa,Bb,…の二値画像データが入力されるとともに、FC管理部12よりバーコード読取FC103によって定義されたバーコードの位置情報、および文字認識部13よりバーコード桁指定情報104が入力され、これらに基づいてバーコード読取部14は、バーコードBa,Bb,…を解読(デコード)する。出力部15はバーコード読取部14で解読したバーコードを編集しコード化して出力する。
【0029】
図2は上記実施形態の処理手順を示すフローチャートである。ここでは、ステップS13に於いて、文字認識部13が、FC管理部12より入力された桁数情報読取FC102によって定義されたバーコード桁数情報の位置情報を用いて帳票P上のバーコード桁数情報Ca,Cb,…を読み取り、図2ステップS14に於いて、文字認識が正しく行われたことを確認して、その文字認識した数値データをバーコードの桁数を表す桁指定情報104としてバーコード読取部14に送出する。ステップS16に於いて、バーコード読取部14は、文字認識部13より入力されたバーコードの桁数を表す桁指定情報104と、FC管理部12より入力されたバーコード読取FC103で定義されたバーコードの位置情報とに基づき、スキャナ11より文字認識部13を介して入力されたバーコードBa,Bb,…を解読(デコード)する。
【0030】
図3は上記帳票Pの具体例を示したもので、図中、30はバーコード帳票であり、図1に示す帳票Pに相当する。B1,B2,B3はそれぞれバーコード帳票30のフィールドに記録された、それぞれ固有の桁数をもつバーコードであり、図1に示すバーコードBa,Bb,…に相当する。31,32,33は上記バーコードB1,B2,B3に対応して設けられたバーコード桁数指定フィールドであり、それぞれバーコードB1,B2,B3の桁数に対応する桁数値が記録される。この桁数値が図1に示すバーコード桁数情報Ca,Cb,…に相当する。因みにこの例では、バーコード桁数指定フィールド31に、バーコードB1の桁数が「30」桁であることを表すバーコード桁数情報が記録され、バーコード桁数指定フィールド32に、バーコードB2の桁数が「23」桁であることを表すバーコード桁数情報が記録され、バーコード桁数指定フィールド33に、バーコードB3の桁数が「31」桁であることを表すバーコード桁数情報が記録されている。
【0031】
ここで、上記各図を参照して本発明の実施形態に於ける動作を説明する。
【0032】
スキャナ11は、図3に示すバーコード帳票30に相当する帳票P上を走査して、その画像を二値化処理し、バッファリングした後、その二値画像データ101を認識処理対象データとして文字認識部13に送出する(図2ステップS11)。ここでは帳票Pに記録されたバーコード桁数情報31,31,…の二値画像データを認識処理対象データとして文字認識部13に送出し、バーコードBa,Bb,…の二値画像データを認識処理対象データとして文字認識部13を介しバーコード読取部14に送出する。一方、FC管理部12から、上記帳票Pの桁数情報読取FC102によって定義されたバーコード桁数情報の位置情報を文字認識部13に送出し、バーコード読取FC103によって定義されたバーコードの位置情報をバーコード読取部14に送出する。
【0033】
これにより、文字認識部13は、帳票P上のバーコード桁数情報31,32,…を読み取り(図2ステップS12,S13)、文字認識が正しく行われた際(図2ステップS14( YES))は、その文字認識した数値データ「30」,「23」,…をバーコードの桁数を表す桁指定情報104としてバーコード読取部14に送出する(図2ステップS15)。
【0034】
この際、文字認識部13により、文字認識がリジェクトされた場合(文字認識不可の際)は、バーコードの全桁をリジェクト対象とし(図2ステップS14(NO))、その状態を出力して、処理対象にある帳票Pのバーコード読取処理を終了する(図2ステップS20)。
【0035】
バーコード読取部14は、文字認識部13よりバーコードの桁数を表す桁指定情報104が入力されると、この桁指定情報104と、バーコード読取FC103で定義されたバーコードの位置情報に基づき、スキャナ11より文字認識部13を介して入力されたバーコードB1,B2,…を解読(デコード)する(図2ステップS16)。
【0036】
ここで、バーコードB1,B2,…が桁指定情報104に従う桁数(「30」,「23」,…)で正常に解読できた際(図2ステップS17( YES))は、その解読したバーコードデータを出力部15に送出し、出力部15により編集しコード化して出力する(図2ステップS19)。また、バーコードB1,B2,…が桁指定情報104に従う桁数で正常に解読できない際(図2ステップS17(NO))は、再度、バーコード解析を行い(図2ステップS18,S16,…)、所定回数のバーコード解析に失敗した場合は、その旨の状態を出力してバーコード読取を終了する(図2ステップS20)。
【0037】
尚、上記した実施形態に於いては、帳票P上に、バーコードB1,B2,…に対応させて、バーコードの桁数を表すバーコード桁数情報31,32,…を記録した例を示しているが、これに限らず、例えば複数のバーコードフィールドに対して、その各バーコードの各桁数を一つのフィールドに纏めて文字または記号により記録する記録形態であってもよく、要は帳票P上に、バーコードと、そのバーコードの桁数を表す、文字認識部13で認識可能な印字情報とが記録される記録形態であればよい。また、バーコードの種類も図示した以外の種類であってもよく、要はバーコード読取部14で解読(デコード)可能な可変長のバーコードであればよい。また、バーコード読取のための桁数の記録以外に、例えばイメージ処理の切出し範囲、解像度、圧縮方式等をFCで定義した所定のフィールドに印字し記録して解読することも可能である。
【0038】
【発明の効果】
以上詳記したように本発明によれば、バーコードフィールドをもつ帳票を扱う光学的文字読取装置に於いて、記録されたバーコードの桁数が異なる帳票が混在した場合でも、桁数が変わる毎に固有のFCを必要とせず、簡単かつ容易に各種桁数のバーコード(バーコードフィールドのバーコード表が可変長記録されたもの)を読み取ることができる。
【図面の簡単な説明】
【図1】本発明の実施形態に於ける要部の構成を示すブロック図。
【図2】上記実施形態の処理手順を示すフローチャート。
【図3】上記実施形態に於ける帳票の具体例を示す図。
【符号の説明】
11…スキャナ
12…FC管理部
13…文字認識部
14…バーコード読取部
15…出力部
P、30…帳票
Ba,Bb,…、B1,B2,B3…バーコード
Ca,Cb,…バーコード桁数情報
31,32,33…バーコード桁数指定フィールド
101…二値画像データ
102…桁数情報読取FC
103…バーコード読取FC
104…バーコードの桁数を表す桁指定情報
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an optical character reader having a barcode reading function.
[0002]
The present invention also relates to a bar code reading method of an optical character reading apparatus suitable for application to OCR that handles variable length bar codes.
[0003]
[Prior art]
Conventionally, barcode reading in OCR is performed based on form reading information called FC (Format Control), as in the case of character reading, and the number of digits of barcode specified by FC. Based on the above, barcode reading of the barcode field defined by FC is performed. That is, for the barcode printed in the field read by OCR, the number of digits must be fixed (digit designated by FC), and barcodes other than the number of digits defined by FC cannot be read.
[0004]
Specifically, the barcode reading conditions (type, number of digits, etc.) are given by FC, the number of barcodes recorded in the barcode field is checked based on these conditions, and the barcode is recorded in the field. The barcode was read.
[0005]
In recent years, however, barcodes with different lengths (numbers of digits) have appeared, and as a countermeasure for reading forms in which barcodes with different lengths are recorded, FCs containing information defining the barcode length are included. Had to be read in advance every time the barcode length changed.
[0006]
By doing this, even if the length of the barcode changes, it is possible to read the barcode recorded in the barcode field by checking the number of barcodes based on the number of digits specified by FC. In other words, each time the barcode length is changed by FC, the barcode on the field cannot be read unless the barcode digit number information is defined.
[0007]
Specifically, according to the above-described prior art, a unique ID is attached to a form for each barcode having a different number of digits, an FC is created for each ID, and an FC corresponding to each recognized ID is created. By using this to read the barcode, the barcode can be read even when the number of digits of the barcode is different for each form. However, this method has to create an FC that defines the number of digits every time the number of digits of the bar code changes, and there are practical problems in various aspects including the creation and management of FCs. .
[0008]
[Problems to be solved by the invention]
As described above, conventionally, since the number of barcodes is checked based on the number of digits specified by FC and the barcode recorded in the barcode field is read, it is printed in the field read by OCR. As for the barcode, there is a problem that the number of digits must be fixed, and barcodes other than the number of digits defined by FC cannot be read.
[0009]
Also, if the barcode can be read even if the number of barcode digits differs for each form using ID processing, the number of digits is defined each time the barcode digits change. FC had to be created, and there were practical problems in various aspects including FC creation and management.
[0010]
The present invention has been made in view of the above circumstances, and in an optical character reader that handles a form having a barcode field, every time the number of digits changes even if the number of digits of the barcode is different for each form. It is an object of the present invention to provide an optical character reader that can easily and easily read bar codes (variable length bar codes) with various numbers of digits without requiring a unique FC.
[0011]
In addition, the present invention provides an optical character reader that enables variable-length barcode reading with existing FCs and system configurations without preparing multiple types of FCs for reading variable-length barcodes. An object of the present invention is to provide a barcode reading method.
[0012]
[Means for Solving the Problems]
The present invention reads the barcode recorded on the form using the information indicating the number of digits of the barcode printed on the form, so that the number of digits differs for each form in the existing FC and system configuration. It is possible to read barcodes.
[0013]
That is, the present invention provides an optical character reader that handles barcodes, a form that records a barcode and digit number information indicating the number of digits of the barcode, and a character that reads the digit number information from the form. Recognizing the number of digits of the barcode recorded in the form based on the number of digits information read by the recognition means and the character recognition means, and the bar recorded in the form based on the recognized number of digits And a bar code reading means for reading code information .
[0014]
Further, the present invention provides a barcode reading method of an optical character reading device for reading a form on which a barcode is recorded, and each of the forms to be read by the optical character reading device has a barcode and Digit number information indicating the number of digits of the barcode is recorded in a predetermined area, and the optical character reader reads the digit number information from the form to be read; and the read Recognizing the number of digits of the barcode recorded on the form based on the number of digits information, and reading the information on the barcode recorded on the form based on the recognized number of digits. Thus, a plurality of types of forms on which barcodes with variable numbers of digits are recorded are read .
[0018]
With the configuration described above, even if the number of digits of the barcode differs for each form, various variable length barcodes can be read easily and easily without requiring a unique FC for each number of digits.
[0019]
Further, the present invention is characterized in that, in an OCR form applied to an optical character reader that handles barcodes, a barcode and information representing the number of digits of the barcode are recorded on the form. To do.
[0020]
In the barcode reading method in the optical character reader, the present invention reads barcode digit number information representing the number of digits of the barcode from a specific field on the form defined by the format control information, Recognizing the number of digits of the barcode recorded in the barcode field on the form based on the read barcode number of digits information, and on the form based on the recognized number of digits of the barcode and the format control information The bar code recorded in the bar code field is read.
[0021]
By applying the OCR form and barcode reading method as described above, the existing FC and system can be used effectively and easily and easily without the need to prepare multiple types of FC on the OCR side. Bar code can be read. In addition, an optical character reader that handles variable-length bar codes can be easily constructed.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0023]
FIG. 1 is a block diagram showing a configuration of a main part in the embodiment of the present invention.
[0024]
In the figure, reference numerals 11 to 15 denote components of an optical character reader, 11 is a scanner, 12 is an FC (format control) management unit, 13 is a character recognition unit, 14 is a bar code reading unit, and 15 is It is an output unit. P is a form having a bar code field to be read by the optical character reader, and bar code digit number information Ca, Cb,... Is recorded corresponding to each bar code Ba, Bb,.
[0025]
The scanner 11 scans the form P, binarizes the image, buffers the image, and sends the binary image data 101 to the character recognition unit 13 as recognition processing target data. Here, the barcode digit number information Ca, Cb,... Recorded in the form P is subjected to character recognition in the character recognition unit 13, and the binary image data of the barcodes Ba, Bb,. The data is sent to the barcode reading unit 14 via the character recognition unit 13.
[0026]
The FC management unit 12 manages FC (format control) for character reading. Here, the digit number information reading FC102 for reading bar code digit number information Ca, Cb,... Bar code reading FC 103 for reading bar codes Ba, Bb,... Is managed, digit number information reading FC 102 is sent to character recognition unit 13, and bar code reading FC 103 is sent to bar code reading unit 14. The definition information of FC102 and FC103 may be recorded in the same FC form or may be different. In addition to using the FC form as the input means of each FC, the FC may be input on the setting screen.
[0027]
The character recognition unit 13 recognizes binary image data 101 input from the scanner 11 according to FC input from the FC management unit 12 as recognition processing target data. Here, the digit number information input from the FC management unit 12 is used. The barcode digit number information Ca, Cb,... On the form P is read using the position information of the barcode digit number information defined by the reading FC 102, and the value is read as the barcode digit designation information 104 to the barcode reading unit 14. Send it out.
[0028]
The barcode reading unit 14 receives binary image data of barcodes Ba, Bb,... From the scanner 11 via the character recognition unit 13, and the barcode management unit 12 defines a barcode defined by the barcode reading FC103. Bar code digit designation information 104 is input from the code position information and the character recognition unit 13, and based on these, the bar code reading unit 14 decodes (decodes) the bar codes Ba, Bb,. The output unit 15 edits and encodes the barcode decoded by the barcode reading unit 14 and outputs it.
[0029]
FIG. 2 is a flowchart showing the processing procedure of the above embodiment. Here, in step S13, the character recognizing unit 13 uses the position information of the barcode digit number information defined by the digit number information reading FC102 input from the FC management unit 12 to use the barcode digit on the form P. The numerical information Ca, Cb,... Is read, and in step S14 in FIG. 2, it is confirmed that the character recognition is correctly performed. The numerical data recognized as the character is used as the digit designation information 104 representing the number of digits of the barcode. The data is sent to the barcode reader 14. In step S16, the barcode reading unit 14 is defined by the digit designation information 104 indicating the number of digits of the barcode input from the character recognition unit 13 and the barcode reading FC103 input from the FC management unit 12. Based on the barcode position information, the barcodes Ba, Bb,... Inputted from the scanner 11 via the character recognition unit 13 are decoded.
[0030]
FIG. 3 shows a specific example of the form P. In the figure, 30 is a bar code form, which corresponds to the form P shown in FIG. B1, B2, B3 are bar codes each having a unique number of digits recorded in the field of the bar code form 30, and correspond to the bar codes Ba, Bb,... Shown in FIG. 31, 32, and 33 are bar code digit number designation fields provided corresponding to the bar codes B 1, B 2, and B 3, and digit values corresponding to the bar codes B 1, B 2, and B 3 are respectively recorded. . This digit value corresponds to the barcode digit number information Ca, Cb,... Shown in FIG. Incidentally, in this example, the barcode digit number information indicating that the number of digits of the barcode B1 is “30” is recorded in the barcode digit number designation field 31, and the barcode digit number designation field 32 contains the barcode. Barcode digit number information indicating that the number of digits of B2 is “23” digits is recorded, and a barcode indicating that the number of digits of barcode B3 is “31” digits in the barcode digit number designation field 33 Digit number information is recorded.
[0031]
Here, the operation in the embodiment of the present invention will be described with reference to the respective drawings.
[0032]
The scanner 11 scans the form P corresponding to the barcode form 30 shown in FIG. 3, binarizes the image, buffers the image, and then uses the binary image data 101 as character data to be recognized. The data is sent to the recognition unit 13 (step S11 in FIG. 2). Here, the binary image data of the barcode digit number information 31, 31,... Recorded in the form P is sent to the character recognition unit 13 as recognition processing target data, and the binary image data of the barcodes Ba, Bb,. The data is sent to the barcode reading unit 14 via the character recognition unit 13 as recognition processing target data. On the other hand, the FC management unit 12 sends the position information of the barcode digit number information defined by the digit information reading FC102 of the form P to the character recognition unit 13, and the barcode position defined by the barcode reading FC103. Information is sent to the barcode reader 14.
[0033]
As a result, the character recognition unit 13 reads the barcode digit number information 31, 32,... On the form P (steps S12 and S13 in FIG. 2), and when the character recognition is correctly performed (step S14 in FIG. 2 (YES)). ) Sends the character-recognized numerical data “30”, “23”,... To the barcode reading unit 14 as digit designation information 104 representing the number of digits of the barcode (step S15 in FIG. 2).
[0034]
At this time, if character recognition is rejected by the character recognition unit 13 (when character recognition is not possible), all the digits of the bar code are rejected (step S14 (NO) in FIG. 2), and the state is output. Then, the barcode reading process for the form P as the processing target is terminated (step S20 in FIG. 2).
[0035]
When the digit designation information 104 indicating the number of digits of the barcode is input from the character recognition unit 13, the barcode reading unit 14 converts the digit designation information 104 and the barcode position information defined by the barcode reading FC 103. Based on this, the barcodes B1, B2,... Input from the scanner 11 via the character recognition unit 13 are decoded (decoded) (step S16 in FIG. 2).
[0036]
Here, when the barcodes B1, B2,... Can be normally decoded with the number of digits (“30”, “23”,...) According to the digit designation information 104 (step S17 (YES) in FIG. 2), the decoding is performed. The barcode data is sent to the output unit 15, edited by the output unit 15, coded and output (step S 19 in FIG. 2). When the barcodes B1, B2,... Cannot be normally decoded with the number of digits according to the digit designation information 104 (step S17 (NO) in FIG. 2), the barcode analysis is performed again (steps S18, S16,. If the barcode analysis has failed a predetermined number of times, a status to that effect is output and barcode reading is terminated (step S20 in FIG. 2).
[0037]
In the embodiment described above, the barcode digit number information 31, 32,... Indicating the number of digits of the barcode is recorded on the form P in correspondence with the barcodes B1, B2,. However, the present invention is not limited to this. For example, for a plurality of barcode fields, the number of digits of each barcode may be combined into one field and recorded by characters or symbols. May be in any recording form in which a barcode and print information that can be recognized by the character recognition unit 13 representing the number of digits of the barcode are recorded on the form P. Further, the bar code may be of a type other than the one shown in the figure, and in short, any bar code of variable length that can be decoded (decoded) by the bar code reader 14 may be used. In addition to recording the number of digits for barcode reading, it is also possible to print and record in a predetermined field defined by FC, for example, the image processing cutout range, resolution, compression method, etc. for decoding.
[0038]
【The invention's effect】
As described above in detail, according to the present invention, in an optical character reader that handles a form having a barcode field, the number of digits changes even when forms with different numbers of digits of the recorded barcode are mixed. A unique FC is not required for each bar code, and barcodes with various numbers of digits (bar code table bar code table with variable length recorded) can be read easily and easily.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a main part in an embodiment of the present invention.
FIG. 2 is a flowchart showing a processing procedure of the embodiment.
FIG. 3 is a diagram showing a specific example of a form in the embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 11 ... Scanner 12 ... FC management part 13 ... Character recognition part 14 ... Bar code reading part 15 ... Output part P, 30 ... Form Ba, Bb, ..., B1, B2, B3 ... Bar code Ca, Cb, ... Bar code digit Number information 31, 32, 33... Bar code digit number designation field 101... Binary image data 102.
103 ... Bar code reading FC
104 ... Digit designation information indicating the number of digits of the barcode

Claims (2)

バーコードとこのバーコードの桁数を示す桁数情報とを記録した帳票と、
前記帳票から前記桁数情報を読み取る文字認識手段と、
前記文字認識手段で読み取った前記桁数情報をもとに前記帳票に記録されたバーコードの桁数を認識し、当該認識した桁数をもとに前記帳票に記録されたバーコードの情報を読み取るバーコード読取手段と
を具備したことを特徴とする光学的文字読取装置。
A form in which a barcode and digit number information indicating the number of digits of the barcode are recorded;
Character recognition means for reading the digit number information from the form;
Recognizing the number of digits of the barcode recorded in the form based on the number of digits information read by the character recognition means, the barcode information recorded in the form based on the recognized number of digits An optical character reader comprising a barcode reading means for reading.
バーコードを記録した帳票を読取対象とする光学的文字読取装置のバーコード読取方法であって、
前記光学的文字読取装置の読取対象となる前記帳票各々に、バーコードとこのバーコードの桁数を示す桁数情報とをそれぞれ所定の領域に記録しておき、
前記光学的文字読取装置に、
前記読取対象となる帳票から前記桁数情報を読み取るステップと、
前記読み取った桁数情報をもとに前記帳票に記録されたバーコードの桁数を認識するステップと、
前記認識した桁数をもとに前記帳票に記録されたバーコードの情報を読み取るステップと
を具備して、
桁数を可変長としたバーコードを記録した複数種の帳票を読取対象としたことを特徴とする光学的文字読取装置のバーコード読取方法。
A barcode reading method of an optical character reading device for reading a form in which a barcode is recorded,
In each of the forms to be read by the optical character reading device, a barcode and digit number information indicating the number of digits of the barcode are recorded in predetermined areas, respectively.
In the optical character reader,
Reading the digit number information from the form to be read;
Recognizing the number of digits of the barcode recorded in the form based on the read digit number information;
Reading the barcode information recorded in the form based on the recognized number of digits,
A bar code reading method for an optical character reading apparatus, wherein a plurality of types of forms on which bar codes having variable lengths are recorded are read.
JP2001177315A 2001-06-12 2001-06-12 Optical character reader and optical character reader barcode reading method Expired - Fee Related JP4128757B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001177315A JP4128757B2 (en) 2001-06-12 2001-06-12 Optical character reader and optical character reader barcode reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001177315A JP4128757B2 (en) 2001-06-12 2001-06-12 Optical character reader and optical character reader barcode reading method

Publications (2)

Publication Number Publication Date
JP2002366890A JP2002366890A (en) 2002-12-20
JP4128757B2 true JP4128757B2 (en) 2008-07-30

Family

ID=19018173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001177315A Expired - Fee Related JP4128757B2 (en) 2001-06-12 2001-06-12 Optical character reader and optical character reader barcode reading method

Country Status (1)

Country Link
JP (1) JP4128757B2 (en)

Also Published As

Publication number Publication date
JP2002366890A (en) 2002-12-20

Similar Documents

Publication Publication Date Title
US5764774A (en) Source data compression and decompression in code symbol printing and decoding
KR100525694B1 (en) System and method for user authentication
US8226007B2 (en) Method and apparatus for using a limited capacity portable data carrier
US7185816B1 (en) Bar code and method of forming a bar code having color for encoding supplemental information
US20020185540A1 (en) Setting bar code of optical information reader, method for generating the same, method for changing setting of optical information reader and computer-readable medium
EP0572989A2 (en) Record with encoded data
US20030116628A1 (en) Reading method of the two-dimensional bar code
US20150235118A1 (en) Two-Dimensional Barcodes Having A Plurality of Different Regions
US20100147962A1 (en) Method and Apparatus for Generating a Barcode with a Human Readable Interpretation, a Printing Apparatus, and a Program
JP2002538530A (en) Two-dimensional print code for storing biometric information and device for reading it
JP2006313534A (en) Method and system for manufacturing uncorrectable self-identification article and checking its authenticity
KR100919818B1 (en) Method of encoding divided two-dimensional barcodes for mobile communication terminal
JP4128757B2 (en) Optical character reader and optical character reader barcode reading method
KR20070015101A (en) Method and the algorithm to transform "1d & 2d black and white barcode "to color code
US4945214A (en) Digital data apparatus with datastrip compression and expansion
JPH0449480A (en) Bar code reading system
WO2021175132A1 (en) Novel two-dimensional system
CN112560534B (en) Multi-parameter configuration static sequential decoding output method
WO2013179436A1 (en) Read-in device, read-in result output method, and program
JP4132225B2 (en) Information code reading and creating device
JPH08263585A (en) Bar code reading device
JP2733837B2 (en) Character reader
US5768402A (en) Code data writing-once apparatus for recording writing-once code data in unrecorded writing-once blocks of optically readably printed and recorded code data
JPH09274637A (en) Two-dimensional code reader
JP2730273B2 (en) Barcode reading device and barcode reading method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070918

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080515

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140523

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees