JPS61168080A - Character recognizing device - Google Patents
Character recognizing deviceInfo
- Publication number
- JPS61168080A JPS61168080A JP60009567A JP956785A JPS61168080A JP S61168080 A JPS61168080 A JP S61168080A JP 60009567 A JP60009567 A JP 60009567A JP 956785 A JP956785 A JP 956785A JP S61168080 A JPS61168080 A JP S61168080A
- Authority
- JP
- Japan
- Prior art keywords
- character
- correcting
- section
- angle
- inclination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Character Input (AREA)
Abstract
Description
【発明の詳細な説明】
〔技術分野〕
本発明は1文字認識装置に関し、さらに詳しくは、文字
の傾きを補正してから文字認識を行う文字認識装置に関
する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a single character recognition device, and more particularly to a character recognition device that performs character recognition after correcting the inclination of a character.
手書き文字の認識に有効な方法として、原田智夫らによ
る「加重方向指数ヒストグラムと擬似ベイズ識別法を用
いた手書き漢字・ひらなが認識」(信学技報PRL−8
2−79および信学技報PRL−83−68)のような
1文字画像の境界の方向性に着1]シた方法がある。し
かし、このような方法においては1文字線の傾きのバラ
ツキによる影響が大きく、右上がりまたは右下がりの斜
めに大きく傾いた手書き文字の認識率が悪いという問題
があった。 ′
例えば、第3図(a)に示したIIN″は、同図(b)
に示した′W”と方向成分が接近し、il Wj#と誤
認識してしまう。As an effective method for recognizing handwritten characters, "Handwritten Kanji/Hiragana Recognition Using Weighted Directional Index Histogram and Pseudo-Bayesian Discrimination Method" by Tomoo Harada et al. (IEICE Technical Report PRL-8)
2-79 and IEICE Technical Report PRL-83-68), there is a method for determining the directionality of the boundary of a single character image. However, in this method, there is a problem in that the influence of variations in the slope of one character line is large, and the recognition rate of handwritten characters that are tilted diagonally upward to the right or downward to the right is poor. 'For example, IIN'' shown in Figure 3(a) is
The direction component is close to 'W' shown in , and it is mistakenly recognized as il Wj#.
本発明は、文字認識に先立って文字の傾きを補正するこ
とにより、傾いた文字の認識率を改善することにある。The present invention aims to improve the recognition rate of tilted characters by correcting the tilt of the characters prior to character recognition.
本発明にあっては1文字画像の射影を複数の角度につい
て求め、射影の幅が最小の角度を選択し、その選択した
角度で文字画像の傾き補正を行ってから文字認識を行う
。In the present invention, the projection of one character image is obtained at a plurality of angles, the angle with the smallest projection width is selected, and the inclination of the character image is corrected at the selected angle before character recognition is performed.
以下1図面を認照して1本発明の実施例につき説明する
。Hereinafter, one embodiment of the present invention will be described with reference to one drawing.
11鮭上
第1図に1本発明の一実施例による光学的文字認識装置
に概略ブロック図を示す。この図において、スキャナ1
0は原稿を走査および光電変換することにより、原稿の
画像信号を出力する。前処理部12は、その画像信号の
2値化、文字切出などの前処理を行う、切り出された文
字の画像データは文字画像メモリ14に蓄積される。FIG. 1 shows a schematic block diagram of an optical character recognition device according to an embodiment of the present invention. In this figure, scanner 1
0 outputs an image signal of the original by scanning and photoelectrically converting the original. The preprocessing unit 12 performs preprocessing such as binarization and character extraction of the image signal, and the image data of the extracted characters is stored in the character image memory 14.
傾き補正部16は、文字画像メモリ14から文字画像デ
ータを読み出し、0°、−15° (−符号は反時計方
向の角度を意味する。)、−30°。The tilt correction unit 16 reads the character image data from the character image memory 14, and reads the character image data at 0°, -15° (- sign means a counterclockwise angle), and -30°.
=45°の各角度だけ傾き補正を行う。なお、このよう
な傾き補正処理は、特開昭58−87652号「画像処
理装置」に述べられているような方法で容易に実行でき
る。射影幅検出部18は、傾き補正部16から入力され
る各角度の傾き補正後の文字画像データの垂直射影を抽
出し、それぞれの射影の幅を検出する。補正制御部20
では、射影検出部18で検出された各補正角度での射影
幅を比較し、最小の射影幅を選択する。そして、その最
小射影幅の補正角度を傾き補正部16に設定し、その角
度で傾き補正された文字画像データを傾き補正部16か
ら認識部22へ入力させる。認識部22は、1iflき
補正部16から入力された文字画像データについて、例
えば前述のような文字画像境界の方向性に着目した文字
認識を行う。Tilt correction is performed for each angle of =45°. Incidentally, such tilt correction processing can be easily executed by the method described in Japanese Patent Laid-Open No. 58-87652 entitled "Image Processing Apparatus". The projection width detection section 18 extracts the vertical projection of the character image data after the tilt correction for each angle input from the tilt correction section 16, and detects the width of each projection. Correction control section 20
Now, the projection widths at each correction angle detected by the projection detection section 18 are compared, and the minimum projection width is selected. Then, the correction angle of the minimum projection width is set in the skew correction section 16, and the character image data whose skew has been corrected at that angle is input from the skew correction section 16 to the recognition section 22. The recognition unit 22 performs character recognition on the character image data input from the 1ifl correction unit 16, focusing on, for example, the directionality of the character image boundary as described above.
例えば、第3図(a)の文字゛″N″の場合、各角度の
射影は第2図に示すごとくである。こNで。For example, in the case of the character "N" in FIG. 3(a), the projection of each angle is as shown in FIG. In this N.
30は0°補正(補正なし)の文字画像の射影、32は
一15°補正の文字画像の射影、34は一30°補正の
文字画像の射影、36は一45°補正画像の射影である
。それぞれの補正角の場合の射影幅WllTWztlW
inlW4+tのなかで、W31.が最小である。した
がって、補正制御部22は補正角度として一30°を傾
き補正部16に設定する。この場合、認識部22に入力
される補正された°′N″は第4図(a)のごとくであ
り、第4図(b)に示す辞書標準パターン゛N″に充分
接近し、第4図(c)に示す辞書標準パターン゛l W
p″と明瞭に区別される。30 is a projection of a character image with 0° correction (no correction), 32 is a projection of a character image with -15° correction, 34 is a projection of a character image with -30° correction, and 36 is a projection of a -45° corrected image. . Projection width WllTWztlW for each correction angle
Among inlW4+t, W31. is the minimum. Therefore, the correction control unit 22 sets the correction angle to -30° in the tilt correction unit 16. In this case, the corrected °'N" input to the recognition unit 22 is as shown in FIG. 4(a), and is sufficiently close to the dictionary standard pattern "N" shown in FIG. 4(b). Dictionary standard pattern ゛l W shown in figure (c)
It is clearly distinguished from p''.
このように、文字認識に先立って文字画像の傾き補正を
適切に行うため、傾いた手書き文字の認識率が大幅に向
上する。また。傾きの補正角度の決定も単純であり、装
置構成もそれほど複雑化せず、また処理速度の低下も問
題にならない。In this way, since the tilt of the character image is appropriately corrected prior to character recognition, the recognition rate of tilted handwritten characters is greatly improved. Also. The determination of the tilt correction angle is also simple, the device configuration is not so complicated, and a decrease in processing speed is not a problem.
失1鮭l
実施例1においては、1文字毎にすべて傾き補正を行っ
たが、この実施例2では、文字認識の結果に応じて、必
要な文字についてだけ傾き補正を行う。詳細について、
第1図のブロック図を再び参照し説明する。In the first embodiment, the tilt correction was performed for each character, but in the second embodiment, the tilt correction is performed only for necessary characters according to the result of character recognition. For more information,
The explanation will be given with reference to the block diagram of FIG. 1 again.
補正制御部20は1通常は補正角度として0゜を傾き補
正部16に設定する。つまり1通常は。The correction control unit 20 normally sets 0° as the correction angle in the tilt correction unit 16. In other words, 1 usually.
文字画像メモリ14から読み出された文字画像データが
そのまま、傾き補正部16を通じて認識部22に送られ
、文字認識される。認識部22は、入力文字に対する最
小距fid、の第1候補文字と。The character image data read out from the character image memory 14 is directly sent to the recognition unit 22 via the skew correction unit 16, where the character is recognized. The recognition unit 22 selects a first candidate character having a minimum distance fid from the input character.
その次に小さな距lid、の第2候補文字を選出し。Then select the second candidate character with the next smallest distance lid.
d、<DTHかつ(d、−d 、)>KTHならば(D
TH,KTHは定数)、第1候補文字を認識結果として
出力する。上記条件が成立しない場合、認識部22は、
補正制御部20に対して傾き補正を指示する。If d, <DTH and (d, -d,)>KTH, then (D
TH and KTH are constants), and the first candidate character is output as a recognition result. If the above conditions are not met, the recognition unit 22
The correction control unit 20 is instructed to perform tilt correction.
補正制御部20は、傾き補正指示を受けると。When the correction control unit 20 receives the tilt correction instruction.
実施例1の場合と同様に、傾き補正部16で一15°、
−30°、−45°の各角度の傾き補正を行わせ、また
射影検出部18で各角度の補正文字画像の射影幅を検出
させる。そして補正制御部20は、各射影幅の最小のも
のを選び、それに対応する補正角度を傾き補正部16に
設定し、その角度の補正を施された文字画像データを傾
き補正部16から認識部22へ入力させ、認識させる。As in the case of the first embodiment, the inclination correction unit 16
The inclination is corrected at each angle of -30° and -45°, and the projection detection unit 18 is caused to detect the projected width of the corrected character image at each angle. Then, the correction control unit 20 selects the smallest of each projection width, sets the corresponding correction angle in the skew correction unit 16, and transfers the character image data corrected at that angle from the skew correction unit 16 to the recognition unit. 22 and have it recognized.
認識部22は、傾き補正後の文字画像に対する第1候補
文字を最終的な認識結果として出力する。The recognition unit 22 outputs the first candidate character for the character image after the tilt correction as the final recognition result.
この実施例の場合、傾き補正の回数が減少するため、そ
の分だけ処理速度を上げることができる。In this embodiment, since the number of tilt corrections is reduced, the processing speed can be increased accordingly.
以上説明したように1本発明によれば、文字認識に先立
って文字画像の傾きが補正されるため。As explained above, according to the present invention, the inclination of a character image is corrected prior to character recognition.
傾きの大きな手書き文字の認識率を向上できる。The recognition rate of handwritten characters with large inclinations can be improved.
また、傾き補正角度は東線な方法で適切に決定されるた
め、装置構成もそれほど複雑化せず、処理速度の低下も
問題にならない。In addition, since the tilt correction angle is appropriately determined using an east line method, the device configuration does not become so complicated and a decrease in processing speed does not become a problem.
第1図は本発明による光学的文字認識装置の一例を示す
概略ブロック図、第2図は異なった角度での射影とその
幅の説明図、第3図は文字の傾きによる誤認識を説明す
るための文字パターンを示す図、第4図は傾き補正によ
る効果を説明するための文字パターンを示す図である。
10・・・スキャナ、 12・・・前処理部。
14・・・文字画像メモリ、 16・・・傾き補正部
、18・・・射影検出部、 20・・・補正制御部。
22・・・認識部。
(α)(b)
律) (し)(C)Fig. 1 is a schematic block diagram showing an example of an optical character recognition device according to the present invention, Fig. 2 is an illustration of projections at different angles and their widths, and Fig. 3 is an illustration of misrecognition due to character inclination. FIG. 4 is a diagram showing a character pattern for explaining the effect of tilt correction. 10...Scanner, 12...Preprocessing section. 14... Character image memory, 16... Tilt correction section, 18... Projection detection section, 20... Correction control section. 22... Recognition section. (α) (b) Ritsu) (shi) (C)
Claims (1)
ぞれの射影の幅を検出する手段と、この手段で検出され
た射影の幅が最小の角度を選択する手段と、この手段で
選択した角度で文字画像の傾き補正を行って文字認識部
に入力する手段とを備えることを特徴とする文字認識装
置。(1) Means for determining the projection of a character image at multiple angles and detecting the width of each projection, means for selecting the angle with the minimum width of the projection detected by this means, and the angle selected by this means. A character recognition device comprising: means for correcting the inclination of a character image and inputting the corrected character image to a character recognition unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60009567A JPS61168080A (en) | 1985-01-22 | 1985-01-22 | Character recognizing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60009567A JPS61168080A (en) | 1985-01-22 | 1985-01-22 | Character recognizing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61168080A true JPS61168080A (en) | 1986-07-29 |
Family
ID=11723869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60009567A Pending JPS61168080A (en) | 1985-01-22 | 1985-01-22 | Character recognizing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61168080A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01312682A (en) * | 1988-06-13 | 1989-12-18 | Mitsubishi Heavy Ind Ltd | Device for detecting inclination of character string or the like |
-
1985
- 1985-01-22 JP JP60009567A patent/JPS61168080A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01312682A (en) * | 1988-06-13 | 1989-12-18 | Mitsubishi Heavy Ind Ltd | Device for detecting inclination of character string or the like |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3253356B2 (en) | Document image area identification method | |
US4757551A (en) | Character recognition method and system capable of recognizing slant characters | |
US4562594A (en) | Method and apparatus for segmenting character images | |
KR100247970B1 (en) | Direction correction method of document image | |
JP2001043310A (en) | Device and method for correcting document picture | |
JPH0721320A (en) | Automatic determination device of script | |
JPH08212298A (en) | Automatic judging device for document direction and automatic correcting device for document direction | |
US4355301A (en) | Optical character reading system | |
US11281930B2 (en) | System and method for object detection | |
JPH0418351B2 (en) | ||
JPS61168080A (en) | Character recognizing device | |
JP3281469B2 (en) | Document image inclination detecting method and apparatus | |
JP3187895B2 (en) | Character area extraction method | |
JPH04276888A (en) | Character reader | |
JPH02273884A (en) | Detecting and correcting method for distortion of document image | |
JP3710164B2 (en) | Image processing apparatus and method | |
CA1148656A (en) | Optical character reading system | |
JP2674475B2 (en) | Character reader | |
JP3027232B2 (en) | Character recognition device | |
JPH05266250A (en) | Character string detector | |
JP4439054B2 (en) | Character recognition device and character frame line detection method | |
KR100480024B1 (en) | Collection Recognition Method Using Stroke Thickness Information | |
JPH0535914A (en) | Picture inclination detection method | |
JPH04372085A (en) | Character reading method | |
JPH05145753A (en) | Mark area detecting device in digital copying machine |