JPH04124786A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH04124786A
JPH04124786A JP2243707A JP24370790A JPH04124786A JP H04124786 A JPH04124786 A JP H04124786A JP 2243707 A JP2243707 A JP 2243707A JP 24370790 A JP24370790 A JP 24370790A JP H04124786 A JPH04124786 A JP H04124786A
Authority
JP
Japan
Prior art keywords
output
white peak
hold circuit
peak hold
image sensor
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
JP2243707A
Other languages
Japanese (ja)
Inventor
Yoshikazu Kobayashi
美和 小林
Yuji Hamazaki
浜崎 祐児
Naoto Aoki
直人 青木
Katsumi Fukuchi
克己 福地
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2243707A priority Critical patent/JPH04124786A/en
Publication of JPH04124786A publication Critical patent/JPH04124786A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To accurately detect the tip of a slit by binarizing the output of an image sensor with the use of the output of a white peak hold circuit and comparing the output with a slice level changing according to the temperature. CONSTITUTION:A light emitted from a light source 3 is reflected by a slit 1 and image-formed on a light receiving surface of an image sensor 5. The output is amplified and the white peak is held by a white peak hold circuit 7. The output (SA) of an amplifier 6 is compared with the output (SB) of the white peak hold circuit 7 by an A/D converter 8 to be binarized. The output SB of the circuit 7 is compared by a comparator 10 with the use of a slice level (SL) changing according to the temperature, and outputs a signal (SC) indicating the detection of the tip of the slit 1 when exceeding the slice level (SL).

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は光学式文字読取装置に関し、特に帳票の先端の
検出に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an optical character reading device, and particularly to detection of the leading edge of a form.

(従来の技術) 第6図は従来の光学式文字読取装置(0CR)の要部構
成図である。同図において、1は帳票、2は帳票1の先
端を検出する光センサ、3は帳票1面を照射する光源、
4はレンズ、5はCCDセンサ等の1次元のイメージセ
ンサ、6は増幅器、7は白ビークを保持する白ピークホ
ールド回路、8はA 、/ D変換器である。
(Prior Art) FIG. 6 is a block diagram of the main parts of a conventional optical character reader (0CR). In the figure, 1 is a form, 2 is an optical sensor that detects the tip of the form 1, 3 is a light source that illuminates one side of the form,
4 is a lens, 5 is a one-dimensional image sensor such as a CCD sensor, 6 is an amplifier, 7 is a white peak hold circuit that holds a white peak, and 8 is an A/D converter.

次に動作を説明する。Next, the operation will be explained.

帳票1は図示しない搬送機構により矢印Aの方向へ搬送
され、光センサ2がオンになってから所定の距離だけ搬
送された所からイメージセンサ5のスキャン(走査)が
始まる。このスキャンは以下のように行なわれる。光源
3から発せられた光が帳票1面上で反射し、その反射光
はレンズ4でイメージセンサ5の受光面に結像される。
The document 1 is conveyed in the direction of arrow A by a conveyance mechanism (not shown), and scanning by the image sensor 5 begins after the document 1 has been conveyed a predetermined distance after the optical sensor 2 is turned on. This scan is performed as follows. Light emitted from the light source 3 is reflected on one surface of the form, and the reflected light is imaged by the lens 4 on the light receiving surface of the image sensor 5.

イメージセンサ5からの出力は増幅器6で増幅され、白
ピークホールド回路7により白ピークが保持される。保
持された白ピークと増幅器6からの出力の所定値をA/
D変換器8で比較して2値化が行われた後出力される。
The output from the image sensor 5 is amplified by an amplifier 6, and a white peak is held by a white peak hold circuit 7. The held white peak and the predetermined value of the output from the amplifier 6 are
After being compared and binarized by the D converter 8, it is output.

