JP2000251011A - Bar code recognizing device and slip recognizing device - Google Patents

Bar code recognizing device and slip recognizing device

Info

Publication number
JP2000251011A
JP2000251011A JP11052682A JP5268299A JP2000251011A JP 2000251011 A JP2000251011 A JP 2000251011A JP 11052682 A JP11052682 A JP 11052682A JP 5268299 A JP5268299 A JP 5268299A JP 2000251011 A JP2000251011 A JP 2000251011A
Authority
JP
Japan
Prior art keywords
code
character
bar code
character code
reading
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.)
Pending
Application number
JP11052682A
Other languages
Japanese (ja)
Inventor
Takuya Ishihara
拓哉 石原
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 JP11052682A priority Critical patent/JP2000251011A/en
Publication of JP2000251011A publication Critical patent/JP2000251011A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To highly accurately recognize a bar code. SOLUTION: After the same plural bar codes are read, a character code is recognized from the said read bar codes by a bar code recognizing means 11. Afterwards, when the plural recognized character codes are compared by a character code propriety judging means 12 and character codes more than half are the same, the same character code is judged right.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、バーコードや帳票
を読み込んで正否を判断するバーコード認識装置および
帳票認識装置(OCR)に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a bar code recognition device and a form recognition device (OCR) for reading a bar code or a form to determine whether or not it is correct.

【0002】[0002]

【従来の技術】一般に、バーコード認識装置において
は、予めコードシンボルとしての標準コードが用意さ
れ、バーコード読取部(スキャナ)によって商品ラベル
や値札に印刷されるバーコードを光学的に読み取った
後、この読み取ったコードに関し、標準コードを参照し
ながら文字コードに変換し、この文字コードに対応する
所定の数字を含む文字を出力する構成である。
2. Description of the Related Art Generally, in a bar code recognition apparatus, a standard code is prepared in advance as a code symbol, and after a bar code reading unit (scanner) optically reads a bar code printed on a product label or a price tag. The read code is converted into a character code with reference to a standard code, and a character including a predetermined number corresponding to the character code is output.

【0003】従って、かかるバーコード読取装置は、バ
ーコードの読取り方向が正しければ、読取ったバーコー
ドから自動的に正しい所定の文字を出力できる。
Accordingly, such a bar code reading device can automatically output correct predetermined characters from the read bar code if the reading direction of the bar code is correct.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、以上の
ようなバーコード読取装置では、バーコードを斜め方向
にスキャンニングしたり、バーコード印刷の帳票に汚れ
等が存在するとき、そのバーコードの文字コードを正し
く読み取れなかったり、誤認識するといた問題がある。
However, in the above-described bar code reading apparatus, when a bar code is scanned in an oblique direction or when a form of bar code printing contains dirt or the like, the character of the bar code is read. There was a problem that the code could not be read correctly or was incorrectly recognized.

【0005】よって、このような場合には、バーコード
を読み取った後に手動等による修正作業が必要となる。
Therefore, in such a case, it is necessary to perform a manual correction operation after reading the bar code.

【0006】本発明は上記事情に鑑みてなされたもの
で、バーコードの正否を高精度に認識するバーコード認
識装置を提供することにある。
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a bar code recognition device that recognizes whether a bar code is correct or not with high accuracy.

【0007】また、本発明の他の目的は、帳票の内容を
高精度に認識する帳票認識装置を提供することにある。
Another object of the present invention is to provide a form recognition apparatus for recognizing the contents of a form with high accuracy.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本発明は、複数個印刷された同一のバーコードを読
み込んで所定の文字コードに変換するバーコード認識手
段と、このバーコード認識手段で認識された各バーコー
ドの文字コードを比較し、過半数が同一の文字コードで
あるとき、その過半数に属する文字コードを正しいと判
断する文字コード正否判断手段とを設けたバーコード認
識装置である。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a bar code recognizing means for reading a plurality of printed bar codes and converting them into a predetermined character code. The bar code recognition device is provided with character code correctness determination means for comparing the character codes of the bar codes recognized by the means, and determining that the character code belonging to the majority is correct when the majority is the same character code. is there.

【0009】本発明は、以上のような手段を講じたこと
により、複数個の同一バーコードののうち、それらバー
コードの認識文字コードの過半数が同一であるとき、そ
の過半数に属する文字コードを正しいと判断するので、
バーコードの読取ミスが発生しても、正しいバーコード
を認識でき、無駄な操作がなくなり、バーコード読取り
後の修正作業を大幅に削減できる。
According to the present invention, by taking the above-described means, when a majority of the recognized character codes of a plurality of identical bar codes are the same, the character codes belonging to the majority are recognized. Since it is determined to be correct,
Even if a barcode reading error occurs, a correct barcode can be recognized, unnecessary operations can be eliminated, and correction work after barcode reading can be greatly reduced.

【0010】また、別の発明は、予めバーコードの濃淡
情報に対する重み係数が設定され、複数個印刷された同
一のバーコードのコードおよび濃淡情報を読み取り、こ
の読み取った各バーコードのコードを所定の文字コード
に変換する一方、これら変換された各バーコードの文字
コードに対応する濃淡情報の重み係数の大きさから正し
い文字コードを判断するようにしてもよい。
According to another aspect of the invention, a weight coefficient for the grayscale information of a barcode is set in advance, a plurality of printed codes of the same barcode and grayscale information are read, and the read codes of the barcodes are specified. The character code may be determined from the magnitude of the weighting factor of the grayscale information corresponding to the converted character code of each bar code.

【0011】さらに、1個のバーコードを複数回読み込
んで前述と同様な手段によって正しい文字コードを判断
してもよい。
Further, one bar code may be read a plurality of times to determine a correct character code by the same means as described above.

【0012】さらに、別の発明は、帳票の読取回数また
は明るさに対応する重み係数を設定する設定手段と、帳
票を複数回読み取ってイメージデータを読み取るか、ま
たは明るさを変化させてイメージデータを読み取る帳票
読取手段と、この帳票読取手段によって読み取ったイメ
ージデータをそれぞれ所定の文字コードに変換するイメ
ージ認識手段と、このイメージ認識手段により認識され
た複数回読取り、または明るさを変化させて読み取った
イメージデータの文字コードを比較し、読取回数の過半
数の文字コードが同一であるか、または各文字コードに
対応する明るさの重み係数のうち最も大きいとき、その
過半数または重み係数の大きい文字コードを正しいと判
断する文字コード正否判断手段とを設けた帳票認識装置
である。
Still another aspect of the present invention is a setting means for setting a weight coefficient corresponding to the number of times of reading or brightness of a form, and reading image data by reading a form a plurality of times, or changing image brightness by changing brightness. Form reading means, image recognition means for converting image data read by the form reading means into a predetermined character code, reading a plurality of times recognized by the image recognition means, or reading by changing the brightness. If the character codes of the majority of the read times are the same or the largest of the brightness weighting factors corresponding to each character code, the character code with the majority or the larger weighting factor is compared. Is a form recognition device provided with a character code correct / incorrect determination means for determining that the character is correct.

