JPH061503B2 - Optical reader - Google Patents

Optical reader

Info

Publication number
JPH061503B2
JPH061503B2 JP60114546A JP11454685A JPH061503B2 JP H061503 B2 JPH061503 B2 JP H061503B2 JP 60114546 A JP60114546 A JP 60114546A JP 11454685 A JP11454685 A JP 11454685A JP H061503 B2 JPH061503 B2 JP H061503B2
Authority
JP
Japan
Prior art keywords
image sensor
black
scanner
image
scanning
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.)
Expired - Lifetime
Application number
JP60114546A
Other languages
Japanese (ja)
Other versions
JPS61272883A (en
Inventor
浩二 佐藤
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP60114546A priority Critical patent/JPH061503B2/en
Publication of JPS61272883A publication Critical patent/JPS61272883A/en
Publication of JPH061503B2 publication Critical patent/JPH061503B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)

Description

【発明の詳細な説明】 (1)産業上の利用分野 本発明は複数の光電変換素子からなるイメージセンサを
備えたスキャナを手で持って文字、記号等を走査する手
持ち式の光学読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Field of Industrial Application The present invention relates to a hand-held optical reader that scans characters, symbols, etc. by holding a scanner equipped with an image sensor composed of a plurality of photoelectric conversion elements. .

(2)従来技術および発明が解決しようとする課題用紙に
記載された文字、記号等を光学読取装置を用いて読取る
場合、イメージセンサを固定しセンサ視野内に文字等が
正しく入るように記録体を機械的に一定の速度で移動さ
せるような構成であれば、イメージセンサとして光電変
換素子の複数を一例に並べた安価な一次元イメージセン
サを用いれば充分である。然しイメージセンサを内蔵し
たスキャナを手で持って用紙上の文字等を走査する場合
や、固定式スキャナを用いても、用紙の移動速度、つま
り移動の向きと移動の速さが一定でない場合には、光電
変換素子群を複数の行と列に配した二次元イメージセン
サを使用せざるを得ないため、装置が高価になるという
欠点があった。安価を目的として、2個の一次元イメー
ジセンサあるいは2列のイメージセンサを使用している
場合もあるが、イメージセンサを内蔵したスキャナを左
から右、あるいは右から左へ移動するとき、移動方向の
検出誤まりがあり、誤まったデータとなる欠点があっ
た。第2図は従来装置の例で、2個の一次元イメージセ
ンサ4、5を使用した手持式ハンドスキャナ6の構成で
ある。光源2は文字や記号等が記載された紙上を照射
し、用紙1からの反射光をレンズ系3を介してイメージ
センサ4、5へ結像する。イメージセンサ4、5の出力
信号を“白”“黒”に二値化する(図示せず)。
(2) Prior art and problems to be solved by the invention When reading characters, symbols, etc. written on a paper sheet using an optical reading device, the image sensor is fixed so that the characters, etc. can be correctly entered within the sensor visual field. As long as the image sensor is mechanically moved at a constant speed, it is sufficient to use an inexpensive one-dimensional image sensor having a plurality of photoelectric conversion elements arranged as an example as the image sensor. However, when you use a scanner with a built-in image sensor in your hand to scan characters on paper, or when you use a fixed scanner, the speed of movement of the paper, that is, the direction of movement and the speed of movement are not constant. However, there is a drawback in that the device becomes expensive, because the two-dimensional image sensor in which the photoelectric conversion element group is arranged in a plurality of rows and columns must be used. There are cases where two one-dimensional image sensors or two rows of image sensors are used for the purpose of low cost, but when moving a scanner with a built-in image sensor from left to right or from right to left, the moving direction There was a defect that the data was erroneously detected, resulting in erroneous data. FIG. 2 shows an example of a conventional device, which is a configuration of a hand-held hand scanner 6 using two one-dimensional image sensors 4 and 5. The light source 2 irradiates a paper on which characters, symbols, etc. are written, and the reflected light from the paper 1 is imaged on the image sensors 4 and 5 via the lens system 3. The output signals of the image sensors 4 and 5 are binarized into "white" and "black" (not shown).

