JPH0222428B2 - - Google Patents

Info

Publication number
JPH0222428B2
JPH0222428B2 JP56052012A JP5201281A JPH0222428B2 JP H0222428 B2 JPH0222428 B2 JP H0222428B2 JP 56052012 A JP56052012 A JP 56052012A JP 5201281 A JP5201281 A JP 5201281A JP H0222428 B2 JPH0222428 B2 JP H0222428B2
Authority
JP
Japan
Prior art keywords
character
signal
column
white
black
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP56052012A
Other languages
Japanese (ja)
Other versions
JPS57166673A (en
Inventor
Koji Sato
Akihiro Oooka
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 JP56052012A priority Critical patent/JPS57166673A/en
Publication of JPS57166673A publication Critical patent/JPS57166673A/en
Publication of JPH0222428B2 publication Critical patent/JPH0222428B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/146Aligning or centring of the image pick-up or image-field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Description

【発明の詳細な説明】 本発明は、文字,記号等の記載されている用紙
上を入手を用いて走査し、文字,記号等の情報を
光学的に読取る文字読取方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character reading method in which a sheet of paper on which characters, symbols, etc. are written is scanned using a scanner, and information such as characters, symbols, etc. is optically read.

従来、スキヤナを手に持ち移動させながら用紙
に記載されている文字等を光学的に読取る光学的
文字読取装置では、垂直方向及び水平方向の文字
エリアを検出し、文字が所定の位置に到達した
時、文字の識別を行ない識別結果を出力するよう
にしている。しかし、一般に、所定位置が或る1
ケ所だけである為、その位置でノイズの影響が大
きい場合は、文字等を読取れないことがあつた。
Conventionally, optical character reading devices that optically read characters written on paper while holding a scanner in the hand and moving it around detect the character area in the vertical and horizontal directions and detect the characters when they reach a predetermined position. At the same time, characters are identified and the identification results are output. However, generally the predetermined position is one
Since there is only one location, if the influence of noise is large at that location, it may be difficult to read letters, etc.

第1図は従来の光学的文字読取装置のブロツク
線図であり、1はスキヤナ、2は手、3は数字が
記載されている用紙、4は用紙3を照明するラン
プ、5はレンズ系、6は二次元センサ、7は二値
化回路、8は切出回路、9は切出フラグ、10は
タイミング回路、11は切出判定回路、12は識
別回路である。
FIG. 1 is a block diagram of a conventional optical character reading device, in which 1 is a scanner, 2 is a hand, 3 is paper with numbers written on it, 4 is a lamp that illuminates the paper 3, 5 is a lens system, 6 is a two-dimensional sensor, 7 is a binarization circuit, 8 is a cutting circuit, 9 is a cutting flag, 10 is a timing circuit, 11 is a cutting judgment circuit, and 12 is an identification circuit.

スキヤナ1の内部には、用紙3を照明するラン
プ4、用紙からの反射光を二次元センサ6の受光
面上に結像させるレンズ系5、二次元センサ6の
出力信号を二値化する二値化回路7が設けられて
おり、操作者がこのスキヤナ1を手2に持ち、用
紙3上を水平方向に移動させることにより文字の
読取を行なうものである。
Inside the scanner 1, there is a lamp 4 that illuminates the paper 3, a lens system 5 that images the light reflected from the paper onto the light receiving surface of the two-dimensional sensor 6, and a binary system that binarizes the output signal of the two-dimensional sensor 6. A digitization circuit 7 is provided, and an operator holds the scanner 1 in his/her hand 2 and moves it horizontally over a sheet 3 to read characters.

センサに縦一列の1次元センサを使用した場合
には、スキヤナ1を手2で水平方向へ移動させる
ので、横方向の移動速度は一定ではなく、横方向
の走査回数が操作ごとに異なる。同じ文字を読取
る場合でも横方向の走査データが操作ごとに異な
つているため、文字の識別が非常に困難となる。
このため文発明では一文字分が視野に入るような
二次元センサ6を使用し、一文字については常に
ほぼ同じ走査データが得られる。
When a one-dimensional sensor arranged vertically is used, the scanner 1 is moved horizontally by hand 2, so the speed of movement in the horizontal direction is not constant, and the number of horizontal scans varies depending on the operation. Even when reading the same character, the horizontal scanning data differs for each operation, making it very difficult to identify the character.
For this reason, in the invention, a two-dimensional sensor 6 is used in which one character can be seen in the field of view, and almost the same scanning data can always be obtained for one character.

二次元センサ6は、第2図に示すように、受光
面上にn×m個の光電変換素子が配列されている
ものであり、印加されるクロツク信号CKに従つ
て、L1行のB1〜Bn列に配置されている光電
変換素子に対応する信号に出力し、次にL2行の
B1〜Bn列に配置されている光電変換素子に対
応する信号を出力し、その後L3行と順次続き、
最後にLm行のB1〜Bn列に配置されている光電
変換素子に対応する信号を出力することにより、
1画面の走査が終了する。尚、1画面の走査が終
了した後、再び次の画面の走査を開始するもので
あるが、この間に一定時間(例えばクロツク信号
CKの1周期)のフライバツク期間が設けられて
いる。
As shown in FIG. 2, the two-dimensional sensor 6 has n×m photoelectric conversion elements arranged on a light-receiving surface. It outputs a signal corresponding to the photoelectric conversion element arranged in the Bn column, then outputs a signal corresponding to the photoelectric conversion element arranged in the B1 to Bn columns of the L2 row, and then sequentially continues with the L3 row,
Finally, by outputting the signals corresponding to the photoelectric conversion elements arranged in the B1 to Bn columns of the Lm row,
Scanning of one screen is completed. Note that after the scanning of one screen is completed, scanning of the next screen is started again, but during this period a certain period of time (for example, the clock signal is
A flyback period of one cycle of CK is provided.

L1行B1列からLm行Bn列までの1画面の走
査時間は例えば0.0001〜0.0002秒と非常に高速で
あるため、手2がスキヤナ1を横へ移動させる時
間よりはるかに高速である。スキヤナ1の二次元
センサ6は1文字を通過する間に同じ文字を何度
も走査することになる。このため文字が二次元セ
ンサ6のあらかじめ決めた位置に到達したときの
最初の画面で後述の識別処理を開始することによ
り、同じ文字を何度も読取ることはない。
The scanning time for one screen from the L1 row, B1 column to the Lm row, Bn column is very fast, for example, 0.0001 to 0.0002 seconds, so it is much faster than the time it takes for the hand 2 to move the scanner 1 laterally. The two-dimensional sensor 6 of the scanner 1 scans the same character many times while passing through one character. Therefore, by starting the later-described identification process on the first screen when the character reaches a predetermined position on the two-dimensional sensor 6, the same character will not be read over and over again.

二値化回路7は二次元センサ6から加えられる
信号を文字領域と背景領域とに対応した二値信号
に変換するものであり、L1行のB1列から順次
B2,B3……Bn列に対応する二値信号を出力
し、次にL2行のB1,B2,…Bn列、その後
L3行、最後にLm行のB1,B2,…Bn列に対
応する二値信号を出力し、切出回路8および識別
回路12に加える。
The binarization circuit 7 converts the signal applied from the two-dimensional sensor 6 into a binary signal corresponding to the character area and the background area, and sequentially corresponds to columns B2, B3...Bn from column B1 of row L1. Then outputs the binary signal corresponding to the B1, B2, ...Bn columns of the L2 row, then the L3 row, and finally the Lm row of the B1, B2, ...Bn columns, and outputs the binary signal corresponding to the B1, B2, ...Bn columns of the Lm row. 8 and identification circuit 12.

切出回路8は、二値化回路7からの二値信号に
基づいて、文字が二次元センサ6の受光面上の所
定の位置に到達したか否かを判断するものであ
る。例えば第2図に示すように、二次元センサ6
の受光面上に数字「2」が結像された時、即ち、
B1列に対応する二値信号が全て背景領域(以下
白と略す)示すものであり、且つB2列に対応す
る二値信号の一部が文字領域(以下黒と略す)を
示すものである時、文字が所定位置に到達したと
して、その出力信号VHを“1”とし、切出フラ
グ9、及び判定回路11に加える。もし、手の移
動速度が遅いと、B1列が全て白、B2列に黒が
依在する状態が複数回続くことがあり、同じ文字
を複数回読取ることになる。これを防ぐために切
出フラグ9を設けている。切出フラグ9に“1”
がセツトされていると、文字が1度読取られたも
のとして、次は同じ状態では読取らない。文字が
視野から出て、次の文字が来たときを示すものと
して、信号RESを出力し、切出フラグ9をリセ
ツトすることで、次の文字を読取るようにしてい
る。この動作を次に説明する。
The extraction circuit 8 determines whether or not the character has reached a predetermined position on the light-receiving surface of the two-dimensional sensor 6 based on the binary signal from the binarization circuit 7 . For example, as shown in FIG.
When the number "2" is imaged on the light receiving surface of
When all the binary signals corresponding to column B1 indicate a background area (hereinafter abbreviated as white), and part of the binary signals corresponding to column B2 indicate a character area (hereinafter abbreviated as black). , when the character reaches a predetermined position, the output signal VH is set to "1" and is applied to the cutting flag 9 and the determination circuit 11. If the moving speed of the hand is slow, the state in which all of the B1 column is white and the B2 column is black may continue multiple times, resulting in the same character being read multiple times. To prevent this, a cutting flag 9 is provided. “1” in cutting flag 9
is set, it is assumed that a character has been read once, but will not be read in the same state the next time. A signal RES is output to indicate when a character leaves the field of view and the next character comes, and the cutting flag 9 is reset to read the next character. This operation will be explained next.

切出回路8は、走査中に、例えばB3列或いは
B4列に対応する二値信号が全て白を示すものに
なつた時、その出力信号RESを“1”とし、切
出フラグ9をリセツトさせるものである。
During scanning, for example, when all the binary signals corresponding to column B3 or column B4 become white, the cutting circuit 8 sets its output signal RES to "1" and resets the cutting flag 9. It is something.

切出フラグ9には信号RES,VHの他にもフラ
イバツク期間にタイミング回路10からの出力信
号aが“1”として加えられる。この信号aの入
力時に信号VHが“1”の時、切出フラグ9には
“1”がセツトされ、それ以後切出フラグ9から
の出力信号BFを“1”に保持する。また、信号
RESが“1”となり、タイミング回路10の出
力信号aが切出フラグ9に入力された時、切出フ
ラグ9の内容はリセツトされ、その後の切出フラ
グ9からの出力信号BFを“0”とするものであ
る。又、切出判定回路11は、信号BFが“0”
で且つ信号VHが“1”の時、所定位置に文字が
到達したとして、その出力信号bを“1”とし、
識別回路12に識別開始を指示するものであり、
これにより、識別回路12は二値化回路7から加
えられる二値信号に基づいて文字の識別を行な
う。このように、信号VHが“1”となつた時、
信号aの立上り時に切出フラグ9をセツトしてそ
の出力信号BFを“1”とし、この後文字の識別
が行なわれないようにするのは、同じ文字につい
て、何回も識別が行なわれないようにする為であ
る。
In addition to the signals RES and VH, the output signal a from the timing circuit 10 is added as "1" to the cutting flag 9 during the flyback period. When the signal VH is "1" when the signal a is input, the cutting flag 9 is set to "1", and thereafter the output signal BF from the cutting flag 9 is held at "1". Also, the signal
When RES becomes "1" and the output signal a of the timing circuit 10 is input to the cutout flag 9, the contents of the cutout flag 9 are reset, and the subsequent output signal BF from the cutout flag 9 is set to "0". That is. In addition, the cutout determination circuit 11 is configured so that the signal BF is “0”.
And when the signal VH is "1", assuming that a character has arrived at the predetermined position, the output signal b is set to "1",
It instructs the identification circuit 12 to start identification,
Thereby, the identification circuit 12 performs character identification based on the binary signal applied from the binarization circuit 7. In this way, when the signal VH becomes "1",
The cutout flag 9 is set at the rising edge of the signal a, and the output signal BF is set to "1" to prevent character identification from occurring after that, in order to prevent the same character from being identified multiple times. This is to make it so.

第1図に示した従来の光学的文字読取装置は、
前述したようにして、二次元センサ6の受光面の
所定位置に文字が到達した時、1回文字の識別を
行なうものであるが、しかし、例えば数字の近傍
に光電変換素子の単位面積より僅かに小さい汚れ
が付着しており、かつ二次元センサ6から順次第
3図A〜Cに示す画面#n,#(n+1),
#(n+2)の画情報が出力されたとすると、こ
の数字「2」については、識別が行なわれない欠
点があつた。即ち、同図Aに示す画面#nに於い
ては、汚れ等のノイズイがB1列とB2列とに分
かれている為、二値化回路7から出力されるB
1,B2列対応の二値信号は全て白を示すものと
なり、又、同図Bに示す画面#(n+1)に於い
ては、ノイズイがB1列にある為、B1列対応の
二値信号は、全てが白を示すものとはならず、
又、同図Cに示す画面#(n+2)に於いては、
数字がB1列にある為、B1列対応の二値信号は、
全てが白を示すものとはならず、従つて、切出回
路8は、数字が所定位置に到達したことを検出で
きず、信号VHを“1”にすることができない為
である。
The conventional optical character reading device shown in FIG.
As described above, when a character reaches a predetermined position on the light-receiving surface of the two-dimensional sensor 6, the character is identified once. There is small dirt attached to the screen #n, #(n+1), #n, #(n+1), shown in FIGS.
Assuming that image information of #(n+2) is output, there is a drawback in that the number "2" is not identified. That is, in screen #n shown in FIG.
The binary signals corresponding to columns 1 and B2 all indicate white. Also, in screen #(n+1) shown in B of the same figure, since Noise I is in column B1, the binary signals corresponding to column B1 are , not everything indicates white,
Also, in screen #(n+2) shown in C of the same figure,
Since the numbers are in column B1, the binary signal corresponding to column B1 is
This is because not all of the numbers indicate white, and therefore the cutout circuit 8 cannot detect that the number has reached the predetermined position and cannot set the signal VH to "1".

従つて例えば、3桁の数々字「123」を読取る
際、「2」が上記の理由で所定の位置に到達した
ことを検出できなかつた場合、読取つた結果は
「13」の2桁の数字となり、大きな誤りが生じる
欠点があつた。
Therefore, for example, when reading the 3-digit number ``123'', if it is not possible to detect that ``2'' has reached the predetermined position for the above reason, the read result will be the 2-digit number ``13''. As a result, there was a drawback that a major error occurred.

本発明は前述の如き欠点を改善したものであ
り、その目的は、ノイズの影響により、文字が所
定位置に到達したことを検出できない場合でも、
文字の識別を行なうことができるようにすること
にある。以下実施例について詳細に説明する。
The present invention has been made to improve the above-mentioned drawbacks, and its purpose is to detect that a character has reached a predetermined position even when it is not possible to detect that the character has reached a predetermined position due to the influence of noise.
The purpose is to enable character identification. Examples will be described in detail below.

第4図は本発明方式を実施する光学的文字読取
装置のブロツク線図であり、13は文字切出回
路、14は白検出フラグ、15は黒検出フラグ、
16,17はアンドゲート、18はオアゲートで
あり、他の第1図と同一符号は同一部分を表わし
ている。
FIG. 4 is a block diagram of an optical character reading device implementing the method of the present invention, in which 13 is a character cutting circuit, 14 is a white detection flag, 15 is a black detection flag,
16 and 17 are AND gates, and 18 is an OR gate, and the same reference numerals as in other FIG. 1 represent the same parts.

スキヤナ1を手に持ち、用紙3上を水平方向に
移動させると、前述したと同様に、二値化回路7
から文字領域と背景領域とに対応した二値信号が
出力される。切出回路13は、B1列対応の二値
信号が全て白を示し、且つB2列対応の二値信号
の一部分が黒を示す時、前述したと同様に文字が
二次元センサ6の所定位置に到達した(以下この
ようにB1列対応の二値化信号が全て白を示し、
且つB2列対応の二値信号の一部分が黒を示す状
態を文字像が所定位置に到達したと呼ぶ)とし
て、その出力信号VH0を“1”とし、又、例え
ばB3列或はB4列対応の二値信号が全て白を示
す時は、信号RESを“1”とし、切出フラグ9
をリセツトさせる。B1,B2列対応の二値信号
が全て白を示す時は信号cを“1”とし、それ以
外はcを“0”とする。又B1,B2列対応の二
値信号の何れにも黒を示す二値信号が含まれてい
る時は信号dを“1”とし、それ以外はdを
“0”とする。
When you hold the scanner 1 in your hand and move it horizontally over the paper 3, the binarization circuit 7
Binary signals corresponding to the character area and the background area are output from. When all the binary signals corresponding to the B1 column indicate white and a part of the binary signals corresponding to the B2 column indicate black, the cutout circuit 13 selects a character to be placed at a predetermined position on the two-dimensional sensor 6 in the same way as described above. (As shown below, all the binary signals corresponding to column B1 show white,
The state in which a part of the binary signal corresponding to column B2 shows black is called the character image reaching a predetermined position), and the output signal VH0 is set to "1". When all binary signals indicate white, the signal RES is set to "1" and the cutout flag 9 is set to "1".
to reset. When the binary signals corresponding to the B1 and B2 columns all indicate white, the signal c is set to "1", and otherwise, the signal c is set to "0". Further, when any of the binary signals corresponding to columns B1 and B2 includes a binary signal indicating black, the signal d is set to "1", and otherwise, d is set to "0".

今、例えば、二次元センサ6から第3図A〜C
に示す画面#n,#(n+1),#(n+2)の
画情報が順次出力されたとすると、切出回路13
の出力信号VH0,c,dはそれぞれ第5図A,
B,Cに示すものとなる。第5図A〜Jでは上の
レベルを“1”、下のレベルを“0”とする。
Now, for example, from the two-dimensional sensor 6,
If the image information of screens #n, #(n+1), and #(n+2) shown in FIG.
The output signals VH0, c, and d are shown in Fig. 5A, respectively.
The results are shown in B and C. In FIGS. 5A to 5J, the upper level is "1" and the lower level is "0".

白検出フラグ14、黒検出フラグ15は、それ
ぞれタイミング回路10からの信号aの立上りに
於いて、即ち、画面と画面との間に、切出回路3
からの信号c,dを取込み、信号c,dが“1”
ならば、タイミング回路10の次の信号aで白検
出フラグ14および黒検出フラグ15の出力信号
eおよびfを“1”とし、信号c,dが“0”な
らば、同様に次の信号aで白検出フラグ14およ
び黒検出フラグ15の出力信号eおよびfを
“0”とするものである。信号c,dが第5図B,
Cに示すように変化したとすると、白検出フラグ
14、黒検出フラグ15の出力信号e,fは同図
D,Eに示すものとなる。即ち、白検出フラグ1
4の出力信号eは、1画面前の信号cの状態を示
すものであり、又、黒検出フラグ15の出力信号
fは、1画面前の信号dの状態を示すものであ
る。アンドゲート16は、この白検出フラグ14
の出力信号eと切出回路13の出力信号dとの論
理積を取り、オアゲート18に加え、又、アンド
ゲート17は黒検出フラグ15の出力信号fと切
出回路13の出力信号cとの論理積を取り、オア
ゲート18に加えるものであり、この場合、アン
ドゲート16,17の出力信号VH1,VH2及
びオアゲート18の出力信号VHはそれぞれ同図
F,G,H示すものとなる。
The white detection flag 14 and the black detection flag 15 are activated by the cutting circuit 3 at the rising edge of the signal a from the timing circuit 10, that is, between the screens.
Take in signals c and d from , and signals c and d are “1”
Then, the output signals e and f of the white detection flag 14 and black detection flag 15 are set to "1" by the next signal a of the timing circuit 10, and if the signals c and d are "0", the next signal a is set to "1". In this case, the output signals e and f of the white detection flag 14 and the black detection flag 15 are set to "0". Signals c and d are shown in Fig. 5B,
If the change occurs as shown in C, the output signals e and f of the white detection flag 14 and black detection flag 15 become as shown in D and E in the figure. That is, white detection flag 1
The output signal e of 4 indicates the state of the signal c one screen before, and the output signal f of the black detection flag 15 indicates the state of the signal d one screen before. The AND gate 16 is connected to this white detection flag 14.
The AND gate 17 takes the logical product of the output signal e of the output signal e and the output signal d of the extraction circuit 13 and adds it to the OR gate 18. The logical product is calculated and added to the OR gate 18. In this case, the output signals VH1, VH2 of the AND gates 16 and 17 and the output signal VH of the OR gate 18 are as shown in F, G, and H of the figure, respectively.

切出フラグ9はオアゲート18の出力信号VH
が“1”となると、画面#(n+1)と画面
#(n+2)との間にセツトされ、その出力信号
BFを同図に示すように“1”とする。又、切
出判定回路11は切出フラグ9の出力信号BFが
“0”の時にオアゲート18の出力信号VHが
“1”となると、同図Jに示すようにその出力信
号bを“1”とし、識別回路12に識別開始を指
示し、これにより識別回路12は二値化回路7か
ら加えられる二値信号に基づいて文字の識別を行
なう。
Cutout flag 9 is output signal VH of OR gate 18
When becomes “1”, it is set between screen #(n+1) and screen #(n+2), and its output signal
BF is set to "1" as shown in the figure. Further, when the output signal VH of the OR gate 18 becomes "1" when the output signal BF of the cut flag 9 is "0", the cutout determination circuit 11 sets the output signal b to "1" as shown in FIG. Then, the discrimination circuit 12 is instructed to start discrimination, and thereby the discrimination circuit 12 discriminates characters based on the binary signal applied from the binarization circuit 7.

このように、本実施例は、現在の画面のB1,
B2列対応の二値信号が黒を示す二値信号を含ん
でおり、且つ1画面前のB1,B2列対応の二値
信号が全て白を示す時、即ち、切出回路13の出
力信号dが“1”で、且つ白検出フラグ14の出
力信号eが“1”の時、文字像が二次元センサ6
の受光面上の所定位置を通過したとして、切出フ
ラグ9、切出判定回路11に加える信号VHを
“1”とするものであるから、切出回路13で文
字像が受光面上の所定位置に到達したことを検出
できなかつた場合に於いても、文字の識別を行な
うことができる。第3図に示す例のように、画面
#nでB1,B2列がすべて白、かつB1,B2
列が共に黒となつたとしても、文字の識別を行な
うことができる。
In this way, in this embodiment, B1 of the current screen,
When the binary signal corresponding to the B2 column includes a binary signal indicating black, and the binary signals corresponding to the B1 and B2 columns one screen before all indicate white, that is, the output signal d of the cutting circuit 13 is “1” and the output signal e of the white detection flag 14 is “1”, the character image is detected by the two-dimensional sensor 6.
When the character image passes through a predetermined position on the light receiving surface, the signal VH applied to the cutting flag 9 and the cutting judgment circuit 11 is set to "1". Even if it is not possible to detect that the character has reached a certain position, the character can be identified. As in the example shown in Figure 3, on screen #n, the B1 and B2 columns are all white, and the B1 and B2
Characters can be identified even if both columns are black.

上述のような、現在の画面のB1,B2対応の
二値信号が共に黒を示す二値信号を含んで、且つ
1画面前のB1,B2列対応の二値信号が全て白
を示す時、あるいは逆の、現在の画面のB1,B
2列対応の二値信号が全て白を示し、且つ1画面
前のB1,B2列対応の二値信号が共に黒を示す
状態を文字像が所定位置を通過したと呼ぶ。すな
わち、任意の列は背景領域(白)で隣接する列の
一部に文字領域(黒)が存在するときを文字像が
所定位置に到達したとすると第1の検出手段と、
前記任意の列及び隣接する列がともに背景領域あ
るいは文字領域でかつ次の走査画面で前記任意の
列及び隣接する列がともに前の前面と逆の文字領
域あるいは背景領域の時文字像が所定位置を通過
したとする第2の検出手段からなるものである。
As described above, when the binary signals corresponding to the B1 and B2 columns of the current screen both include binary signals indicating black, and the binary signals corresponding to the B1 and B2 columns of the previous screen all indicate white, Or vice versa, B1, B of the current screen
A state in which the binary signals corresponding to two columns all indicate white, and the binary signals corresponding to columns B1 and B2 one screen before both indicate black is called a character image passing a predetermined position. That is, if a character image has reached a predetermined position when an arbitrary column has a background area (white) and a character area (black) exists in a part of an adjacent column, the first detection means,
When the arbitrary column and the adjacent column are both a background area or a character area, and in the next scanning screen, the arbitrary column and the adjacent column are both a character area or a background area opposite to the previous front surface, the character image is at a predetermined position. It consists of a second detecting means that detects that the object has passed through.

又、本実施例では、二次元センサ6から順次第
3図C,B,Aに示す画面#(n+2),#(n
+1),#nの画情報が出力された場合、即ち、
スキヤナ1を前述したと反対方向に移動させた場
合に於いても、文字像が二次元センサ6の受光面
上の所定位置を通過した時、黒検出フラグ15の
出力信号fと切出回路13の出力信号cとの論理
積を取るアンドゲート17の出力信号VH2が
“1”となるので、切出回路13で文字像が受光
面上の所定位置に到達したことを検出できない場
合に於いても、文字の識別を行なうことができ
る。又、画面#(n+1)に示すような小さなノ
イズの影響は、公知の方法によつて除去できるも
のであるから、画面#(n+1)により文字の識
別を行なつても、文字自身の認識においても識別
結果に誤りが発生することはない。
In addition, in this embodiment, screens #(n+2) and #(n
+1), #n image information is output, that is,
Even when the scanner 1 is moved in the opposite direction to that described above, when the character image passes a predetermined position on the light receiving surface of the two-dimensional sensor 6, the output signal f of the black detection flag 15 and the cutout circuit 13 are detected. Since the output signal VH2 of the AND gate 17 which takes the AND with the output signal c of It is also possible to identify characters. In addition, the influence of small noises as shown on screen #(n+1) can be removed using known methods, so even if characters are identified using screen #(n+1), the recognition of the characters themselves will be affected. However, no error will occur in the identification results.