【0013】この発明は、以上のような手段を講じたこ
とにより、前述するバーコードの認識と同様に正しい帳
票を認識でき、読取後の修正作業を大幅に削減できる。
According to the present invention, by taking the above-described means, a correct form can be recognized in the same manner as the above-described barcode recognition, and the correction work after reading can be greatly reduced.

【0014】[0014]

【発明の実施の形態】以下、本発明に係るバーコード認
識装置の実施の形態について図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a barcode recognition device according to the present invention will be described with reference to the drawings.

【0015】(第1の実施の形態)図1は本発明に係る
バーコード認識装置の一実施の形態を示すブロック構成
図である。
(First Embodiment) FIG. 1 is a block diagram showing an embodiment of a barcode recognition apparatus according to the present invention.

【0016】同図において1は商品ラベル、値札等の帳
票であって、この帳票1上には図2に示すごとく所定個
数(2N+1、Nは整数)のバーコードが印刷されてい
る。なお、これら複数個のバーコードは同一の文字内容
をもつものである。
In FIG. 1, reference numeral 1 denotes a form such as a product label or a price tag. A predetermined number (2N + 1, N is an integer) of bar codes are printed on the form 1 as shown in FIG. The plurality of barcodes have the same character content.

【0017】一方、装置本体側は、バーコード読取部
2、バーコード設定情報ファイル3、バーコード認識処
理用プログラムを記録する記録媒体4、バーコード読取
部2で読み取ったバーコードのコードデータを記憶する
読取バーコード記憶部5、認識文字コード記憶部6、バ
ーコード認識処理部7とによって構成されている。な
お、バーコード設定情報ファイル3、読取バーコード記
憶部5および認識文字コード記憶部6は同一の記憶装置
を領域分けし利用してもよい。
On the other hand, the apparatus main body side reads a bar code reading unit 2, a bar code setting information file 3, a recording medium 4 for recording a bar code recognition processing program, and a bar code read by the bar code reading unit 2. It comprises a read barcode storage unit 5, a recognized character code storage unit 6, and a barcode recognition processing unit 7 for storing. The barcode setting information file 3, the read barcode storage unit 5, and the recognized character code storage unit 6 may use the same storage device by dividing the area.

【0018】前記バーコード読取部2は、一般にバーコ
ードリーダと呼ばれるもので、帳票上のバーコードを光
学的に読み取ってコードデータに変換し出力する。図2
に示す矢印(イ)はバーコード読取り方向を示している
が、例えば矢印(イ)に対して直交する方向から5個の
バーコードを同時に読取ってよい。
The bar code reading section 2 is generally called a bar code reader, and optically reads a bar code on a form, converts the bar code into code data, and outputs the code data. FIG.
Indicates the bar code reading direction. For example, five bar codes may be read simultaneously from a direction orthogonal to the arrow (a).

【0019】前記バーコード設定情報ファイル3は、バ
ーコード認識処理上必要な各種の情報を設定するもので
あって、例えば帳票1上に印刷されるバーコード個数
(2N+1)、標準コード(JAN Code)に対す
る文字コードなどが設定されている。
The bar code setting information file 3 is for setting various information necessary for bar code recognition processing. For example, the number of bar codes (2N + 1) to be printed on the form 1 and the standard code (JAN Code) ) Is set.

【0020】前記記録媒体4は、一般的には磁気ディス
クが用いられるが、それ以外にも例えば磁気テープ、C
D−ROM、DVD−ROM、フロッピーディスク、M
O、CD−R、メモリカードなどが用いられ、図3また
は図4に示すような一連の処理を実行させるためのバー
コード認識処理用プログラムが記録されている。
As the recording medium 4, a magnetic disk is generally used.
D-ROM, DVD-ROM, floppy disk, M
An O, CD-R, memory card, or the like is used, and a bar code recognition processing program for executing a series of processing as shown in FIG. 3 or 4 is recorded.

【0021】前記認識文字コード記憶部6は、バーコー
ドの認識結果である文字コード等を記憶する機能をもっ
ている。
The recognized character code storage section 6 has a function of storing a character code or the like which is a bar code recognition result.

【0022】前記バーコード認識処理部7は、CPUに
よって構成され、読取バーコード記憶部5に格納されて
いる各バーコードのコードデータについて、バーコード
設定情報ファイル3に設定される標準コード・文字コー
ド変換テーブルを参照しつつ文字コードに変換し、認識
文字コード記憶部6に記憶するバーコード認識手段11
と、このバーコード認識手段11で認識される各バーコ
ードの文字コードを比較し、過半数の(N+1)の文字
コードが同一であるとき、その文字コードを正しいと判
断する文字コード正否判断手段12と、この文字コード
正否判断手段12によって正しいと判断された文字コー
ドに対応する数字を含む文字を出力する認識結果出力手
段13とからなっている。
The bar code recognition processing section 7 is constituted by a CPU. The bar code recognition processing section 7 performs standard code / character setting for the bar code data stored in the read bar code storage section 5 in the bar code setting information file 3. A bar code recognition unit 11 that converts the character code into a character code while referring to the code conversion table and stores the character code in the recognized character code storage unit 6
And the character code of each bar code recognized by the bar code recognition means 11, and when the majority (N + 1) character codes are the same, the character code correctness determination means 12 determines that the character code is correct. And a recognition result output means 13 for outputting a character including a number corresponding to the character code determined to be correct by the character code correctness determination means 12.

【0023】次に、以上のような装置の動作について図
3を参照して説明する。
Next, the operation of the above apparatus will be described with reference to FIG.

【0024】先ず、装置の動作に先立ち、バーコード設
定情報ファイル3にバーコード認識処理上必要な各種の
情報を設定する。図2に示すように、帳票1に5個のバ
ーコードが印刷されている場合、バーコード個数:5を
設定し、また標準コード・文字コード変換テーブル(例
えばJAN Code)等が設定されている。
First, prior to the operation of the apparatus, various information necessary for barcode recognition processing is set in the barcode setting information file 3. As shown in FIG. 2, when five barcodes are printed on the form 1, the number of barcodes is set to 5, and a standard code / character code conversion table (for example, JAN Code) is set. .

【0025】この状態において動作が開始すると、バー
コード認識処理部7のバーコード認識手段11は、認識
文字コード記憶部6等の一部のエリアに設定されるカウ
ンタメモリに「i=1」を設定した後(S1)、バーコ
ード読取部2で読み取ったバーコードのコードデータを
読取バーコード記憶部5から読み取ってファイル3の標
準コード・文字コードを参照しながら各バーコードに対
応する文字コードを認識し、その認識文字コードを認識
文字コード記憶部6に記憶する(S2〜S4)。
When the operation is started in this state, the bar code recognizing means 11 of the bar code recognizing processing section 7 stores "i = 1" in a counter memory set in a partial area such as the recognized character code storing section 6. After the setting (S1), the code data of the bar code read by the bar code reading unit 2 is read from the read bar code storage unit 5, and the character code corresponding to each bar code is referred to while referring to the standard code / character code of the file 3. Is recognized, and the recognized character code is stored in the recognized character code storage unit 6 (S2 to S4).