第3図はハンドスキャナ6の移動方向を説明する図であ
る。イメージセンサ4、5のどちらか最初に文字の一部
つまり“黒”が検出されたときハンドスキャナ6の移動
方向を決めている。第3図(a)ではイメージセンサ5で
“黒”を検出しているのでハンドスキャナ6は矢印(7)
の方向へ移動しているとみなしている。ハンドスキャナ
6を手で移動させるので、手の移動速度は人によって異
なり、また同一人でも操作ごとに異なるので、一定周期
でサンプリングして走査しているイメージセンサ4、5
では、手の移動速度が異なることによって、走査回数が
異なり、走査された文字は一定とならない。このため、
ハンドスキャナ6の移動速度を次のようにして求めてい
る。イメージセンサ4、5の間隔をとして、イメージ
センサ4、5の一方に“黒”が検出されてから、他方に
“黒”が検出されるまでの時間をtとして、ハンドスキ
ャナ6の移動速度Vは V=/t となる。
FIG. 3 is a diagram for explaining the moving direction of the hand scanner 6. The moving direction of the hand scanner 6 is determined when either one of the image sensors 4 and 5 first detects a part of a character, that is, "black". In FIG. 3 (a), since the image sensor 5 detects "black", the hand scanner 6 has an arrow (7).
It is considered to be moving in the direction of. Since the hand scanner 6 is moved by hand, the moving speed of the hand varies from person to person, and even the same person changes with each operation. Therefore, the image sensors 4 and 5 that sample and scan at a constant cycle.
Then, the number of times of scanning differs due to the different moving speed of the hand, and the scanned characters are not constant. For this reason,
The moving speed of the hand scanner 6 is calculated as follows. The moving speed V of the hand scanner 6 is defined as the interval between the image sensors 4 and 5 and t from the time when “black” is detected by one of the image sensors 4 and 5 to the time when “black” is detected by the other. Becomes V = / t.

移動速度Vが求まると、後で“黒”が検出された方のイ
メージセンサ(第3図(b)では4)により、サンプリン
グ周期を速度Vに対応させるように変更して、走査する
か、以前と同じサンプリング周期で走査し、走査して得
られたデータを速度正規化等の方法で補正して処理する
方法でとられていた。このような方法によるとイメージ
センサ4、5のどちらか一方すなわち後で“黒”を検出
したイメージセンサで走査して得られたデータに基づい
て処理するので、移動方向が逆になると、処理するデー
タを走査するイメージセンサを切換える必要があった。
しかし、もしノイズなどで最初誤まって移動方向を決定
したとすると、処理するデータを走査するイメージセン
サを誤まって切換え、処理データを取込むことになる。
又、途中で移動方向が誤まったことがわかったとして
も、ハンドスキャナは文字等を通過した後なので、正し
い読取りができない欠点があった。たとえば第4図にハ
ンドスキャナ6の移動方向の誤認の過程を示す。
When the moving speed V is obtained, the image sensor (4 in FIG. 3 (b)) in which “black” is detected later is changed so that the sampling period corresponds to the speed V, and scanning is performed. The method is such that scanning is performed at the same sampling cycle as before, and the data obtained by scanning is corrected and processed by a method such as speed normalization. According to such a method, the processing is performed based on the data obtained by scanning either one of the image sensors 4 and 5, that is, the image sensor that has detected "black" later, so that the processing is performed when the moving direction is reversed. It was necessary to switch the image sensor for scanning the data.
However, if the moving direction is erroneously determined due to noise or the like, the image sensor for scanning the data to be processed is erroneously switched and the processed data is taken in.
Further, even if it is found that the moving direction is wrong in the middle of the process, the hand scanner has a drawback that it cannot read the data correctly since it has passed through characters and the like. For example, FIG. 4 shows a process of misrecognizing the moving direction of the hand scanner 6.

ハンドスキャナ6は矢印8の方向へ実際は移動していた
とする。しかし、ノイズ10によりイメージセンサ4に
“黒”がまず検出されたとすると、ハンドスキャナ6の
移動方向は矢印9の方向だとして処理し、イメージセン
サ5に文字11の“黒”が検出されるまでの時間から移
動速度Vを算出しイメージセンサ5で走査したデータを
取込むことになる。このため、走査回数を誤まり、正し
く読取れない欠点があった。
It is assumed that the hand scanner 6 is actually moving in the direction of arrow 8. However, if "black" is first detected by the image sensor 4 by the noise 10, the movement direction of the hand scanner 6 is processed as the direction of the arrow 9, and the image sensor 5 detects "black" of the character 11 until it is detected. The moving speed V is calculated from the time of and the data scanned by the image sensor 5 is taken in. For this reason, there is a drawback that the number of scans is erroneous and the reading cannot be performed correctly.