以上説明したように、本発明は、二次元センサ
の所定位置に文字像が到達したことを検出した
時、文字の識別開始信号(実施例に於いては信号
VH0)を出力する切出回路13等の第1の検出
手段、及び二次元センサの所定位置に文字像が到
達したことを検出せず、文字像が通過したことを
検出した時、文字の識別開始信号(実施例に於い
ては信号VH1或は信号VH2)を出力する切出
回路13、白検出フラグ14、黒検出フラグ1
5、アンドゲート16,17等からなる第2の検
出手段を設け、第1の検出手段から文字の識別開
始信号が出力されなかつた場合は、第2の検出手
段から識別開始信号が出力された時、文字の識別
を開始するものであるから、ノイズ等の影響によ
り、文字像が所定位置に到達したことを検出でき
ない場合に於いても、文字,記号等の識別を行な
うことができる利点がある。
As explained above, the present invention provides a character recognition start signal (in the embodiment, a signal
When the first detection means such as the cutting circuit 13 that outputs VH0) and the two-dimensional sensor detect that the character image has passed without detecting that the character image has reached the predetermined position, the character is identified. A cutout circuit 13 that outputs a start signal (signal VH1 or signal VH2 in the embodiment), a white detection flag 14, and a black detection flag 1
5. A second detection means consisting of AND gates 16, 17, etc. is provided, and when the first detection means does not output a character identification start signal, the second detection means outputs an identification start signal. Since the system starts identifying characters at the same time, it has the advantage of being able to identify characters, symbols, etc. even when it is not possible to detect that the character image has reached a predetermined position due to the influence of noise, etc. be.

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

