JPH0217585A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH0217585A
JPH0217585A JP63167969A JP16796988A JPH0217585A JP H0217585 A JPH0217585 A JP H0217585A JP 63167969 A JP63167969 A JP 63167969A JP 16796988 A JP16796988 A JP 16796988A JP H0217585 A JPH0217585 A JP H0217585A
Authority
JP
Japan
Prior art keywords
character
circuit
inclination
recognition processing
angle
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
JP63167969A
Other languages
Japanese (ja)
Inventor
Koji Sato
浩二 佐藤
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 JP63167969A priority Critical patent/JPH0217585A/en
Publication of JPH0217585A publication Critical patent/JPH0217585A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To obtain only recognition results of high reliability by calculating the angle of inclination in accordance with the vertical length of continuous black picture elements and omitting the recognition processing in the case of this angle of inclination larger than a preliminarily determined angle. CONSTITUTION:A character string height detecting circuit 41 obtains the number of continuous black picture elements of the signal sent from a visual field position detecting circuit 9. An inclination calculating circuit 42 calculates the angle of inclination of a scanner 1 to a form 3. A discriminating circuit 43 discriminates whether this angle of inclination is smaller than the preliminarily determined allowable angle of inclination or not, and a recognition processing stop signal is sent to a control circuit 16 when the former is larger than the latter, but a recognition processing start signal is sent to the control circuit 16 when the former is equal to or smaller than the latter.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、手持式のスキャナで原稿上を走査することに
より文字・記号等(以下代表して文字のみに関して述べ
るが記号に関しても全く同様である)を読み取る光学文
字読取装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is capable of scanning characters, symbols, etc. (hereinafter, only characters will be described as a representative, but the same applies to symbols as well) by scanning a document with a hand-held scanner. The present invention relates to an optical character reading device that reads (a).

〔従来の技術〕[Conventional technology]

スーパーマーケットや百貨店等で、単品ごとの売上情報
を収集して在庫管理を行なうP OS (Point 
at 5ales)システムが普及している。このp。
At supermarkets, department stores, etc., POS (Point
at 5ales) system is widespread. This p.

Sシステムでは手持ち式の光学文字読取装置がよく使用
されている。
Hand-held optical character readers are often used in S systems.

このような装置として、本出願人は第2図に示すものを
特願昭61−41474号として、特許出願している。
The present applicant has filed a patent application for such a device as shown in FIG. 2 in Japanese Patent Application No. 41474/1983.

第2図において、1はスキャナであり、手2で、用紙3
に置くだけで用紙3に記憶された文字を読取るものであ
る。用紙3はたとえば、POSシステムでの情報が記憶
された値札などである。4は光源であり、5はレンズ系
、6はイメージセンサであり、少なくとも用紙3に記載
された文字の1行分の視野が必要であり、図示の例では
横は1行分、縦は1文字の3倍ぐらいの視野としている
。7は制御・二値化回路であり、イメージセンサ6の出
力信号であるアナログ信号を文字領域及び背景領域に夫
々対応する二値化信号に変換し、メモリ8へ送る。メモ
リ8にはイメージセンサ6の視野の全体の二値化信号を
格納する。
In FIG. 2, reference numeral 1 is a scanner, and with hand 2, paper 3 is
It reads the characters stored on the paper 3 just by placing it on the paper. The paper 3 is, for example, a price tag on which information for a POS system is stored. 4 is a light source, 5 is a lens system, and 6 is an image sensor, which requires a field of view of at least one line of characters written on paper 3, and in the illustrated example, the field of view is one line horizontally and one vertically. The field of view is about three times that of text. Reference numeral 7 denotes a control/binarization circuit that converts the analog signal that is the output signal of the image sensor 6 into binary signals corresponding to the character area and the background area, respectively, and sends the signals to the memory 8. The memory 8 stores the binarized signal of the entire field of view of the image sensor 6.