本発明は上記の従来技術の欠点を改良するもので、安価
な一次元イメージセンサや少なくとも3列のイメージセ
ンサを使用し、最初にハンドスキャナの移動方向を誤ま
っても、後で移動方向を訂正しても、正しく読取れるも
ので、安価な光学読取装置を提供することにある。
The present invention solves the above-mentioned drawbacks of the prior art by using an inexpensive one-dimensional image sensor or at least three rows of image sensors, and even if the hand scanner is moved in the wrong direction at first, An object of the present invention is to provide an inexpensive optical reading device that can be correctly read even if corrected.

(3)課題を解決するための手段 本発明は少なくとも3列のイメージセンサを備え、両側
部に位置するイメージセンサを第1、第2のイメージセ
ンサとし、前記第1と第2の中間に位置するイメージセ
ンサを第3のイメージセンサとし、前記第1あるいは第
2のイメージセンサに黒が検出されてから前記第3のイ
メージセンサに黒が検出されるまでの走査クロック数を
計数してスキャナと文字・記号等との相対的移動速度を
計測して正規化し、前記第3のイメージセンサの二値化
記号を記憶し、最初の黒を検出した前記第1のイメージ
センサあるいは前記第2のイメージセンサにより、文字
・記号等に対する移動方向を決定するように構成したこ
とを特徴とする。
(3) Means for Solving the Problems The present invention is provided with at least three rows of image sensors, and the image sensors located on both sides are the first and second image sensors, and are located between the first and the second. And a scanner for counting the number of scanning clocks from the detection of black by the first or second image sensor to the detection of black by the third image sensor. The first image sensor or the second image that detects the first black by storing the binarized symbol of the third image sensor by measuring the relative movement speed with the character / symbol and normalizing it It is characterized in that the sensor is configured to determine the moving direction with respect to characters and symbols.

(4)作用 第1または第2のイメージセンサのいずれかに最初に文
字線分を意味する“黒”が出現することによって、スキ
ャナの移動方向が右方向か左方向かを決定し、第1また
は第2のイメージセンサに前記の“黒”が出現してから
中間に位置する第3のイメージセンサに前記の“黒”が
出現するまでの走査クロック数を計数してスキャナの相
対移動速度を計測し、また第3のイメージセンサで文字
・記号等のデータを読み込んで識別処理を行なう。
(4) Action When "black" which means a character line segment first appears in either the first or second image sensor, it is determined whether the moving direction of the scanner is the right direction or the left direction. Alternatively, the relative movement speed of the scanner is calculated by counting the number of scanning clocks from the appearance of the “black” on the second image sensor to the appearance of the “black” on the third image sensor located in the middle. Measurement is performed, and data such as characters and symbols is read by the third image sensor to perform identification processing.

(5)実施例 第1図は本発明の光学読取装置の構成を例示した図であ
る。
(5) Example FIG. 1 is a diagram illustrating the configuration of an optical reading apparatus of the present invention.