第1図は従来方式を実施する装置のブロツク線
図、第2図は二次元センサの説明図、第3図A〜
Cは二次元センサから出力される画情報を示す
図、第4図は本発明を実施する装置のブロツク線
図、第5図はその動作説明図である。 1はスキヤナ、2は手、3は用紙、4はラン
プ、5はレンズ系、6は二次元センサ、7は二値
化回路、8,13は切出回路、9は切出フラグ、
10はタイミング回路、11は切出判定回路、1
2は識別回路、14は白検出フラグ、15は黒検
出フラグ、16,17はアンドゲート、18はオ
アゲートである。
Figure 1 is a block diagram of a device implementing the conventional method, Figure 2 is an explanatory diagram of a two-dimensional sensor, and Figures 3A-
C is a diagram showing image information output from a two-dimensional sensor, FIG. 4 is a block diagram of an apparatus implementing the present invention, and FIG. 5 is an explanatory diagram of its operation. 1 is a scanner, 2 is a hand, 3 is paper, 4 is a lamp, 5 is a lens system, 6 is a two-dimensional sensor, 7 is a binarization circuit, 8 and 13 are cutting circuits, 9 is a cutting flag,
10 is a timing circuit, 11 is a cutout determination circuit, 1
2 is an identification circuit, 14 is a white detection flag, 15 is a black detection flag, 16 and 17 are AND gates, and 18 is an OR gate.

