JP2001236463A - Optical character reader - Google Patents
Optical character readerInfo
- Publication number
- JP2001236463A JP2001236463A JP2000045399A JP2000045399A JP2001236463A JP 2001236463 A JP2001236463 A JP 2001236463A JP 2000045399 A JP2000045399 A JP 2000045399A JP 2000045399 A JP2000045399 A JP 2000045399A JP 2001236463 A JP2001236463 A JP 2001236463A
- Authority
- JP
- Japan
- Prior art keywords
- reflectance
- image
- correction liquid
- optical character
- light
- 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
- 238000012015 optical character recognition Methods 0.000 title description 13
- 239000007788 liquid Substances 0.000 claims abstract description 46
- 230000003287 optical effect Effects 0.000 claims description 37
- 230000001678 irradiating effect Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 5
- 239000003086 colorant Substances 0.000 description 4
- 239000002989 correction material Substances 0.000 description 3
- 238000002310 reflectometry Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 239000003973 paint Substances 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 238000004061 bleaching Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002834 transmittance Methods 0.000 description 1
Landscapes
- Character Input (AREA)
- Image Input (AREA)
- Facsimile Scanning Arrangements (AREA)
Abstract
Description
【発明の属する技術分野】本発明は、帳票に記載された
文字を光学的に読み取る光学的文字読取装置に関し、特
に白色ペンキ状の修正液(以下修正液と記す)等の塗布
により修正された領域を検出することができる光学的文
字読取装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical character reader for optically reading characters written on a form, and more particularly to an optical character reader which is modified by applying a white paint correction liquid (hereinafter referred to as correction liquid). The present invention relates to an optical character reader capable of detecting an area.
【従来の技術】一般に光学的文字読取装置(以下OCR
と呼ぶ)は、帳票に予め指定された筆記用具を用いて記
入された文字・記号等を光学的に読み取り且つ認識する
ものであり、前記筆記用具としては例えば鉛筆又はボー
ルペン又は万年筆等が一般的である。前記帳票が例えば
保険契約書等の記入文字を容易に消すことができない筆
記用具、例えばボールペンでの記入を義務づけている前
記保険契約書への記入文字を読み取る場合、従来技術に
よるOCRは、記入者が記入内容を修正液を用いて修正
し、契約書類として不適当な帳票であったとしても前記
修正液上の修正文字を読み込んでしまうものである。
尚、前記従来技術に関連する技術が記載された文献とし
ては、特開平8−279911号公報記載の修正液によ
り訂正された文字も誤り無く読み取るものや、特開平5
−334489号公報に記載の背景色にかかわらず文字
を認識することができるものが挙げられる。2. Description of the Related Art In general, an optical character reader (hereinafter referred to as OCR)
) Is a device for optically reading and recognizing characters and symbols written using a writing implement specified in advance on a form, and the writing implement is generally a pencil, a ballpoint pen, a fountain pen, or the like. It is. In the case where the form reads characters written on the insurance contract which requires writing with a writing instrument such as an insurance contract which cannot be easily erased, for example, with a ballpoint pen, the OCR according to the prior art requires a writer. However, the correction contents are corrected using the correction liquid, and the correction characters on the correction liquid are read even if the form is inappropriate as a contract document.
References describing techniques related to the above-mentioned prior art include a technique for reading characters corrected by a correction liquid described in Japanese Patent Application Laid-Open No. 8-279911 without error,
Japanese Unexamined Patent Application Publication No. 334489 discloses a device capable of recognizing characters regardless of the background color.
【発明が解決しようとする課題】前述の従来技術による
OCRは、帳票に修正液が塗布されているか検出する機
能が無く、契約書として不適当な帳票であっても文字認
識をしてしまう可能性があると言う不具合があった。ま
た従来のOCRは、帳票に記入した筆記用具が何れかの
筆記用具か判定する機能もなく、このために前記保険契
約書の如く容易に消すことができない筆記用具での記入
が義務づけられている帳票であっても文字認識を行って
しまうと言う不具合があった。この様に従来技術による
OCRは、本来は無効な帳票であることを検出すること
ができず、人手により不適当な帳票を排除しなければな
らないと言う不具合があった。本発明の目的は、前述の
従来技術による不具合を除去することであり、帳票に記
入された文字が修正液により修正されているか否か検出
することができる光学的文字読取装置を提供することで
ある。本発明の他の目的は、帳票上に記入された筆記用
具の種類を検出することができ、OCR使用者に警告す
ることができる光学的文字読取装置を提供することであ
る。The OCR according to the prior art described above does not have a function of detecting whether a correction liquid is applied to a form, and can recognize characters even if the form is inappropriate as a contract. There was a defect that there is. Further, the conventional OCR does not have a function of determining whether a writing implement entered in a form is any writing implement, and therefore, it is obligatory to fill in a writing implement that cannot be easily erased like the insurance contract. There was a problem that character recognition was performed even in a form. As described above, the OCR according to the conventional technology has a problem that an originally invalid form cannot be detected, and an inappropriate form must be manually removed. SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-described disadvantages of the related art, and to provide an optical character reading device that can detect whether a character written on a form has been corrected by a correction liquid. is there. It is another object of the present invention to provide an optical character reading device capable of detecting the type of writing implement written on a form and alerting an OCR user.
【課題を解決するための手段】前記目的を達成するため
に本発明による光学的文字読取装置は、帳票の表面から
の反射光による反射画像と帳票を透過した透過画像との
差分を取り、該差分画像の中で黒画像が占める割合が所
定値よりも大きい場合に修正液が塗布されていると判定
することを第1の特徴とする。また本発明による光学的
文字読取装置は、帳票の未記入部分の反射率と、文字記
入部分の反射率とを検出し、文字記入部分の反射率が未
記入部分の反射率よりも高い場合に修正液が塗布されて
いると判定することを第2の特徴とする。更に本発明に
よる光学的文字読取装置は、帳票の未記入部分に対して
青緑赤色の複数波長の光を照射して各波長の白レベルで
の反射光の反射率を記憶し、文字記入部分に対して前記
複数波長の光を照射して各波長の黒レベルでの反射率を
検出し、前記白レベルでの各波長の白レベルの反射率に
対して黒レベルでの反射率が10%以上且つ所定範囲内
の反射率の場合、鉛筆による記入と判定することを第3
の特徴とする。In order to achieve the above object, an optical character reading apparatus according to the present invention obtains a difference between a reflected image due to light reflected from a surface of a form and a transmitted image transmitted through the form. The first feature is that it is determined that the correction liquid is applied when the ratio of the black image in the difference image is larger than a predetermined value. Further, the optical character reading device according to the present invention detects the reflectance of an unwritten portion of a form and the reflectance of a written portion, and detects the reflectance of the written portion is higher than the reflectance of the unwritten portion. A second feature is that it is determined that the correction liquid is applied. Further, the optical character reading device according to the present invention irradiates a plurality of wavelengths of blue, green, and red to unfilled portions of the form, stores the reflectance of the reflected light at the white level of each wavelength, and stores Is irradiated with the light of the plurality of wavelengths to detect the reflectance at the black level of each wavelength, and the reflectance at the black level is 10% of the reflectance of the white level at each wavelength at the white level. In the case where the reflectance is within the predetermined range as described above, it is determined that entry with a pencil is determined in the third step.
The feature of.
【発明の実施の形態】以下、本発明の一実施形態による
光学的文字読取装置を図面を参照して詳細に説明する。
図1は、本実施形態による光学的文字読取装置の概略構
成を示す図、図2は修正液により修正された帳票の一例
を示す図、図3は図2に示す帳票を光学的に走査した際
の波形を示す図、図4は本実施形態による修正液の検出
手順を説明するための図、図5は本発明の他の実施形態
による光学的文字読取装置の概略構成を示す図、図6は
修正液により修正された帳票の他の例を示す図、図7は
図6に示す帳票を光学的に走査した際の波形を示す図、
図8は鉛筆及びボールペンの反射率を説明するための図
である。図1に示す本実施形態による光学的文字読取装
置は、文字が記入された帳票3の表面に文字検出用の光
を照射する光源1と、該光源1から帳票3により反射し
た光を検出して出力するイメージセンサー4と、該イメ
ージセンサー4により検出したアナログ信号をディジタ
ル信号に変換するA/D変換器6と、該変換されたディ
ジタル信号を2値化する2値化回路8と、帳票3の裏面
に光を照射する光源2と、該光源2から帳票3を通過し
た光を検出するイメージセンサー5と、該イメージセン
サー5により検出したアナログ信号をディジタル信号に
変換するA/D変換器7と、この変換されたディジタル
信号を2値化する2値化回路9と、該2値化回路9及び
8の出力差を出力する差比較回路10とを備え、前記イ
メージセンサー4により検出した(画像)信号から帳票
3に記入された文字を検出し、後述の如く、前記2値化
回路8及び9の出力差を差比較回路10により求めるこ
とにより修正液の有無を検出して警告する様に構成され
ている。ここで修正液により修正された帳票3は、例え
ば図2に示す如く、記入枠内に円形状の修正液11が塗
られ、この修正液11上に文字12(文字自体は
「1」)が記入されたものとする。さて、この様に構成
された光学的文字読取装置は、帳票3をセンサ4及び5
に対して相対的に移動し、各光源1及び2からの光をイ
メージセンサ4及び5が検出する。前記イメージセンサ
ー4が検出する帳票3から反射した光は、例えば図2A
−A’の位置において光学的に走査した場合、図3
(a)に示す如く、記入枠及び文字の部分が閾値より低
下する凹形状の波形13として検出される。同様にイメ
ージセンサー5が検出する帳票3を透過した光は、図3
(b)に示す如く、記入枠の部分と修正液が塗られた部
分が閾値より低下する凹形状の波形14として検出され
る。次いで本光学的文字読取装置は、前記各センサ4及
び5により検出したアナログ信号をA/D変換回路6及
び7によりディジタル信号に変換し、2値化回路8及び
9により画像信号として2値化し、差比較回路10に入
力する。前記2値化された画像信号は、イメージセンサ
4による反射画像が図4(a)の画像15に示す如く枠
内に文字「1」が黒く塗りつぶされた画像となり、イメ
ージセンサ5による透過画像が、修正液11の部分が帳
票3より厚く透過率が低下する為に出力が小さくなり、
図4(b)の画像16に示す如く枠内に修正液が塗られ
た円部分が黒く塗りつぶされた画像となる。次いで本装
置は、比較回路10が図4(a)の画像15と図4
(b)の画像16の差分を取ることにより図4(c)に
示す差分画像17を出力する。この差分画像17は、反
射光画像15と透過光画像16の両方にある文字と文字
枠が消え、修正液の部分のみ残るので、文字の周囲が黒
く残り、文字の部分が白く抜けた様な画像になる。本実
施形態による光学的文字読取装置は、この差分画像17
の黒領域の形状及び面積とを計算し、黒領域の面積が所
定の値よりも大きい場合に修正液が塗られた帳票である
と判定し、使用者に警告を発する。この警告を発する方
法例としては、OCR操作用コンピュータに修正液が検
出された場合に直ちにディスプレー等に警告表示し、該
当する部分の画像と帳票上の位置を表示する、或いは、
後で分かる用に読み取った文字データ等と関連付けして
修正液有無情報と文字周辺画像を付加し保存すること、
或いは、帳票上に印字装置で読み取り時に警告用文字等
を印字し容易に振り分けが可能にすることが考えられ
る。この様に本実施形態による光学的文字読取装置は、
帳票の表面からの反射光による画像と帳票を透過した画
像との差分を取り、差分画像の中で黒画像が占める割合
が所定値よりも大きい場合に修正液が塗布されていると
判定することにより、契約書等として不適な帳票を容易
に検出することができる。次に帳票に記載した筆記用具
が鉛筆又はボールペンかを検出する本発明の他の実施形
態による光学的読取装置を説明する。本実施形態による
装置構成は、図1に示す構成と同様であり、相違点は光
源1の発光波長を400nmから660nm程度の可視
光線とし、光源2の発光波長を740nm程度の近赤外
線にする点である。本実施形態による光学的読取装置
は、一般のボールペンは近赤外線の吸収率が20%以
上、鉛筆は70%程度であることを利用し、前述の修正
液のときと同様に二つのイメージセンサーの出力を適切
な閾値で2値化し、出力画像の差を取る。この差分画像
は、鉛筆使用の場合にのみ画像が黒く残る特性のため、
本光学的読取装置は、画像が黒く残ったときに鉛筆と判
定し、それ以外の時にはボールペン等の筆記用具と判定
する。また本装置は、もし、どちらか一方のみ使用を許
可したい場合はその場合に合わせて警告を発することも
できる。即ち本実施形態による光学的文字読取装置は、
帳票の未記入部分の反射率と、文字記入部分の反射率と
を検出し、文字記入部分の反射率が未記入部分の反射率
よりも高い場合に修正液が塗布されていると判定する。
次に本発明の他の実施形態による光学的文字読取装置を
図5以降を参照して説明する。図5に示した光学的文字
読取装置は、帳票19に光を照射する光源18と、該光
源18から帳票19の表面で反射した光を反射する回動
ミラー20及び21と、該ミラー21からの反射光をレ
ンズ22を介して受光する一次元カラーイメージセンサ
23とから構成され、光源18から帳票19により反射
された反射光を回動ミラー20が回動することにより帳
票上をスキャンし、レンズ22を介して一次元カラーイ
メージセンサ23に結像する様に構成されている。ここ
で帳票19は、図6に示す如く白ペンキ状の修正液24
が円形状に塗布されているものとし、帳票19の反射率
は75%程度とする。この様に構成した光学的文字読取
装置が、帳票19上のB-B'箇所を一次元イメージセン
サー23により走査した場合、そのセンサー出力波形は
図7に示す如き波形25となる。この波形25は、セン
サーの出力波形であり、帳票19上に修正液が塗布され
ている部分が80%程度の反射率を示し、帳票の反射率
75%より高い為に、センサーの出力が白方向に凸状に
突出する形状となる。本実施形態においては前記帳票の
反射率と修正液の反射率の差を比較することにより、修
正液の有無を検出する。具体的に説明すると本光学的文
字読取装置は、まず帳票19の先端を検出し、この反射
率の白レベル(センサー出力)をメモリー等に記憶し、
その後に帳票19が修正液24が塗布されている場所
(文字記入枠部分)まで搬送されて増大したセンサー出
力と前記先に記憶した帳票のレベルと差分をとる。この
差分信号の波形は、図7(b)に示す如き差分波形26
の様に現れる。本実施形態による装置は、前記差分を予
め定めた閾値より大きい場合に修正液により修正された
と判断し、OCR使用者に分かる様に例えば操作用コン
ピューターのディスプレイ上に警告表示をする。その
後、帳票はエラー帳票となり確認の為に排出され、目で
確認できる様になる。本装置は、漂白が少ない再生紙等
の地色に反射率の低い紙を使用すれば、この低いレベル
を基準とすることができ修正液との反射率差が大きい為
に容易に修正液を検出することができる。また本発明に
よる光学的文字読取装置は、図5に示した構成におい
て、光源18をある特定の波長、例えば660nmを中
心とする赤のみ発光するもの、あるいは白色光源でフィ
ルターにより選択された光を使用し、用紙の文字記入エ
リアをその波長に対して反射率が高く、他の波長は低く
なる様な印刷、つまりドロップアウトカラーにすること
により、人間の目には修正液は白く見え、その周りの文
字記入エリアは赤く見える為、修正液が塗布されている
ことを操作者に対して分かり易くすることもできる。更
に本実施形態による光学的文字読取装置は、センサーの
出力波形には反射率が帳票と同じ程度になる為、2値化
した場合の画像が、文字の周囲の色成分が除去される為
読み取りに最適なきれいな画像を得ることができる。ま
た、この時、光源を740nm程度の赤外線と400n
m〜600nmの可視光線を発光するものにし、イメー
ジセンサーを複数設置しセンサーの前に赤外線フィルタ
ーと可視光フィルターをそれぞれ置き、本光学系でボー
ルペンと鉛筆で記入された文字を読み取ることにより、
ボールペンか鉛筆かを検出することができる。この光学
的文字読取装置は、ボールペンの反射率が前記波長の赤
外線に対して80%程度と高く、帳票の用紙も同じ程度
を示し、鉛筆の場合は赤外線においても反射率は20%
程度であり、この差を比較することによりボールペンか
鉛筆かを検出する。即ち、可視光センサーの出力の画像
に文字が現れ、赤外光センサーの出力の画像に文字が現
れない場合には、筆記具はボールペンであり、可視光セ
ンサーの出力画像と赤外光センサー出力画像の両方に文
字が現れた場合は、鉛筆であると判定することができ
る。更に他の実施形態による光学的文字読取装置を説明
する。まず、鉛筆とボールペンの反射率は、図8に示す
如く、鉛筆が波長に関わらずほぼ一定の反射率であるの
に対し、ボールペンは600nm強近傍までの波長に対
する反射率が10%以下であり、それ以上の波長に対し
て反射率が上がる特性を持つことが知られている。即
ち、鉛筆は反射率がボールペンと比較して高く且つ波長
400nmから700nm迄の反射率がほぼ一定であ
り、ボールペンは600nmを越えた付近から反射率が
増加することが知られている。この実施形態による光学
的文字読取装置は、赤緑青の3色の光源とカラーセンサ
ーを用い、まず基準となる帳票の端部等の文字未記入部
分(白色)に対して白レベルを赤(波長660nm)、
緑(波長540nm)、青(波長480nm)の各色を
記憶させ、次に予め設定した文字記入エリアで設定した
閾値を越える黒レベルが入力された場合、その黒レベル
と記憶された白レベルの割合を赤緑青の各色の反射率を
算出し、その値を保存する。次いで本装置は、文字記入
エリアの読み込みが完了したら、先に保存した各色の反
射率の割合を色別にヒストグラムをとり最高となった値
を各色を比較し、反射率が10%以上且つその割合が各
色とも大差ない(図8における鉛筆の如く±数%以内)
場合は鉛筆と判定し、それ以外はボールペンと判定す
る。即ち本実施形態による光学的文字読取装置は、鉛筆
とボールペンの波長に対する反射率の差を利用して鉛筆
とボールペンの判定を行うことができる。尚、本実施形
態においては3色の光源を用いたが白色光源に各色のフ
ィルターを用いて多色を発行させる様に構成しても良
い。即ち本発明による光学的文字読取装置は、帳票の未
記入部分に対して青緑赤色の複数波長の光を照射して各
波長の白レベルでの反射光の反射率を記憶し、文字記入
部分に対して前記複数波長の光を照射して各波長の黒レ
ベルでの反射率を検出し、前記白レベルでの各波長の白
レベルの反射率に対して黒レベルでの反射率が10%以
上且つ所定範囲内の反射率の場合、鉛筆による記入と判
定し、これ意外の場合は、ボールペンと判定する。この
ように本実施形態による光学的文字読取装置は、前述の
如く各波長の反射率の変化をみることにより、帳票に記
入された文字が鉛筆かボールペンかを判定し、読み取る
帳票に対して許可されている筆記用具以外の筆記具の場
合に使用者に警告を発することができる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an optical character reading device according to an embodiment of the present invention will be described in detail with reference to the drawings.
1 is a diagram showing a schematic configuration of an optical character reading device according to the present embodiment, FIG. 2 is a diagram showing an example of a form corrected by a correction liquid, and FIG. 3 is an optically scanned form shown in FIG. FIG. 4 is a view for explaining a correction fluid detecting procedure according to the present embodiment, and FIG. 5 is a view showing a schematic configuration of an optical character reading apparatus according to another embodiment of the present invention. 6 is a diagram showing another example of the form corrected by the correction liquid, FIG. 7 is a diagram showing a waveform when the form shown in FIG. 6 is optically scanned,
FIG. 8 is a diagram for explaining the reflectance of a pencil and a ballpoint pen. The optical character reading device according to the present embodiment shown in FIG. 1 detects a light source 1 that irradiates light for character detection onto the surface of a form 3 on which characters are written, and detects light reflected by the form 3 from the light source 1. Sensor 4 for converting and outputting an analog signal detected by the image sensor 4 to a digital signal, a binarizing circuit 8 for binarizing the converted digital signal, 3, a light source 2 for irradiating light to the back surface, an image sensor 5 for detecting light passing through the form 3 from the light source 2, and an A / D converter for converting an analog signal detected by the image sensor 5 into a digital signal. 7, a binarization circuit 9 for binarizing the converted digital signal, and a difference comparison circuit 10 for outputting the output difference between the binarization circuits 9 and 8. A character written on the form 3 is detected from the (image) signal thus obtained, and as described later, an output difference between the binarization circuits 8 and 9 is obtained by a difference comparison circuit 10, thereby detecting the presence or absence of the correction liquid and issuing a warning. It is configured to do so. Here, as shown in FIG. 2, for example, the form 3 corrected with the correction liquid is coated with a circular correction liquid 11 in an entry frame, and a character 12 (the character itself is “1”) is placed on the correction liquid 11. It shall be completed. By the way, the optical character reading device configured as described above converts the form 3 into the sensors 4 and 5.
, And light from each of the light sources 1 and 2 is detected by the image sensors 4 and 5. The light reflected from the form 3 detected by the image sensor 4 is, for example, as shown in FIG.
When optically scanning at the position -A ', FIG.
As shown in (a), the entry frame and the character portion are detected as a concave waveform 13 lower than the threshold. Similarly, the light transmitted through the form 3 detected by the image sensor 5 is shown in FIG.
As shown in (b), the portion of the entry frame and the portion coated with the correction liquid are detected as a concave waveform 14 lower than the threshold value. Next, the optical character reading apparatus converts the analog signal detected by each of the sensors 4 and 5 into a digital signal by A / D conversion circuits 6 and 7, and binarizes it as an image signal by binarization circuits 8 and 9. , The difference comparison circuit 10. In the binarized image signal, the reflection image by the image sensor 4 is an image in which the character “1” is filled in black as shown in an image 15 in FIG. The output of the correction liquid 11 is small because the portion of the correction liquid 11 is thicker than the form 3 and the transmittance is reduced.
As shown in an image 16 in FIG. 4B, a circle portion in which the correction liquid is applied in the frame becomes an image in which the correction liquid is painted black. Next, in the present apparatus, the comparison circuit 10 compares the image 15 of FIG.
The difference image 17 shown in FIG. 4C is obtained by calculating the difference between the images 16 shown in FIG. 4B. In the difference image 17, the characters and the character frame in both the reflected light image 15 and the transmitted light image 16 disappear, and only the correction liquid remains, so that the periphery of the character remains black and the character part is white. Become an image. The optical character reading device according to the present embodiment uses the difference image 17
Is calculated, and if the area of the black region is larger than a predetermined value, it is determined that the report is a form coated with the correction liquid, and a warning is issued to the user. As an example of a method of issuing this warning, when the correction liquid is detected in the OCR operation computer, a warning is immediately displayed on a display or the like, and the image of the corresponding portion and the position on the form are displayed, or
Adding and storing the correction liquid presence / absence information and the character peripheral image in association with the read character data or the like for later identification;
Alternatively, it is conceivable that a warning character or the like is printed on a form at the time of reading by a printing device so that sorting can be easily performed. Thus, the optical character reading device according to the present embodiment is
The difference between the image due to the reflected light from the surface of the form and the image transmitted through the form is calculated, and when the ratio of the black image in the difference image is larger than a predetermined value, it is determined that the correction liquid is applied. Thereby, a form inappropriate as a contract or the like can be easily detected. Next, an optical reader according to another embodiment of the present invention for detecting whether a writing implement described in a form is a pencil or a ballpoint pen will be described. The configuration of the device according to the present embodiment is the same as the configuration shown in FIG. 1, except that the light emission wavelength of the light source 1 is a visible light of about 400 nm to 660 nm, and the light emission wavelength of the light source 2 is a near infrared ray of about 740 nm. It is. The optical reading device according to the present embodiment utilizes the fact that a general ballpoint pen has an absorption rate of near-infrared ray of 20% or more and a pencil of about 70%. The output is binarized with an appropriate threshold, and the difference between the output images is obtained. This difference image has a characteristic that the image remains black only when using a pencil,
The optical reading apparatus determines that the image is a pencil when the image remains black, and otherwise determines that the image is a writing implement such as a ballpoint pen. The apparatus can also issue a warning if only one of them is permitted to be used. That is, the optical character reading device according to the present embodiment is
The reflectance of an unwritten portion of the form and the reflectance of a character written portion are detected, and if the reflectance of the written portion is higher than the reflectance of the unwritten portion, it is determined that the correction liquid has been applied.
Next, an optical character reading device according to another embodiment of the present invention will be described with reference to FIG. The optical character reading apparatus shown in FIG. 5 includes a light source 18 for irradiating a form 19 with light, rotating mirrors 20 and 21 for reflecting light reflected from the light source 18 on the surface of the form 19, And a one-dimensional color image sensor 23 that receives the reflected light of the light from the light source 18 via the lens 22, and scans the reflected light reflected by the form 19 from the light source 18 on the form by rotating the turning mirror 20. It is configured to form an image on a one-dimensional color image sensor 23 via a lens 22. Here, the form 19 is composed of a white paint correction liquid 24 as shown in FIG.
Are applied in a circular shape, and the reflectance of the form 19 is about 75%. When the optical character reading apparatus configured as described above scans the BB 'portion on the form 19 with the one-dimensional image sensor 23, the sensor output waveform becomes a waveform 25 as shown in FIG. This waveform 25 is an output waveform of the sensor, and the portion where the correction liquid is applied on the form 19 shows a reflectance of about 80%, and since the reflectance of the form is higher than 75%, the output of the sensor is white. It has a shape that protrudes in the direction. In the present embodiment, the presence or absence of the correction liquid is detected by comparing the difference between the reflectance of the form and the reflectance of the correction liquid. More specifically, the optical character reading apparatus first detects the leading end of the form 19, stores the white level (sensor output) of the reflectance in a memory or the like,
Thereafter, the form 19 is conveyed to the place where the correction liquid 24 is applied (character entry frame portion), and the difference between the increased sensor output and the previously stored form level is calculated. The waveform of this differential signal is a differential waveform 26 as shown in FIG.
Appears like When the difference is larger than a predetermined threshold value, the apparatus according to the present embodiment determines that the correction has been performed by the correction liquid, and displays a warning on, for example, a display of an operation computer so that the OCR user can understand. Thereafter, the form becomes an error form and is discharged for confirmation, so that the form can be visually confirmed. This device can use this low level as a reference if low-reflection paper is used for the ground color such as recycled paper with little bleaching. Can be detected. In the optical character reading apparatus according to the present invention, in the configuration shown in FIG. 5, the light source 18 emits only red light centered at a specific wavelength, for example, 660 nm, or the light selected by a filter using a white light source. The correction liquid looks white to the human eye by printing the character writing area of the paper so that the reflectance is high for that wavelength and the other wavelengths are low, that is, a dropout color. Since the surrounding character entry area looks red, the operator can easily understand that the correction liquid has been applied. Further, in the optical character reading device according to the present embodiment, since the reflectance of the output waveform of the sensor is substantially the same as that of the form, the image in the case of binarization is read because the color components around the character are removed. It is possible to obtain the best clean image for At this time, the light source was set to about 740 nm infrared rays and 400 n.
By emitting visible light of m to 600 nm, installing multiple image sensors, placing an infrared filter and a visible light filter in front of the sensors, and reading characters written with a ballpoint pen and pencil with this optical system,
It can detect whether it is a ballpoint pen or a pencil. In this optical character reading apparatus, the reflectance of a ball-point pen is as high as about 80% with respect to the infrared ray of the wavelength, and the form paper shows the same degree. In the case of a pencil, the reflectance of the infrared ray is also 20%.
The difference is compared, and a ball-point pen or a pencil is detected by comparing the difference. That is, when characters appear in the output image of the visible light sensor and no characters appear in the output image of the infrared light sensor, the writing implement is a ballpoint pen, and the output image of the visible light sensor and the output image of the infrared light sensor are displayed. If a character appears in both of them, it can be determined that it is a pencil. An optical character reading device according to still another embodiment will be described. First, as shown in FIG. 8, the reflectance of a pencil and a ball-point pen is almost constant regardless of the wavelength of the pencil, whereas the reflectance of a ball-point pen at a wavelength up to a little over 600 nm is 10% or less. It is known that the reflectance increases with respect to wavelengths longer than that. That is, it is known that the reflectivity of a pencil is higher than that of a ball-point pen and the reflectivity from a wavelength of 400 nm to 700 nm is substantially constant, and the reflectivity of a ball-point pen increases from around 600 nm. The optical character reading apparatus according to this embodiment uses a light source of three colors of red, green and blue and a color sensor, and first sets a white level to red (wavelength) for a part where no character is written (white) such as an end of a reference form. 660 nm),
Each color of green (wavelength 540 nm) and blue (wavelength 480 nm) is stored, and when a black level exceeding a threshold set in a preset character entry area is input, the ratio of the black level to the stored white level Is calculated for each of the red, green and blue colors, and the values are stored. Next, when the reading of the character entry area is completed, the apparatus takes a histogram of the reflectance of each color previously stored for each color, compares the highest value with each color, and compares each color. Is not much different for each color (within ± several% like pencil in Fig. 8)
In this case, it is determined to be a pencil, and otherwise, it is determined to be a ballpoint pen. That is, the optical character reading device according to the present embodiment can determine the pencil and the ballpoint pen by using the difference in the reflectance of the pencil and the ballpoint pen with respect to the wavelength. In the present embodiment, a light source of three colors is used. However, a configuration may be adopted in which a white light source emits multiple colors using filters of each color. That is, the optical character reading device according to the present invention irradiates a plurality of wavelengths of blue-green-red light to the blank portion of the form, stores the reflectance of the reflected light at the white level of each wavelength, and stores Is irradiated with the light of the plurality of wavelengths to detect the reflectance at the black level of each wavelength, and the reflectance at the black level is 10% of the reflectance of the white level at each wavelength at the white level. If the reflectance is within the predetermined range, it is determined that the entry is made by a pencil. As described above, the optical character reading device according to the present embodiment determines whether the character written on the form is a pencil or a ballpoint pen by observing the change in the reflectance of each wavelength as described above, and permits the form to be read. A warning can be issued to the user in the case of a writing instrument other than the writing instrument used.
【発明の効果】以上述べた如く本発明による光学的文字
読取装置は、帳票の表面からの反射光による反射画像と
帳票を透過した透過画像との差分を取り、該差分画像の
中で黒画像が占める割合が所定値よりも大きい場合に修
正液が塗布されていると判定する、帳票の未記入部分の
反射率と、文字記入部分の反射率とを検出し、文字記入
部分の反射率が未記入部分の反射率よりも高い場合に修
正液が塗布されていると判定することにより、容易に修
正液を塗布した帳票を発見することができる。更に本発
明による光学的文字読取装置は、帳票の未記入部分に対
して青緑赤色の複数波長の光を照射して各波長の白レベ
ルでの反射光の反射率を記憶し、文字記入部分に対して
前記複数波長の光を照射して各波長の黒レベルでの反射
率を検出し、前記白レベルでの各波長の白レベルの反射
率に対して黒レベルでの反射率が10%以上且つ所定範
囲内の反射率の場合、鉛筆による記入と判定することに
より、帳票に記載された筆記具を判定することができ
る。従って不正なデータを入力する危険を未然に防ぐこ
とができる。As described above, the optical character reading apparatus according to the present invention obtains the difference between the reflected image due to the reflected light from the surface of the form and the transmitted image transmitted through the form, and calculates the black image in the difference image. If the ratio occupied by is larger than the predetermined value, it is determined that the correction liquid is applied.The reflectance of the unfilled portion of the form and the reflectance of the character written portion are detected, and the reflectance of the character written portion is determined. By determining that the correction liquid has been applied when the reflectance is higher than the unfilled portion, it is possible to easily find a form to which the correction liquid has been applied. Further, the optical character reading device according to the present invention irradiates a plurality of wavelengths of blue, green, and red to unfilled portions of the form, stores the reflectance of the reflected light at the white level of each wavelength, and stores Is irradiated with the light of the plurality of wavelengths to detect the reflectance at the black level of each wavelength, and the reflectance at the black level is 10% of the reflectance of the white level at each wavelength at the white level. In the case where the reflectance is within the predetermined range, it is possible to determine the writing implement described in the form by determining that the entry is made with a pencil. Therefore, the danger of inputting incorrect data can be prevented.
【図1】本発明の一実施形態による光学的文字読取装置
の概略構成を示す図。FIG. 1 is a diagram showing a schematic configuration of an optical character reading device according to an embodiment of the present invention.
【図2】修正液により修正された帳票の一例を示す図。FIG. 2 is a diagram showing an example of a form corrected by a correction liquid.
【図3】図2に示す帳票を光学的に走査した際の波形を
示す図。FIG. 3 is a diagram showing a waveform when the form shown in FIG. 2 is optically scanned.
【図4】本実施形態による修正液の検出手順を説明する
ための図。FIG. 4 is a view for explaining a correction fluid detection procedure according to the embodiment;
【図5】本発明の他の実施形態による光学的文字読取装
置の概略構成を示す図。FIG. 5 is a diagram showing a schematic configuration of an optical character reading device according to another embodiment of the present invention.
【図6】修正液により修正された帳票の他の例を示す
図。FIG. 6 is a view showing another example of a form corrected by the correction liquid.
【図7】図6に示す帳票を光学的に走査した際の波形を
示す図。FIG. 7 is a diagram showing a waveform when the form shown in FIG. 6 is optically scanned.
【図8】鉛筆及びボールペンの反射率を説明するための
図。FIG. 8 is a diagram for explaining the reflectance of a pencil and a ballpoint pen.
1・・・光源(反射用)、2・・・光源(透過用)、3・・・帳票、
4、5・・・イメージセンサー、6、7・・・A/D変換器、
8、9・・・2値化処理部、10・・・差比較部、11・・・塗布
された修正液、12・・・修正液の上に記入された文字、
13・・・センサー9の出力波形、14・・・センサー10の
出力波形、15・・・センサー9の出力画像、16・・・セン
サー10の出力画像、17・・・画像15と画像17の差
分画像、18・・・光源、19・・・帳票、20、21・・・ミ
ラー、22・・・レンズ、23・・・一次元イメージセンサ
ー、24・・・塗布された修正液、25・・・センサー23の
出力波形、26・・・差分波。1 ... light source (for reflection), 2 ... light source (for transmission), 3 ... form,
4, 5 ... image sensor, 6, 7 ... A / D converter,
8, 9 ... binarization processing section, 10 ... difference comparison section, 11 ... applied correction liquid, 12 ... characters written on the correction liquid,
13 ... output waveform of sensor 9, 14 ... output waveform of sensor 10, 15 ... output image of sensor 9, 16 ... output image of sensor 10, 17 ... image 15 and image 17 Difference image, 18 light source, 19 report, 20, 21 mirror, 22 lens, 23 one-dimensional image sensor, 24 applied correction fluid, 25 .. The output waveform of the sensor 23, 26.
Claims (3)
と帳票を透過した透過画像との差分を取り、該差分画像
の中で黒画像が占める割合が所定値よりも大きい場合に
修正液が塗布されていると判定することを特徴とする光
学的文字読取装置。A difference between a reflected image due to light reflected from the surface of a form and a transmitted image transmitted through the form is calculated, and when a ratio of a black image in the difference image is larger than a predetermined value, the correction liquid is used. An optical character reading device, wherein it is determined that the liquid is applied.
部分の反射率とを検出し、文字記入部分の反射率が未記
入部分の反射率よりも高い場合に修正液が塗布されてい
ると判定することを特徴とする光学的文字読取装置。2. The reflectance of an unwritten portion of a form and the reflectance of a character-written portion are detected, and when the reflectance of the character-written portion is higher than the reflectance of the unwritten portion, a correction liquid is applied. An optical character reading device, characterized in that it is determined that the character is present.
数波長の光を照射して各波長の白レベルでの反射光の反
射率を記憶し、文字記入部分に対して前記複数波長の光
を照射して各波長の黒レベルでの反射率を検出し、前記
白レベルでの各波長の白レベルの反射率に対して黒レベ
ルでの反射率が10%以上且つ所定範囲内の反射率の場
合、鉛筆による記入と判定することを特徴とする光学的
文字読取装置。3. An unfilled portion of the form is irradiated with light of a plurality of wavelengths of blue, green and red, and the reflectance of reflected light at a white level of each wavelength is stored. And the reflectance at the black level of each wavelength is detected, and the reflectance at the black level is 10% or more of the reflectance of the white level at each wavelength at the white level and within a predetermined range. An optical character reading device, which determines that writing is performed with a pencil in the case of reflectance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000045399A JP2001236463A (en) | 2000-02-23 | 2000-02-23 | Optical character reader |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000045399A JP2001236463A (en) | 2000-02-23 | 2000-02-23 | Optical character reader |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001236463A true JP2001236463A (en) | 2001-08-31 |
Family
ID=18567992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000045399A Pending JP2001236463A (en) | 2000-02-23 | 2000-02-23 | Optical character reader |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001236463A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007124616A (en) * | 2005-09-27 | 2007-05-17 | Ricoh Co Ltd | Image processing apparatus, image processing method, and computer-readable storage medium storing program for carrying out the method |
JP2007207184A (en) * | 2006-02-06 | 2007-08-16 | Konica Minolta Business Technologies Inc | Image processor, image processing method, program, and record medium |
US7626725B2 (en) | 2005-04-06 | 2009-12-01 | Canon Kabushiki Kaisha | Image reading apparatus |
US7796305B2 (en) | 2005-04-19 | 2010-09-14 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
US7948662B2 (en) * | 2005-10-31 | 2011-05-24 | Canon Kabushiki Kaisha | Image processing apparatus and method for performing shade correction on generated image using a shading coefficient |
-
2000
- 2000-02-23 JP JP2000045399A patent/JP2001236463A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7626725B2 (en) | 2005-04-06 | 2009-12-01 | Canon Kabushiki Kaisha | Image reading apparatus |
US7796305B2 (en) | 2005-04-19 | 2010-09-14 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
JP2007124616A (en) * | 2005-09-27 | 2007-05-17 | Ricoh Co Ltd | Image processing apparatus, image processing method, and computer-readable storage medium storing program for carrying out the method |
US7948662B2 (en) * | 2005-10-31 | 2011-05-24 | Canon Kabushiki Kaisha | Image processing apparatus and method for performing shade correction on generated image using a shading coefficient |
JP2007207184A (en) * | 2006-02-06 | 2007-08-16 | Konica Minolta Business Technologies Inc | Image processor, image processing method, program, and record medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5335292A (en) | Document processing system and method | |
JP2864137B2 (en) | Document processing system | |
TW563345B (en) | Image processing for correcting defects of read image | |
JP3829743B2 (en) | Optical information recording medium and optical information reader | |
CN101763509B (en) | Image reading device | |
JPH11502654A (en) | Machine readable label | |
US4962432A (en) | Selective retrieval of data from microfilm images of different forms by reading a memory index form cord (bar code) recorded on each image frame | |
US20020048411A1 (en) | Signal processing method, signal processing apparatus, and image reading apparatus | |
EP1436768B1 (en) | An optical sensor device and a method of controlling its exposure time | |
CA2260187A1 (en) | Edge effect compensating bar code reader | |
JP2001236463A (en) | Optical character reader | |
JPH03241969A (en) | Picture reader | |
JPH08190610A (en) | Optical character reader | |
JP4727828B2 (en) | Mark readout method for marked ophthalmic lens | |
JP4630477B2 (en) | Image signal processing method | |
JPH1131225A (en) | Detecting device for label or the like and detection processor | |
JP3115413B2 (en) | Optical character recognition device | |
EP0476294A1 (en) | Electronic filing system recognizing highlighted original to establish classification and retrieval | |
JP2000293621A (en) | Bar code and its reading method | |
JPH01217687A (en) | Optical character reader | |
JPH0696298A (en) | Ocr business from and its reader | |
JP2774755B2 (en) | Card reader | |
JP2710280B2 (en) | Optical character reader | |
JPH08202816A (en) | Writing tool discrimination device | |
JPH05342398A (en) | Bar code reader and bar code storage medium used for the reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20060417 |