21は文字・記号等の記載された用紙、20はスキャナ
であり、スキャナ20にはランプ22、レンズ23、イ
メージセンサ(a)24、イメージセンサ(b)25、イメー
ジセンサ(c)26が内蔵されている。ランプ22により
用紙21上に光を照射し、その反射光をレンズ23を介
してイメージセンサ(a)24、イメージセンサ(b)25、
イメージセンサ(c)26に結像させる。イメージセンサ
(a)24およびイメージセンサ(b)25、イメージセンサ
(c)26は光電変換素子がそれぞれ1列に並んだ一次元
のイメージセンサである。イメージセンサ(a)24、イ
メージセンサ(b)25、イメージセンサ(c)26の代われ
に光電変換素子を3列に並べた二次元状のイメージセン
サを1ケ使用してもよい。用紙21あるいはスキャナ2
0のどちらかが横へ移動することにより、用紙21上を
走査できる。実施例ではスキャナ20を人手で移動させ
る手持ち式の光学読取装置としている。イメージセンサ
(a)24とイメージセンサ(c)26およびイメージセンサ
(b)25とイメージセンサ(c)26はある距離 たとえば
文字・記号の幅に近い1〜1.5mm離して設置する。イ
メージセンサ(a)24、イメージセンサ(b)25およびイ
メージセンサ(c)26からの出力信号はそれぞれ増幅回
路27,28,43へ送られ増幅された後、二値化回路
29,30,44へ送られる。二値化回路29,30,
44は用紙の領域“白”と文字の領域“黒”の二値に区
分する。“黒”を“1”、“白”を、“0”として説明
する。黒検出回路31,32,45は走査したイメージ
センサ(a)24、イメージセンサ(b)25、イメージセン
サ(c)26に“黒”が含まれているかを検出するもの
で、イメージセンサ24、25、26ごとに二値化回路
29、30、44により二値化された各光電変換素子に
対応した信号の黒の論理和を求めることにより、容易に
実現できる。移動方向の検出について説明する。黒検出
回路31,32が最初に“黒”を検出したときに黒フラ
グ(b)33あるいは黒フラグ(a)34をセットし、用紙2
1あるいはスキャナ20の移動方向を決定する。黒検出
回路31の出力信号と、黒フラグ(b)33の出力信号を
インバータ40で反転した信号と、および黒フラグ(a)
34の出力信号をインバータ41で反転した信号との論
理積をアンドゲート38で求め、“1”のとき黒フラグ
(b)33へ“1”をセットする。黒フラグ(b)33、黒フ
ラグ(a)34がともにセットされておらず、かつ黒検出
回路31に“黒”が検出されたときのみ黒フラグ(b)3
3に“1”をセットされることになるので、イメージセ
ンサ(b)25に最初に“黒”が出現されたときに、黒フ
ラグ(b)33に“1”がセットされるとみなすことがで
きる。
Reference numeral 21 is a sheet on which characters and symbols are written, 20 is a scanner, and the scanner 20 includes a lamp 22, a lens 23, an image sensor (a) 24, an image sensor (b) 25, and an image sensor (c) 26. Has been done. Light is emitted onto the paper 21 by the lamp 22, and the reflected light is passed through the lens 23 to the image sensor (a) 24, the image sensor (b) 25,
An image is formed on the image sensor (c) 26. Image sensor
(a) 24 and image sensor (b) 25, image sensor
(c) 26 is a one-dimensional image sensor in which photoelectric conversion elements are arranged in a line. Instead of the image sensor (a) 24, the image sensor (b) 25, and the image sensor (c) 26, one two-dimensional image sensor having photoelectric conversion elements arranged in three rows may be used. Paper 21 or scanner 2
The paper 21 can be scanned by moving either 0 horizontally. In the embodiment, the scanner 20 is a hand-held optical reader that is manually moved. Image sensor
(a) 24 and image sensor (c) 26 and image sensor
(b) 25 and the image sensor (c) 26 are installed at a distance of, for example, 1 to 1.5 mm, which is close to the width of characters and symbols. Output signals from the image sensor (a) 24, the image sensor (b) 25, and the image sensor (c) 26 are sent to amplification circuits 27, 28, 43, respectively, and amplified, and then binarized circuits 29, 30, 44. Sent to. Binarization circuits 29, 30,
The area 44 is divided into two areas, a paper area "white" and a character area "black". In the description, “black” is “1” and “white” is “0”. The black detection circuits 31, 32 and 45 detect whether or not the scanned image sensor (a) 24, image sensor (b) 25, and image sensor (c) 26 include "black". This can be easily achieved by obtaining the black logical sum of the signals corresponding to each photoelectric conversion element binarized by the binarization circuits 29, 30, and 44 for each of 25 and 26. The detection of the moving direction will be described. When the black detection circuits 31 and 32 first detect “black”, the black flag (b) 33 or the black flag (a) 34 is set, and the paper 2
1 or the moving direction of the scanner 20 is determined. An output signal of the black detection circuit 31, a signal obtained by inverting the output signal of the black flag (b) 33 by the inverter 40, and the black flag (a)
AND gate 38 obtains the logical product of the output signal of 34 and the signal inverted by inverter 41, and when "1", the black flag
(b) Set “1” to 33. Black flag (b) 3 and black flag (a) 34 are not set, and black flag (b) 3 is detected only when "black" is detected by black detection circuit 31.
Since "1" is set in 3, it should be considered that "1" is set in the black flag (b) 33 when "black" first appears in the image sensor (b) 25. You can