【0026】しかる後、認識された文字コード数が設定
されたバーコード個数「5」に達したか否かを判断し
(S5)、設定されたバーコード個数に達していない場
合には前記カウンタメモリに+1インクリメントし(S
6)、引き続き、ステップS2に戻って同様の処理を繰
り返し実行する。
Thereafter, it is determined whether or not the number of recognized character codes has reached the set number of bar codes "5" (S5). The memory is incremented by +1 (S
6) Then, the process returns to step S2 to repeatedly execute the same processing.

【0027】そして、ステップS5において認識文字コ
ードが設定されたバーコード個数に達した場合、文字コ
ード正否判断手段12は、認識された文字コードどうし
を比較し、バーコード個数「5」の過半数「N+1」の
文字コードが同一であるか否かを判断し(S7)、過半
数の文字コードが同一であるとき、その同一に属する文
字コードを正しいと判断する。認識結果出力手段13は
過半数が同一と判断された文字コードに対応する文字を
出力する(S8)。同一とする文字コードが過半数に達
しなかったとき、認識不可と判断し、エラー表示などを
出力する。
If the number of recognized barcodes reaches the set barcode number in step S5, the character code correct / incorrect judgment unit 12 compares the recognized barcodes and determines the majority "5" of the barcode number "5". It is determined whether or not the character codes of "N + 1" are the same (S7). When the majority of the character codes are the same, it is determined that the character codes belonging to the same are correct. The recognition result output means 13 outputs a character corresponding to the character code whose majority is determined to be the same (S8). When the same character code does not reach a majority, it is determined that recognition is not possible, and an error display or the like is output.

【0028】因みに、各バーコードの認識された文字コ
ードが、 バーコード1:12345 バーコード2:認識できず バーコード3:12345 バーコード4:12345 バーコード5:11111 であつたとき、同一の文字コードが過半数に達している
ので、読取ったバーコードの値である“12345”が
正しいと判断し、認識結果として“12345”なる文
字を出力する。
Incidentally, when the recognized character code of each bar code is bar code 1: 12345 bar code 2: unrecognizable bar code 3: 12345 bar code 4: 12345 bar code 5: 11111, the same character code is used. Since the character code has reached the majority, the value of the read barcode "12345" is determined to be correct, and a character "12345" is output as a recognition result.

【0029】さらに、バーコード認識装置の他の動作例
について図4を参照して説明する。
Further, another operation example of the barcode recognition device will be described with reference to FIG.

【0030】この例は、上記動作例よりも速やかに正し
い判断結果を得る例である。
In this example, a correct judgment result is obtained more quickly than in the above-described operation example.

【0031】この動作は、ステップS1〜S4までは図
3と同じであって、ステップS11〜S14が対応して
いる。ここで、ステップS14において認識された文字
コードを認識文字コード記憶部6に記憶した後、認識文
字コードの数がバーコード個数の過半数(N+1)を越
えたか否かを判断する(S15)。
This operation is the same as that of FIG. 3 in steps S1 to S4, and corresponds to steps S11 to S14. Here, after storing the character codes recognized in step S14 in the recognized character code storage unit 6, it is determined whether the number of recognized character codes has exceeded the majority (N + 1) of the number of barcodes (S15).

【0032】ここで、認識された文字コードの数が過半
数を越えた場合、認識された各文字コードどうしを比較
し(S16)、バーコード個数「5」の過半数「N+1
=3」の文字コードが同一であれば、直ちに認識結果出
力手段13から同一とされた文字コードに対応する文字
を出力する(S17)。ステップS16において同一と
する文字コードの数が過半数に達しなかったとき、引き
続き、認識された文字コードの数がバーコード個数に達
しているか否かを判断し(S18)、達していない場合
にはカウンタメモリを+1インクリメントし(S1
9)、ステップS2に戻って同様の処理を繰り返す。
Here, when the number of recognized character codes exceeds a majority, the recognized character codes are compared with each other (S16), and the majority "N + 1" of the bar code number "5" is compared.
If the character code of "= 3" is the same, a character corresponding to the same character code is immediately output from the recognition result output means 13 (S17). When the number of identical character codes does not reach the majority in step S16, it is continuously determined whether the number of recognized character codes has reached the number of barcodes (S18). The counter memory is incremented by +1 (S1
9) Return to step S2 and repeat the same processing.

【0033】ステップS18において認識された文字コ
ード数がバーコード数に達した場合、文字コード正否判
断手段12は、各認識文字コードどうしを比較し(S2
0)、バーコード数「5」の過半数「N+1」の認識文
字コードが同一であれば、認識結果出力手段13におい
て同一とされる認識文字コードに対応する文字を出力す
る(S17)。同一とする認識文字コードが過半数に達
しなかったとき、認識不可と判断し、エラー表示を出力
する。
If the number of character codes recognized in step S18 has reached the number of barcodes, the character code correctness determination means 12 compares the recognized character codes (S2).
0), if the recognized character codes of the majority "N + 1" of the barcode number "5" are the same, the recognition result output means 13 outputs a character corresponding to the recognized recognized character code (S17). If the same recognition character code does not reach the majority, it is determined that recognition is not possible and an error display is output.

【0034】従って、例えば認識された文字コードが、 バーコード1:12345 バーコード2:12345 バーコード3:12345 バーコード4:認識できず バーコード5:11111 であるとき、バーコード1,2,3の3個の認識文字コ
ードが同一であるので、読み込んだバーコードの値“1
2345”が正しいと判断し、この文字コードに対応す
る文字“12345”を出力する。
Accordingly, for example, when the recognized character code is bar code 1: 12345 bar code 2: 12345 bar code 3: 12345 bar code 4: unrecognizable bar code 5: 11111, bar code 1,2,2 3 are the same, the value of the read barcode “1”
2345 "is determined to be correct, and the character" 12345 "corresponding to this character code is output.

【0035】従って、以上のような実施の形態によれ
ば、予め(2N+1)のバーコードを付加し、バーコー
ドの過半数(N+1)の認識結果が同一であるとき、そ
の同一とされた認識結果の文字コードが正しいと判断し
文字を出力するので、バーコードの読取ミス(読取不
能、誤認識等)が発生しても、過半数の認識結果が同一
であることを条件に正しいバーコードの認識し、認識結
果を出力することができる。
Therefore, according to the above-described embodiment, when the (2N + 1) bar code is added in advance and the recognition result of the majority (N + 1) of the bar codes is the same, the same recognition result is used. The character code is judged to be correct and the character is output. Therefore, even if a bar code reading error (unreadable, erroneous recognition, etc.) occurs, the correct bar code is recognized on the condition that the majority of the recognition results are the same. Then, the recognition result can be output.

