JP2000132634A - Bar code recognition method - Google Patents

Bar code recognition method

Info

Publication number
JP2000132634A
JP2000132634A JP10303620A JP30362098A JP2000132634A JP 2000132634 A JP2000132634 A JP 2000132634A JP 10303620 A JP10303620 A JP 10303620A JP 30362098 A JP30362098 A JP 30362098A JP 2000132634 A JP2000132634 A JP 2000132634A
Authority
JP
Japan
Prior art keywords
bar
bar code
area
code
center
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
JP10303620A
Other languages
Japanese (ja)
Inventor
Masanori Honda
政則 本田
Toshiaki Arai
利明 新井
Tetsuo Kiyomatsu
哲郎 清松
Hiroyuki Okuda
弘幸 奥田
Toshinori Kajiura
敏範 梶浦
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10303620A priority Critical patent/JP2000132634A/en
Publication of JP2000132634A publication Critical patent/JP2000132634A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To precisely recognize a bar code formed of bar and peripheral numeral even if the size of a signal largely changes by sequentially checking bar areas arranged at prescribed intervals in accordance with the specification of the bar code and judging the presence or absence of the bar. SOLUTION: A bar code printed on a mail is converted into multivalue picture data by a scanner 201 and a bar code recognition part 202 converts it into bar code data. The bar code recognition part 202 investigates prescribed areas near a start bar and a stop bar and obtains respective bar candidates and center lines. The cut piece and the inclination of the bar candidate are obtained from the center point of the bar candidate near the start bar and from the center point near the stop bar, and the position of the bar code is almost specified. When the bar area is within the range of the bar code, the bar area is finely adjusted and the presence of the bar is judged when a difference between the center part of the bar area and the value of a peripheral part exceeds a prescribed value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、色、模様、素材な
どが均一でない媒体に印刷されたバーコードを認識する
方法に関し、特に、郵便物上に蛍光インクなどの特殊イ
ンクで印刷されたバーコードを認識する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for recognizing a bar code printed on a medium having non-uniform colors, patterns, materials, etc., and more particularly, to a method for recognizing a bar printed on mail using a special ink such as a fluorescent ink. How to recognize the code.

【0002】[0002]

【従来の技術】平成10年より導入された新郵便番号制
度に合わせ、定型郵便物の機械による処理を高度化し、
配達員が配る順番に郵便物を並べるところまで自動化す
ることになった。そのためには、郵便物上に印刷された
郵便番号や住所を機械的に読み取り、その情報により郵
便物を区分しなければならない。そのとき、郵便番号や
住所等はバーコード化され、蛍光インクなどの特殊イン
クで郵便物上に直接印刷され、自動区分のために利用さ
れる。
[Prior Art] In line with the new postal code system introduced in 1998, sophisticated processing of standard postal items by machine has been advanced.
It has been automated up to the point where the mailers arrange mail in the order in which they are to be delivered. For that purpose, it is necessary to mechanically read the postal code or address printed on the mail and sort the mail according to the information. At that time, the postal code, address, and the like are converted into bar codes, printed directly on the mail using special ink such as fluorescent ink, and used for automatic sorting.

【0003】郵便物上に印刷されたバーコードは、特殊
な光をあてバーを読み取るが、郵便物の素材や色、柄、
書かれた文字などとの重なりにより、信号の大きさが大
きく変わる。この信号をバーコードとして認識するた
め、従来は特殊なハードウェア(特開平9−15402
2号公報)や、微分処理(特開平9−319821号公
報)、フーリエ解析(特開平9−160997号公報)
等の複雑な計算式を用いてバーのエッジを検出したり、
信号を変換していた。
[0003] The bar code printed on the mail is read with a special light to read the bar, but the material, color, pattern,
The size of the signal changes greatly due to the overlap with the written characters. Conventionally, special hardware (Japanese Patent Laid-Open No. 9-15402) is used to recognize this signal as a barcode.
No. 2), differentiation processing (Japanese Patent Application Laid-Open No. 9-319821), Fourier analysis (Japanese Patent Application Laid-Open No. 9-160997).
Detect bar edges using complex formulas such as
The signal was being converted.

