JPH04100187A - Code reader - Google Patents
Code readerInfo
- Publication number
- JPH04100187A JPH04100187A JP2217876A JP21787690A JPH04100187A JP H04100187 A JPH04100187 A JP H04100187A JP 2217876 A JP2217876 A JP 2217876A JP 21787690 A JP21787690 A JP 21787690A JP H04100187 A JPH04100187 A JP H04100187A
- Authority
- JP
- Japan
- Prior art keywords
- code
- character
- character codes
- character code
- black
- 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
Links
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000007115 recruitment Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は画像処理による文字コードを読み取るコード
読み取シ装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a code reading device that reads character codes through image processing.
従来のコード読み取シ装置の例を第3図に示し説明する
。An example of a conventional code reading device is shown in FIG. 3 and will be described.
この第3図において、1はウェハ、2Fiカメラ・3I
iこのカメラ2に接続された画像認識装置である。そし
て、41〜41はウェハ1上に印された文字コードを示
す。In this Figure 3, 1 is a wafer, 2Fi camera, 3I
i is an image recognition device connected to this camera 2. Further, 41 to 41 indicate character codes marked on the wafer 1.
第4図ないし第7図は第3図の動作底F!A区である。Figures 4 to 7 are the operating bottom F of Figure 3! This is Ward A.
そして第4図において第3図と同一符号のものは相当部
分を示す。In FIG. 4, the same reference numerals as in FIG. 3 indicate corresponding parts.
第5図は第4図における文字コード41〜4iを拡大し
て示したものである。FIG. 5 is an enlarged view of the character codes 41 to 4i in FIG. 4.
第6図は第5図における文字コード4aに係る部分を抽
出して示したもので、5龜〜5fは文字コード4a内の
白黒判定エリアである。FIG. 6 extracts and shows the portion related to the character code 4a in FIG. 5, and 5th to 5f are black and white determination areas within the character code 4a.
第7図は読み取シを行う場合の説明図で、(−)は正し
い読み取シを行った場合を示したものであシ、(b)け
誤シ読み取シを行った場合を示したものである。Figure 7 is an explanatory diagram of when reading is performed. (-) indicates the case where the reading was performed correctly, and (b) indicates the case where the reading was performed incorrectly. be.
そして、この第7図に示す61〜6fは第6図に示す白
黒判定エリア51〜5fに対応した明度値を示し、7は
白黒を判定するためのしきい値である。61 to 6f shown in FIG. 7 indicate brightness values corresponding to the black and white determination areas 51 to 5f shown in FIG. 6, and 7 is a threshold value for determining black and white.
つぎに動作について説明する。Next, the operation will be explained.
まず、第3図において、ウェハ1上に印された文字コー
ド41〜41のうち文字コード41〜4fをカメラ2に
より撮像し、そのビデオ信号を画像認識装置3に入力す
る。First, in FIG. 3, among the character codes 41 to 41 marked on the wafer 1, character codes 41 to 4f are imaged by the camera 2, and the video signals thereof are input to the image recognition device 3.
つぎに、画像認識装置3では第5図に示す文字コード4
mをとらえ、事前に指定された白黒判定エリア5a〜5
f(第6図参照)について、第7図(1)に示す明度値
6&〜6fを求め、この明度値6&〜6fを事前に指定
されたしきい値7により、これ以上の明度値6m、6e
’er白」とし、これ未満の明度値6b、6e、6d、
6fを1黒」と判断する。Next, in the image recognition device 3, the character code 4 shown in FIG.
m, and pre-specified black and white judgment areas 5a to 5
For f (see Fig. 6), the brightness values 6&~6f shown in Fig. 7 (1) are determined, and the brightness values 6&~6f are determined using a threshold value 7 specified in advance to determine the brightness values 6m, 6m, etc. 6e
'er white', and the brightness values less than this are 6b, 6e, 6d,
It is determined that 6f is 1 black.
この白黒情報により、文字コード4aを読み取る。The character code 4a is read using this black and white information.
そして、続けて、文字コード4b〜41についても同様
に読み取る。Then, character codes 4b to 41 are also read in the same manner.
従来のコード読み取シ装置は以上のように構成され、ま
た、以上のように動作するので、第7図(b)に示すよ
うに白黒判別が誤った場合には、文字コードの誤読み取
りを起こし、読み取シを終えてしまうという課題があっ
た。Since the conventional code reading device is configured as described above and operates as described above, if the black/white discrimination is incorrect as shown in FIG. 7(b), the character code may be read incorrectly. , there was a problem that the reading process was completed.
この発明はかかる課題を解決すべくなされたもので、誤
り読み取りを判定し、明度値6a〜6fの白黒を決める
しきい値γを変え、再度読み取pを行うコード読み取少
装置を得ることを目的とする。This invention was made to solve this problem, and the object is to obtain a small code reading device that determines erroneous reading, changes the threshold value γ that determines black and white of brightness values 6a to 6f, and performs reading again p. shall be.
この発明によるコード読み取シ装置は、複数のコードマ
ークとそのコードマークから算出されるコードを撮像す
るカメラを備え、このカメラから出力される信号からコ
ードマーク内の明度値を求め、しきい値処理してコード
マークを読み取り、読み取った複数のコードマークより
算出されたコードが読み取った複数のコードマークより
算出される!コードであることを判断して誤読み増重検
出し、上記しきい値を変更して再度読み取りを行うよう
にしたものである。A code reading device according to the present invention includes a camera that images a plurality of code marks and a code calculated from the code marks, and calculates the brightness value within the code mark from a signal output from the camera, and performs threshold processing. and read the code marks, and the code calculated from the multiple code marks read is calculated from the multiple code marks read! It is determined that the code is a code, detects an increase in erroneous readings, changes the threshold value, and performs reading again.
この発明においては、文字コードとチエツクサム文字コ
ードを対比し、文字コードから発生されるべきチエツク
サム文字コードとなっていない場合白黒を判定するしき
い値を変え、再度読み取りを行う。In this invention, the character code and the checksum character code are compared, and if the checksum character code is not the one that should be generated from the character code, the threshold value for determining black and white is changed and reading is performed again.
以下、図面に基づきこの発明の実施例を詳細に説明する
。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第1図はこの発明によるコード読み取り装置の一実施例
を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a code reading device according to the present invention.
この第1図において第3図と同一符号のものは相当部分
を示し、カメラ2は複数のコードマークとそのコードマ
ークから算出されるコードを撮像するように構成されて
いる。そして、4a〜41はウェハ1上に印された文字
コード、4j、4にはウェハ1上に追加されたチエツク
サム文字コードである。In FIG. 1, the same reference numerals as in FIG. 3 indicate corresponding parts, and the camera 2 is configured to image a plurality of code marks and codes calculated from the code marks. 4a to 41 are character codes marked on the wafer 1, and 4j and 4 are checksum character codes added on the wafer 1.
つぎにこの第1図に示す実施例の動作を第2図を参照し
て説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIG. 2.
まず、ウェハ1上に印された文字コード4aの白黒パタ
ーンを0616+文字コード4bの白黒パターンをos
16.文字コード4cの白黒パターンを32、、、文字
コード4dの白黒パターンを37t6.文字コード4e
の白黒パターンi34+s1文字コード4fの白黒パタ
ーンを30.、、文字コード41の白黒′ゝターンを3
216.チエツクサム文字コード4jの白黒パターンを
OA+g+チエツクサム文字コード4にの文字パターン
を0616と文字コードに対応させた16進数を設ける
。そして、この文字コード4凰〜4量の16進数の合計
は、
06+s +05+6+32+6+3716+34+6
+301g+30+g+3018+3218=16AI
6
となる。この160 、161の桁に発生したrAJ「
6」を16進数としたチエツクサム文字コードを4k
、4jとする。First, change the black and white pattern of character code 4a marked on wafer 1 to 0616 + the black and white pattern of character code 4b to os.
16. The black and white pattern of character code 4c is 32, , the black and white pattern of character code 4d is 37t6. character code 4e
The black and white pattern of i34+s1 The black and white pattern of character code 4f is 30. ,, the black and white 'も turn of character code 41 is 3
216. The black and white pattern of checksum character code 4j is OA+g+the character pattern of checksum character code 4 is 0616, and hexadecimal numbers corresponding to the character codes are provided. And the total hexadecimal number of this character code 4 凰 ~ 4 quantity is 06+s +05+6+32+6+3716+34+6
+301g+30+g+3018+3218=16AI
It becomes 6. The rAJ that occurred in the 160 and 161 digits
4k checksum character code with 6" in hexadecimal
, 4j.
つぎに、画像認識装置3にて、文字コード4a〜41と
チエツクサム文字コード4j、4kを読み取った後、文
字コード41〜41に対応した16進数の合計値の16
0 、161の桁に発生した16進数の文字コードがチ
エツクサム文字コード4に、4jであるかを判断し、不
一致であれVi誤読み取#)を起こしたことになシ、第
1図の動作説明図である第2図に示すように、しきい値
7を変えて、再度読み取シをやシ直し、チエツクサム文
字コード4k。Next, the image recognition device 3 reads the character codes 4a to 41 and the checksum character codes 4j and 4k, and then reads the hexadecimal total value of 16 corresponding to the character codes 41 to 41.
Determine whether the hexadecimal character code generated in the digits 0 and 161 is the checksum character code 4 or 4j. As shown in FIG. 2, the threshold value 7 is changed and the reading pattern is slightly revised again to obtain a checksum character code of 4k.
4jが一致するまで行う。Repeat until 4j matches.
このように、この発明によるコード読み取シ装fl、複
数のコードマークとその;−ドマークから算出されるコ
ードを撮像するカメラ2を備え、このカメラ2から出力
される信号からコードマーク内の明度値を求め、しきい
値処理してコードマークを読み取り、読み取った複数の
コードマークより算出されたコードが読み取った複数の
コードマークより算出される募コードであることを判断
して誤読み取シを検出し、上記しきい値を変更して再度
読み取シを行うようにしたものである。As described above, the code reading system fl according to the present invention includes a plurality of code marks and a camera 2 that images a code calculated from the - mark, and the brightness value in the code mark is determined from the signal output from the camera 2. The code mark is read using threshold processing, and misreading is detected by determining that the code calculated from the multiple code marks read is the recruitment code calculated from the multiple code marks read. However, the above threshold value is changed and reading is performed again.
以上のようにこの発明によれば、文字コードとチエツク
サム文字コードを対比し、文字コードから発生されるべ
きチエツクサム文字コードとなっていない場合白黒を判
定するしきい値を変え、再度読み取りを行うように構成
したので、文字コードをvAまって読み取った場合には
、白黒判定のしきい値を変えて再読み取シすることがで
き、信頼性は非常に高くなるという効果がある。As described above, according to the present invention, the character code and the checksum character code are compared, and if the checksum character code is not the one that should be generated from the character code, the threshold value for determining black and white is changed and reading is performed again. Therefore, when a character code is read after waiting vA, it is possible to change the threshold value for black and white determination and read it again, which has the effect of greatly increasing reliability.
第1図はこの発明によるフード読み取シ装置の一実施例
を示すブロック図、第2図は第1図の動作説明図、第3
図は従来のフード読み取シ装置の一例を示すブロック図
、第4図、第5図、第6図および第7図は第3図の動作
説明図である。
1・・・−ウェハ、2・−・・カメラ、38・―・画像
認識装置、41〜41・・・・文字コード、4j、4に
−・・−チエツクサム文字コード、5a〜5f−−・・
白黒判定エリア、6a〜6f・・・・明度値、7・・・
・しきい値。FIG. 1 is a block diagram showing an embodiment of the food reading device according to the present invention, FIG. 2 is an explanatory diagram of the operation of FIG. 1, and FIG.
The figure is a block diagram showing an example of a conventional food reading device, and FIGS. 4, 5, 6, and 7 are explanatory diagrams of the operation of FIG. 3. 1...-Wafer, 2--Camera, 38--Image recognition device, 41-41...Character code, 4j, 4--Checksum character code, 5a-5f--・
Black and white judgment area, 6a to 6f... Brightness value, 7...
·threshold.
Claims (1)
コードを撮像するカメラを備え、このカメラから出力さ
れる信号からコードマーク内の明度値を求め、しきい値
処理してコードマークを読み取り、読み取つた複数のコ
ードマークより算出されたコードが読み取つた複数のコ
ードマークより算出されるべきコードであることを判断
して誤読み取りを検出し、前記しきい値を変更して再度
読み取りを行うようにしたことを特徴とするコード読み
取り装置。It is equipped with a camera that captures images of multiple code marks and codes calculated from the code marks, and calculates the brightness value within the code marks from the signal output from this camera, performs threshold processing, and reads the code marks. Misreading is detected by determining that the code calculated from multiple code marks is the code that should be calculated from the multiple code marks read, and reading is performed again by changing the threshold value. A code reading device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2217876A JPH04100187A (en) | 1990-08-17 | 1990-08-17 | Code reader |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2217876A JPH04100187A (en) | 1990-08-17 | 1990-08-17 | Code reader |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04100187A true JPH04100187A (en) | 1992-04-02 |
Family
ID=16711155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2217876A Pending JPH04100187A (en) | 1990-08-17 | 1990-08-17 | Code reader |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04100187A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7932940B2 (en) | 2006-09-04 | 2011-04-26 | Sony Corporation | Apparatus for edge enhancement and peaking signal generation based on a target hue |
-
1990
- 1990-08-17 JP JP2217876A patent/JPH04100187A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7932940B2 (en) | 2006-09-04 | 2011-04-26 | Sony Corporation | Apparatus for edge enhancement and peaking signal generation based on a target hue |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2004234318A (en) | Two-dimension information code, and display method, generation method and reading method thereof | |
US7061533B1 (en) | Image processing apparatus | |
JPS61115179A (en) | Bar code reader | |
JPS6145372A (en) | Picture character recognizer | |
JP2010226580A (en) | Color correction method and imaging system | |
JPH04100187A (en) | Code reader | |
JP2500859B2 (en) | Bar code reader | |
JPH07104904B2 (en) | Bar code reader | |
JP4100273B2 (en) | Two-dimensional code reading method and two-dimensional code reading apparatus | |
KR100437220B1 (en) | Information processing system and peripheral apparatus | |
US6726102B2 (en) | Data recording medium and code reader | |
JP3690281B2 (en) | Information code | |
JP2005052226A (en) | Card reader utilizing bar code | |
JP2535399B2 (en) | Similar character discrimination method | |
JP4155156B2 (en) | Bar code reader and bar code discrimination method | |
JP7415399B2 (en) | Information code, information code medium, information code generation method, and information code reading device | |
JP2002102175A (en) | Image input/output device | |
JP2576370B2 (en) | ID mark reading device | |
JPH02282878A (en) | Image processor | |
JP3162575B2 (en) | Character recognition device | |
JP2506142B2 (en) | Character reader | |
JPS61296484A (en) | Reading method for optical character | |
JPS6334678A (en) | Bar code reader | |
JPS58109973A (en) | Printer with print character echo check function | |
JP2020154908A (en) | Information code reading device, information code reading system, information code reading method and information code reading program |