第7図(a)は帳票1のスキャン範囲を示し、帳票1の
上辺より距離aの所から文字の範囲すをスキャンするが
、このa、bの値は図示しない上位装置からの指令によ
り制御される。光センサ2とスキャン位置との距離Cは
光センサ2の取付誤差が大きいため、各装置により固有
の値となる。帳票1が、光センサ2をオンしてから所定
の距離(ρ+a)だけ搬送された後に、イメージセンサ
5はbの間だけスキャンを行なうが、βの値が機械によ
りまちまちのため、スキャン範囲すは文字よりも大きく
取られ、これにより文字の上側又は下側が切れてスキャ
ンされることを防いでいる。
FIG. 7(a) shows the scan range of form 1, in which a range of characters is scanned from a distance a from the top of form 1, but the values of a and b are controlled by commands from a host device (not shown). be done. The distance C between the optical sensor 2 and the scanning position is a value unique to each device because the installation error of the optical sensor 2 is large. After the form 1 has been conveyed a predetermined distance (ρ+a) after turning on the optical sensor 2, the image sensor 5 scans only the period b, but since the value of β varies depending on the machine, the scan range is limited. is larger than the characters, which prevents the upper or lower sides of the characters from being cut off and scanned.

第7図(b)は文字の切出しを示す図で、上半分が増幅
器6の出力波形(以下センサ波形と呼ぶ)下半分が対応
する帳票1である。イメージセンサ5は4096ビツト
を用いており帳票1の左端(又は右端)を検出するため
に走行裏当面(即ち、走行路面又は搬送路面)は光学的
に黒となるようにしである。文字は帳票1の左端からC
,(又は右端から02)の距離に書かれていることが、
図示しない上位装置からの指令によりわかっており、文
字の切出しを精度良く行なうためにC,(又はC2)は
正確でなければならない。
FIG. 7(b) is a diagram showing character cutout, where the upper half is the output waveform of the amplifier 6 (hereinafter referred to as sensor waveform) and the lower half is the corresponding form 1. The image sensor 5 uses 4096 bits, and in order to detect the left end (or right end) of the form 1, the back surface of the vehicle (that is, the traveling road surface or conveyance road surface) is optically black. The letters are C from the left edge of form 1.
, (or at a distance of 02 from the right edge)
This is known from a command from a host device (not shown), and C (or C2) must be accurate in order to accurately cut out characters.

光源3の光量は経年変化、例えば基板周辺等の温度変化
、電圧変動等で変化するため、良好な2値化を行なうべ
く白ピークホールド回路7を用いており、白ピークの所
定値とセンサ波形をA/D変換器8で比較して2値化し
ている。
Since the light intensity of the light source 3 changes over time, for example, due to temperature changes around the board, voltage fluctuations, etc., a white peak hold circuit 7 is used to perform good binarization, and a white peak hold circuit 7 is used to hold the predetermined value of the white peak and the sensor waveform. The A/D converter 8 compares and binarizes the signals.

第8図(a)、(b)はそれぞれ温度が高い場合、温度
が低い場合の2値化の例を示しており、温度変動に伴う
光量の変動に従って白ビークv2も変動するので光源3
の光量変動に関係なく、良好な2値化ができる。
Figures 8(a) and 8(b) show examples of binarization when the temperature is high and when the temperature is low, respectively, and since the white beak v2 also fluctuates according to the fluctuation of the light amount due to the temperature fluctuation, the light source 3
Excellent binarization is possible regardless of variations in the amount of light.

第8図(c)は裏当面のセンサ波形であるが裏当面は光
学的に黒といっても多少の反射光があり、またCCDセ
ンサからの暗出力もあり両者の和がCCDセンサから出
力され、白ピークホールド回路7が働いてしまうため、
2値化した後では裏当面は白となってしまい、イメージ
センサ5の出力で帳票1の先端の検出ができない。この
ため精度が劣る光センサ2を用いて帳票1の先端を擬似
的に検出している。
Figure 8(c) shows the sensor waveform of the back side. Although the back side is optically black, there is some reflected light, and there is also a dark output from the CCD sensor, and the sum of both is the output from the CCD sensor. and the white peak hold circuit 7 is activated.
After the binarization, the back side becomes white, and the leading edge of the form 1 cannot be detected by the output of the image sensor 5. For this reason, the leading edge of the form 1 is detected in a pseudo manner using the optical sensor 2, which has poor accuracy.

