JPS616778A - Recognizing method of character - Google Patents
Recognizing method of characterInfo
- Publication number
- JPS616778A JPS616778A JP59128044A JP12804484A JPS616778A JP S616778 A JPS616778 A JP S616778A JP 59128044 A JP59128044 A JP 59128044A JP 12804484 A JP12804484 A JP 12804484A JP S616778 A JPS616778 A JP S616778A
- Authority
- JP
- Japan
- Prior art keywords
- character
- recognized
- value
- character pattern
- inspection
- 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 Discrimination (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、印刷された文字やマーク等を認識する文字認
識方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a character recognition method for recognizing printed characters, marks, etc.
従来、印刷された文字やマーク等を認識する方法として
は、まず認識対象文字の基準となる基準文字パターンを
第1図aに示すように第1の画像メモリ1に記憶させ、
この後認識対象の文字を撮像装置等によって読取って第
1図すに示すように第2の画像メモリ2に記憶させ、次
いでこれら各画像メモリ1.2のアドレスをb’tJa
、 z atoおよび列し1〜L、1゜のアドレス信
号によって順次指定して基準文字パターン情報および認
識対象の文字パターン情報を読出し、同一アドレスのパ
ターン情報同士での一致関係を求め、さらに一致関係と
なるアドレス数が所定数以上であるか否かを判定するこ
とにより認識対象文字が基準文字に該当するものである
か否かを判別するようにした方法が広く用いられている
。Conventionally, as a method for recognizing printed characters, marks, etc., first, a reference character pattern, which serves as a reference for characters to be recognized, is stored in a first image memory 1 as shown in FIG.
Thereafter, the characters to be recognized are read by an imaging device or the like and stored in the second image memory 2 as shown in FIG.
, z ato and columns 1 to L, 1° are sequentially designated by the address signals, the reference character pattern information and the character pattern information to be recognized are read out, the matching relationship between the pattern information of the same address is determined, and the matching relationship is further determined. A widely used method is to determine whether a character to be recognized corresponds to a reference character by determining whether the number of addresses is equal to or greater than a predetermined number.
ところが、この従来方法においては基準文字パターン情
報および認識対象の文字パターン情報の記憶アドレスが
ほぼ一致していなければならず、画像メモリ1.2のア
ドレスの割当て方に自由度がなく、画像メモリの効率的
な利用ができなくなり、結果的に多くの画像メモリが必
要となる欠点がある。However, in this conventional method, the storage addresses of the reference character pattern information and the character pattern information to be recognized must almost match, and there is no flexibility in how to allocate the addresses of the image memory 1.2. This has the disadvantage that it cannot be used efficiently and as a result, a large amount of image memory is required.
(発明の概要〕
本発明は、上記のような欠点を解決するためになされた
もので、その目的は画像メモリを効率的に利用し、少な
いメモリ容量で認識対象文字を認識することができる文
字認識方法を提供することにある。(Summary of the Invention) The present invention has been made in order to solve the above-mentioned drawbacks, and its purpose is to efficiently utilize image memory and to recognize characters to be recognized with a small memory capacity. The purpose is to provide a recognition method.
このために本発明は、認識すべき文字パターンおよび基
準文字パターンのエツジ部分に複数の検査点を設定し、
この検査点相互間の2次元平面座標位置の増減値を比較
することにより認識すべき文字を認識するようにしたも
のである。To this end, the present invention sets a plurality of inspection points at the edge portions of the character pattern to be recognized and the reference character pattern,
The character to be recognized is recognized by comparing the increase/decrease values of the two-dimensional plane coordinate positions between the inspection points.
以下、実施例に基づいて本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail based on examples.
第2図および第3図は本発明の文字認識に用いる検査領
域の設定例を示す図であり、第3図は第2図における検
査領域21の拡大図である。2 and 3 are diagrams showing an example of setting an inspection area used for character recognition according to the present invention, and FIG. 3 is an enlarged view of the inspection area 21 in FIG. 2.
これらの図において、認識対象文字「3」はその2次元
平面において合計12個の検査領域21〜32が設定さ
れ、上下、左右方向からエツジ部分についての2次元座
標位置が検出される。In these figures, a total of 12 inspection areas 21 to 32 are set on the two-dimensional plane of the character "3" to be recognized, and the two-dimensional coordinate positions of the edge portions are detected from the top, bottom, and left and right directions.
具体的には、行方向の検査領域21について代表して説
明すると、第3図に示すように複数の検査点50〜53
が設定され、この検査点50〜53の2次元座標位置5
0 (19,35)、51(8,28)、52 (7,
21)、53 (23゜14)が検出される。Specifically, to describe the inspection area 21 in the row direction as a representative, there are a plurality of inspection points 50 to 53 as shown in FIG.
is set, and the two-dimensional coordinate position 5 of these inspection points 50 to 53 is set.
0 (19,35), 51 (8,28), 52 (7,
21), 53 (23°14) are detected.
この座標位置は具体的には画像メモリの行方向および列
方向のアドレスによって検出される。Specifically, this coordinate position is detected by addresses in the row and column directions of the image memory.
これにより、検査領域21については50(19,35
)、51 (8,28)、52 (7゜2’l)、5
3 (23,14)の座標位置データ群が得られる。As a result, for the inspection area 21, 50 (19, 35
), 51 (8,28), 52 (7°2'l), 5
3 (23, 14) coordinate position data groups are obtained.
次に、このようにして得られた座標位置データ群に基づ
き、検査点相互間の座標位置の増減値が求められる。例
えば、行方向の検査領域21の連続する検査点50〜5
3については行方向の座標位置の増減値1+、Iz+1
3が次のようにして求められる。Next, based on the coordinate position data group obtained in this manner, the increase/decrease value of the coordinate positions between the inspection points is determined. For example, consecutive inspection points 50 to 5 in the inspection area 21 in the row direction
For 3, the increase/decrease value of the coordinate position in the row direction is 1+, Iz+1
3 can be found as follows.
1、−19−8=11
■2−8〜7=1
1s=1 23= 16
同様にして、行方向の検査を行なう検査領域22〜29
および列方向の検査を行なう検査領域24〜32につい
ても連続する検査点相互間における行方向および列方向
の座標位置の増減値が求められる。1, -19-8=11 ■2-8~7=1 1s=1 23=16 In the same way, inspection areas 22-29 are inspected in the row direction.
Also, for the inspection areas 24 to 32 where inspection is performed in the column direction, increases and decreases in the coordinate positions in the row and column directions between successive inspection points are determined.
この場合、増減値が一定値以下、例えば「2」以下のも
のはエツジ部分が滑らかに変化しているものとして切捨
てられる。In this case, if the increase/decrease value is less than a certain value, for example "2" or less, the edge portion is considered to be changing smoothly and is discarded.
従って、検査領域21については行方向の増減値として
I+ =11.I3−16が最終的に得られることにな
る。Therefore, for the inspection area 21, the increase/decrease value in the row direction is I+=11. I3-16 will finally be obtained.
そこで次に、このようにして得られた検査点相互間の行
方向または列方向の座標位置の増減値が増分値と減分値
とに区別され、増分値同士および減分値同士で加算され
る。Next, the increase/decrease value of the coordinate position between the inspection points in the row direction or column direction obtained in this way is distinguished into an increment value and a decrement value, and the increment values and decrement values are added together. Ru.
コノ結果、検査領域21についてはIP21=11、I
M21−−16の増分値の合計値IP21および減分値
の合計値IM21が得られる。As a result, for inspection area 21, IP21=11, I
A total value IP21 of the increment values and a total value IM21 of the decrement values of M21--16 are obtained.
残りの検査領域22〜32についても同様にして検査点
相互間座標位置の増分値および減分値の合計値IP22
.IP23.− IP32゜IM’22.IM23.−
−IM’32が求められる。Similarly, for the remaining inspection areas 22 to 32, the total value IP22 of the increment value and decrement value of the coordinate position between the inspection points is calculated.
.. IP23. - IP32°IM'22. IM23. −
-IM'32 is determined.
これにより、合計12個の検査領域21〜32において
、認識対象文字「3」のエツジ部分の特徴を表す24個
の数字列IP21.IM21゜IP22.IM22.−
IP32.IM32が得られる。As a result, in a total of 12 inspection areas 21 to 32, 24 number strings IP21. IM21°IP22. IM22. −
IP32. IM32 is obtained.
第4図は、このような数字列IP21〜IM32を得る
ための手順を示すフローチャートであり、ある1つの検
査領域XにおけるlPx。FIG. 4 is a flowchart showing the procedure for obtaining such a number string IP21 to IM32, in which lPx in one inspection area X.
IMx (x=21〜32)を得るに際し、前回の検査
領域での値IPx、IMxがクリアされ、次にn個から
成る検査点のうち隣接する検査点相互間の座標位置の増
減値Inが求められる。次に、この増減(l!!I n
が正の値か負の値かが判定され、正の値ならば所定値「
2」より大きいことを条件として合計値IPxとして累
算される。逆に負の値ならば所定値「−2」より小さい
ことを条件として合計値IMxとして累算される。When obtaining IMx (x=21 to 32), the values IPx and IMx in the previous inspection area are cleared, and then the increase/decrease value In of the coordinate positions between adjacent inspection points among the n inspection points is Desired. Next, this increase/decrease (l!!I n
It is determined whether is a positive value or a negative value, and if it is a positive value, a predetermined value "
2" is accumulated as the total value IPx. Conversely, if the value is negative, it is accumulated as the total value IMx on the condition that it is smaller than the predetermined value "-2".
このような処理が検査点nに達するまで行なわれる。こ
れにより、ある1つの検査領域における検査点相互間の
座標位置の増減値の合計値IPx。Such processing is performed until inspection point n is reached. This results in a total value IPx of increases and decreases in coordinate positions between inspection points in one inspection area.
IMxが得られる。IMx is obtained.
このような処理が全ての検査領域について行なわれるこ
とにより、前述したように認識対象文字「3」のエツジ
部分の特徴を表す24個の数字列IP21〜IM32が
得られる。By performing such processing for all inspection areas, 24 number strings IP21 to IM32 representing the characteristics of the edge portion of the recognition target character "3" are obtained as described above.
従って、基準文字パターンについてこのような数字列と
して画像メモリに予め登録しておき、認識対象文字を読
取った際にこの文字パターンのエツジ部分の特徴を表す
数字列と比較することにより、極めて簡単に認識対象文
字がいずれの文字に該当するかを認識することができる
。しかも、文字パターンの特徴が数字列で表されている
ため、画像メモリ内における記憶領域は自由に割当てる
ことができる。この結果、画像メモリの効率的な利用が
図れるようになり、画像メモリを小容量にすることがで
きる。Therefore, by pre-registering the reference character pattern as such a number string in the image memory, and comparing it with the number string representing the characteristics of the edge portion of this character pattern when the character to be recognized is read, it is extremely easy to read the character pattern. It is possible to recognize which character the recognition target character corresponds to. Moreover, since the characteristics of the character pattern are represented by a string of numbers, storage areas within the image memory can be freely allocated. As a result, the image memory can be used efficiently, and the capacity of the image memory can be reduced.
なお、実施例では文字の認識についてのみ説明したが、
マークや図形などエツジ部分によってその特徴が表され
ているものであれば同様にして認識できる。In addition, in the example, only character recognition was explained, but
Objects whose characteristics are expressed by edges, such as marks and figures, can be recognized in the same way.
以上の説明から明らかなように本発明によれば、認識す
べき文字パターンおよび基準文字パターンのエツジ部分
に複数の検査点を設定し、この検査点相互間の2次元平
面座標位置の増減値を比較するようにしたため、少ない
メモリ容量で、しかも極めて簡単に認識対象文字を認識
することができるという効果がある。As is clear from the above description, according to the present invention, a plurality of inspection points are set at the edge portions of the character pattern to be recognized and the reference character pattern, and the increase/decrease value of the two-dimensional plane coordinate position between the inspection points is calculated. Since the comparison is made, there is an effect that characters to be recognized can be recognized extremely easily with a small memory capacity.
第1図は従来の文字認識方法を説明するための文字パタ
ーン図、第2図および第3図は本発明の文字認識に用い
る検査領域および検査点の設定例を示す図、第4図は1
つの検査領域におけるエツジ部分の特徴を表す数字列を
得るための手順を示すフローチャートである。
1.2・・・画像メモリ、21〜32・・・検査領域、
50〜53・・・検査点。
代理人 大 岩 増 雄(外2名)第4図
手続補正書(自発)
1、事件の表示 特願昭59−128044号2、
発明の名称
文字認識方法
3、補正をする者
代表者片山仁へ部
5、補正の対象
発明の詳細な説明の欄。
6、補正の内容
+11明細書第2頁第12行目[アドレスを行G1゜a
−aJとあるのを「アドレスを行a 〜a 」と補正す
る。
以上FIG. 1 is a character pattern diagram for explaining a conventional character recognition method, FIGS. 2 and 3 are diagrams showing an example of setting an inspection area and inspection points used in character recognition according to the present invention, and FIG.
3 is a flowchart showing a procedure for obtaining a number string representing the characteristics of an edge portion in one inspection area. 1.2... Image memory, 21-32... Inspection area,
50-53...Inspection points. Agent: Masuo Oiwa (2 others) Figure 4 Procedural amendment (voluntary) 1. Indication of case: Patent Application No. 128044/1982 2.
Invention name character recognition method 3, person making the amendment Representative Hitoshi Katayama Part 5, column for detailed explanation of the invention to be amended. 6. Contents of amendment +11 Specification, page 2, line 12 [address line G1゜a
-aJ is corrected to "address in rows a to a". that's all
Claims (2)
と複数の基準文字に対応して予め登録された複数の基準
文字パターンとを逐次比較することにより、認識対象の
文字パターンが複数の基準文字のうちいずれに該当する
かを認識する文字認識方法において、認識すべき文字パ
ターンおよび基準文字パターンのエッジ部分に複数の検
査点を設定し、この検査点相互間の2次元平面座標位置
の増減値を比較することにより認識すべき文字を認識す
ることを特徴とする文字認識方法。(1) By successively comparing the character pattern to be recognized stored in the image memory with multiple reference character patterns registered in advance corresponding to multiple reference characters, the character pattern to be recognized is determined to be a plurality of reference characters. In a character recognition method that recognizes which of the following applies, multiple inspection points are set at the edge portions of the character pattern to be recognized and the reference character pattern, and the increase/decrease value of the two-dimensional plane coordinate position between these inspection points is calculated. A character recognition method characterized by recognizing characters to be recognized by comparing the characters.
文字パターンおよび認識すべき文字パターンに関する増
減値の比較は、増分値のみの合計値および減分値のみの
合計値によって行なうことを特徴とする特許請求の範囲
第1項記載の文字認識方法。(2) The increase/decrease value is divided into an increment value and a decrement value, and the comparison of the increase/decrease value regarding the standard character pattern and the character pattern to be recognized is performed based on the total value of only the increment value and the total value of only the decrement value. A character recognition method according to claim 1, characterized in that the character recognition method is carried out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59128044A JPS616778A (en) | 1984-06-21 | 1984-06-21 | Recognizing method of character |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59128044A JPS616778A (en) | 1984-06-21 | 1984-06-21 | Recognizing method of character |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS616778A true JPS616778A (en) | 1986-01-13 |
Family
ID=14975120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59128044A Pending JPS616778A (en) | 1984-06-21 | 1984-06-21 | Recognizing method of character |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS616778A (en) |
-
1984
- 1984-06-21 JP JP59128044A patent/JPS616778A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4310827A (en) | Device for extracting a density as one of pattern features for each feature point of a streaked pattern | |
JPH01292486A (en) | Device for recognizing character | |
US4527283A (en) | Character information separating apparatus for printed character reading systems | |
JPH05114046A (en) | Method and apparatus for nomalizing characteristic slant angle in handwritten character | |
JPS59161786A (en) | Recognition of hand written character | |
US4398177A (en) | Method and circuit arrangement for formation of features for automatic character recognition | |
CN110942473A (en) | Moving target tracking detection method based on characteristic point gridding matching | |
CN1030297A (en) | Detect the device of pattern of crest line | |
US20080131002A1 (en) | Rapid and high precision centroiding method and system for spots image | |
JPS616778A (en) | Recognizing method of character | |
JP3904397B2 (en) | Table recognition method | |
JPH06131497A (en) | Table recognition system | |
JPS646508B2 (en) | ||
JPH0462110B2 (en) | ||
JP2522511B2 (en) | Image contour tracking unit | |
JPS6172371A (en) | information reading device | |
JPS61221982A (en) | Calculating device for surrounding length of picture pattern | |
JP3948943B2 (en) | Graphic recognition method and apparatus | |
JPH0546734A (en) | Method for recognizing pattern | |
JP3265028B2 (en) | Control method of image processing device | |
CN117253020A (en) | AR special effect display method and device, electronic equipment and readable storage medium | |
JPH0211018B2 (en) | ||
JPH0679339B2 (en) | Image processing method | |
JPH0384682A (en) | Method and device for recognizing pattern | |
JPH08339416A (en) | Character reading method |