【0036】また、ある程度の誤りが発生したとして
も、同一結果の正しい認識結果が得られる限り、バーコ
ードを正しく認識でき、バーコード読取後の修正処理を
ほとんど不要とすることができる。
Further, even if a certain degree of error occurs, the bar code can be correctly recognized as long as a correct recognition result of the same result can be obtained, and correction processing after reading the bar code can be almost eliminated.

【0037】さらに、バーコード認識装置における他の
実施の形態について説明する。
Next, another embodiment of the barcode recognition device will be described.

【0038】この実施の形態は、予めバーコードの濃淡
に応じた重み係数を設定し、同一の認識文字コードの濃
淡による重み係数累計値から文字コードの正否を判断す
るものであり、その構成は図1とほぼ同様であるので、
ここでは必要な部分のみ説明する。
In this embodiment, a weight coefficient corresponding to the density of a bar code is set in advance, and the correctness of a character code is determined from the cumulative weight coefficient based on the density of the same recognized character code. Since it is almost the same as FIG. 1,
Here, only necessary parts will be described.

【0039】バーコード読取部2は、各バーコードのコ
ードデータおよび濃淡情報を読み取るとともに、これら
読み取った各バーコードのコードデータと濃淡情報とを
対応関係をもって読取バーコード記憶部5に格納する。
The bar code reading section 2 reads the code data and the density information of each bar code, and stores the read code data and the density information of each bar code in the read bar code storage section 5 in a corresponding relationship.

【0040】前記バーコード設定情報ファイル3には、
例えば次のような項目を設定する。
The bar code setting information file 3 includes:
For example, the following items are set.

【0041】 バーコード数:例えば5個 バーコードの種類:JAN Code 重み付け基準 :バーコード濃さ 10以下→100 20以下→ 50 30以下→ 25 31以上→ 0 を設定する。なお、重み付け基準の濃さは、その値が大
きいほど背景が黒くなって誤認識を起こし易いことを意
味している。
Number of barcodes: For example, 5 Barcode type: JAN Code Weighting reference: Barcode density 10 or less → 100 20 or less → 50 30 or less → 2531 or more → 0 is set. The depth of the weighting criterion means that the larger the value is, the darker the background becomes and the more likely it is to cause erroneous recognition.

【0042】前記文字コード正否判断手段12は、バー
コード認識手段11で認識された各バーコードの文字コ
ードを比較し、これら文字コードの中に同一の文字コー
ドが存在するとき、各同一の文字コードに対応する濃淡
情報の重み係数累計値の大きい文字コードを正しいと判
断し、また同一の文字コードが無いとき、各文字コード
のうち、重み係数の大きい文字コードを正しいと判断す
る機能をもっている。
The character code correct / non-judgment means 12 compares the character codes of the bar codes recognized by the bar code recognizing means 11 and, if the same character code exists in these character codes, the same character code It has a function to judge that a character code with a large cumulative weight coefficient value of the shade information corresponding to the code is correct, and to judge that a character code with a large weight coefficient is correct among the character codes when there is no identical character code. .

【0043】次に、以上のような装置の動作について図
5を参照して説明する。
Next, the operation of the above apparatus will be described with reference to FIG.

【0044】バーコードの読取動作が開始すると、バー
コード読取部2は、帳票1上の複数個のバーコードを読
み取り、各バーコードのコードデータおよび濃淡情報を
読取バーコード記憶部5に記憶する。
When the bar code reading operation is started, the bar code reading section 2 reads a plurality of bar codes on the form 1 and stores the code data and density information of each bar code in the read bar code storage section 5. .

【0045】この状態においてバーコード認識処理部7
のバーコード認識手段11は、認識文字コード記憶部6
等の一部のエリアに設定されるカウンタメモリに「i=
1」を設定した後(S21)、読取バーコード記憶部5
に格納される各バーコードのコードデータを読取ってフ
ァイル3の標準コード・文字コードを参照しながら各バ
ーコードに対応する文字コードを認識し、その認識文字
コードを認識文字コード記憶部6に記憶する(S22〜
S24)。
In this state, the bar code recognition processing section 7
The bar code recognition means 11 of the
In the counter memory set in some areas such as "i =
After setting "1" (S21), the read barcode storage 5
Is read, the character code corresponding to each bar code is recognized by referring to the standard code / character code of the file 3, and the recognized character code is stored in the recognized character code storage unit 6. Yes (S22 ~
S24).

【0046】しかる後、認識された文字コード数が設定
されたバーコード個数「5」に達したか否かを判断し
(S25)、バーコード個数に達していない場合には前
記カウンタメモリに+1インクリメントし(S26)、
引き続き、ステップS22に戻って同様の処理を繰り返
し実行する。
Thereafter, it is determined whether or not the number of recognized character codes has reached the set number of bar codes "5" (S25). If the number of bar codes has not reached the number of bar codes, +1 is added to the counter memory. Increment (S26),
Subsequently, the process returns to step S22 to repeatedly execute the same processing.

【0047】以上のようにして全てのバーコードの文字
コードを認識し記憶した後、文字コード正否判断手段1
2は、認識された各文字コードの中に同一の文字コード
が存在するか否かを判断する(S27)。この判断の結
果、同一の文字コードがなければ、各文字コードに対応
する濃淡情報に基づいてファイル3から重み係数を取り
出し、これら重み係数のうち一番大きい重み係数をもつ
文字コードを正しい文字コードと判断し(S28)、そ
の文字コードに対応する文字を出力する(S29)。
After the character codes of all the bar codes are recognized and stored as described above, the character code correct / incorrect determination means 1
2 judges whether or not the same character code exists among the recognized character codes (S27). If the result of this determination is that there is no identical character code, a weight coefficient is extracted from the file 3 based on the grayscale information corresponding to each character code, and the character code having the largest weight coefficient among these weight coefficients is determined as the correct character code. Is determined (S28), and a character corresponding to the character code is output (S29).

【0048】また、ステップS27において同一の文字
コードがあるとき、次のステップS30で同一の文字コ
ードが複数存在するか否かを判断する。ここで、同一の
文字コードが複数存在する場合、それぞれ同一の文字コ
ードに対応する重み係数どうしを累計し、その中で最も
大きい重み係数累計値の同一文字コードを正しい文字コ
ードと判断し(S31)、認識結果出力手段13から当
該文字コードに対応する文字を出力する(S29)。
If there is the same character code in step S27, it is determined in next step S30 whether a plurality of the same character codes exist. Here, when there are a plurality of the same character codes, the weighting factors corresponding to the same character codes are totaled, and the same character code having the largest weighting factor cumulative value among them is determined to be the correct character code (S31). ), The character corresponding to the character code is output from the recognition result output means 13 (S29).

【0049】一方、ステップS30において同一の文字
コードが一種類しか存在しないとき、この同一の文字コ
ードに対応する重み係数累計値と他の認識文字コードの
重み係数とから最も大きい重み係数となる文字コードを
正しい文字コードと判断し(S32)、認識結果出力手
段13から当該文字コードに対応する文字を出力する
(S29)。
On the other hand, if there is only one kind of the same character code in step S30, the character having the largest weight coefficient is determined from the cumulative weight coefficient corresponding to the same character code and the weight coefficients of the other recognized character codes. The code is determined to be a correct character code (S32), and a character corresponding to the character code is output from the recognition result output means 13 (S29).