第9図は従来のOCRの別の構成例を示すものであって
、帳票1の先端なセンサ波形から検出するものを示す。
FIG. 9 shows another configuration example of the conventional OCR, which detects the sensor waveform at the leading edge of the form 1.

同図のOCRでは、文字が走行方向に書かれており文字
の切出しを正確に行なう必要がある為帳票1の先端を正
確に行なわねばならず、イメージセンサ5の出力で帳票
の先端を検出しなければならないが、第6図のOCRの
ように白ピークホールド回路は使用できず、固定スライ
スによりA/D変換器8で2値化を行なわねばならない
。しかし、CCDセンサには第10図のように温度によ
り変化する暗出力がありセンサ白レベル出力はこの暗出
力分だけ浮いてしまい、裏当面のセンサ出力も暗出力分
だけ浮いてしまうという特性があり高温時では裏当面が
白となってしまうなど良好な2値化ができず使用温度範
囲は狭い。
In the OCR shown in the figure, the characters are written in the running direction and it is necessary to accurately cut out the characters, so the leading edge of the form 1 must be accurately cut out, and the leading edge of the form is detected by the output of the image sensor 5. However, unlike the OCR shown in FIG. 6, a white peak hold circuit cannot be used, and the A/D converter 8 must perform binarization using fixed slices. However, as shown in Figure 10, the CCD sensor has a dark output that changes depending on the temperature, and the sensor white level output will float by this dark output, and the sensor output for the time being will also float by the dark output. At high temperatures, the back side becomes white and good binarization cannot be achieved, so the operating temperature range is narrow.

(発明が解決しようとする問題点) しかしながら、前記従来のOCRでは、次のような問題
点がある。
(Problems to be Solved by the Invention) However, the conventional OCR has the following problems.

第6図のOCRでは、光センサ2で疑似的に帳票1の先
端の検出を行なっているが光センサ等の取付誤差が大き
く、正確に帳票1の先端検出ができない。一方、第9図
のOCRでは、帳票1の先端を正確に検出し、良好な2
値化を行なうには使用温度範囲が狭いという欠点があっ
た。
In the OCR shown in FIG. 6, the leading edge of the form 1 is detected in a pseudo manner using the optical sensor 2, but the mounting error of the optical sensor, etc. is large, and the leading edge of the form 1 cannot be detected accurately. On the other hand, the OCR shown in Fig. 9 accurately detects the leading edge of form 1 and
The drawback is that the operating temperature range is narrow for value conversion.

本発明は以上述べた問題点を解決し、帳票の先端を正確
に検出でき、しかも安価なOCRを提供することを目的
とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide an inexpensive OCR that can accurately detect the leading edge of a form.

(問題点を解決するための手段) 本発明は前記問題点を解決するために、搬送される帳票
を走査して光電変換を行うイメージセンサと、該イメー
ジセンサの出力の白ピークを保持する白ピークホールド
回路と、該白ピークホールド回路の出力の所定値と前記
イメージセンサの出力を比較して2値化する2値化手段
とを備えた光学式文字読取装置において、温度によりス
ライスレベルが変化する手段と、前記白ピークホールド
回路の出力、又は前記イメージセンサの出力に新たに設
けられる別の白ピークホールド回路の出力と前記温度に
より変化するスライスレベルとを比較することにより帳
票の先端を検出する比較器とを設けたものである。
(Means for Solving the Problems) In order to solve the above-mentioned problems, the present invention provides an image sensor that scans a conveyed form and performs photoelectric conversion, and a white image sensor that maintains the white peak of the output of the image sensor. In an optical character reading device that includes a peak hold circuit and a binarization means that compares a predetermined value of the output of the white peak hold circuit and the output of the image sensor and binarizes the output, the slice level changes depending on the temperature. and detecting the leading edge of the form by comparing the output of the white peak hold circuit or the output of another white peak hold circuit newly provided to the output of the image sensor with the slice level that changes depending on the temperature. It is equipped with a comparator to