【0004】[0004]

【発明が解決しようとする課題】前述(特開平9−15
4022号公報、特開平9−319821号公報、特開
平9−160997号公報)のようなエッジ検出や複雑
な計算式などを用いたバーコード認識方法だと、ハード
ウェアが複雑になりコスト上昇を招く上、バーコードの
規格等に変更が発生した場合、対処に時間がかかる。さ
らに、バーコード認識のための計算式が複雑になればな
るほど計算時間も増大する。
The problem to be solved by the present invention is described above (Japanese Unexamined Patent Publication No.
A barcode recognition method using edge detection or a complicated calculation formula as disclosed in JP-A No. 4022, JP-A-9-319821 and JP-A-9-160997) complicates hardware and increases cost. In addition, when a change occurs in the barcode standard or the like, it takes time to deal with the change. Further, the more complicated the calculation formula for barcode recognition, the longer the calculation time.

【0005】本発明の目的は、スキャナで読み取ったバ
ーコードの多値画像データをハードウェアによって加工
せず、そのままソフトウェアで認識することにより、ハ
ードウェアを単純化し、さらに、複雑な計算式を使わな
いことにより認識処理を高速化するバーコード認識方法
を提供するにある。
It is an object of the present invention to simplify hardware by using multi-valued image data of a bar code read by a scanner without processing the hardware by hardware, and by recognizing the data as it is, and to use a complicated calculation formula. An object of the present invention is to provide a barcode recognition method that speeds up the recognition process by eliminating the above.

【0006】また、文字や複雑な模様等の上に重なった
バーコードは信号の大きさが極端に変動するため認識困
難でる。本発明はこのような信号の大きさが大きく変わ
るようなものでも、バーとその周囲の値などによりバー
コードを正しく認識することを目的とする。
Further, a bar code superimposed on a character, a complicated pattern, or the like is difficult to recognize because the signal magnitude fluctuates extremely. An object of the present invention is to correctly recognize a bar code based on a bar and values around the bar even when the magnitude of the signal greatly changes.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、スキャナ等によって得られたバーコード
の多値画像データにおいて、バーコードの規格により決
まるバーコードのスタートバー付近およびストップバー
付近の一定範囲を詳細に調べ複数のバー候補を決定し、
バーコードの有無およびバーコードの中心を決め、バー
コードの規格に従って一定間隔で並んでいるバー領域を
順番に調べ、バーの有無を判定するようにしている。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention relates to a multi-valued bar code image data obtained by a scanner or the like. Examine a certain area in the vicinity in detail, determine multiple bar candidates,
The presence / absence of a barcode and the center of the barcode are determined, and bar regions arranged at regular intervals are sequentially examined in accordance with the barcode standard to determine the presence / absence of a bar.

【0008】また、本発明は、バー領域の中心部と周辺
部の値をそれぞれ信号値とノイズ値として扱い、信号値
とノイズ値の差からバーの有無を判定するようにしてい
る。
Further, according to the present invention, the values of the central portion and the peripheral portion of the bar area are treated as a signal value and a noise value, respectively, and the presence or absence of a bar is determined from the difference between the signal value and the noise value.

【0009】また、本発明は、バーコードの印刷状態や
読取精度等により生じるバーコードの傾きや伸び縮み等
を補正するため、各バー領域を調査するとき、バーコー
ド全体の傾きと、バー領域中心部と周辺部の値の偏りか
ら、バー領域の位置を微調整するようにしている。
Further, according to the present invention, when investigating each bar area, the inclination of the bar code as a whole and the bar area are corrected in order to correct the inclination, expansion and contraction of the bar code caused by the printing state of the bar code, the reading accuracy and the like. The position of the bar area is finely adjusted based on the deviation of the values between the central part and the peripheral part.