【0050】因みに、各バーコードの濃淡が図6に示す
ような値であるとき、前記重み付け基準を適用すると、
図7に示すような重み係数となる。この図では、複数の
同一の認識文字コード「12345」、「12344」
が存在する。そこで、これら同一の文字コードの重み係
数を累計すると、 文字コード「12345」:75 文字コード「12344」:25 となり、正しい文字コードは「12345」と判断し、
文字“12345”を出力する。
Incidentally, when the shading of each bar code is a value as shown in FIG.
The weight coefficient is as shown in FIG. In this figure, a plurality of identical recognition character codes "12345", "12344"
Exists. Therefore, when the weighting factors of these same character codes are accumulated, the character code is "12345": 75 and the character code is "12344": 25, and the correct character code is determined to be "12345".
The character "12345" is output.

【0051】従って、以上のような実施の形態によれ
ば、重み付け基準の濃さが大きいほど背景等が黒くなっ
て誤りを生じ易しくなることを考慮しつつ予め重み係数
を小さく設定し、各バーコードの認識された文字コード
に関し、当該各バーコードの濃淡から定まる重み係数の
大小関係から正しい文字コードを選択するので、実際の
汚れ具合を考慮してバーコードの適否を判断でき、より
正確にバーコードを認識することができる。さらに、前
述した図3または図4と同様な効果も奏する。
Therefore, according to the above-described embodiment, the weight coefficient is set small in advance while considering that the background becomes darker and errors are more likely to occur as the depth of the weight reference becomes higher. For the recognized character code, the correct character code is selected from the magnitude relationship of the weighting factors determined from the shading of each barcode, so that the appropriateness of the barcode can be determined in consideration of the actual degree of contamination, and more accurately. Barcodes can be recognized. Further, the same effect as that of FIG. 3 or FIG.

【0052】(第2の実施の形態)図8は本発明に係る
バーコード認識装置の実施の形態を示すブロック構成図
である。
(Second Embodiment) FIG. 8 is a block diagram showing an embodiment of a barcode recognition apparatus according to the present invention.

【0053】このバーコード認識装置は、複数個のバー
コードを読み込むのではなく、1つのバーコードを複数
回連続的に読取り、その読取ったバーコードの認識結果
を比較して正しい認識結果を得るものであり、その構成
は図1とほぼ同様であるので、同一部分には同一符号を
付してその詳しい説明を省略し、以下、異なる部分につ
いて説明する。
The bar code recognition apparatus does not read a plurality of bar codes, but reads one bar code continuously plural times, and compares the recognition results of the read bar codes to obtain a correct recognition result. Since the configuration is almost the same as that of FIG. 1, the same portions are denoted by the same reference numerals, and detailed description thereof will be omitted. Hereinafter, different portions will be described.

【0054】本装置において特に異なる部分、図9に示
すような商品ラベル、値札等の帳票1A上に複数個では
なくて1個のバーコードを付加すること、さらにバーコ
ード読取部2A,バーコード設定情報ファイル3A、バ
ーコード認識手段11A等に工夫を講じたものである。
In this apparatus, a different bar code, such as a product label and a price tag as shown in FIG. The configuration information file 3A, the barcode recognition means 11A and the like are devised.

【0055】先ず、バーコード設定情報ファイル3Aに
はバーコード読取り回数および標準コードに対する変換
文字コードのテーブル等が設定される。このバーコード
読取り回数は、バーコード読取部2Aによって1個のバ
ーコードを連続的に読取る連続読取回数であって、例え
ば「5回」が設定される。なお、図9に示す矢印(ロ)
はバーコードの読取り方向であるが、この方向と直交す
る方向から読取ってもよいものである。
First, the barcode setting information file 3A is set with a barcode reading frequency, a table of converted character codes for standard codes, and the like. The number of times of reading the barcode is the number of times of continuous reading of one barcode by the barcode reading unit 2A, and is set to, for example, “5 times”. The arrow (b) shown in FIG.
Is the bar code reading direction, but the bar code may be read from a direction orthogonal to this direction.

【0056】前記バーコード認識手段11Aは、図1と
同様な機能の他、CPUの内蔵クロック源から発生する
クロックを利用し、またはその発生クロックを分周する
などして例えば連続的に5個の高速スキャン用クロック
をバーコード読取部2Aに送出しバーコード読取り指示
を出す機能をもっている。
The bar code recognizing means 11A has a function similar to that of FIG. 1 and uses, for example, a clock generated from a built-in clock source of the CPU, or divides the generated clock to obtain five continuous bar codes. Has a function of sending the high-speed scan clock to the barcode reading unit 2A and issuing a barcode reading instruction.

【0057】このバーコード読取部2Aは、高速スキャ
ン用クロックを受けるたびにバーコードを読み込んで出
力することにより、同一のバーコードを例えば5回読取
って出力する機能をもっている。
The bar code reading section 2A has a function of reading and outputting the same bar code five times, for example, by reading and outputting the bar code every time the high-speed scanning clock is received.

【0058】この装置の動作については、前述する設定
されたバーコード個数に代えてバーコード読取り回数と
しただけで、図3、図4と同様な動作手順を用いて処理
することができる。
The operation of this apparatus can be processed using the same operation procedure as that shown in FIGS. 3 and 4 only by changing the number of bar codes read in place of the set number of bar codes described above.

【0059】因みに、1個のバーコードの各読取り回数
において、 1回目:12345 2回目:認識できず 3回目:12345 4回目:12345 5回目:11111 のような文字コードが認識された場合、設定された読取
回数5(2N+1)の過半数(N+1)である3回の文
字コード“12345”が同じであるので、この文字コ
ード“12345”が正しいと判断し、“12345”
の文字を出力する。
By the way, in each reading number of one bar code, the first time: 12345 The second time: cannot be recognized The third time: 12345 The fourth time: 12345 The fifth time: When the character code such as 11111 is recognized, the setting is performed. Since the three character codes “12345”, which is the majority (N + 1) of the read number 5 (2N + 1), are the same, it is determined that the character code “12345” is correct, and “12345”
Is output.

【0060】従って、この実施の形態においても、第1
の実施の形態と同様の効果を奏する他、1個のバーコー
ドを用いるだけであるので、従来から一般に用いられて
いるバーコードに容易に適用可能である。
Therefore, also in this embodiment, the first
In addition to the effect similar to that of the embodiment, since only one barcode is used, the present invention can be easily applied to a conventionally used barcode.

【0061】さらに、バーコード認識装置の他の実施の
形態について説明する。
Further, another embodiment of the barcode recognition device will be described.