同様に黒検出回路32の出力信号と、黒フラグ(b)33
の出力信号の反転した信号と、黒フラグ(a)34の出力
信号の反転した信号との論理積をアンドゲート39で求
め、“1”のとき黒フラグ(a)34に“1”をセットす
ることにより、イメージセンサ(a)24に最初に“黒”
が出現したときに、黒フラグ(a)34に“1”がセット
されることになる。黒フラグ(b)33あるいは黒フラグ
a34のどちらに“1”がセットされているかにより、
イメージセンサ(b)25あるいはイメージセンサ(a)24
に最初に“黒”が出現したかがわかる。方向検出回路3
6は黒フラグ(b)33、黒フラグ(a)34の出力信号のう
ちどらが“1”かにより、用紙21あるいはスキャナ2
0の移動方向を決定する。
Similarly, the output signal of the black detection circuit 32 and the black flag (b) 33
Of the output signal of the black flag (a) 34 and the inverted signal of the output signal of the black flag (a) 34 are obtained by the AND gate 39, and when "1", "1" is set to the black flag (a) 34. As a result, the image sensor (a) 24 is initially set to “black”.
When "1" appears, "1" is set to the black flag (a) 34. Depending on whether "1" is set to the black flag (b) 33 or the black flag a34,
Image sensor (b) 25 or image sensor (a) 24
You can see if "black" first appeared in. Direction detection circuit 3
6 indicates the paper 21 or the scanner 2 depending on which of the output signals of the black flag (b) 33 and the black flag (a) 34 is "1".
Determine the moving direction of 0.

第5図はその一例であり、イメージセンサ(b)25に
“黒”が出現したので矢印51の方向へスキャナ20が
移動したものとする。これは従来の方法と同じである。
FIG. 5 is an example thereof, and it is assumed that the scanner 20 has moved in the direction of arrow 51 because "black" appears in the image sensor (b) 25. This is the same as the conventional method.

次にスキャナ20の移動速度の検出について説明する。
カウンタ35はイメージセンサ(b)25あるいはイメー
ジセンサ(a)24に最初“黒”が出現してから、イメー
ジセンサ(c)26に、“黒”が出現するまでの走査クロ
ック数をカウントする。つまり、カウンタ35は、黒フ
ラグ(b)33と黒フラグ(a)34の出力信号との論理和を
オアゲート42でとり、オアゲート42の出力信号が
“1”となってから、イメージセンサ(c)26に“黒”
が検出されるまで、すなわち黒検出回路(c)45の出力
信号が“1”となるまでの走査クロック数をカウントす
る。カウンタ35の内容を速度検出回路37へ送る。速
度検出回路37はカウンタ35のカウント数から、用紙
21あるいはスキャナ20の移動速度を検出する。
Next, detection of the moving speed of the scanner 20 will be described.
The counter 35 counts the number of scanning clocks from the first appearance of "black" in the image sensor (b) 25 or the image sensor (a) 24 to the appearance of "black" in the image sensor (c) 26. That is, the counter 35 takes the logical sum of the output signals of the black flag (b) 33 and the black flag (a) 34 by the OR gate 42, and after the output signal of the OR gate 42 becomes “1”, the image sensor (c ) 26 is "black"
Is detected, that is, the number of scanning clocks until the output signal of the black detection circuit (c) 45 becomes "1" is counted. The contents of the counter 35 are sent to the speed detection circuit 37. The speed detection circuit 37 detects the moving speed of the paper 21 or the scanner 20 from the count number of the counter 35.