【0010】また、本発明は、各バー領域の中心部と周
辺部の値に従って、バーの有無を判定する閾値を動的に
決めることにより、バーコードの途中で下地の模様や素
材が変わっても正しくバーの有無が判定できるようにし
ている。
Further, according to the present invention, the threshold value for judging the presence or absence of a bar is dynamically determined in accordance with the values of the center portion and the peripheral portion of each bar region. Also, the presence or absence of a bar can be correctly determined.

【0011】また、本発明は、バー領域中心部と周辺部
を複数のサブ領域に分割し、各サブ領域毎にバーの有無
を判定し、いずれかのサブ領域でバー有りと判定できた
場合、そのバー領域でバー有りと判定するようにし、バ
ー領域の信号の多くが欠落している場合でも、正しくバ
ーの有無を判定できるようにしている。
Further, the present invention divides a bar region center portion and a peripheral portion into a plurality of sub-regions, determines presence / absence of a bar for each sub-region, and determines whether a bar exists in any of the sub-regions. In the bar area, it is determined that there is a bar, so that the presence or absence of a bar can be correctly determined even when many signals in the bar area are missing.

【0012】また、本発明は、バーの上半分、下半分に
より情報が異なるなど、バーの形状や位置の違いを認識
する必要がある場合、バー領域中心部と周辺部を複数の
サブ領域に分割し、各サブ領域毎にバーの有無を判定
し、さらに、各サブ領域の値を比較し、バーコードのイ
ンクのにじみ等による誤読を防ぐようにしている。
In addition, according to the present invention, when it is necessary to recognize a difference in the shape or position of a bar, for example, when information is different depending on the upper half and the lower half of the bar, the center of the bar region and the peripheral portion are divided into a plurality of sub-regions. The bar code is divided, the presence or absence of a bar is determined for each sub-region, and the value of each sub-region is compared to prevent erroneous reading due to ink bleeding of the bar code.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態を図を
用いて説明する。本実施形態は郵便物上に印刷されたバ
ーコードを認識するものである。これは郵便区分機のバ
ーコード読み取り装置の一部を構成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. In the present embodiment, a barcode printed on a mail is recognized. This forms part of the bar code reading device of the mail sorting machine.

【0014】郵便区便機は、宛名情報等に対応する3種
類のバーコードを自然光では目に見えない特殊なインク
で郵便物上に印刷し、必要に応じてそれに紫外線等を当
て光学的に読み取り、バーコードを認識することにより
郵便物を区分する。バーコードは、郵便物にユニークに
つけられるID番号、宛先の郵便番号、宛先の住所をコ
ード化した住所表示番号の3種類である。
[0014] The postal zone toilet machine prints three types of barcodes corresponding to address information and the like on mail using special ink that is invisible with natural light, and optically applies ultraviolet rays or the like to the mail if necessary. By reading and recognizing barcodes, mail items are classified. There are three types of barcodes: an ID number that is uniquely assigned to a mail, a postal code of a destination, and an address display number that codes the address of a destination.

【0015】バーコード読み取り装置のブロック図を図
2に示す。郵便物上に印刷されたバーコードは、まずス
キャナ201により多値画像データに変換され、バーコ
ード認識部202によりバーコードデータに変換され
る。次にバーコード復号部203でバーコードデータを
上述の宛名情報等に復号し、郵便区分機全体を制御する
制御部等204に転送する。本発明は図2のバーコード
認識部202に適用され、スキャナ201で読取った多
値画像データを直接認識する。そのため、スキャナ20
1とバーコード認識部202の間にハードウェア等によ
る圧縮、微分、エッジ検出等を行う処理は必要ない。
FIG. 2 is a block diagram of the bar code reader. The barcode printed on the mail is first converted into multi-valued image data by the scanner 201, and then converted into barcode data by the barcode recognition unit 202. Next, the barcode decoding unit 203 decodes the barcode data into the above-described address information and the like, and transfers the data to a control unit 204 that controls the entire postal sorting machine. The present invention is applied to the barcode recognition unit 202 in FIG. 2 and directly recognizes multi-valued image data read by the scanner 201. Therefore, the scanner 20
There is no need for processing such as compression, differentiation, edge detection, and the like between hardware 1 and the barcode recognition unit 202 using hardware or the like.