Claims (1)

【特許請求の範囲】 1 文字,記号が記載された用紙からの反射光を
入射して電気信号に変換する二次元センサを備え
たスキヤナを移動させ、前記二次元センサの出力
信号に基づいて文字,記号の識別を行なう文字読
取方式に於いて、前記二次元センサの所定位置に
文字像が到達したことを検出した時、文字の識別
開始信号を出力する第1の検出手段と、前記二次
元センサの所定位置に文字が到達したことを検出
せず文字像が通過したことを検出した時、文字の
識別開始信号を出力する第2の検出手段とを設
け、前記第1の検出手段から文字の識別開始信号
が出力された時、文字の識別を開始し、前記第1
の検出手段から文字の識別開始信号が出力されな
い場合は、前記第2の検出手段から文字の識別開
始信号が出力された時、文字の識別を開始するこ
とを特徴とする文字読取方式。 2 前記第1の検出手段は、任意の列が背景領域
(白)で隣接する列の一部に文字領域(黒)が存
在することを検出してなり、 前記第2の検出手段は、前記任意の列および隣
接する列がともに背景領域(白)あるいは文字領
域(黒)で、かつ次の走査画面で前記任意の列お
よび隣接する列がともに前の画面と逆の文字領域
(黒)あるいは背景領域(白)であることを検出
してなることを特徴とする特許請求の範囲第1項
記載の文字読取方式。
[Scope of Claims] 1. A scanner equipped with a two-dimensional sensor that enters reflected light from a sheet of paper on which characters and symbols are written and converts it into an electrical signal is moved, and characters are detected based on the output signal of the two-dimensional sensor. , in a character reading method for identifying symbols, a first detection means outputs a character identification start signal when it is detected that a character image has reached a predetermined position of the two-dimensional sensor; a second detection means that outputs a character recognition start signal when it detects that a character image has passed without detecting that a character has reached a predetermined position of the sensor; When the identification start signal is output, character identification is started and the first
A character reading method characterized in that when a character identification start signal is not outputted from the second detection means, character identification is started when a character identification start signal is outputted from the second detection means. 2. The first detection means detects that an arbitrary column is a background area (white) and a text area (black) exists in a part of an adjacent column; An arbitrary column and an adjacent column are both a background area (white) or a character area (black), and in the next scanning screen, both the above arbitrary column and an adjacent column are a character area (black) opposite to the previous screen, or 2. The character reading method according to claim 1, wherein the character reading method is obtained by detecting a background area (white).
JP56052012A 1981-04-07 1981-04-07 Character reading system Granted JPS57166673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56052012A JPS57166673A (en) 1981-04-07 1981-04-07 Character reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56052012A JPS57166673A (en) 1981-04-07 1981-04-07 Character reading system