第5図に示すようにスキャナ20が矢印のように移動し
たとき、まず第5図(a)のようにイメージセンサ(b)25
に“黒”が出現し、黒フラグ(b)33がセットされる。
次に第5図(b)のようにイメージセンサ(c)26に“黒”
が出現するまで時間Tは、走査クロック周期をt、走査
クロックのカウント数をnとすると、 T=nt となる。
When the scanner 20 moves as shown by the arrow as shown in FIG. 5, first, as shown in FIG. 5 (a), the image sensor (b) 25
"Black" appears on the screen, and the black flag (b) 33 is set.
Next, as shown in FIG. 5 (b), “black” is put on the image sensor (c) 26.
When the scanning clock period is t and the scanning clock count number is n, the time T until T appears is T = nt.

イメージセンサ(a)24と、イメージセンサ(c)26およ
びイメージセンサ(b)25とイメージセンサ(c)26の間
隔をLとすると、移動速度Vは、 V=L/T=L/n−t で移動速度を算出できる。
When the distance between the image sensor (a) 24 and the image sensor (c) 26 and the distance between the image sensor (b) 25 and the image sensor (c) 26 is L, the moving speed V is V = L / T = L / n- The moving speed can be calculated by t 1.

次に識別のための文字データの取込みについて説明す
る。イメージセンサ(a)24あるいはイメージセンサ(b)
25のどちらか先に“黒”が出現したかを示す黒フラグ
(a)34あるいは黒フラグ(b)33に“1”がセットされ
ていると逆のイメージセンサからの二値化データを取込
んでいる。イメージセンサ(c)26の二値化回路44の
出力信号を正規化回路へ入力する。正規化回路46はス
キャナ20や用紙21の移動速度により、1文字を走査
する走査回数を変化させる事によって、走査の結果得ら
れるアナログ信号から二値化されたデータを正規化し、
一文字の走査回数をほぼ同じにするものである。この
際、行われるスキャナの移動速度検出と二値化データの
正規化手段については例えば特公昭58−9985号公
報或いは特公昭58−9984号公報に記載の発明にな
る公知の手段により実現することができる。
Next, the acquisition of character data for identification will be described. Image sensor (a) 24 or image sensor (b)
A black flag indicating whether "black" appears first in 25
When "1" is set in (a) 34 or black flag (b) 33, the binary data from the opposite image sensor is fetched. The output signal of the binarization circuit 44 of the image sensor (c) 26 is input to the normalization circuit. The normalization circuit 46 normalizes the binarized data from the analog signal obtained as a result of scanning by changing the number of scans for scanning one character according to the moving speed of the scanner 20 or the paper 21.
The number of times of scanning one character is made substantially the same. At this time, the means for detecting the moving speed of the scanner and normalizing the binarized data are realized by known means according to the invention described in, for example, Japanese Patent Publication No. 58-9985 or Japanese Patent Publication No. 58-9884. You can

本発明の光学読取装置は、正規化回路46からメモリ4
7に二値化データを格納する。メモリ47に格納されて
いるデータは、スキャナ20や用紙21の移動方向によ
り、左右逆になっている。このため走査した文字を識別
する際には、方向検出回路36から送られる信号によ
り、アドレス切換回路48にて、メモリ47のアドレス
を変換して、メモリ47よりデータを読出して、識別回
路49にて識別する。識別回路49として、スキャナと
用紙との相対的な移動方向に関係なく、同一の回路を用
いることができる。
The optical reading device of the present invention includes the normalizing circuit 46 to the memory 4
Binarized data is stored in 7. The data stored in the memory 47 is reversed right and left depending on the moving direction of the scanner 20 and the paper 21. Therefore, when identifying the scanned character, the address switching circuit 48 converts the address of the memory 47 by the signal sent from the direction detection circuit 36, reads the data from the memory 47, and the identification circuit 49. Identify. As the identification circuit 49, the same circuit can be used regardless of the relative movement direction of the scanner and the paper.