【0062】この実施の形態は、1つのバーコードを複
数回連続的に読取る際、明るさを変化させながらバーコ
ードを読取る一方、この明るさに応じた重み係数から認
識された文字コードの正否を判断するものであり、その
構成は図8とほぼ同様であるので、同一部分には同一符
号を付してその詳しい説明を省略し、以下、異なる部分
について説明する。
In this embodiment, when one bar code is read continuously plural times, the bar code is read while the brightness is changed, and the correctness of the character code recognized from the weight coefficient corresponding to the brightness is determined. Since the configuration is almost the same as that of FIG. 8, the same portions are denoted by the same reference numerals, detailed description thereof will be omitted, and different portions will be described below.

【0063】本装置において特に異なる部分は、バーコ
ード読取部2A、バーコード認識手段11A、バーコー
ド設定情報ファイル3Aおよび文字コード正否判断手段
12A等である。
Particularly different parts in this apparatus are a bar code reading section 2A, a bar code recognizing means 11A, a bar code setting information file 3A, a character code correct / incorrect judgment means 12A and the like.

【0064】前記バーコード認識手段11Aは、1個の
バーコードに対し、予め連続的に所定回数例えば5個の
スキャン用クロックをバーコード読取部2Aに送出する
機能をもっている。
The barcode recognizing means 11A has a function of sending a predetermined number of scan clocks, for example, five scan clocks to the barcode reader 2A continuously for one barcode.

【0065】前記バーコード読取部2Aは、予め定める
個数のスキャン用クロックを受けるごとに順次例えば明
るさを増しつつバーコードを読取って読取バーコード記
憶部5に格納する機能をもっている。
The bar code reading section 2A has a function of reading a bar code while increasing the brightness, for example, every time a predetermined number of scanning clocks are received, and storing the read bar code in the read bar code storage section 5.

【0066】前記バーコード設定情報ファイル3Aには
例えば次のような項目を設定する。
For example, the following items are set in the barcode setting information file 3A.

【0067】 バーコード読込み回数:例えば5個 バーコードの種類:JAN Code 明るさ情報 1回目読込み時 : 重み係数10 2回目読込み時 : 20 3回目読込み時 : 30 4回目読込み時 : 40 5回目読込み時 : 50 を設定する。なお、重み付け係数は、明るさが明るくな
るほど、少しの汚れでも認識可能であるので、その値が
大きくほど読取精度が高いことを意味する。
Number of times of bar code reading: for example 5 Bar code type: JAN Code Brightness information At first reading: weight coefficient 10 At second reading: 20 At third reading: 30 At fourth reading: 40 At fifth reading Hour: Set 50. It should be noted that, as the weighting coefficient becomes brighter, even a small amount of dirt can be recognized, so that a larger value means higher reading accuracy.

【0068】前記文字コード正否判断手段12Aは、前
記バーコード認識手段11Aで認識された各バーコード
の文字コードを比較し、同一の文字コードの数および同
一の文字コードを含む文字コードの明るさの重み係数の
大きさの何れか1つまたは両者から正しい文字コードを
判断する機能をもっている。
The character code correct / incorrect judgment means 12A compares the character codes of the bar codes recognized by the bar code recognition means 11A, and determines the number of the same character codes and the brightness of the character codes including the same character codes. Has the function of judging the correct character code from one or both of the weight coefficients.

【0069】次に、以上のような装置の動作を説明す
る。
Next, the operation of the above device will be described.

【0070】バーコード読取部2Aは、バーコード認識
手段11Aから連続的に入力されるスキャン用クロック
を受けるごとに明るさを変えつつ1個のバーコードを連
続的に読み取り、読取バーコード記憶部5に記憶する。
The bar code reading section 2A continuously reads one bar code while changing brightness each time it receives a scanning clock continuously input from the bar code recognizing means 11A. 5 is stored.

【0071】ここで、バーコード認識手段11Aは、読
取バーコード記憶部5からバーコードのコードデータを
読取り、ファイル3Aの標準コードに基づいて文字コー
ドを認識し、認識文字コード記憶部6に記憶する。この
処理を予め定める読込み回数分のバーコードデータにつ
いてその文字コードを認識し記憶する。
Here, the bar code recognition means 11A reads the bar code data from the read bar code storage unit 5, recognizes the character code based on the standard code of the file 3A, and stores it in the recognized character code storage unit 6. I do. This processing recognizes and stores the character code of the bar code data for the predetermined number of times of reading.

【0072】このようにして例えば5回読取りの文字コ
ードを認識したならば、文字コード正否判断手段12A
において文字コードの正否を判断する。
If the character code read five times is recognized in this way, the character code correct / incorrect determination means 12A
Judge whether the character code is correct or not.

【0073】例えば5回読取りの文字コードとして、次
のような値が得られたとする。
For example, it is assumed that the following values are obtained as the character codes read five times.

【0074】 1回目:12345→10 2回目:12345→20 3回目:12344→30 4回目:認識できず→ 0 5回目:認識できず→ 0 このとき、1回目と2回目の文字コード「12345」
が同一であり、かつ、重み係数が2つで30となり、一
方、3回目の文字コード「12344」は1つであり、
かつ、重み係数が30であり、両者の重み係数が同じで
ある。
First time: 12345 → 10 Second time: 12345 → 20 Third time: 12344 → 30 Fourth time: Unrecognizable → 0 Fifth time: Unrecognizable → 0 At this time, the first and second character codes “12345” "
Are the same, and the weighting coefficient is two and becomes 30, while the third character code “12344” is one,
In addition, the weight coefficient is 30, and both weight coefficients are the same.

【0075】よって、この場合には、同一の文字コード
「12345」が2つあるので、この文字コード「12
345」を正しいと判断する。
Therefore, in this case, since there are two identical character codes "12345", this character code "12345"
345 "is correct.

【0076】(第3の実施の形態)以上述べた各実施の
形態は、バーコード認識装置について説明したが、帳票
を読み取る帳票認識装置についても、全く同様に適用で
きるものである。
(Third Embodiment) Each of the above embodiments has been described with reference to a barcode recognition apparatus, but the present invention can be applied to a form recognition apparatus that reads a form in the same manner.

【0077】図10は本発明に係る帳票認識装置の一実
施の形態を示すブロック構成図である。
FIG. 10 is a block diagram showing an embodiment of a form recognition apparatus according to the present invention.

【0078】同図において21は手書き文字、マークお
よび印刷文字等が記載された帳票であって、この帳票2
1上の手書き文字、マークおよび印刷文字等は帳票読取
部22で読み取り、その読み取ったイメージデータをイ
メージデータ記憶部23に記憶する。
In the figure, reference numeral 21 denotes a form in which handwritten characters, marks, printed characters and the like are described.
The handwritten characters, marks, printed characters, and the like on 1 are read by the form reading unit 22, and the read image data is stored in the image data storage unit 23.

【0079】24は文字等パターン設定ファイルであっ
て、このファイル24にはイメージデータに対応する文
字コードやマークに変換する文字等パターンの他、帳票
21の読取回数または連続読取回数ごとに読取りの明る
さを変化させたときの重み係数が設定されている。
Reference numeral 24 denotes a character etc. pattern setting file. In this file 24, in addition to the character code corresponding to the image data and the character etc. pattern to be converted into a mark, the file 24 is read for each number of readings of the form 21 or for each continuous reading. A weight coefficient when the brightness is changed is set.