【0016】上述の3種類のバーコードは、図3で示す
ように郵政省の規格により印字される位置、長さ、幅、
間隔等が許容範囲を含めて細かく定められている。ID
バーコード302、住所表示番号バーコード303、郵
便番号バーコード304の全てを読取るためには、読み
取り範囲301全体をスキャナで読取る必要がある。
The three types of barcodes described above are, as shown in FIG. 3, the position, length, width,
The intervals and the like are finely defined including the allowable range. ID
In order to read all of the barcode 302, the address display number barcode 303, and the postcode barcode 304, it is necessary to read the entire reading range 301 with a scanner.

【0017】ちなみにIDバーコード302はバーあ
り、バーなしの2つの状態のみであるが、住所表示番号
バーコード303および郵便番号バーコード304は上
バー、下バー、上下バー、バーなしの4つの状態があ
る。
Incidentally, the ID bar code 302 has a bar and is in only two states without a bar. However, the address display number bar code 303 and the postal code bar code 304 have four bars of an upper bar, a lower bar, an upper and lower bar, and no bar. There is a state.

【0018】続いて本発明を適用するバーコード認識部
の処理についてIDバーコードを例に取り詳しく説明す
る。
Next, the processing of the bar code recognition unit to which the present invention is applied will be described in detail by taking an ID bar code as an example.

【0019】図4にバーコード認識部の処理概要を示
す。まず、スタートバー付近の一定領域を調査し、バー
候補と中心線を求める(401)。多値画像データにお
けるスタートバーおよびストップバーの位置は、規格に
よりおよそ一定範囲に絞られるので、この付近を調べ
る。ことのとき、図5で示すように、スタートバー付近
の一定領域502はスタートバー501自身を含んでい
てもいなくてもよい。ただし、なるべくスタートバー5
01に近い方が認識精度が上がる。
FIG. 4 shows an outline of the process performed by the barcode recognition unit. First, a certain area near the start bar is investigated to obtain a bar candidate and a center line (401). Since the positions of the start bar and the stop bar in the multi-valued image data are narrowed down to a substantially constant range according to the standard, the vicinity thereof is examined. In this case, as shown in FIG. 5, the fixed area 502 near the start bar may or may not include the start bar 501 itself. However, if possible, start bar 5
The closer to 01, the higher the recognition accuracy.

【0020】スタートバー付近の一定領域502内の調
査は例えば以下のようにすれば可能である。まず、一定
領域内502の一点を調査点Aとし、この点から左右に
一定間隔離れた点をそれぞれ調査点B、調査点Cとす
る。それぞれの値を比べ、調査点Aが調査点BおよびC
より一定値以上大きければ調査点Aをバー候補とする。
この調査を調査範囲内全体で行い、第1次バー候補を決
める。
The search in the fixed area 502 near the start bar can be performed, for example, as follows. First, one point of the fixed area 502 is set as the inspection point A, and points separated from this point by a certain distance to the left and right are set to the inspection point B and the inspection point C, respectively. By comparing the respective values, the survey point A becomes the survey points B and C.
If it is larger than a certain value, the survey point A is set as a bar candidate.
This survey is performed over the entire survey range, and the first bar candidate is determined.