Publications (2)

Publication Number Publication Date
JPS57166673A JPS57166673A (en) 1982-10-14
JPH0222428B2 true JPH0222428B2 (en) 1990-05-18

Family

ID=12902898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56052012A Granted JPS57166673A (en) 1981-04-07 1981-04-07 Character reading system

Country Status (1)

Country Link
JP (1) JPS57166673A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2164836T3 (en) * 1995-09-19 2002-03-01 Daiwa Kasei Kogyo Kk LEGS OF RETENTION OF A COMPONENT.

Also Published As

Publication number Publication date
JPS57166673A (en) 1982-10-14

Similar Documents

Publication Publication Date Title
US4355301A (en) Optical character reading system
JPS61115179A (en) Bar code reader
JPH0222428B2 (en)
US3903503A (en) Method and means for reading numerals
JPH0222424B2 (en)
JPH011087A (en) line and character separator
JPH0334112B2 (en)
JPS596418B2 (en) Character reading method
JPS6152518B2 (en)
JPS629956B2 (en)
JPH061503B2 (en) Optical reader
JP4003507B2 (en) Image reading apparatus and image reading method
JP2590099B2 (en) Character reading method
JP3095437B2 (en) Character line detection cutout device and character reading device
JPS5911153B2 (en) Optical character reading method
JPS594747B2 (en) Barcode reader
JPH06203193A (en) Two-dimensional code reader
JPS589984B2 (en) Mojiyomitrisouchi
JPH0750913B2 (en) Image signal processing method
JPS6037869A (en) Scanning device
JPH0648500B2 (en) Bar code demodulator
JPS5812076A (en) Optical reader for dot bar code
JPS60238981A (en) Optical reader
JPH0132553B2 (en)
JPS6312311B2 (en)