JPH0414193A - Italic character recognition method - Google Patents
Italic character recognition methodInfo
- Publication number
- JPH0414193A JPH0414193A JP2118442A JP11844290A JPH0414193A JP H0414193 A JPH0414193 A JP H0414193A JP 2118442 A JP2118442 A JP 2118442A JP 11844290 A JP11844290 A JP 11844290A JP H0414193 A JPH0414193 A JP H0414193A
- Authority
- JP
- Japan
- Prior art keywords
- character
- charactors
- counting
- characters
- sfield
- 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
- 238000000034 method Methods 0.000 title description 7
- 230000003287 optical effect Effects 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 claims description 3
- 238000000605 extraction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Character Input (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、光センサー等で読み取られた文字画像を文字
として認識する方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for recognizing character images read by an optical sensor or the like as characters.
[従来の技術]
従来の斜体文字と通常文字(明朝体やゴシック体等)を
認識する手段に於て、文字を認識する場合に、斜体かど
うかを判定するしないで文字認識を実行していた。[Prior art] In conventional means for recognizing italic characters and regular characters (Mincho typeface, Gothic typeface, etc.), when recognizing characters, character recognition is performed without determining whether or not they are italicized. Ta.
しかし、この様な認識手段では、文字を認識するときの
認識用の辞書(パターン辞書または周辺特徴辞書)の範
囲が斜体と通常文字の両方の領域に及んでしまい認識時
間が長くなってしまった。However, with this type of recognition method, the range of the recognition dictionary (pattern dictionary or peripheral feature dictionary) when recognizing characters extends to both italic and regular characters, resulting in a long recognition time. .
また多くの辞書領域を検索するので、認識を失敗して認
識率も低下してしまった。Furthermore, since many dictionary areas are searched, recognition fails and the recognition rate decreases.
そこで本発明はこの様な問題に鑑みてなされたもので、
その目的とするところは文字(単記)が斜体かどうかを
自動的に判定して文字の認識率を向上し、かつ認識時間
を短縮する認識方法を提供することにある。Therefore, the present invention was made in view of such problems.
The purpose is to provide a recognition method that automatically determines whether a character (single writing) is italic, improves the character recognition rate, and shortens the recognition time.
[課題を解決するための手段]
本発明の斜体文字認識方法は、光センサー等により実現
する読み取り画像と、前記入力された文字領域を主操作
方向に文字かどうかを計数する手段と、前記入力された
文字領域を主操作方向に対して左下がりのある角度で文
字かどうかを計数する手段と、前記計数する手段を副操
作方向に繰り返す手段と、斜体文字とその他の文字に分
割された文字を認識するためのパターン辞書または周辺
特徴辞書と、前記入力画像を文字毎に正規化する手段と
、正規化された文字領域に於て斜体文字かどうかを判定
する手段と、前記正規化された文字を前記認識辞書と比
較する手段とからなる。[Means for Solving the Problems] The italic character recognition method of the present invention includes: a read image realized by an optical sensor or the like; a means for counting whether the input character area is a character in the main operation direction; means for counting whether or not the character area is a character at an angle downward to the left with respect to the main operation direction; means for repeating the counting means in the sub-operation direction; and characters divided into italic characters and other characters. a pattern dictionary or a peripheral feature dictionary for recognizing the character, a means for normalizing the input image for each character, a means for determining whether or not the normalized character area is an italic character; and means for comparing characters with the recognition dictionary.
以下に本発明の認識手段の詳細を図示した実施例に基づ
いて説明する。The details of the recognition means of the present invention will be explained below based on illustrated embodiments.
第1図が、本発明の文字認識手段のフロチャートである
。第2図が、画像入力101によって得られた文字画像
の例である。FIG. 1 is a flowchart of the character recognition means of the present invention. FIG. 2 is an example of a character image obtained by the image input 101.
文字認識は、先ず文字行の抽出102を実行して画像中
の文字行領域を抽出する0文字行領域の抽出102は、
画像の副操作方向201の文字ビットを計数することで
その頻度の大きい領域を文字行と判定する。文字行が決
定されると、その行に付いての主操作方向202の文字
ビットの計数を実行する。この計数は、通常文字用の特
徴抽出に使用される。先ず副操作スタートラインをカウ
ンターにセット103する0次に計数スタートライン2
03をカウンターにセット104する。計数スタートラ
インは、文字行領域の抽出102で求められた文字行の
もっとも上のラインである。For character recognition, first perform character line extraction 102 to extract a character line area in an image.
By counting the character bits in the sub-operation direction 201 of the image, an area where the frequency is high is determined to be a character line. Once a character line is determined, counting of character bits in the main operating direction 202 for that line is performed. This count is used for feature extraction for normal characters. First, set the sub-operation start line on the counter 103. 0th order counting start line 2
Set 03 on the counter 104. The counting start line is the top line of the character lines obtained in the character line area extraction 102.
そのラインより主操作方向202に文字ビットの数を計
数105する6文字ビットの計数は、文字行領域の抽出
102で得られた最も下のライン204である0行の終
了ライン204まで計数が終了したら106、副操作方
向に次の主操作ラインを計数する。副操作方向にも計数
が終了したら107、次に斜体文字用の特徴抽出用の文
字ビットの計数を開始する。斜体文字用の特徴抽出文字
ビットの計数の方法は、第3図に示すように、主操作方
向202に°θ°301角分左下がりに計数する。斜体
文字用計数方向成分302は、通常経験的に
tanθ=1/6 303
程度である。計数は、以下のようにして実行される。先
ず1り操作スタートラインをカウンターにセット108
する0次に計数スタートライン203をカウンターにセ
ット109する。計数スタートラインは1文字行領域の
抽出102で求められた文字行のもっとも上のラインで
ある。そのラインより斜体文字用計数方向302に文字
ビットの数を計数110する0文字ビットの計数は、文
字行領域の抽出102で得られた最も下のライン204
である0行の終了ライン204まで計数が終了したら1
11、副操作方向に次の主操作ラインを計数する。副操
作方向にも計数が終了したら112、文字ビットの計数
は終了する。The number of character bits is counted 105 in the main operation direction 202 from that line.The counting of 6 character bits is completed up to the end line 204 of the 0th line, which is the lowest line 204 obtained in the character line area extraction 102. Then, 106, the next main operation line is counted in the sub-operation direction. When counting is completed in the sub-operation direction as well (107), counting of character bits for feature extraction for italic characters is started. As shown in FIG. 3, the feature extraction character bits for italic characters are counted downwardly to the left by 301 degrees in the main operation direction 202. The counting direction component 302 for italic characters is usually approximately tanθ=1/6 303 based on experience. Counting is performed as follows. First, set the start line on the counter 108
The zeroth order counting start line 203 is set 109 on the counter. The counting start line is the top line of the character lines obtained in the extraction step 102 of one character line area. The number of character bits is counted 110 in the counting direction 302 for italic characters from that line.
When counting is completed up to the end line 204 of the 0th row, 1
11. Count the next main operation line in the sub-operation direction. When counting is completed in the sub-operation direction as well (112), counting of character bits is completed.
続いて、文字認識のメインルーチンがスタートする。文
字認識は、文字行の抽出102で決定された文字行領域
の文字成分について実行される。Next, the main routine for character recognition starts. Character recognition is performed on the character components of the character line area determined in character line extraction 102.
文字行領域を副操作スタートラインより副操作方向20
1に各文字を切り出し、文字毎に文字の大きさを拡大縮
小して正規化する。ここでの文字の切り圧し方法は1文
字輪郭の抽出法等により実現される。文字が切り出され
るとその文字の存在している領域(副操作方向201)
が決定される。Move the character line area from the sub-operation start line to the sub-operation direction 20
1, cut out each character, scale the size of each character, and normalize it. The method of cutting and compressing characters here is realized by a method of extracting a single character outline, etc. When a character is cut out, the area where the character exists (sub-operation direction 201)
is determined.
その文字領域に於て、105と110で計数された文字
ビットの値を比較する。その計数値の最大値と計数分布
特性により切り出された文字が斜体文字か通常文字かを
判定114する。ここで計数分布特性の詳細を第4図(
a)、(b)に示す。In that character area, the character bit values counted at 105 and 110 are compared. It is determined 114 whether the extracted character is an italic character or a normal character based on the maximum value of the count value and the count distribution characteristic. Here, the details of the count distribution characteristics are shown in Figure 4 (
Shown in a) and (b).
第4図(a)、(b)は、“D″の文字による計数分布
特性を示した図である。第4図(a)に示す通常文字”
D”401は、各ビットの主操作方向の文字ビットを計
数するとその分布特性は、402の様になる。また主操
作方向に°゛θ“301の角度を付けて計数した時の計
数分布特性は、403の様になる。第4図(b)に示す
斜体文字°“D”404は、各ビットの主操作方向の文
字ビットを計数するとその分布特性は、405の様にな
る。また主操作方向に“°θ“301の角度を付けて計
数した時の計数分布特性は、406の様になる。この様
に、計数分布特性は、“θ”角の計数によって文字の再
生率が明らかに異なるので、その特性値の形状分布と計
数値の最大値により、斜体文字かどうかを判断114す
る。次に、114に於て判断された文字種によって、相
当する認識用の辞書と正規化された文字とを比較して文
字を認識115する。ここで、114での形状分布値に
よってその形状により文字種を絞り込み(同一文字種中
での絞り込み)、認識時間を短縮するようにする1以上
を副操作方向の最終ラインまで繰り返し、文字認識を終
了する。FIGS. 4(a) and 4(b) are diagrams showing count distribution characteristics according to the letter "D". Ordinary characters shown in Figure 4(a)
D"401 has a distribution characteristic when counting character bits in the main operation direction of each bit as shown in 402. Also, the count distribution characteristic when counting with an angle of °゛θ"301 in the main operation direction. will look like 403. The italic character ° "D" 404 shown in FIG. 4(b) has a distribution characteristic as shown in 405 when character bits in the main operation direction of each bit are counted. Further, the count distribution characteristic when counting is performed with an angle of "°θ" 301 in the main operation direction is as shown in 406. As described above, since the count distribution characteristic clearly changes the reproduction rate of a character depending on the count of the "θ" angle, it is determined 114 whether the character is an italic character or not based on the shape distribution of the characteristic value and the maximum value of the count value. Next, based on the character type determined in step 114, the corresponding recognition dictionary is compared with the normalized character to recognize the character (115). Here, character types are narrowed down based on the shape using the shape distribution value in step 114 (narrowing down within the same character type) to shorten the recognition time.Repeat 1 or more until the final line in the sub-operation direction to finish character recognition. .
[発明の効果]
以上、説明したように本発明によれば、短い認識時間で
斜体文字とそうでない通常文字の認識が可能になる。[Effects of the Invention] As described above, according to the present invention, italicized characters and other normal characters can be recognized in a short recognition time.
第1図は、本発明によるフローチャート構成の1例を示
す図、第2図は、入力された文字画像の1例を示す図、
第3図は、本発明による主操作方向の計数角度の実施例
を示す図、第4図(a)、(b)は、本発明による文字
ビット計数分布特性の1例を示す図である5
通常り文字font
通常計数分布特性
斜体用計数分布特性
斜体り文字font
通常計数分布特性
斜体用計数分布特性
以上
ィi1人フート2o3
考
因
第
升
口FIG. 1 is a diagram showing an example of a flowchart configuration according to the present invention, FIG. 2 is a diagram showing an example of an input character image,
FIG. 3 is a diagram showing an example of the counting angle in the main operation direction according to the present invention, and FIGS. 4(a) and (b) are diagrams showing an example of character bit count distribution characteristics according to the present invention. Normal letter font Normal count distribution characteristics Count distribution characteristics for italics Italic letter font Normal count distribution characteristics Count distribution characteristics for italics More than i1 person foot 2o3 Consideration No. 1 mouth
Claims (1)
どうかを計数する手段と、 (c)、前記入力された文字領域を主操作方向に対して
左下がりのある角度で文字かどうかを計数する手段と、 (d)、前記計数する手段を副操作方向に繰り返す手段
と、 (e)、斜体文字とその他の文字に分割された文字を認
識するためのパターン辞書または周辺特徴辞書と、 (f)、前記入力画像を文字毎に正規化する手段と、正
規化された文字領域に於て斜体文字かどうかを判定する
手段と、 (g)前記正規化された文字を前記認識辞書と比較する
手段を具備することを特徴とする斜体文字認識方法。[Scope of Claims] (a) A read image realized by an optical sensor or the like; (b) Means for counting whether the input character area is a character in the main operation direction; (c) The input (d) means for repeating the counting means in the sub-operation direction; (e) italicized characters; a pattern dictionary or peripheral feature dictionary for recognizing characters divided into other characters; (f) means for normalizing the input image character by character; (g) means for comparing the normalized characters with the recognition dictionary.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2118442A JPH0414193A (en) | 1990-05-08 | 1990-05-08 | Italic character recognition method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2118442A JPH0414193A (en) | 1990-05-08 | 1990-05-08 | Italic character recognition method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0414193A true JPH0414193A (en) | 1992-01-20 |
Family
ID=14736745
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2118442A Pending JPH0414193A (en) | 1990-05-08 | 1990-05-08 | Italic character recognition method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0414193A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5387360A (en) * | 1992-10-07 | 1995-02-07 | Ethylene Chemical Co., Ltd. | Engine antifreeze coolant composition |
-
1990
- 1990-05-08 JP JP2118442A patent/JPH0414193A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5387360A (en) * | 1992-10-07 | 1995-02-07 | Ethylene Chemical Co., Ltd. | Engine antifreeze coolant composition |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2713622B2 (en) | Tabular document reader | |
| JP2788506B2 (en) | Character recognition device | |
| JP2612383B2 (en) | Character recognition processing method | |
| JPS59158482A (en) | Character recognizing device | |
| JPS60110089A (en) | Character recognizer | |
| KR930000035B1 (en) | Gothic type korean fonts character extracting method using font wide changing | |
| JPS62259194A (en) | Optical character reader | |
| JPH0371380A (en) | Character recognizing device | |
| JP3277977B2 (en) | Character recognition method | |
| JP2510722B2 (en) | How to distinguish uppercase and lowercase letters in English | |
| JP2963474B2 (en) | Similar character identification method | |
| JPH11120291A (en) | Pattern recognition system | |
| JPH06282680A (en) | Character recognizing processor | |
| JPS63109592A (en) | Character recognition system | |
| JPS6120180A (en) | Optical character recognizing device | |
| JPH05298487A (en) | Alphabet recognizing device | |
| JPH06119497A (en) | Character recognition method | |
| JP2922949B2 (en) | Post-processing method for character recognition | |
| JPH03150690A (en) | character recognition device | |
| JPH02230484A (en) | Character recognizing device | |
| JPH05108882A (en) | Character recognition device | |
| JPH06139277A (en) | Electronic dictionary device | |
| JPH02242391A (en) | Character recognizing system | |
| JPH05242299A (en) | Character recognition device | |
| JPH04335487A (en) | Character recognition device character extraction method |