【0021】次に、第1次バー候補の中からバーコード
の規格から大きくずれるような位置にあるものをノイズ
としてキャンセルし、バー候補を絞り込み、第2次バー
候補とする。第2次バー候補のうち、上下方向に対して
一定範囲内で値が一定値を超えるものを第3次バー候補
とする。次に第3次バー候補からスタートバー付近の一
定領域の中心線503を求める。最後に第3次バー候補
の中から最終的なバー候補を一つ選択する。例えば最も
信号が大きいバー候補を選択すればよい。
Next, among the primary bar candidates, those located at positions that deviate greatly from the bar code standard are canceled as noise, and the bar candidates are narrowed down to become secondary bar candidates. Among the secondary bar candidates, those whose values exceed a certain value within a certain range in the vertical direction are defined as third bar candidates. Next, a center line 503 of a certain area near the start bar is obtained from the third bar candidate. Finally, one final bar candidate is selected from the third bar candidates. For example, a bar candidate having the largest signal may be selected.

【0022】同様に、ストップバー付近の一定領域を調
査し、バー候補と中心線を求める402。スタートバー
付近の一定領域の調査401とストップバー付近の一定
領域の調査402はどちらが先でもよい。
Similarly, a predetermined area near the stop bar is examined to obtain a bar candidate and a center line 402. Either of the investigation 401 of the fixed area near the start bar and the investigation 402 of the fixed area near the stop bar may be performed first.

【0023】次にスタートバー付近のバー候補の中心点
とストップバー付近のバー候補の中心点から、バーコー
ドの切片と傾きを求める(403)。これはバーコード
の各バーの中心を結んだ直線を想定し、これを一次関数
として捉え、図3の読み取り範囲301のある点を原点
と仮定した場合のものである。
Next, the intercept and inclination of the bar code are obtained from the center point of the bar candidate near the start bar and the center point of the bar candidate near the stop bar (403). This is a case where a straight line connecting the centers of the bars of the bar code is assumed, this is regarded as a linear function, and a point in the reading range 301 in FIG. 3 is assumed as the origin.

【0024】ここまでの処理でバーコードの位置がほぼ
特定できたので、それを元にバー認識処理404を行
う。以降、バー認識処理404の詳細を説明する。
Since the position of the barcode has been almost specified by the processing up to this point, the bar recognition processing 404 is performed based on this. Hereinafter, details of the bar recognition processing 404 will be described.

【0025】図1にバー認識処理の流れを示す。FIG. 1 shows the flow of the bar recognition process.

【0026】まず、バー領域がバーコードの範囲内であ
るかどうかをチェックする(101)。範囲外ならもう
そこにはバーは無いので、処理を終了する。
First, it is checked whether or not the bar area is within the range of the bar code (101). If it is out of the range, there are no more bars, and the process ends.

【0027】最初のバー領域は、例えば、スタートバー
またはストップバー付近の一定領域内で求めたバー候補
を利用すればよい。
For the first bar area, for example, a bar candidate obtained in a certain area near the start bar or the stop bar may be used.

【0028】バーコードの範囲内であれば、バー領域の
微調整を行う(102)。バー領域は図6のように中心
部603と周辺部602から構成されており、この中心
部がバー601の中心と重なるよう調整する。これは、
印刷状態や読み取り条件等によるバー601の微妙なず
れやノイズの影響を回避するために行う。実際には先に
求めたバーコードの切片と傾き、およびバー調査領域の
中心部の値等によって調整する。
If it is within the range of the bar code, fine adjustment of the bar area is performed (102). The bar area includes a central portion 603 and a peripheral portion 602 as shown in FIG. 6, and the center is adjusted so as to overlap the center of the bar 601. this is,
This is performed in order to avoid the influence of noise or slight displacement of the bar 601 due to the printing state or reading conditions. In practice, the adjustment is made based on the barcode intercept and inclination obtained earlier, the value at the center of the bar inspection area, and the like.