【0080】帳票認識処理部30は、イメージ認識手段
31、文字コード等正否判断手段32および認識結果出
力手段33等によって構成されている。
The form recognition processing unit 30 is composed of an image recognition unit 31, a character code correctness determination unit 32, a recognition result output unit 33, and the like.

【0081】前記イメージ認識手段31は、イメージデ
ータ記憶部23に格納されるイメージデータを読取り、
文字等パターン設定ファイル24の標準パターンから文
字コードやマークを認識し、認識イメージ記憶部25に
記憶する。この処理は、予め定める帳票読取回数分また
は明るさを変化させつつ連続的に読取る読取回数分だけ
同様の処理を行う。
The image recognition means 31 reads the image data stored in the image data storage section 23,
The character code and the mark are recognized from the standard pattern of the character etc. pattern setting file 24 and stored in the recognized image storage unit 25. In this process, the same process is performed for a predetermined number of form readings or for the number of times of continuous reading while changing brightness.

【0082】また、文字コード正否判断手段32は、第
2の実施の形態と同様の処理を実行する。例えばイメー
ジ認識手段31により認識された複数回読取ったイメー
ジの文字コードまたはマーク、または明るさを変化させ
て読み取ったイメージの文字コードまたはマークを比較
し、読取回数の過半数の文字コードが同一であるか、ま
たは各文字コードに対応する明るさの重み係数のうち最
も大きいとき、その過半数または重み係数の大きい文字
コード等を正しいと判断するものである。
The character code correct / incorrect judgment means 32 executes the same processing as in the second embodiment. For example, a character code or a mark of an image read a plurality of times recognized by the image recognizing means 31 or a character code or a mark of an image read by changing the brightness is compared. Or, when the brightness weighting coefficient corresponding to each character code is the largest, the majority or the character code with the larger weighting coefficient is determined to be correct.

【0083】従って、以上のような実施の形態によれ
ば、帳票読取回数のうち、同一の文字コードが過半数有
する場合、或いは明るさの重み係数のうち最も大きい文
字コードまたは同一の文字コードの重み係数累計値と他
の文字コードの重み係数とのうち最も大きい文字コード
を正しいと判断するので、帳票認識装置においても、バ
ーコード認識装置と同様の効果を奏する。
Therefore, according to the above-described embodiment, when the same character code has a majority in the number of forms read, or the largest character code or the same character code weight among the brightness weighting factors. Since the largest character code among the cumulative coefficient value and the weight coefficient of the other character codes is determined to be correct, the same effect as the bar code recognition device can be obtained in the form recognition device.

【0084】[0084]

【発明の効果】以上説明したように本発明によれば、バ
ーコードの正否を高精度に認識でき、バーコード認識後
の修正作業を大幅に低減できるバーコード認識装置を提
供できる。
As described above, according to the present invention, it is possible to provide a bar code recognizing apparatus capable of recognizing the correctness of a bar code with high accuracy and greatly reducing correction work after bar code recognition.

【0085】また、本発明は、帳票の内容を高精度に認
識でき、同様に帳票読取後の修正作業を大幅に低減でき
る帳票認識装置を提供できる。
Further, the present invention can provide a form recognition apparatus capable of recognizing the contents of a form with high accuracy and also capable of greatly reducing correction work after reading a form.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に係るバーコード認識装置の一実施の
形態を示すブロック構成図。
FIG. 1 is a block diagram showing an embodiment of a barcode recognition device according to the present invention.

【図2】 図1の装置において読み取るバーコードの形
態を示す図。
FIG. 2 is a view showing a form of a barcode read by the apparatus shown in FIG. 1;

【図3】 図1に示す装置の動作を説明するフローチャ
ート。
FIG. 3 is a flowchart for explaining the operation of the apparatus shown in FIG. 1;

【図4】 図1に示す装置の別の動作を説明するフロー
チャート。
FIG. 4 is a flowchart illustrating another operation of the apparatus shown in FIG. 1;

【図5】 図1に示す装置のさらに別の動作を説明する
フローチャート。
FIG. 5 is a flowchart for explaining still another operation of the apparatus shown in FIG. 1;

【図6】 読み取った各バーコードの文字コードと濃淡
情報との関係を示す図。
FIG. 6 is a diagram showing a relationship between a read character code of each bar code and shade information.

【図7】 図6の濃淡情報に対する重み係数の関係を示
す図。
FIG. 7 is a diagram illustrating a relationship between weighting factors and grayscale information in FIG. 6;

【図8】 本発明に係るバーコード認識装置の他の実施
の形態を示すブロック構成図。
FIG. 8 is a block diagram showing another embodiment of the barcode recognition device according to the present invention.

【図9】 図8の装置において読み取るバーコードの形
態を示す図。
FIG. 9 is a view showing a form of a barcode read by the apparatus shown in FIG. 8;

【図10】 本発明に係る帳票認識装置の一実施の形態
を示すブロック構成図。
FIG. 10 is a block diagram showing an embodiment of a form recognition apparatus according to the present invention.

【符号の説明】[Explanation of symbols]