メモリ8へ格納した二値化信号から認識処理を行なうが
、図示の例では文字が正しく視野内に入っている二値化
信号だけを認識処理をするようにしている。即ち、第3
図にイメージセンサ6で走査し、二値化した例を示して
おり、同図は視野17に文字が正しく入っている場合で
ある。第4図は視野17から文字がはみ出した状態で走
査した場合である。この場合には後に詳述する認識処理
を行なわず、スキャナ1の移動に伴い再度イメージセン
サ6で走査し、二値化し、メモリ8へ二値化信号を格納
することにより、読取速度を向上させている。なお、第
3、第4図は画素の区切りを示す縦線を一部省略してい
る。
Recognition processing is performed from the binarized signals stored in the memory 8, but in the example shown, only the binarized signals in which characters are correctly within the visual field are subjected to the recognition processing. That is, the third
The figure shows an example of scanning with the image sensor 6 and converting it into binarization, and this figure shows a case where characters are correctly included in the field of view 17. FIG. 4 shows a case where scanning is performed with characters protruding from the visual field 17. In this case, the recognition process described in detail later is not performed, and as the scanner 1 moves, the image sensor 6 scans again, binarizes it, and stores the binarized signal in the memory 8 to improve the reading speed. ing. Note that in FIGS. 3 and 4, some vertical lines indicating pixel divisions are omitted.

認識処理を行なうか否かの判断は視野位置検出回路9で
行なわれる。即ち、視野位置検出回路9は二値化信号を
メモリ8へ格納するのと並行して動作しており、メモリ
8ヘニ値化信号を格納し終るのとほぼ同時に認識処理を
行なうか否かを判断している。さらに、視野位置検出回
路9は、認識処理を行なう場合、視野全部を処理せず、
文字の存在する領域だけ認識処理するように認識する領
域を決めている。
The visual field position detection circuit 9 determines whether or not to perform recognition processing. That is, the visual field position detection circuit 9 operates in parallel with storing the binarized signal into the memory 8, and determines whether or not to perform recognition processing almost at the same time as the memory 8 finishes storing the binarized signal. Deciding. Furthermore, when performing recognition processing, the visual field position detection circuit 9 does not process the entire visual field;
The recognition area is determined so that only the area where characters exist is recognized.

視野位置検出回路9の具体的構成の一例を第5図に示す
。同図に示すように、視野位置検出回路9は、オアゲー
ト23及びレジスタ24でなる各行論理和回路21と、
ROM25及びレジスタ26でなる判定回路22とで構
成されている。
An example of a specific configuration of the visual field position detection circuit 9 is shown in FIG. As shown in the figure, the visual field position detection circuit 9 includes each row OR circuit 21 consisting of an OR gate 23 and a register 24;
The determination circuit 22 includes a ROM 25 and a register 26.