このような構成をとることによって、移動方向が変わっ
ても同一の識別回路49を用いて識別することができ
る。識別回路については特に限定するものではなく例え
ば特開昭54−16133号公報記載の方法で実現でき
る。また第6図のように文字54の他にノイズ53が存
在し、まずイメージセンサ(a)24でノイズ53を検出
し、“黒”となった場合でも、データを取込むイメージ
センサ(c)26に“黒”が出現する前にイメージセンサ
(b)25に文字54の“黒”を検出すると、先にセット
された黒フラグ(a)34をクリアし、黒フラグ(b)33に
“1”をセットすることにより、移動方向を変更でき
る。
With such a configuration, even if the moving direction changes, it is possible to identify using the same identifying circuit 49. The identification circuit is not particularly limited and can be realized by, for example, the method described in JP-A-54-16133. Further, as shown in FIG. 6, there is noise 53 in addition to the characters 54. First, the image sensor (a) 24 detects the noise 53, and even when it becomes "black", the image sensor (c) that captures data Image sensor before "black" appears in 26
When the character 54 “black” is detected in (b) 25, the previously set black flag (a) 34 is cleared and the black flag (b) 33 is set to “1” to change the moving direction. it can.

さらに、一旦移動方向を誤まり、イメージセンサ(c)2
6でデータをメモリ47へ取込んだとしても、データを
取込むイメージセンサ(c)26はそのまま続けてデータ
を取込み、移動方向を変更するだけで、識別処理が可能
である。
Furthermore, the image sensor (c) 2
Even if the data is taken into the memory 47 in step 6, the image sensor (c) 26, which takes in the data, can continue to take in the data and change the moving direction to carry out the identification process.

(6)効果 本発明の光学読取装置では、安価な一次元イメージセン
サを少なくとも3個あるいは二次元センサアレイの中の
3列以上の光電素子列を使用し、その中央の1個あるい
は1列で走査して、データを取込むとともにイメージセ
ンサの両側の一方に“黒”が最初に出現したときで用紙
あるいはスキャナの移動方向を決定する。さらに両側の
列のどちらかのイメージセンサに“黒”が出現してから
中央の列のイメージセンサに“黒”が出現するまでの走
査クロック数にて移動速度を算出し、取込むデータを正
規化できるものである。このため、ノイズにより移動方
向を最初に誤まっても、方向を正しく変更でき、ノイズ
の影響が少なく安価な光学読取装置を実現するものであ
る。
(6) Effects In the optical reading device of the present invention, at least three inexpensive one-dimensional image sensors or three or more photoelectric element rows in a two-dimensional sensor array are used, and one or one row in the center thereof is used. The direction of movement of the paper or scanner is determined by scanning and capturing data as well as the first appearance of "black" on either side of the image sensor. Furthermore, the moving speed is calculated from the number of scanning clocks from the appearance of "black" in one of the image sensors in both rows to the appearance of "black" in the image sensor in the center row, and the data to be imported is normalized. It can be converted. Therefore, even if the moving direction is mistaken for the first time due to noise, the direction can be changed correctly, and an inexpensive optical reading device with less influence of noise is realized.

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