【0029】次に、バー領域の中心部と周辺部の値を求
め(103)、その差が一定値を超えていたらバー有り
とする(104)。このとき、中心部および周辺部をそ
れぞれ複数のサブ領域に分割してそのサブ領域毎にバー
の有無を決め、その結果から総合的にバーの有無を決定
することもできる。こうすると、ノイズやバーの背景等
によりバーの信号が大部分欠けていてもバーの有無を正
確に判断できる。この方法を用いると、郵便物の素材や
背景等により信号値が著しく異なるバーコードも正しく
読み取れる。さらにバーの有無を決定する閾値を、バー
領域周辺部602やバー領域中心部603の値により各
バー毎に決めると、バーコードの途中で郵便物の素材や
模様が著しく変化する場合でも、バーの有無を正しく決
定できる。
Next, the values of the center portion and the peripheral portion of the bar area are determined (103), and if the difference exceeds a certain value, it is determined that a bar exists (104). At this time, it is also possible to divide the central portion and the peripheral portion into a plurality of sub-regions, determine the presence / absence of a bar for each of the sub-regions, and determine the presence / absence of a bar from the result. In this case, the presence or absence of a bar can be accurately determined even if the signal of the bar is largely missing due to noise, the background of the bar, or the like. By using this method, a bar code having a signal value significantly different depending on the material or background of a mail can be correctly read. Furthermore, if the threshold value for determining the presence or absence of a bar is determined for each bar by the values of the bar area peripheral portion 602 and the bar area central portion 603, even if the material or pattern of the mail material changes significantly in the middle of the bar code, the bar is not changed. Can be correctly determined.

【0030】バーの有無を決定したら、バー調査領域を
次のバーの位置へ移動する105。バー間隔は規格によ
り決まっているので、その間隔分だけバー調査領域を移
動させればよい。そして、図1の先頭に戻り処理を続け
る。
When the presence or absence of a bar is determined, the bar survey area is moved to the next bar position 105. Since the bar interval is determined by the standard, the bar inspection area may be moved by the interval. Then, the processing returns to the top of FIG. 1 and continues.

【0031】最初のバー領域がスタートバーまたはスト
ップバーであればそこから反対側の端までバーを認識し
ていけばよいが、最初のバー領域がバーコードの途中の
バーである可能性もあるので、例えば、まず、最初のバ
ー領域の右側のバーを認識し、続いて最初のバー領域の
左側のバーを認識し、最後に結果を統合すればよい。
If the first bar area is a start bar or a stop bar, the bar may be recognized from there to the end on the opposite side, but the first bar area may be a bar in the middle of the bar code. Therefore, for example, first, the bar on the right side of the first bar area is recognized, then the bar on the left side of the first bar area is recognized, and finally, the results may be integrated.

【0032】以上でIDバーコードの認識について説明
を終わる。
The description of the recognition of the ID barcode is completed.

【0033】前述の通り、住所表示番号バーコード30
3および郵便番号バーコード304は、上バー、下バ
ー、上下バー、バーなしの4つの状態があるが、処理方
法はほとんどIDバーコードの場合と同じである。違う
のは、図1のバーの有無を決定するところ(104)に
おいて、IDバーコードの場合は、バーあり、バーなし
を決めるだけでよいが、住所表示番号バーコードおよび
郵便番号バーコードの場合は4つの状態を区別しなけれ
ばならないところである。これは例えば次の様にすれば
可能である。
As described above, the address display number bar code 30
The 3 and zip code barcodes 304 have four states: an upper bar, a lower bar, an upper and lower bar, and no bar. The processing method is almost the same as that for the ID barcode. The difference is that in the case of determining the presence or absence of a bar in FIG. 1 (104), in the case of an ID bar code, it is only necessary to determine whether or not there is a bar, but in the case of an address display number bar code and a postal code bar code. Is where the four states must be distinguished. This is possible, for example, as follows.