各行論理和回路21はイメージセンサ6の視野の横方向
のほぼ中心の1次位の画素間(第3図の19で、Bt列
からBu列まで)において、各行ごとに論理和演算を行
なう、即ち、制御・二値化回路7から第3図に示すよう
な二値化信号が送られた場合、まずL行のB1列から順
次Lp行の89列に対応する二値化信号がメモリ8へ格
納されるが、同時にB(列からBu列までの二値化信号
の各行での論理和が各行論理和回路21により求められ
る。
Each row OR circuit 21 performs an OR operation for each row between first-order pixels (19 in FIG. 3, from the Bt column to the Bu column) approximately in the horizontal center of the field of view of the image sensor 6. That is, when the control/binarization circuit 7 sends a binary signal as shown in FIG. At the same time, the logical sum of the binarized signals from the B(column to the Bu column) in each row is determined by the respective row logical sum circuit 21.

更に評言すると、まずレジスタ24はクリアされており
、L1行のBt列の信号がオアゲート23に入力される
と、レジスタ24の出力信号と論理和演算され、その結
果をレジスタ24へ格納するもので、Bu列まで繰返す
と、L1行の論理和演算の結果がレジスタ24へ格納さ
れていることになる。Bu列までの論理和が求められる
と、レジスタ24の内容は判定回路22へ送られると同
時に、レジスタ24はクリアされる。これによりL1行
からLP行までの論理和の結果が判定回路22へ送られ
ることになる。各行ごとの論理和の結果で、各行に二値
化の“黒”が存在するか否かがわかる。
To further comment, the register 24 is first cleared, and when the signal in the Bt column of the L1 row is input to the OR gate 23, it is ORed with the output signal of the register 24, and the result is stored in the register 24. , Bu column, the result of the logical sum operation in the L1 row is stored in the register 24. When the logical sum up to the Bu column is determined, the contents of the register 24 are sent to the determination circuit 22, and at the same time, the register 24 is cleared. As a result, the result of the logical sum from the L1 row to the LP row is sent to the determination circuit 22. Based on the result of the logical sum for each row, it can be determined whether or not there is a binarized "black" in each row.

かかる論理和の結果を表わす信号が供給される判定回路
22の構成及び作用は次の通りである。
The configuration and operation of the determination circuit 22 to which a signal representing the result of the logical sum is supplied are as follows.

即ち、判定回路22に各行の論理和の結果を表わす信号
はROM25へ入力され、このROM25から読出した
内容をレジスタ26へ格納する。ROM25には白黒の
状態の変化を示す状態遷移をコード化して書込んでいる
ので、レジスタ26にはその行までの白黒の状態か格納
されていることになる0次の行の論理和の結果を示すレ
ジスタ24と、それまでの状態を示すレジスタ26とか
らの信号をROM25へ入力して、新しい状態の信号を
レジスタ26へ格納する。ROM25にはSET、EN
D、CLEAR信号を対応するコードが書き込まれてい
る。信号SETは白の状態から黒と変化したとき、EN
Dは黒がある数以上(文字の高さ相当)続き白に変化し
たときに出力するもので、SETの行からENDの行ま
でが文字位置となる。一方、最下行であるt、p行まで
に信号SETかつ信号ENDが出力されないときには、
CLEAR信号が制御回路16に出力されこの制御回路
16でメモリ8をクリアする。かくて以後の認識処理を
行なわず、再度走査し新たな二値化信号を取込む。
That is, the signal representing the result of the logical sum of each row in the determination circuit 22 is input to the ROM 25, and the contents read from the ROM 25 are stored in the register 26. Since the state transition indicating a change in the black and white state is coded and written in the ROM 25, the register 26 stores the black and white state up to that row, which is the result of the logical sum of the 0th row. The signals from the register 24 indicating the current state and the register 26 indicating the previous state are input to the ROM 25, and the signal of the new state is stored in the register 26. SET, EN in ROM25
D. A code corresponding to the CLEAR signal is written. When the signal SET changes from white to black, EN
D is output when black continues for a certain number of times (corresponding to the height of the character) and changes to white, and the character position is from the SET line to the END line. On the other hand, when the signal SET and signal END are not output up to the bottom rows t and p,
A CLEAR signal is output to the control circuit 16, which clears the memory 8. In this way, subsequent recognition processing is not performed, and a new binarized signal is acquired by scanning again.

上記の例において、各行ごとの論理和を演算するとき、
視野の横全部の列の記号でなく中央部分だけとしている
のは、視野よりも用紙3が小さいときや読取るべき文字
の外側に黒マークが用紙3に印刷されている場合などの
ノイズの影響をできるだけ少なくするためである。−例
として第3図の19がエリアが論理和を演算する部分で
ある。
In the above example, when calculating the logical sum for each row,
The reason why only the center part is used instead of the symbol for the entire horizontal row of the field of view is to avoid the influence of noise, such as when the paper 3 is smaller than the field of view or when black marks are printed on the paper 3 outside the characters to be read. This is to minimize it as much as possible. - As an example, the area 19 in FIG. 3 is a portion for calculating a logical sum.

新行検出回路10は視野位置検出回路Sから送られる信
号SET、ENDから文字位置を決める一方、次の走査
で送られるSET、END信号で決まる文字位置と比較
し、文字位置の変化!!!(画素数)あるいは信号CL
EARにより文字列が視野17から1度はみ出したこと
等に基づく判断を行ない、新しい文字列が存在したと判
断した場合信号NEWを認識処理回路15に送出する。
The new line detection circuit 10 determines the character position from the signals SET and END sent from the visual field position detection circuit S, and compares it with the character position determined by the SET and END signals sent in the next scan to determine if the character position has changed! ! ! (number of pixels) or signal CL
Judgment is made based on whether the character string has protruded once from the field of view 17 by EAR, and if it is determined that a new character string exists, a signal NEW is sent to the recognition processing circuit 15.

信号NEWが送られた以後、次の認識処理を行なう。After the signal NEW is sent, the next recognition process is performed.

この新行検出回路10により、視野よりも多い行数の文
字列を読取るときには、スキャナ1を上から下あるいは
下から上へ移動させるだけでよい。
With this new line detection circuit 10, when reading a character string with more lines than the field of view, it is only necessary to move the scanner 1 from top to bottom or from bottom to top.

即ち、スキャナ1を用紙3に置いて文字を読取るので、
長く置いたままだと、何度も同じ部分を走査し、読取る
ことになるが、新行検出回路10でこれを防止している
That is, since the scanner 1 is placed on the paper 3 and the characters are read,
If left for a long time, the same part will be scanned and read over and over again, but the new line detection circuit 10 prevents this.

次に、1文字の切出しについて説明する。Next, cutting out one character will be explained.

メモリ8に格納されている二値化信号はイメージセンサ
6の視野全部であるので、1文字を認識処理する認識処
理回路15で処理できる画素数よりも継、横とも大きい
画素数のデータ量、つまり1文字づつの二値化信号に変
換してする必要がある。
Since the binarized signal stored in the memory 8 is the entire field of view of the image sensor 6, the amount of data is larger in number of pixels both horizontally and vertically than the number of pixels that can be processed by the recognition processing circuit 15 that recognizes and processes one character. In other words, it is necessary to convert each character into a binary signal.

認識処理回路15で処理できる画素数を、第3図におい
て横n、縦(列方向)mとして説明する。
The number of pixels that can be processed by the recognition processing circuit 15 will be explained assuming that the number of pixels that can be processed by the recognition processing circuit 15 is n horizontally and m vertically (column direction) in FIG.

まず、横nで縦は視野17全部の画素数Pの二値化信号
を一部バッファ11へ転送する。即ちL1〜L、行まで
のB1列からBn列までの二値化信号が一部バッファ1
1に格納される。
First, a portion of the binarized signal having the number of pixels P of the entire field of view 17 by n horizontally and vertically is transferred to the buffer 11 . In other words, some of the binarized signals from columns B1 to Bn from rows L1 to L are buffered in buffer 1.
It is stored in 1.

縦位置検出回路12は一部バッファ11の二値化信号の
中で1文字の縦の位置を検出し、認識処理回路15で処
理できる縦方向の画素mに二値化信号を減らすものであ
る。縦位置検出回路12にて文字の縦位置を決定し、認
識処理回路15で処理できる縦の画素数m(文字位置が
ほぼ中央に位置するようにして決める)を決める。これ
により、−桁バッファ11に格納している二値化信号か
ら縦方向mを決め、1文字のデータmXnとして一文字
バッファ14へ転送する。第3図に示す例では、Llか
らLm行、B1からBn列のエリア内に含まれる二値化
信号を1文字データとして一文字バンファ14へ転送す
る。
The vertical position detection circuit 12 detects the vertical position of one character in the binary signal of the partial buffer 11, and reduces the binary signal to m pixels in the vertical direction that can be processed by the recognition processing circuit 15. . The vertical position detection circuit 12 determines the vertical position of the character, and the recognition processing circuit 15 determines the number m of vertical pixels (determined so that the character position is located approximately at the center). As a result, the vertical direction m is determined from the binary signal stored in the minus digit buffer 11 and transferred to the single character buffer 14 as one character data mXn. In the example shown in FIG. 3, the binary signal contained in the area from rows Ll to Lm and columns B1 to Bn is transferred to the single character buffer 14 as one character data.

横位置検出回路13は、−桁バッファ11へ次の二値化
信号を格納するとき、格納する二値化信号の横方向の位
置を決めるものである。このとき1画素づつ横方向へ移
動させて、−桁バッファ11へ格納してもよいが、同じ
文字を何度も格納する場合があり、処理時間が長(かか
る。このため、横位置検出回路13は次の文字までの画
素数を検出し、この画素数だけ横方向へずらして、横n
、縦pの画素の二値化信号を一部バッファ11へ格納す
る。
The lateral position detection circuit 13 determines the horizontal position of the binarized signal to be stored when the next binarized signal is stored in the negative digit buffer 11. At this time, one pixel at a time may be moved in the horizontal direction and stored in the negative digit buffer 11, but the same character may be stored many times, which takes a long processing time. 13 detects the number of pixels up to the next character, shifts it horizontally by this number of pixels, and
, a part of the binarized signals of the vertical p pixels is stored in the buffer 11.

一部バッファ11の内容は、たとえば、第6図(a)、
(b)、(C)のように変化する。
The contents of the partial buffer 11 are, for example, as shown in FIG.
It changes as shown in (b) and (C).

認識処理回路15は一文字バッファ14に格納されてい
る二値化データから1文字を認識するもので、公知のた
とえば特公昭59−6418などに記載しであるもので
よい。即ち、この認識処理回路15は垂直及び水平の文
字エリア内の各行又は各列ごとに文字構成部分の特徴デ
ータを抽出し、この特徴データの種類及び出現順序に対
応した文字認識結果を出力する。
The recognition processing circuit 15 recognizes one character from the binary data stored in the one-character buffer 14, and may be of a known type, such as that described in Japanese Patent Publication No. 59-6418. That is, the recognition processing circuit 15 extracts feature data of character constituent parts for each row or column in the vertical and horizontal character areas, and outputs character recognition results corresponding to the type and appearance order of this feature data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の光学文字読取素では、視野位置検出回路9での論
理和を演算する部分が視野より小さく設定しているので
、論理和を演算する画素数よりも大きい文字列のものを
読取る場合に次のような問題が生じる。第3図に示すよ
うにスキャナ1と用紙3との間に傾きが生じなく、文字
列が正しく視野に入る場合に問題はないが、スキャナ1
と用紙3との間に傾きが生じて、第7図に示すように、
文字の一部が視野17からはみ出している場合には、視
野位置検出回路9では論理和か30となり正しく文字列
が視野17に入っていると判断して認識処理を行なって
しまう。そうすると一部の文字を読み飛ばして、誤まっ
た認識結果となってしまうことがある。第7図の例では
、31.32の数字「7」、「8」が一部視野17から
はみ出して読取不能で?の結果となり、33の数字「9
」が、視野17からはみ出して文字がないものとなり、
認識結果はrE123456??Jとなったり、31.
32の数字「7」、「8」がノイズと見なされる場合も
あり、そのときはrE123456」となってしまい、
データの誤まりとなる問題がある。
In conventional optical character reading elements, the part for calculating the logical sum in the visual field position detection circuit 9 is set to be smaller than the visual field, so when reading a character string larger than the number of pixels for calculating the logical sum, the following The following problems arise. As shown in FIG.
An inclination occurs between the paper 3 and the paper 3, as shown in FIG.
If a part of the character protrudes from the visual field 17, the visual field position detection circuit 9 makes a logical sum of 30, determines that the character string is correctly within the visual field 17, and performs recognition processing. If this happens, some characters may be skipped, resulting in incorrect recognition results. In the example in Figure 7, the numbers ``7'' and ``8'' in 31.32 are partially outside the field of view 17 and cannot be read. The result is the number 33 “9
” protrudes from the field of view 17 and there are no characters,
Is the recognition result rE123456? ? J or 31.
In some cases, the numbers ``7'' and ``8'' in 32 are considered noise, and in that case, it becomes ``rE123456.''
There is a problem with data errors.

本発明はこの問題を解決し、スキャナと用紙との間に傾
きが生じて誤まらないようにすることを目的する。
The present invention aims to solve this problem and prevent errors caused by tilting between the scanner and the paper.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では視野位置検出回路9で論理和を求めた結果か
ら1黒”すなわち“l”の連続する縦の長さから傾き角
度を算出し、あらかじめ定めた角度以上の場合には、認
識処理を行なわず、再度走査することにより、誤りを無
くすることができる。
In the present invention, the visual field position detection circuit 9 calculates the inclination angle from the continuous vertical length of "1 black" or "l" from the result of calculating the logical sum, and if the angle is greater than a predetermined angle, recognition processing is performed. Errors can be eliminated by re-scanning without performing this process.

第8図を用いて説明すると、視野位置検出回路9で論理
和を求めるエリアの長さをa、論理和を求めた結果で“
黒”すなわち1”となる連続の長さC11文字の高さは
あらかじめ決まっているのでこれをbとすると、(頃き
θは、 で算出できる。認識処理をするθの値をあらかじめ決め
ておき、これよりθが大きくなるとF&i処理せず誤り
を防止する。
To explain using FIG. 8, the length of the area for which the logical sum is calculated by the visual field position detection circuit 9 is a, and the result of calculating the logical sum is "
Since the height of the continuous length C11 character that becomes black "1" is determined in advance, if this is b, (the height θ can be calculated as follows.The value of θ for recognition processing is determined in advance. , when θ is larger than this, F&I processing is not performed to prevent errors.

又、論理和“黒°゛すなわち“1”の部分が視野の端に
あるものでなく、第8回のdのように“白”の部分が必
ず存在するときを文字位置としているので、dの位置か
らθを決めるようにしても良い。
Also, the character position is when the logical sum "black" or "1" part is not at the edge of the visual field, but when there is always a "white" part like d in Part 8, so d Alternatively, θ may be determined from the position of .

同様に視野の下に位置するときも同じである。The same is true when it is located below the visual field.

〔実施例〕〔Example〕

第1図に本発明の構成例を示す。1から16までは従来
装置の第2図と同じなので説明を省略する。41は文字
列高さ検出回路であり、視野位置検出回路9から送られ
る信号SETからENDまでを加算するカウンタからな
っている。論理和“黒”の連続する画素数を求める0次
に傾き算出回路42は前述のスキャナ1と用紙3止の傾
きθを式(1)で算出する。ここでa、cはあらかじめ
決まっている。1頃き算出回路42で算出したθをあら
かじめ定めていた許容傾き角度αより小さいかどうかを
判断する。
FIG. 1 shows an example of the configuration of the present invention. 1 to 16 are the same as those of the conventional device shown in FIG. 2, so their explanation will be omitted. Reference numeral 41 denotes a character string height detection circuit, which includes a counter that adds up signals from SET to END sent from the visual field position detection circuit 9. The zero-order slope calculating circuit 42, which calculates the number of consecutive pixels of the logical sum "black", calculates the slope θ of the scanner 1 and the sheet 3 stop described above using equation (1). Here, a and c are predetermined. It is determined whether θ calculated by the first calculation circuit 42 is smaller than a predetermined allowable tilt angle α.

もし、θがαより大きい場合には、認識処理中止信号を
制御回路16へ送る。またθがαより小さいか等しい場
合には、認識処理開始信号を制御回路16へ送るもので
ある。
If θ is larger than α, a recognition processing stop signal is sent to the control circuit 16. If θ is smaller than or equal to α, a recognition processing start signal is sent to the control circuit 16.

C発明の効果〕 本発明によって、スキャナが傾いて読取った場合でも誤
って認識処理することがなくなり、信転性の高い認識結
果だけを出力する。さらに、操作者はスキャナの傾きを
ほとんど気にせず読取りができるので、操作上の負担を
著しく軽減することができる。
C. Effects of the Invention] According to the present invention, even if the scanner reads at an angle, there will be no erroneous recognition processing, and only highly reliable recognition results will be output. Furthermore, since the operator can read without worrying about the tilt of the scanner, the operational burden can be significantly reduced.

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

第1図は、本発明による光学文字読取装置の構成例、第
2図は、従来技術による光学文字読取装置の構成、第3
図と第4図は、イメージセンサの視野内を概念的に示す
説明図、第5図は視野位置検出回路の具体的に構成を示
すブラケット図、第6図(a)から(C)は図1文字メ
モリの内容を概念的に示す説明図、第7図は傾きにより
誤る場合の説明図、第8図は傾き角度算出の説明図であ
る。 1・・・・・・スキャナ、    2・・・・・・手、
3・・・・・・用紙、     4・・・・・・光源、
5・・・・・・レンズ系、 6・・・・・・イメージセンサ、 7・・・・・・制御・二値化回路、 8・・・・・・メモリ、     9・・・・・・視野
位置検出回路、10・・・・・・新行検出回路、 11・・・・・・−桁バッファ、 12・・・・・・縦位置検出回路、 13・・・・・・横位置検出回路、 14・・・・・・−文字バッファ、 15・・・・・・認識処理回路、16・・・・・・制御
回路、17・・・・・・視野、 18・・・・・・−文字認識処理での横の画素数、19
・・・・・・視野位置検出回路で論理和をとる画素、2
1・・・・・・各行論理和回路、 22・・・・・・判定回路、  23・・・・・・オア
ゲート、24・・・・・・レジスタ、   25・・・
・・・ROM。 26・・・・・・レジスタ、  30・・・・・・論理
和の結果、31.32.33・・・・・・文字、 41・・・・・・文字列高さ検出回路、42・・・・・
・傾き算出回路、43・・・・・・判定回路。 特許出願人 住友電気工業株式会社 同
FIG. 1 shows a configuration example of an optical character reading device according to the present invention, FIG. 2 shows a configuration example of an optical character reading device according to the prior art, and FIG.
4 and 4 are explanatory diagrams conceptually showing the field of view of the image sensor, FIG. 5 is a bracket diagram showing the specific configuration of the field of view position detection circuit, and FIGS. 6 (a) to (C) are diagrams. FIG. 7 is an explanatory diagram conceptually showing the contents of the one-character memory, FIG. 7 is an explanatory diagram of the case where an error occurs due to the inclination, and FIG. 8 is an explanatory diagram of the calculation of the inclination angle. 1...Scanner, 2...Hand,
3...Paper, 4...Light source,
5... Lens system, 6... Image sensor, 7... Control/binarization circuit, 8... Memory, 9... Visual field position detection circuit, 10...New line detection circuit, 11...-digit buffer, 12...Vertical position detection circuit, 13...Horizontal position detection Circuit, 14...Character buffer, 15...Recognition processing circuit, 16...Control circuit, 17...Field of view, 18... -Number of horizontal pixels in character recognition processing, 19
・・・・・・Pixel that takes the logical sum in the visual field position detection circuit, 2
1... Each row OR circuit, 22... Judgment circuit, 23... OR gate, 24... Register, 25...
...ROM. 26...Register, 30...Result of OR, 31.32.33...Character, 41...Character string height detection circuit, 42.・・・・・・
- Slope calculation circuit, 43...determination circuit. Patent applicant: Sumitomo Electric Industries, Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)文字・記号等を光学的に読取る手持ち式の光学読
取装置において、光電変換素子を面状に配列してなり、
少なくとも1行分以上の文字・記号等を視野内に納める
イメージセンサと、前記イメージセンサから出力される
アナログ記号を文字領域と背景領域とに対応する二値信
号に変換する二値化回路と、二値化回路からの信号を記
憶する手段と、視野よりも小さい領域で黒の論理和から
文字エリアを検出する手段と、黒の論理和から文字エリ
アを検出するとともに、文字列が視野に対しての相対的
な角度を算出する手段と、文字を認識する手段とからな
り、文字列と視野との相対的角度が許容範囲内のときだ
け認識処理を行うことを特徴とする光学文字読取装置。
(1) In a hand-held optical reader that optically reads characters, symbols, etc., photoelectric conversion elements are arranged in a planar manner,
an image sensor that fits at least one line of characters, symbols, etc. within its field of view; a binarization circuit that converts analog symbols output from the image sensor into binary signals corresponding to a character area and a background area; A means for storing the signal from the binarization circuit, a means for detecting a character area from the logical sum of black in an area smaller than the field of view, a means for detecting the character area from the logical sum of black, and a means for detecting the character area from the logical sum of black in an area smaller than the field of view. An optical character reading device comprising means for calculating a relative angle between characters and a means for recognizing characters, and performing recognition processing only when the relative angle between the character string and the field of view is within a permissible range. .
JP63167969A 1988-07-06 1988-07-06 Optical character reader Pending JPH0217585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63167969A JPH0217585A (en) 1988-07-06 1988-07-06 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63167969A JPH0217585A (en) 1988-07-06 1988-07-06 Optical character reader

Publications (1)

Publication Number Publication Date
JPH0217585A true JPH0217585A (en) 1990-01-22

Family

ID=15859390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63167969A Pending JPH0217585A (en) 1988-07-06 1988-07-06 Optical character reader

Country Status (1)

Country Link
JP (1) JPH0217585A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60229185A (en) * 1984-04-26 1985-11-14 Fujitsu Ltd Skew detecting system
JPS6319090A (en) * 1986-07-11 1988-01-26 Sumitomo Electric Ind Ltd Optical character reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60229185A (en) * 1984-04-26 1985-11-14 Fujitsu Ltd Skew detecting system
JPS6319090A (en) * 1986-07-11 1988-01-26 Sumitomo Electric Ind Ltd Optical character reader

Similar Documents

Publication Publication Date Title
JPH07120389B2 (en) Optical character reader
US5054104A (en) Optical character reader
JPH0731717B2 (en) Optical reader
JPH0217585A (en) Optical character reader
JP2722434B2 (en) Optical character reader
JP2567852B2 (en) Optical character reader
JP2514660B2 (en) Optical character reader
JPS6278685A (en) optical character reader
JP2710280B2 (en) Optical character reader
JPS61289476A (en) Format forming system for character reader
JPS63118893A (en) optical character reader
JP2925300B2 (en) Optical character reader
JPS6385992A (en) code reader
JPH0198088A (en) optical character reader
JPH0469785A (en) Optical information reader
JP2925275B2 (en) Optical character reader
JPS6314392B2 (en)
JPH01177177A (en) Optical character reader
EP0140527A2 (en) Document reading system
JPS63238683A (en) optical character reader
JPS63211481A (en) optical character reader
JPH01177176A (en) Optical character reader
JPS594064B2 (en) character reading device
JPS6278686A (en) optical character reader
JPS5878270A (en) Optical character reader