1…帳票 2,2A…バーコード読取部 3,3A…バーコード設定情報ファイル 7…バーコード認識処理部 11,11A…バーコード認識手段 12,12A…文字コード正否判断手段 13…認識結果出力手段 21…帳票 22…帳票読取部 30…帳票認識処理部 31…イメージ認識手段 32…文字コード正否判断手段 DESCRIPTION OF SYMBOLS 1 ... Form 2, 2A ... Barcode reading part 3, 3A ... Barcode setting information file 7 ... Barcode recognition processing part 11, 11A ... Barcode recognition means 12, 12A ... Character code correctness judgment means 13 ... Recognition result output means DESCRIPTION OF SYMBOLS 21 ... Form 22 ... Form reading part 30 ... Form recognition processing part 31 ... Image recognition means 32 ... Character code right / wrong judgment means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数個印刷された同一のバーコードを読
み取って所定の文字コードに変換するバーコード認識手
段と、 このバーコード認識手段により認識された各バーコード
の文字コードを比較し、過半数が同一の文字コードであ
るとき、その過半数に属する文字コードを正しいと判断
する文字コード正否判断手段と、 を備えたことを特徴とするバーコード認識装置。
1. A bar code recognizing means for reading a plurality of the same bar codes printed and converting the bar code into a predetermined character code, and comparing the character codes of the bar codes recognized by the bar code recognizing means with a majority. A character code correct / non-judgment means for judging that a character code belonging to a majority thereof is correct when are the same character code.
【請求項2】 バーコードの濃淡情報に応じた重み係数
を設定する設定手段と、 複数個印刷された同一のバーコードのコードおよび濃淡
情報を読み取るバーコード読取手段と、 このバーコード読取手段により読み取った各バーコード
のコードを読み込んで所定の文字コードに変換するバー
コード認識手段と、 このバーコード認識手段により認識された各バーコード
の文字コードに対応する濃淡情報の重み係数の大きさか
ら正しい文字コードを判断する文字コード正否判断手段
と、 を備えたことを特徴とするバーコード認識装置。
2. A setting means for setting a weighting factor according to the density information of a bar code, a bar code reading means for reading a plurality of codes of the same bar code and density information, and a bar code reading means. Bar code recognizing means for reading the code of each read bar code and converting it into a predetermined character code; and a weight coefficient of shading information corresponding to the character code of each bar code recognized by the bar code recognizing means. A bar code recognition device, comprising: character code correct / incorrect determination means for determining a correct character code.
【請求項3】 1個のバーコードを複数回読み取ってそ
れぞれ所定の文字コードに変換するバーコード認識手段
と、 このバーコード認識手段により認識された各バーコード
の文字コードを比較し、過半数の読込み回数の文字コー
ドが同一であるとき、その過半数に属する文字コードを
正しいと判断する文字コード正否判断手段と、 を備えたことを特徴とするバーコード認識装置。
3. A bar code recognizing means for reading one bar code a plurality of times and converting the bar code into a predetermined character code, and comparing the character codes of the bar codes recognized by the bar code recognizing means with each other. A bar code recognition device, comprising: character code correct / non-judgment means for judging that a character code belonging to the majority is correct when the character codes of the number of times of reading are the same.
【請求項4】 明るさに対応する重み係数を設定する重
み係数設定手段と、1個のバーコードに対して明るさを
変化させつつ複数回読み取ってそれぞれ所定の文字コー
ドに変換するバーコード認識手段と、 このバーコード認識手段により認識された各バーコード
の文字コードを比較し、同一の文字コード数および文字
コードの明るさに対応する重み係数の大きさの何れか1
つまたは両者から正しい文字コードを判断する文字コー
ド正否判断手段と、 を備えたことを特徴とするバーコード認識装置。
4. A weighting factor setting means for setting a weighting factor corresponding to brightness, and a barcode recognition for reading a plurality of times for one barcode while changing brightness and converting each barcode into a predetermined character code. And comparing the character code of each barcode recognized by the barcode recognition means, and selecting one of the same number of character codes and the magnitude of the weight coefficient corresponding to the brightness of the character code.
And a character code correct / impossibility determining means for determining a correct character code from one or both of them.
【請求項5】 帳票の読取回数または明るさに対応する
重み係数を設定する設定手段と、 帳票を複数回読み取ってイメージデータを読み取るか、
または明るさを変化させてイメージデータを読み取る帳
票読取手段と、 この帳票読取手段によって読み取ったイメージデータを
それぞれ所定の文字コードに変換するイメージ認識手段
と、 このイメージ認識手段により認識された複数回読取り、
または明るさを変化させて読み取ったイメージデータの
文字コードを比較し、読取回数の過半数の文字コードが
同一であるか、または各文字コードに対応する明るさの
重み係数のうち最も大きいとき、その過半数または重み
係数の大きい文字コードを正しいと判断する文字コード
正否判断手段と、 を備えたことを特徴とする帳票認識装置。
5. A setting means for setting a weighting factor corresponding to the number of times of reading or brightness of a form, wherein the form is read a plurality of times to read image data;
A form reading means for reading image data by changing the brightness; an image recognizing means for converting the image data read by the form reading means into a predetermined character code; and a plurality of readings recognized by the image recognizing means. ,
Or, compare the character codes of the image data read by changing the brightness, and if the character codes of the majority of the number of readings are the same or the largest of the weighting coefficients of the brightness corresponding to each character code, A form recognition device comprising: a character code correctness determination unit that determines a character code having a majority or a large weighting factor to be correct.
JP11052682A 1999-03-01 1999-03-01 Bar code recognizing device and slip recognizing device Pending JP2000251011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11052682A JP2000251011A (en) 1999-03-01 1999-03-01 Bar code recognizing device and slip recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11052682A JP2000251011A (en) 1999-03-01 1999-03-01 Bar code recognizing device and slip recognizing device

Publications (1)

Publication Number Publication Date
JP2000251011A true JP2000251011A (en) 2000-09-14

Family

ID=12921669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11052682A Pending JP2000251011A (en) 1999-03-01 1999-03-01 Bar code recognizing device and slip recognizing device

Country Status (1)

Country Link
JP (1) JP2000251011A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151504A (en) * 2007-12-19 2009-07-09 Fuji Xerox Co Ltd Code recognition device and program
JP2011008584A (en) * 2009-06-26 2011-01-13 Fuji Xerox Co Ltd Apparatus and program for processing information
JP2011185628A (en) * 2010-03-05 2011-09-22 Sysmex Corp Sample analyzer, method of obtaining sample identification information, and sample identification information obtaining apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151504A (en) * 2007-12-19 2009-07-09 Fuji Xerox Co Ltd Code recognition device and program
JP2011008584A (en) * 2009-06-26 2011-01-13 Fuji Xerox Co Ltd Apparatus and program for processing information
JP2011185628A (en) * 2010-03-05 2011-09-22 Sysmex Corp Sample analyzer, method of obtaining sample identification information, and sample identification information obtaining apparatus

Similar Documents

Publication Publication Date Title
US6902114B2 (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
EP0978087B1 (en) System and method for ocr assisted bar code decoding
US7970213B1 (en) Method and system for improving the recognition of text in an image
EA004418B1 (en) Automatic barcode creation for data transfer and retrieval
JPH02502679A (en) Apparatus and method for encoding and decoding barcodes
JP2000509537A (en) Method and apparatus for decoding barcode symbols using module size ratio analysis
JP2001028033A (en) Display method for bar code recognition result and bar code recognition device
US9361504B2 (en) Optical information reading device, optical information reading method, computer-readable program and recording medium
JP2000251011A (en) Bar code recognizing device and slip recognizing device
EP1202213B1 (en) Document format identification apparatus and method
JP3366303B2 (en) Barcode reader and its misreading detection method.
JP5970546B2 (en) Reading apparatus, reading result output method, and program
JP2001052110A (en) Document processing method, recording medium recording document processing program and document processor
CN101208706B (en) Method and system for decoding a barcode
JP3732254B2 (en) Format information generation method and format information generation apparatus
JP2005050094A (en) Optical character reader
CN106959940A (en) A kind of document format for being easy to document automation typing and conversion and recognition methods
KR20040010824A (en) Method of judging a kind of a document using a bar-code and apparatus thereof
CN116704532A (en) Multi-bar code identification method, device and system, electronic equipment and storage medium
JP2001184481A (en) Device and method for reading image
JPH05114041A (en) Bar code input device
JP2570571B2 (en) Optical character reader
JP2003099709A (en) Misread character correction method and optical character recognition device
JP4081074B2 (en) Form processing apparatus, form processing method, and form processing program
JP2002216073A (en) Device for reading readable character or the like and method for the same