【0034】図6のバー領域中心部603と周辺部60
2をそれぞれ上部、中央部、下部の3つのサブ領域に分
割する。中心部上部と周辺部上部により上バーの有無を
決定する。同様に中心部下部と周辺部下部から下バーの
有無を決定する。これで、上述の4つの状態を判定でき
る。ここで、上下ともバーありと判定した場合、上部の
値と下部の値の差または比率が著しく異なる場合は、小
さい値のバーは反対側のバーのインクのにじみによりバ
ーありと判定された可能性が高いので、小さい値のバー
はバーなしと判定し直すことにより、微妙なバーの形状
のちがいを正しく判定することができる。
The bar area center 603 and the peripheral area 60 in FIG.
2 is divided into three sub-regions: an upper portion, a central portion, and a lower portion. The presence of the upper bar is determined by the upper part of the center and the upper part of the periphery. Similarly, the presence or absence of the lower bar is determined from the lower part of the center and the lower part of the peripheral part. Thus, the above four states can be determined. Here, if it is determined that there is a bar on both the upper and lower sides, and if the difference or ratio between the upper value and the lower value is significantly different, the bar with a smaller value may be determined to have a bar due to ink bleeding on the opposite bar. Since a bar having a small value is re-determined as having no bar, it is possible to correctly determine a subtle difference in the shape of the bar.

【0035】また、中心部中央部と周辺部中央部により
バーの中央付近のバーの有無を判定できるが、バーの中
央付近のみバーありで、上下がバーなしの場合は、郵便
物の素材や模様によりバーの上部と下部の信号が著しく
弱められている可能性があるので、上部または下部のう
ち、値の大きい方をバーありと判断し直すことにより、
郵便物の素材や模様による誤読を少なくする事ができ
る。
The presence or absence of a bar near the center of the bar can be determined based on the center of the center and the center of the periphery. The signal at the top and bottom of the bar may be significantly weakened by the pattern, so by re-determining the larger value of the top or bottom as having a bar,
It can reduce misreading due to postal materials and patterns.

【0036】[0036]

【発明の効果】本発明をバーコード認識部に適用すれ
ば、画像データの微分処理やエッジ検索等の特殊なハー
ドウェアが必要なくり、更に、複雑な計算等が必要ない
ため、高速にしかも正確にバーコードを認識することが
できる。
If the present invention is applied to a barcode recognition unit, special hardware such as differential processing of image data and edge search is not required, and complicated calculations are not required. Barcodes can be accurately recognized.

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

【図1】本発明のバー認識処理の流れ図。FIG. 1 is a flowchart of a bar recognition process according to the present invention.

【図2】バーコード読み取り装置のブロック図。FIG. 2 is a block diagram of a barcode reading device.

【図3】バーコードの印字位置、長さ、幅、間隔等の郵
政省規格を示す図。
FIG. 3 is a view showing Ministry of Posts and Telecommunications standards such as a printing position, a length, a width, and an interval of a barcode.

【図4】バーコード認識処理概要の流れ図。FIG. 4 is a flowchart of an outline of a barcode recognition process.

【図5】スタートバー付近の拡大図。FIG. 5 is an enlarged view near a start bar.

【図6】バー領域を表す図。FIG. 6 is a diagram showing a bar area.

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