(作用) 本発明によれば以上のように光学式文字読取装置を構成
したので、技術的手段は次のように作用する。2値化手
段(例えばA/D変換器)は白ピークホールド回路の出
力(基準)の所定値でイメージセンサの出力を2値化す
るように働(。従って、帳票面を照射する光源又は外光
の光量が変動しても正確に2値化することができる。ま
た、比較器は上記の白ピークホールド回路、又は新たに
イメージセンサの出力に設けられた白ピークホールド回
路の出力と、搬送路面を走査したときのイメージセンサ
の出力レベルから温度により変化するスライスレベルと
を比較して帳票の先端を検出するように働(。従って、
搬送路面(裏当面)が完全に黒でなく、裏当面を走査し
たときのイメージセンサの出力が温度により変化しても
温度変化に影響されることなく帳票の先端を正確に検出
することができる。
(Function) According to the present invention, since the optical character reading device is configured as described above, the technical means functions as follows. The binarization means (for example, an A/D converter) works to binarize the output of the image sensor using a predetermined value of the output (reference) of the white peak hold circuit (therefore, the output of the image sensor is It is possible to accurately binarize even if the amount of light fluctuates.In addition, the comparator is connected to the output of the white peak hold circuit described above or the white peak hold circuit newly installed at the output of the image sensor, and It works to detect the leading edge of the form by comparing the output level of the image sensor when scanning the road surface with the slice level that changes depending on the temperature.
Even if the conveyance path surface (back surface) is not completely black and the output of the image sensor changes due to temperature when scanning the back surface, the leading edge of the form can be accurately detected without being affected by temperature changes. .

(実施例) 第1図は本発明の第1の実施例を示すOCRの要部構成
図である。同図において、第6図と同一の参照符号は同
一性のある構成要素を示す。10は比較器(コンパレー
タ)で、白ピークホールド回路7の出力と後述するサー
ミスタ回路12により出力される温度により出力が変化
するスライスレベルとを比較して帳票1の先端を検出す
る。12はサーミスタ回路で、構成は後述するが例えば
基板の周辺温度、光源の温度等により出力するスライス
レベルを変化させる。
(Embodiment) FIG. 1 is a diagram showing the main part of an OCR according to a first embodiment of the present invention. In this figure, the same reference numerals as in FIG. 6 indicate the same components. A comparator 10 detects the leading edge of the form 1 by comparing the output of the white peak hold circuit 7 with a slice level output from a thermistor circuit 12, which will be described later, and whose output varies depending on the temperature. Reference numeral 12 denotes a thermistor circuit whose configuration will be described later, but which changes the output slice level depending on, for example, the ambient temperature of the substrate, the temperature of the light source, etc.

次に第1の実施例の動作を説明する。Next, the operation of the first embodiment will be explained.

まず、帳票1は矢印Aの方向へ図示しない搬送機構によ
り搬送される。光源3より発せられた光は帳票1で反射
し、その反射光はレンズ4によりイメージセンサ5の受
光面に結像される。イメージセンサ5の出力は増幅器6
で増幅される。増幅器6の出力(SA)は白ピークホー
ルド回路7で白ピークが保持され、増幅器6の出力(S
A)は白ピークホールド回路7の出力(SB)とA/D
変換器8で比較され2値化される。白ピークホールド回
路7の出力SBは温度により変化するスライスレベル(
SL)により比較器10で比較され、白ピークホールド
回路7の出力(SB)が温度により変化するスライスレ
ベル(SL)を超える場合には帳票1の先端を検出した
ことを示す信号(SC)を出力する。
First, the form 1 is transported in the direction of arrow A by a transport mechanism (not shown). The light emitted from the light source 3 is reflected by the form 1, and the reflected light is imaged by the lens 4 on the light receiving surface of the image sensor 5. The output of the image sensor 5 is sent to the amplifier 6
is amplified. The white peak of the output (SA) of the amplifier 6 is held by the white peak hold circuit 7, and the output (SA) of the amplifier 6 is
A) is the output (SB) of the white peak hold circuit 7 and the A/D
A converter 8 compares and binarizes the signals. The output SB of the white peak hold circuit 7 has a slice level (
If the output (SB) of the white peak hold circuit 7 exceeds the slice level (SL) which varies depending on the temperature, a signal (SC) indicating that the leading edge of the form 1 has been detected is sent. Output.

第2図は各部の出力波形を示すものであって、同図(a
)は常時時のセンサ波形(増幅器6の出力波形)、同図
(b)は常時時の白ピークホールド回路7の出力波形、
同図(C)は常時時の比較器10の出力波形、同図(d
)は低温時のセンサ波形、同図(e)は低温時の白ピー
クホールド回路7の出力波形、同図(f)は低温時の比
較器10の出力波形、同図(g)は高温時のセンサ波形
、同図(h)は高温時の白ピークホールド回路7の出力
波形、同図(i)は高温時の比較器10の出力波形、同
図(j)は裏当面のセンサ出力(SD)、帳票面のセン
サ出力(SE)、スライスレベル(SL)各々の出力温
度特性である。同図(a) 、 (d) 、 (g)に
おいて、(イ)、(ロ)は裏当面、(ハ)、(=)、(
ネ)は帳票1面のスキャンを示す。
Figure 2 shows the output waveforms of each part.
) is the sensor waveform (output waveform of the amplifier 6) at all times, and (b) is the output waveform of the white peak hold circuit 7 at all times.
The figure (C) shows the output waveform of the comparator 10 during normal operation, and the figure (d
) is the sensor waveform at low temperature, (e) is the output waveform of the white peak hold circuit 7 at low temperature, (f) is the output waveform of comparator 10 at low temperature, and (g) is the output waveform at high temperature. (h) is the output waveform of the white peak hold circuit 7 at high temperature, (i) is the output waveform of the comparator 10 at high temperature, and (j) is the sensor output on the back side ( SD), the sensor output (SE) of the form surface, and the slice level (SL). In (a), (d), and (g) of the same figure, (a) and (b) are the reverse side, (c), (=), (
(e) shows a scan of one side of the form.

同図(a) 、 (d) 、 (g)の(イ)、(ロ)
のスキャンでは裏当面をスキャンしているので、増幅器
6の出力SAは低(、白ピークホールド回路7出力SB
も低い値を示すが、A/D変換器8出力は白となってし
まう。同図(d)は低温時におけるセンサ出力を示すが
、暗出力が小さいため帳票面の出力(ハ)。
(a), (d), (g) (a), (b) of the same figure
In the scan, the back side is scanned, so the output SA of the amplifier 6 is low (and the output SB of the white peak hold circuit 7 is low).
shows a low value, but the output of the A/D converter 8 becomes white. Figure (d) shows the sensor output at low temperatures, but since the dark output is small, it is the output on the form side (c).

(:)、(ネ)は低い値となる。同図(g)は高温時に
おけるセンサ出力を示すが、イメージセンサの暗出力に
第9図のような温度特性があるため裏当面の出力(イ)
、(ロ)は高い値となる。しかしながら、比較器10の
温度により変化するスライスレベル(S L)よりも白
ピークホールド回路8出力SBが低い値なので、比較器
10の出力SCはロー(L)レベルを示し、イメージセ
ンサ5が裏当面をスキャンしていることがわかる。イメ
ージセンサ5が帳票1をスキャンする(ハ)〜(ネ)で
は、増幅器6の出力SAは大きな値となり、白ピークホ
ールド回路7出力SBも大きな値となり、比較器10の
出力SCはハイ(H)レベルとなる。また、比較器10
の出力SCが、LレベルからHレベルとなった時(P点
)が、帳票1の先端の時であり、比較器10の出力SC
を検出する事により、帳票1の先端を正確に検出するこ
とができる。
(:) and (ne) have low values. Figure (g) shows the sensor output at high temperatures, but since the dark output of the image sensor has temperature characteristics as shown in Figure 9, the output for the time being (a)
, (b) has a high value. However, since the white peak hold circuit 8 output SB is a lower value than the slice level (S L) of the comparator 10, which changes depending on the temperature, the output SC of the comparator 10 shows a low (L) level, and the image sensor 5 You can see that it is scanning the immediate area. When the image sensor 5 scans the form 1 (C) to (N), the output SA of the amplifier 6 becomes a large value, the output SB of the white peak hold circuit 7 also becomes a large value, and the output SC of the comparator 10 becomes high (H ) level. Also, comparator 10
The time when the output SC of the comparator 10 changes from the L level to the H level (point P) is the leading edge of the form 1, and the output SC of the comparator 10
By detecting this, the leading edge of the form 1 can be detected accurately.

同図(j)は裏当面センサ出力(SD)、帳票面センサ
出力(SE)、スライスレベル(SL)の各々の出力温
度特性であり、同図(d)の低温時においては帳票面セ
ンサ出力SEは低くなるがスライスレベルSLも低く、
また同図(g)の高温時においてはイメージセンサ出力
に温度特性があるため裏当面センサ(SD)は高くなる
がスライスレベル(SE)も高くなりいずれの場合も帳
票1の先端を正確に検出できる。
Figure (j) shows the output temperature characteristics of the back side sensor output (SD), form side sensor output (SE), and slice level (SL). SE is lower, but slice level SL is also lower,
Furthermore, at high temperatures as shown in figure (g), the image sensor output has temperature characteristics, so the back sensor (SD) becomes high, but the slice level (SE) also becomes high, and in either case, the leading edge of form 1 is accurately detected. can.

白ピークホールド回路7の構成例を第3図に示す。同図
の回路はダイオード7a、抵抗7b、コンデンサ7c及
び増幅器7dから構成される。増幅器7dの入力とアー
ス間に接続された抵抗7b及びコンデンサ7Cの抵抗値
と容量値の積によりピークホールドの時定数が決定され
る。
An example of the configuration of the white peak hold circuit 7 is shown in FIG. The circuit shown in the figure is composed of a diode 7a, a resistor 7b, a capacitor 7c, and an amplifier 7d. The peak hold time constant is determined by the product of the resistance and capacitance values of the resistor 7b and capacitor 7C connected between the input of the amplifier 7d and the ground.

第4図は本実施例のサーミスタ回路の構成を示す回路図
であり、同図において13は抵抗、14はサーミスタで
ある。サーミスタ14は温度とともに抵抗が増加するの
でスライスレベルSLは温度とともに増加する。サーミ
スタの種類、使用する抵抗の定数により第2図(j)の
ような特性SLを実現する。
FIG. 4 is a circuit diagram showing the configuration of the thermistor circuit of this embodiment, in which 13 is a resistor and 14 is a thermistor. Since the resistance of the thermistor 14 increases with temperature, the slice level SL increases with temperature. Depending on the type of thermistor and the constant of the resistor used, the characteristic SL as shown in FIG. 2(j) is realized.

第5図は本発明の第2の実施例を示すOCRの要部構成
図である。本実施例では、増幅器6の出力に、白ピーク
ホールド回路7と同様に構成される別の白ピークホール
ド回路11を新たに設け、この白ピークホールド回路1
1の出力に第1の実施例と同様の比較器10を設けたも
のである。この構成は、A/D変換器8、比較器10の
電源電圧が著しく異なる場合やピークホールドの時定数
を別にしたい時などに用いるが効果は全(同じである。
FIG. 5 is a diagram showing the main part of an OCR according to a second embodiment of the present invention. In this embodiment, another white peak hold circuit 11 configured similarly to the white peak hold circuit 7 is newly provided at the output of the amplifier 6, and this white peak hold circuit 1
A comparator 10 similar to that of the first embodiment is provided at the output of the first embodiment. This configuration is used when the power supply voltages of the A/D converter 8 and the comparator 10 are significantly different, or when it is desired to set different peak hold time constants, but the effect is the same.

また、第1の実施例と同様に、白ピークホールド回路8
を有しているので、光源3の光量の変動や温度変化によ
らず良好な2値化ができる。
In addition, similarly to the first embodiment, the white peak hold circuit 8
Therefore, good binarization can be performed regardless of fluctuations in the amount of light from the light source 3 or changes in temperature.

以上のように本実施例によれば、白ピークホールド回路
を有し、白ピークホールド回路の出力でイメージセンサ
の出力を、A/D変換するので光源の光量によらず良好
な2値化ができ、かつ白ピークホールド回路の出力を温
度により変化するスライスレベルで比較するようにした
ので、温度変化に影響されることなく帳票の先端が正確
に検出できる。
As described above, according to this embodiment, the white peak hold circuit is provided, and the output of the image sensor is A/D converted by the output of the white peak hold circuit, so that good binarization is possible regardless of the light intensity of the light source. In addition, since the output of the white peak hold circuit is compared at a slice level that changes with temperature, the leading edge of the form can be detected accurately without being affected by temperature changes.

(発明の効果) 以上詳細に説明したように本発明によれば、イメージセ
ンサの出力を白ピークホールド回路の出力で2値化する
と共に、白ピークホールド回路の出力を温度により変化
するスライスレベルと比較して帳票の先端を検出するよ
うにしたので、光量の変動や温度変化に影響されること
な(2値化できると共に正確に帳票の先端を検出でき、
しかも装置を安価にすることが可能となる。
(Effects of the Invention) As described above in detail, according to the present invention, the output of the image sensor is binarized using the output of the white peak hold circuit, and the output of the white peak hold circuit is converted into a slice level that changes depending on the temperature. Since the leading edge of the form is detected by comparison, it is not affected by fluctuations in light intensity or temperature changes (binarization is possible and the leading edge of the form can be detected accurately,
Moreover, it becomes possible to reduce the cost of the device.

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

第1図は本発明の第1の実施例を示すOCRの要部構成
図、第2図(a)、 (b)、、(c)、 (d)、 
(e)、 (f)、、(g)。 (hL (i)、 (j)は第1の実施例の動作説明図
、第3図は白ピークホールド回路の内部構成図、第4図
はサーミスタ回路の構成を示す回路図、第5図は本発明
の第2の実施例を示すOCRの要部構成図、第6図は従
来のOCRの要部構成図、第7図(a)。 (b)は帳票の走査と文字の切出しの説明図、第8図(
a) 、 (b) 、 (c)はセンサ波形図、第9図
は従来の別のOCRの要部構成図、第10図はセンサの
暗出力温度特性図である。 1・・・帳票、3・・・光源、 4・・・レンズ、      5・・・イメージセンサ
、6.7d・・・増幅器、 7.11・・・白ピークホールド回路、8・・・A/D
変換器、   lO・・・比較器、7a・・・ダイオー
ド、 7c・・・コンデンサ、 13・・・抵抗、 7b・・・抵抗、 12・・・サーミスタ回路、 14・・・サーミスタ。
Fig. 1 is a configuration diagram of the main parts of OCR showing the first embodiment of the present invention, Fig. 2 (a), (b), , (c), (d),
(e), (f), (g). (hL (i), (j) are operation explanatory diagrams of the first embodiment, Fig. 3 is an internal configuration diagram of the white peak hold circuit, Fig. 4 is a circuit diagram showing the configuration of the thermistor circuit, and Fig. 5 is an illustration of the operation of the first embodiment. FIG. 6 is a diagram showing the main part of an OCR according to the second embodiment of the present invention, and FIG. 7 (a) is a diagram of the main part of a conventional OCR. (b) is an explanation of document scanning and character extraction. Figure, Figure 8 (
a), (b), and (c) are sensor waveform diagrams, FIG. 9 is a diagram showing the main part configuration of another conventional OCR, and FIG. 10 is a dark output temperature characteristic diagram of the sensor. 1... Form, 3... Light source, 4... Lens, 5... Image sensor, 6.7d... Amplifier, 7.11... White peak hold circuit, 8... A/ D
Converter, lO... Comparator, 7a... Diode, 7c... Capacitor, 13... Resistor, 7b... Resistor, 12... Thermistor circuit, 14... Thermistor.

Claims (1)

【特許請求の範囲】 搬送される帳票を走査して光電変換を行うイメージセン
サと、該イメージセンサの出力の白ピークを保持する白
ピークホールド回路と、該白ピークホールド回路の出力
と前記イメージセンサの出力を比較して2値化する2値
化手段とを備えた光学式文字読取装置において、 温度によりスライスレベルが変化する手段と、前記白ピ
ークホールド回路の出力、又は前記イメージセンサの出
力に新たに設けられる別の白ピークホールド回路の出力
と前記温度により変化するスライスレベルとを比較する
ことにより帳票の先端を検出する比較器とを設けたこと
を特徴とする光学式文字読取装置。
[Scope of Claims] An image sensor that scans a conveyed form and performs photoelectric conversion, a white peak hold circuit that holds the white peak of the output of the image sensor, an output of the white peak hold circuit, and the image sensor. An optical character reading device comprising a binarization means for comparing and binarizing the output of the white peak hold circuit, and a means for changing the slice level depending on the temperature, and an output of the white peak hold circuit or the output of the image sensor. An optical character reading device comprising: a comparator that detects the leading edge of a form by comparing the output of another newly provided white peak hold circuit with the slice level that changes depending on the temperature.
JP2243707A 1990-09-17 1990-09-17 Optical character reader Pending JPH04124786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2243707A JPH04124786A (en) 1990-09-17 1990-09-17 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2243707A JPH04124786A (en) 1990-09-17 1990-09-17 Optical character reader

Publications (1)

Publication Number Publication Date
JPH04124786A true JPH04124786A (en) 1992-04-24

Family

ID=17107791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2243707A Pending JPH04124786A (en) 1990-09-17 1990-09-17 Optical character reader

Country Status (1)

Country Link
JP (1) JPH04124786A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58191574A (en) * 1982-05-06 1983-11-08 Sanyo Electric Co Ltd Dark current compensating circuit
JPS60263566A (en) * 1984-06-11 1985-12-27 Kyocera Corp Reading device
JPS6479892A (en) * 1987-09-22 1989-03-24 Oki Electric Ind Co Ltd Optical character reader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58191574A (en) * 1982-05-06 1983-11-08 Sanyo Electric Co Ltd Dark current compensating circuit
JPS60263566A (en) * 1984-06-11 1985-12-27 Kyocera Corp Reading device
JPS6479892A (en) * 1987-09-22 1989-03-24 Oki Electric Ind Co Ltd Optical character reader

Similar Documents

Publication Publication Date Title
EP0036149A2 (en) Character optical reader
US5073700A (en) Mark sense detector with variable threshold
KR960042261A (en) Output Signal Correction Method and Apparatus for Multiple Optical Detectors
US3944977A (en) Adaptive and programmed threshold level detection arrangement
KR900004799Y1 (en) Image sensor
JPH04124786A (en) Optical character reader
US3987413A (en) Detection system
US4751743A (en) Optical character reader
US6739513B1 (en) Box detector in barcode environment
US6450405B1 (en) Optical code reader using binarization circuit and binarization circuit
JP2738108B2 (en) Barcode reader
JPH04246792A (en) Optical character reader
JPS629956B2 (en)
JPH0731623Y2 (en) Binary circuit for original reading signal
EP0493936A1 (en) Apparatus and method for use with an indicating instrument
JPS63136180A (en) Binarization circuit
JP2545056Y2 (en) Optical character reader
JPS6355113B2 (en)
JPS6230212A (en) Origin detector for optical scan
JPH0721306A (en) Detecting method for stain of image sensor
JPS627266A (en) Picture processor
JPS61251363A (en) Image reader
JPS63125014A (en) Pulse edge detecting circuit
JPS6126744B2 (en)
JPS58189778A (en) Method and device for reading optically character and mark