第1図は、本発明の実施例、第2図は従来のハンドスキ
ャナの例、第3図(a)(b)は速度算出の説明図、第4図は
従来のノイズの影響を示す図、第5図(a)(b)は本発明の
移動方向、移動速度検出の説明図、第6図は本発明での
ノイズの影響を示す図である。 1…用紙、2…ランプ、3…レンズ、4,5…イメージ
センサ、6…ハンドスキャナ、7,8,9…矢印、10
…ノイズ、11…文字、20…スキャナ、21…用紙、
22…ランプ、23…レンズ、24…イメージセンサ
(a)、25…イメージセンサ(b)、26…イメージセンサ
(c)、27,28,43…増幅回路、29,30,44
…二値化回路、31,32,45…黒検出回路、33,
34…黒フラグ、35…カウンタ、36…方向検出回
路、37…速度検出回路、38,39…アンドゲート、
40,41…インバータ、42…オアゲート、46…正
規化回路、47…メモリ、48…アドレス切換回路、4
9…識別回路、51…矢印、53…ノイズ、54…文
字。
FIG. 1 is an embodiment of the present invention, FIG. 2 is an example of a conventional hand scanner, FIGS. 3 (a) and 3 (b) are explanatory diagrams of speed calculation, and FIG. 4 is a diagram showing the influence of conventional noise. 5 (a) and 5 (b) are explanatory views of the moving direction and moving speed detection of the present invention, and FIG. 6 is a diagram showing the influence of noise in the present invention. 1 ... Paper, 2 ... Lamp, 3 ... Lens, 4, 5 ... Image sensor, 6 ... Hand scanner, 7, 8, 9 ... Arrow, 10
... noise, 11 ... characters, 20 ... scanner, 21 ... paper,
22 ... Lamp, 23 ... Lens, 24 ... Image sensor
(a), 25 ... Image sensor (b), 26 ... Image sensor
(c), 27, 28, 43 ... Amplifier circuit, 29, 30, 44
... Binarization circuit, 31, 32, 45 ... Black detection circuit, 33,
34 ... Black flag, 35 ... Counter, 36 ... Direction detection circuit, 37 ... Speed detection circuit, 38, 39 ... AND gate,
40, 41 ... Inverter, 42 ... OR gate, 46 ... Normalization circuit, 47 ... Memory, 48 ... Address switching circuit, 4
9 ... Identification circuit, 51 ... Arrow, 53 ... Noise, 54 ... Character.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数列のイメージセンサを備えたスキャナ
を読取文字・記号等に対して相対的に移動させる光学読
取装置において、前記複数列のイメージセンサのうち、
両側部に位置するイメージセンサを第1、第2のイメー
ジセンサとし、前記第1と第2のイメージセンサの中間
に位置するイメージセンサを第3のイメージセンサと
し、前記第1あるいは第2のイメージセンサに黒が検出
されてから前記第3のイメージセンサに黒が検出される
までの走査クロック数を計数してスキャナと読取文字・
記号等との相対的移動速度を計測して走査回数を正規化
する手段と、前記第3のイメージセンサの二値化信号を
記憶する手段と、最初の黒を検出した前記第1のイメー
ジセンサあるいは前記第2のイメージセンサにより読取
文字・記号等に対する移動方向を決定する手段とから成
る光学読取装置。
1. An optical reading device for moving a scanner equipped with a plurality of rows of image sensors relative to a read character / symbol, among the plurality of rows of image sensors.
The image sensors located on both sides are first and second image sensors, the image sensor located between the first and second image sensors is a third image sensor, and the first or second image sensor is provided. The number of scanning clocks from the detection of black by the sensor to the detection of black by the third image sensor is counted, and the scanning character
Means for normalizing the number of scans by measuring the relative movement speed with respect to a symbol, means for storing the binarized signal of the third image sensor, and the first image sensor for detecting the first black Alternatively, an optical reading device comprising means for determining a moving direction with respect to the read character / symbol by the second image sensor.
JP60114546A 1985-05-28 1985-05-28 Optical reader Expired - Lifetime JPH061503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60114546A JPH061503B2 (en) 1985-05-28 1985-05-28 Optical reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60114546A JPH061503B2 (en) 1985-05-28 1985-05-28 Optical reader

Publications (2)

Publication Number Publication Date
JPS61272883A JPS61272883A (en) 1986-12-03
JPH061503B2 true JPH061503B2 (en) 1994-01-05

Family

ID=14640487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60114546A Expired - Lifetime JPH061503B2 (en) 1985-05-28 1985-05-28 Optical reader

Country Status (1)

Country Link
JP (1) JPH061503B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4609258B2 (en) * 2005-09-20 2011-01-12 コニカミノルタビジネステクノロジーズ株式会社 Image reading apparatus and copying apparatus

Also Published As

Publication number Publication date
JPS61272883A (en) 1986-12-03

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
US5959286A (en) Method and apparatus for raster scanning of images
JPH061503B2 (en) Optical reader
JPH0222424B2 (en)
CA1295711C (en) Scannable document velocity detector
JPH0731717B2 (en) Optical reader
JP2000337853A (en) Detecting device for record position of information code, and optical information reading device
EP0144202A2 (en) Optical reader
JPS60238981A (en) Optical reader
JP4058883B2 (en) Optical information reader
JPS6325386B2 (en)
JPS6152518B2 (en)
JPS61234479A (en) Optical reader
JP2722434B2 (en) Optical character reader
JP3817662B2 (en) Reading method of optical reader
JP2881762B2 (en) Optical character reading device
JPH0222428B2 (en)
JP4063021B2 (en) Optical information reader
JPS61129512A (en) Inspecting instrument for curvature of lead
JPS61237182A (en) Optical reader
JP2567852B2 (en) Optical character reader
JPS59176880A (en) Reading device
JPH0246097B2 (en)
KR20200065221A (en) Optical Sensor Scanner