201…スキャナ、 202…バーコード認識部、20
3…バーコード復号部、204…制御部等、 301…
読み取り範囲、 302…IDバーコード、303…
住所表示番号バーコード、 304…郵便番号バーコー
ド、501…スタートバー、 502…スタ
ートバー付近の一定領域、503…スタートバー付近の
一定領域の中心部、 601…バー、602…バー領域
周辺部、 603…バー領域中心部。
201: scanner, 202: barcode recognition unit, 20
3. Bar code decoding unit, 204 control unit, etc. 301
Reading range, 302 ... ID barcode, 303 ...
Address display number bar code 304 Post code bar code 501 Start bar 502 Fixed area near start bar 503 Center part of fixed area near start bar 601 Bar, 602 Bar area periphery 603: central part of bar area.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 清松 哲郎 愛知県尾張旭市晴丘町池上1番地 株式会 社日立製作所情報機器事業部内 (72)発明者 奥田 弘幸 愛知県尾張旭市晴丘町池上1番地 株式会 社日立製作所情報機器事業部内 (72)発明者 梶浦 敏範 愛知県尾張旭市晴丘町池上1番地 株式会 社日立製作所情報機器事業部内 Fターム(参考) 5B072 CC24 CC33 DD23 DD25 FF00 FF01  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Tetsuro Kiyomatsu 1st Ikegami, Haruoka-cho, Owariasahi-shi, Aichi Prefecture Inside the Information Equipment Division of Hitachi, Ltd. Hitachi, Ltd. Information Equipment Division (72) Inventor Toshinori Kajiura 1, Ikegami, Haruoka-cho, Owariasahi-shi, Aichi F-term, Hitachi Information Equipment Division 5B072 CC24 CC33 CC33 DD23 DD25 FF00 FF01

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バーコードの規格によりバーが存在する領
域を大まかに決め、読み取った多値画像データにより微
調整を行いながら、バーがあると予想される領域のみを
順番に詳しく調査し、バーを認識することを特徴とする
バーコード認識方法。
1. An area where a bar is present is roughly determined according to a bar code standard, and while fine adjustment is performed based on the read multi-valued image data, only an area where a bar is expected is examined in detail in order. A bar code recognition method characterized by recognizing a bar code.
JP10303620A 1998-10-26 1998-10-26 Bar code recognition method Pending JP2000132634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10303620A JP2000132634A (en) 1998-10-26 1998-10-26 Bar code recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10303620A JP2000132634A (en) 1998-10-26 1998-10-26 Bar code recognition method

Publications (1)

Publication Number Publication Date
JP2000132634A true JP2000132634A (en) 2000-05-12

Family

ID=17923188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10303620A Pending JP2000132634A (en) 1998-10-26 1998-10-26 Bar code recognition method

Country Status (1)

Country Link
JP (1) JP2000132634A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783495A (en) * 2020-06-30 2020-10-16 创新奇智(南京)科技有限公司 Bar code identification method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783495A (en) * 2020-06-30 2020-10-16 创新奇智(南京)科技有限公司 Bar code identification method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US5680472A (en) Apparatus and method for use in an automatic determination of paper currency denominations
US4748317A (en) Optical reader
US4926492A (en) Optical character reading apparatus and method
US5001330A (en) Optically scanned document with fail-safe marking
US4562594A (en) Method and apparatus for segmenting character images
EP0332471A2 (en) Character recognition apparatus
JPH0420226B2 (en)
US20100301119A1 (en) Barcode processing apparatus and barcode processing method
US6807302B2 (en) Recognition apparatus and recognition method
JP3936436B2 (en) Table recognition method
US8267322B2 (en) Method and apparatus for correcting decoding errors in machine-readable symbols
JP2000132634A (en) Bar code recognition method
US6934404B2 (en) Stamp detecting device, stamp detecting method, letter processing apparatus and letter processing method
EP0144202B1 (en) Optical reader
US5391889A (en) Optical character reading apparatus which can reduce reading errors as regards a character image if the character image is in contact with an unnecessary image.
JP2985893B2 (en) Pattern recognition device
EA001531B1 (en) Device and method for checking patternsdisposed on a material strip
JPH07239899A (en) Optical character reader
JPH11226516A (en) Address reader on customer bar code printed mail
JPH08155397A (en) Postal matter classifying device and bar code printer
JPH05128309A (en) Edge detecting method for character recognition
JPH06187450A (en) Pattern recognizing method and device therefor
JPH11195084A (en) Optical character reading device
JPH0573717A (en) Optical character reader
JPH034386A (en) Optical character reader

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050223