JPH061507B2 - Character string recognition device - Google Patents

Character string recognition device

Info

Publication number
JPH061507B2
JPH061507B2 JP62011630A JP1163087A JPH061507B2 JP H061507 B2 JPH061507 B2 JP H061507B2 JP 62011630 A JP62011630 A JP 62011630A JP 1163087 A JP1163087 A JP 1163087A JP H061507 B2 JPH061507 B2 JP H061507B2
Authority
JP
Japan
Prior art keywords
character
word
image
recognition
character string
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
JP62011630A
Other languages
Japanese (ja)
Other versions
JPS63178380A (en
Inventor
慎治 佐瀬
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62011630A priority Critical patent/JPH061507B2/en
Publication of JPS63178380A publication Critical patent/JPS63178380A/en
Publication of JPH061507B2 publication Critical patent/JPH061507B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、光学的に文字を読み取る文字認識装置に関
し、特に、特定の名称を読み取る文字列読み取り装置に
関する。
Description: TECHNICAL FIELD The present invention relates to a character recognition device for optically reading characters, and more particularly to a character string reading device for reading a specific name.

(従来の技術) 従来、この種の文字認識装置は、有効なデータ入力の手
段として、開発されている。しかし、現状では、対象が
印刷文字であるか限定文字枠内に書かれた手書き文字で
あるか又は、各文字が完全に分離している等様々な限定
事項を有しているのが実情である。
(Prior Art) Conventionally, this type of character recognition device has been developed as an effective data input means. However, under the present circumstances, it is the actual situation that the target is a print character, a handwritten character written in a limited character frame, or that each character has various limitations such as being completely separated. is there.

印刷文字列の認識方式の例としては、アール・ジー・ケ
イシー・(R.G.Casey)「リカーシブセグメンテイション
アンドクラシィフィケイションオブコンポジィットキャ
ラクターパターンズ(Recursive Segmentation and Clas
sification of Composite CharacterPattens)」第6回
パタン認識国際会議プロシーディング,pp1023-1026(19
82),(Proc.6thICPR,)がある。
As an example of the recognition method of the printed character string, RG Casey `` Recursive Segmentation and Clas
sification of Composite Character Pattens) "6th International Conference on Pattern Recognition, Proceeding, pp1023-1026 (19)
82), (Proc.6th ICPR,).

又、各文字が完全に分離している例としては、中野康明
他、“文字認識と協調した表形式文書の理解”電子通信
学会論文誌'86/3Vo1.J69-DNo.3(1986)があげられる。
Also, as an example in which each character is completely separated, Yasuaki Nakano et al., “Understanding Tabular Documents In Cooperation With Character Recognition,” IEICE Transactions '86 /3Vo1.J69-DNo.3 (1986) can give.

しかし、手書き文字列は、一般には、文字枠内に書かれ
ない場合が多い。このような文字列をよみ取ることは、
非常にに有力な入力手段となるが、この場合文字は接触
していたり、不均等に並んでいるのが普通で、なおかつ
漢字には分離文字を含んでいる。従って、文字を読む以
前に文字列を一文字毎に分離する文字切り出しの性能が
十分とは言い難い現状では、上記の文字認識装置によ
り、郵便物の宛名のような比較的自由に書かれた手書き
文字を読み取ることは困難である。
However, in general, handwritten character strings are often not written in the character frame. To read a string like this,
It is a very effective input method, but in this case, the characters are usually in contact with each other, or they are arranged in an uneven manner, and the kanji contains separated characters. Therefore, under the present circumstances where the character segmentation performance of separating the character string into individual characters before reading the character is not sufficient, the character recognition device described above allows relatively free handwriting such as addressing of mail. Characters are difficult to read.

(発明が解決しようとする問題点) 上述した従来の文字認識装置では、文字切り出し性能が
十分でないという現状では、郵便物の宛名の如く比較的
自由に書かれた手書き文字を精度よく読みとることは困
難であるという欠点がある。又単語間の順序系列を用い
ていないことにより上述の単語認識方式では、十分な精
度と処理速度を得ることが困難であるという欠点があ
る。
(Problems to be Solved by the Invention) In the conventional character recognition device described above, in the current situation that the character segmentation performance is not sufficient, it is difficult to accurately read handwritten characters relatively freely written such as the address of a mail. It has the drawback of being difficult. Further, the above word recognition method has a drawback in that it is difficult to obtain sufficient accuracy and processing speed because the order sequence between words is not used.

本発明は、各文字行の先頭より、特定の文字を抽出し、
この抽出された部分を文字行から取り除くという操作を
繰り返すことにより、文字が接触したり分離した場合で
も、安定して文字を取り出すことができ、かつ、認識対
象が少数の単語の組み合わせにより構成されているとし
て、画像サイズや単語の文字数とは関わりなく、単語単
位で判定を行なうことにより、効率よく精度のよい、文
字認識が可能で、更にその単語間の順序を与えることに
より、更に効率よく精度のよい文字列認識装置を提供す
ることにある。
The present invention extracts a specific character from the beginning of each character line,
By repeating the operation of removing the extracted part from the character line, the character can be stably extracted even when the character comes into contact with or is separated, and the recognition target is composed of a combination of a few words. However, by deciding on a word-by-word basis, regardless of the image size or the number of characters in a word, efficient and accurate character recognition is possible. It is to provide an accurate character string recognition device.

(問題を解決するための手段) 入力文字図形として、その文字列を2次元座標を指定す
ることにより、2値の値が参照できる形式で保持する入
力パタンバッファと、入力パタンより、入力パタンバッ
ファと対応した形式で線分方向別に方向寄与の値による
方向画像を作成する特徴抽出部と、予め出現することの
知られている単語及び該単語間の順序系列を記憶する単
語記憶部と、各文字図形の標準パタンを線分の系列とし
て表現し、各線分の方向と許容される線分長の変動量
と、線分間の相対位置情報を記憶するための文字標準パ
タン記憶部と、与えられた文字列画像の先頭より指定さ
れた存在位置不明の文字を文字標準パタンを参照して抽
出し、該文字の外接枠及び抽出信頼度を求める文字認識
部と、上記文字認識部の結果をもとに、上記入力パタン
及び方向画像より次に読むべき画像を設定し、次に抽出
すべき文字を文字認識部に指定することにより文字認識
と文字切り出しを交互に行ない、かつ単語毎に認識信頼
度及び抽出した単語の外接枠の位置を求める単語認識部
と上記単語認識部の結果をもとに、単語間で判定を行な
い、対応する結果をもとに入力パタン及び方向画像を再
設定することにより、次に読み取るべき単語認識と単語
画像の切り出しを交互に行い、かつ次に抽出すべき単語
を単語間の順序系列に従い単語認識部に指定する判定部
を有している。
(Means for Solving the Problem) As an input character graphic, an input pattern buffer that holds a binary value by designating the two-dimensional coordinates of the character string, and an input pattern buffer based on the input pattern A feature extraction unit that creates a direction image based on the direction contribution value for each line segment direction in a format corresponding to, a word storage unit that stores words that are known to appear in advance and an ordered sequence between the words, The standard pattern of a character graphic is expressed as a series of line segments, and a standard character pattern storage unit for storing the direction variation of each line segment and the allowable variation of the line segment and the relative position information of the line segment is given. The character recognition unit which extracts a character whose existence position is unknown from the beginning of the character string image by referring to the character standard pattern, obtains the circumscribing frame of the character and the extraction reliability, and the result of the character recognition unit. And above By setting the image to be read next from the input pattern and direction image and specifying the character to be extracted next in the character recognition part, character recognition and character cutting are alternately performed, and recognition reliability and extraction for each word are performed. Based on the results of the word recognizing unit and the word recognizing unit for determining the position of the circumscribing frame of a word, determination is made between the words, and the input pattern and direction image are reset based on the corresponding result. In addition, it has a determination section that alternately performs word recognition to be read and cut out a word image, and designates a word to be extracted next as a word recognition section according to an order sequence between words.

(作用) 比較的自由に書かれた文字列(例えば、郵便物の宛先・
宛名等)を光学的に読みとる際、どの領域に各文字があ
るかを判定する文字切り出しの技術が、文字認識の技術
と共に重要な技術となるが、文字切り出しを上記文字列
に対して正確に行なうには、文字更には単語が認識され
る必要がある。そこで、本発明では、文字列の先頭より
順に文字を読みとるとし、文字列の画像の先頭より、特
定の文字画像を抽出する。抽出の方法は、文字は線分よ
り構成されているとして、線分を標準パタンに従って追
跡することにより抽出する。文字を抽出することによ
り、文字列の画像よりたとえ文字が接触していても文字
を切り出すことが可能となる。従って従来の文字認識
が、文字画像を入力とし、認識結果を文字カテゴリ名と
していたのに対して、ここでは文字カテゴリ名及び、文
字列画像を入力とし、抽出した文字画像及びその抽出信
頼度を出力としている。
(Operation) A relatively freely written character string (for example, a mail address
The technique of character cutout that determines which area each character is in when optically reading (address, etc.) is an important technology together with the technology of character recognition. To do that, letters as well as words need to be recognized. Therefore, in the present invention, it is assumed that the characters are read in order from the beginning of the character string, and a specific character image is extracted from the beginning of the image of the character string. The extraction method is to extract by tracing the line segment according to a standard pattern, assuming that the character is composed of the line segment. By extracting the character, it is possible to cut out the character from the image of the character string even if the character is in contact. Therefore, in the conventional character recognition, the character image was input and the recognition result was used as the character category name, whereas here the character category name and the character string image were input, and the extracted character image and its extraction reliability were input. It is output.

更に日本語文字には、類似文字(例えば“問”,“間”
等)及び分離しても読める文字(例えば“台”→カタカ
ナの“ム”,“ロ”)があるため、識別結果は、単語単
位で行なう方が安定した識別が期待できる。
Furthermore, Japanese characters have similar characters (for example, “question”, “between”).
Etc.) and characters that can be read even if separated (for example, “dai” → katakana “mu”, “b”), it is expected that stable identification can be expected if the identification result is performed in word units.

この場合、文字列中に出現する単語が既知であれば、文
字毎の識別結果を並べて単語又は単語の系列である文の
辞書と比較して結果を判定する後処理型の文字列認識よ
り、先に文字列中に出現可能な単語を選び出し、識別を
行なう方が効率がよく、安定した認識が可能となる。
In this case, if the word appearing in the character string is known, post-processing character string recognition that arranges the identification results for each character and compares the result with the dictionary of the sentence that is a word or a series of words to determine the result, It is more efficient and stable to perform recognition by first selecting a word that can appear in the character string and performing identification.

更に単語間に順序規則がある時、以前の単語認識の結果
をもとに次に出現する単語の候補を絞ることができれば
より高速で、より安定した識別ができる。
Further, when there is an ordering rule between words, if the candidates of the word that will appear next can be narrowed down based on the result of the previous word recognition, faster and more stable identification can be performed.

本手法で問題となるのは、文字認識において、文字が抽
出できたかどうかの判定であるが、本手法では、文字標
準パタンをもとに線分を追跡し、かつ、線分追跡に用い
られなかった文字列上の線部分をも評価することによ
り、線分追跡が不可能な場合、及び、線分追跡に用いら
れなかった文字列上の線分部が多い場合には、抽出不可
能という判定を下すことにより上記問題を解決してい
る。
The problem with this method is the determination of whether or not a character could be extracted in character recognition.In this method, a line segment is traced based on the character standard pattern, and it is used for line segment tracing. It is not possible to extract if the line segment tracing is not possible by evaluating the line portion on the character string that did not exist and if there are many line segment portions on the character string that were not used for line segment tracing. The above problem is solved by making the determination.

(実施例) 次に本発明について図面を参照して説明する。(Example) Next, this invention is demonstrated with reference to drawings.

第1図は本発明の一実施例を示すブロツク図である。第
1図において入力パタン1は2次元、2値の文字列画像
である。線分部を黒画素、背景部を白画素とし、横軸を
x、縦軸yとする座標を導入して記述される。第2図
に、文字列画像の一例として“台東区下谷・・・・”の文字
列の先頭部分を示す。同図においてハッチングを施され
た部分が黒画素等を示している。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, an input pattern 1 is a two-dimensional, binary character string image. It is described by introducing coordinates in which the line segment part is a black pixel, the background part is a white pixel, and the horizontal axis is x and the vertical axis y. FIG. 2 shows a leading portion of a character string of "Shitaya, Taito-ku ..." As an example of the character string image. In the figure, the hatched portions indicate black pixels and the like.

入力パタンは、特徴抽出部2において、方向画像3に変
換される。方向画像は文字列画像の各黒画素がどの方向
の線分に属しているか調べ、その方向別に各画素を分割
して作られる2値画像であり、例えば、横、右上がり、
縦、左上がりの4種類などが用いられる。尚、方向画像
の生成方法は従来技術である。
The input pattern is converted into a direction image 3 by the feature extraction unit 2. The direction image is a binary image formed by checking which direction each black pixel of the character string image belongs to, and dividing each pixel according to that direction.
Four types, such as vertical and upward left, are used. The method for generating the direction image is a conventional technique.

第3図は、本発明で用いる標準パタン4の一例を示して
いる。第3図を用いて標準パタンについて説明する。標
準パタン4としては、文字図形を線分の系列として記述
され保持されるものとする。また文字線の曲線部を区分
的な直線で近似することができるので、標準パタンは第
3図に示す如き有向線分による図形で表現される。ここ
で各線分の方向は第4図に示すように8方向に量子化さ
れている。なお量子化は8方向と限定せず、4方向、1
6方向など異なった方法が考えられるが以下では、簡単
のため8方向量子化の例を用いて説明する。また、一筆
書きで表現できない文字に関しては、線分の接続だけを
意味する仮想線を導入する。第3図で実線は線分を点線
は仮想線を表わしている。更に標準パタンにおいて、文
字の線幅は一定である文字モデルとする。通常、線分系
列は、筆順に従って与える。標準パタンは、本発明では
第3図のような標準パタンを2次元図形としてそのまま
保持するのではなく、第K線分の方向を示す情報dkと線
分の長さの許容変動範囲(ik,mk)と線分始点間の4種の
相対位置情報Uk,Dk,Lk,Rk<K(K=1,…K;Kは線分数を示し
第3図の場合はK=5となる)として表現し保持する。
方向dkとしてはx−y平面での方向ベクトル(△xk,△
yk)(但し△xk={0,1,−1},△yk={0,
1,−1})を用いる方法が一例として考えられる。
(第4図)いま第K線分をVで示すと標準パタンBは (1)式で表現され、Kに関して参照可能な形式で保持さ
れる。なお標準パタンは、認識の対象となる各文字クラ
スに対して1個以上を有するものとする。
FIG. 3 shows an example of the standard pattern 4 used in the present invention. The standard pattern will be described with reference to FIG. As the standard pattern 4, it is assumed that character graphics are described and held as a series of line segments. Further, since the curved line portion of the character line can be approximated by a piecewise straight line, the standard pattern is represented by a graphic with directed line segments as shown in FIG. Here, the direction of each line segment is quantized into eight directions as shown in FIG. Note that the quantization is not limited to 8 directions, but 4 directions, 1
Although different methods such as 6 directions are conceivable, the following description will be given using an example of 8-direction quantization for simplicity. For characters that cannot be expressed with a single stroke, a virtual line is introduced that means only the connection of line segments. In FIG. 3, the solid line represents a line segment and the dotted line represents a virtual line. Further, in the standard pattern, the character model is such that the line width of the character is constant. Usually, the line segment series is given according to the stroke order. According to the present invention, the standard pattern does not hold the standard pattern as shown in FIG. 3 as a two-dimensional figure as it is, but the allowable variation range (ik) of the information d k indicating the direction of the Kth line segment and the length of the line segment. , mk) and four types of relative position information between the line segment start point U k , D k , L k , R k <K (K = 1, ... K; K represents the number of line segments and in the case of FIG. 3, K = 5) and hold it.
The direction d k is the direction vector (Δ xk , Δ) in the xy plane.
yk ) (where Δ xk = {0, 1, −1}, Δ yk = {0,
1, -1}) is considered as an example.
(Fig. 4) Now, when the Kth line segment is shown by V k , the standard pattern B is It is expressed by the equation (1) and is held in a form that can be referred to with respect to K. Note that the standard pattern has one or more for each character class to be recognized.

本発明では標準パタンの形を固定せず、各線分の長さ|
|を許容される範囲で変化させて種々の標準パタン
を発生していると考える。すなわち第5図(a)に示す文
字“下”の|V|を伸長すると同図(b)の如くなり、
さらにV|を短縮すると同図(c)の如くなる。同様に
各線分の長さを種々に変化させると千変万化の字体(変
形図形)が得られるが、これらはいずれも文字“下”の
パタンであることに変わりない。しかし文字によって余
り変化させると異なった文字になってしまうものもある
ので、各線分の許容長さ変動値ik,mk及び線分始点間の
4種の相対位置情報Uk,Dk,Lk,Rkを導入し、字体の変化
を制御しあわせすぎによる誤認識を防ぐとともに、発生
する図形の数を減少することにより、処理の効率化をは
かる。又、mkはその線分が実線であるか仮想線であるか
の分類にも用いられmk>0で実線mk<0で仮想線を表わ
す。ik,mkはik≦|V|≦|mk|の範囲内でのみ線分
の長さが変動することを示し、Uk,Dk,Lk,Rkはそれぞれ
下記の条件を満足する線分系列のK番目以前に出現する
線分番号を表わし、第K線分の始点がそれ以前の線分系
列のある線分の始点を参照して、第Uk線分の始点より下
方にあり、第Dk線分の始点より上方にあり、第Lk線分の
始点より右方にあり、第Rk線分の始点より左方にあるこ
とを示す。従ってUk,Dk,Lk,Rk<Kであり、参照する線
分のない時には、0とする。(必ずU1=D1=L1=R1=0であ
る。)要するに、本発明においては、標準パタンをベク
トルの系列で表現しており、各ベクトルはその方向と長
さと始点位置で定められるが、このうち上記パラメータ
dkは方向制御しik,mkは長さを制御し、Uk,Dk,Lk,Rk
位置を制御するパラメータとして各線分に与えられてい
る。
In the present invention, the shape of the standard pattern is not fixed, but the length of each line segment
It is considered that various standard patterns are generated by changing V k | within an allowable range. That is, when | V 3 | of the character “bottom” shown in FIG. 5 (a) is expanded, it becomes as shown in FIG. 5 (b).
When V 2 | is further shortened, it becomes as shown in FIG. Similarly, if the length of each line segment is changed variously, a variegated font (deformed figure) can be obtained, but these are all the patterns of the character "bottom". However, if the characters are changed too much, different characters may result in different characters. Therefore, the allowable length variation values ik, mk of each line segment and the four types of relative position information U k , D k , L k between the line segment start points are set. , R k are introduced to control the change of fonts to prevent erroneous recognition due to too many characters, and to reduce the number of generated figures to improve the processing efficiency. Further, mk is also used to classify whether the line segment is a solid line or a virtual line, and mk> 0 represents a virtual line with a solid line mk <0. ik, mk indicates that the length of the line segment changes only within the range of ik ≦ | V k | ≦ | mk |, and U k , D k , L k , and R k satisfy the following conditions, respectively. represents the segment number appearing in the K-th previous segment sequence, the starting point of the K line segment with reference to the starting point of the line segment with a previous segment sequence, below the starting point of the U k segment Yes, above the starting point of the D k-th line segment, to the right of the starting point of the L k-th line segment, and to the left of the starting point of the R k-th line segment. Therefore, U k , D k , L k , R k <K, and when there is no line segment to refer to, it is set to 0. (Always U 1 = D 1 = L 1 = R 1 = 0.) In short, in the present invention, the standard pattern is represented by a series of vectors, and each vector is defined by its direction, length, and starting point position. Of these, the above parameters
dk controls the direction, ik and mk control the length, and U k , D k , L k , and R k are given to each line segment as parameters for controlling the position.

第1図の文字認識部5は、入力として、文字名、文字列
画像及び文字列方向画像を受け取ると、標準パタン4よ
り文字名に対応する標準パタンを用いて、文字列画像の
先頭より、照合を行ない、最もよく一致する文字図形
(以後、一致文字図形と呼ぶ)及びその抽出信頼度を求
める。ここで、標準パタンにより一致文字図形を求める
ことは、標準パタンの各線分Vkの長さ|Vk|を入力画像
と最も一致するように一意に定めることに相当する。
When the character recognition unit 5 of FIG. 1 receives a character name, a character string image, and a character string direction image as inputs, it uses the standard pattern corresponding to the character name from the standard pattern 4 to start from the beginning of the character string image. Matching is performed to obtain the best matching character graphic (hereinafter referred to as a matching character graphic) and its extraction reliability. Here, obtaining the matching character figure by the standard pattern is equivalent to uniquely determining the length | V k | of each line segment V k of the standard pattern so as to best match the input image.

一致文字図形は、例えば第6図のような文字列画像より
第3図の標準パタンを用いて照合すると第7図に実線で
示した線図形として得られる。この一致文字図形を用い
て、最外郭の座標x1,x2,y1,y2を求めれば文字図形の領
域は容易に定まり、文字切り出しが可能となる。
The matching character graphic is obtained as a line graphic shown by a solid line in FIG. 7 by collating the character string image as shown in FIG. 6 using the standard pattern of FIG. If the coordinates x 1 , x 2 , y 1 , y 2 of the outermost contour are obtained using this matching character figure, the area of the character figure can be easily determined and the character can be cut out.

文字認識部5の出力は、この文字切り出しの領域及び前
述の抽出信頼度としている。ただし、一致文字図形が抽
出できない場合は、信頼度のかわりにリジェクトコード
を出力する。
The output of the character recognition unit 5 is the area of this character cutout and the above-mentioned extraction reliability. However, if the matching character graphic cannot be extracted, a reject code is output instead of the reliability.

文字列より一致図形及びその抽出信頼度の検出の具体例
は、本願出願人の出願になる(特願昭61-307052号(特
開昭63-157290号)、文字認識装置)に詳述されている
ので詳細は省略する。
A specific example of detecting a matching figure and its extraction reliability from a character string is described in detail in the applicant's application (Japanese Patent Application No. 61-307052 (Japanese Patent Laid-Open No. 63-157290), character recognition device). Therefore, details are omitted.

単語記憶部6は、単語名と、その属するレベルと、次に
出現する単語のレベルが登録されている。単語のレベル
とは、単語間の順序関係を定めるもので、単語として、
同じ位置に出現可能な単語が一つのレベルとして予じめ
分類されている。
In the word storage unit 6, the word name, the level to which it belongs, and the level of the word that appears next are registered. The word level defines the order relation between words.
Words that can appear in the same position are preliminarily classified as one level.

以下、東京都台東区内の住所読み取りを例に本発明を説
明する。東京都台東区の単語辞書の一部を第8図に示
す。第8図において、レベル1は文字列の先頭にくる可
能性のある単語で構成され、レベル2は区名、レベル3
は、区名の次に出現する可能性のある単語で構成されて
いる。
Hereinafter, the present invention will be described by taking the address reading in Taito-ku, Tokyo as an example. FIG. 8 shows a part of the word dictionary of Taito-ku, Tokyo. In FIG. 8, level 1 is composed of words that may come at the beginning of the character string, level 2 is the ward name, and level 3
Is composed of the words that may occur after the ward name.

判定部7は、文字列画像1及び方向画像3を受け取り、
単語記憶部6より読むべきレベルの単語を一つずつ取り
出し、単語認識部9に送り、単語認識部より、文字列画
像よりの該単語の単語抽出信頼度と抽出外接枠の位置を
受け取る。判定部は、単語毎に単語抽出信頼度を比較
し、同一レベルで最も高い抽出信頼度を得た単語に判定
し、その結果を判定結果13として出力し、その結果に応
じた次に読むべき単語のレベルを設定し、又対応する抽
出外接枠位置を用いて文字列画像及びその方向画像を再
設定する。この処理を読むべきレベルがなくなるか、単
語抽出ができなくなる迄繰り返す。
The determination unit 7 receives the character string image 1 and the direction image 3,
The words of the level to be read are fetched one by one from the word storage unit 6 and sent to the word recognition unit 9, and the word recognition unit receives the word extraction reliability of the word from the character string image and the position of the extraction circumscribing frame. The determination unit compares the word extraction reliability for each word, determines the word that has the highest extraction reliability at the same level, outputs the result as the determination result 13, and should be read next according to the result. The word level is set, and the character string image and its direction image are reset using the corresponding extracted circumscribing frame positions. This process is repeated until there is no more reading level or word extraction cannot be performed.

第2図の入力パタンと、第8図の単語構成が与えられた
場合を例示する。判定部は、最初レベル1の単語を単語
記憶部に取り出しにくい。まず第2図の文字列画像とこ
れに対応する方向画像と単語名“東京都”を単語認識部
に送り、単語認識部において指定された単語の画像を文
字列中より抽出し、単語抽出信頼度C(東京都)と外接
枠の位置P(東京都)を受け取る。レベル1の他の単語
に対しても同様の処理を繰り返し、抽出信頼度C(都
内)、C(台東区)及び外接枠の位置P(都内)P(台
東区)をそれぞれ求める。そして、C(都内)<C(東
京都)<C(台東区)であれば判定結果を“台東区”と
してこの結果を13に出力しその枠サイズP(台東区)に
もとづいて、入力画像及び方向画像より、枠サイズの部
分を取り除き、入力画像及び方向画像の次の部分が先頭
にくるように画像を再設定する。第9図に第2図の“台
東区”の各文字の一致文字図形を実線で示し、その単語
外接枠サイズP(台東区)をもとに再設定した文字列画
像を示す。そして次に読むべきレベル3とし、文字列画
像を第10図、方向画像をこれに対応したものとして上記
処理を繰り返す。
The case where the input pattern of FIG. 2 and the word structure of FIG. 8 are given is illustrated. It is difficult for the determination unit to retrieve the first level 1 word into the word storage unit. First, the character string image of FIG. 2, the direction image corresponding to it, and the word name “Tokyo” are sent to the word recognition unit, and the image of the word specified by the word recognition unit is extracted from the character string. Receive degree C (Tokyo) and position P (Tokyo) of the circumscribing frame. The same processing is repeated for the other words of level 1, and the extraction reliability levels C (Tokyo), C (Taito Ward) and the position P (Tokyo) P (Taito Ward) of the circumscribing frame are obtained. If C (Tokyo) <C (Tokyo) <C (Taito Ward), the judgment result is set as "Taito Ward" and this result is output to 13 and the input image is based on the frame size P (Taito Ward). Then, the frame size portion is removed from the direction image and the direction image, and the image is reset so that the next portion of the input image and the direction image comes first. FIG. 9 shows a matching character figure of each character of “Taito Ward” in FIG. 2 by a solid line, and shows a character string image reset based on the word circumscribing frame size P (Taito Ward). Then, the level 3 to be read next is set, the character string image is set to FIG. 10, and the direction image is set to correspond to this, and the above processing is repeated.

単語認識部9は、判定部7より、文字列画像これに対応
する方向画像及び、抽出すべき単語名を受け取ると、単
語名を構成する文字を先頭より一文字毎に文字認識に指
定する。単語の先頭の文字名を指定する場合は、判定部
7より受け取った文字列画像及び方向画像をそのまま文
字認識部5に送り、文字認識部において、文字列より、
指定された文字の画像を抽出し、その抽出信頼度cと抽
出した文字外接枠位置pを文字認識部より受け取る。単
語の2番目以降の文字を文字認識に指定する場合には、
まず判定部においてなされたのと同様に同一単語内のそ
れ以前の文字に対する画像の抽出部分を取り除いた文字
画像及び方向画像を設定し、以下先頭の文字と同様に抽
出信頼度c及び外接枠位置pを求める。
When the word recognition unit 9 receives the direction image corresponding to the character string image and the word name to be extracted from the determination unit 7, the characters that form the word name are designated for character recognition from the beginning. When designating the character name at the beginning of a word, the character string image and the direction image received from the determination unit 7 are sent to the character recognition unit 5 as they are, and the character recognition unit 5
The image of the designated character is extracted, and the extraction reliability c and the extracted character circumscribing frame position p are received from the character recognition unit. To specify the second and subsequent characters of a word for character recognition,
First, the character image and the direction image in which the extracted portion of the image for the previous character in the same word is removed are set as in the determination unit, and the extraction reliability c and the circumscribed frame position are set in the same manner as the first character. Find p.

もし、文字認識部よりリジェクトコードが返されれば、
即座に単語認識部における処理は中止され判定部にリジ
ェクトコードが渡される。さもなければ、単語に含まれ
るすべての文字に対して順次抽出信頼度c及び文字切り
出し位置pを求め。各文字の抽出信頼度の平均値を単語
抽出信頼度Cとし、各文字の外接枠の結合を単語の外接
枠位置Pとして、判定部に出力する。
If a reject code is returned from the character recognition part,
Immediately, the processing in the word recognition unit is stopped and the reject code is passed to the determination unit. Otherwise, the extraction reliability c and the character cutout position p are sequentially obtained for all the characters included in the word. The average value of the extraction reliability of each character is used as the word extraction reliability C, and the combination of the circumscribing frames of each character is output as the word circumscribing frame position P to the determination unit.

判定部より、単語認識部に第2図の文字列画像とこれに
対応した方向画像及び単語名“台東区”が与えられた場
合と一例として説明する。(第9図参照) まず文字認識部に第2図の文字列画像とこれに対応した
方向画像及び文字名“台”を出力し、文字認識部より抽
出信頼度c(台)及び文字切り出し位置p(台)を入力
する。この結果がリジェクトでなければ、文字列画像及
び方向画像より台9図のp(台)より上に相当する部分
を除去し残りのp(台)より下に相当する部分を新たに
2値文字列画像及び方向画像として設定する。そして、
次に上記の新たに設定された画像及び文字名“東”を出
力し、入力として抽出信頼度c(東)及び文字切り出し
位置p(東)を文字認識部より得る。以後同様にp
(東)をもとに新たに文字列画像及び方向画像を設定し
直しこれらと共に文字名“区”を出力し抽出信頼度c
(区)及び文字切り出し位置p(区)を入力する。
A case will be described as an example where the determination unit gives the word recognition unit the character string image of FIG. 2 and the corresponding direction image and the word name “Taito-ku”. (Refer to FIG. 9) First, the character string image of FIG. 2, the corresponding direction image and the character name “stand” are output to the character recognition unit, and the character recognition unit extracts the extraction reliability c (stand) and the character cut-out position. Enter p (unit). If the result is not reject, the portion corresponding to p (stand) in the table 9 in FIG. 9 is removed from the character string image and the direction image, and the remaining portion below p (stand) is newly added to the binary character. Set as a row image and a direction image. And
Next, the newly set image and the character name "East" are output, and the extraction reliability c (East) and the character cut-out position p (East) are obtained as inputs from the character recognition unit. After that, p
The character string image and direction image are newly set based on (East), and the character name "ku" is output together with these and the extraction reliability c
Input (district) and character cutout position p (district).

こうして各文字の抽出信頼度c(台)c(東)c(区)
が求まったならば により単語抽出信頼度C(台東区)を求め単語切り出し
位置P(台東区)を P(台東区)=p(区) としてこれらを判定部に出力する。
In this way, the extraction reliability of each character c (unit) c (east) c (ward)
If is found Then, the word extraction reliability C (Taito-ku) is obtained, and the word cut-out position P (Taito-ku) is set to P (Taito-ku) = p (ku) and these are output to the determination unit.

上記のようにして、判定部、単語認識部、文字認識部の
処理を繰り返すことにより、単語認識部に登録してある
レベル毎に文字列が順次認識されていくことになる。
By repeating the processes of the determination unit, the word recognition unit, and the character recognition unit as described above, the character string is sequentially recognized for each level registered in the word recognition unit.

(発明の効果) 以上説明したように、本発明は、文字認識と文字切り出
しを融合させることにより、文字枠のない、接続した文
字をも含む文字列の認識を可能とし、かつ文字認識と文
字切り出しを別々に行なうよりも処理効率も高く、又単
語単位で判定を行ないなおかつ先に単語名を決めてから
連続的に文字認識を行なうため、認識率が向上し、更
に、単語間に順序系列を与えることにより、処理効率及
び認識率が向上し、郵便物の宛先のごとき、比較的自由
に書かれた手書き文字列をも読み取ることができる効果
がある。
(Effects of the Invention) As described above, the present invention enables recognition of a character string including a connected character without a character frame by fusing character recognition and character cutout, and character recognition and character The processing efficiency is higher than that of cutting out separately, and since the judgment is performed on a word-by-word basis and the word name is first determined and character recognition is performed continuously, the recognition rate is improved, and in addition, an order sequence between words is used. By providing the above, the processing efficiency and the recognition rate are improved, and there is an effect that a handwritten character string relatively freely written such as a mail address can be read.

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

第1図は本発明の構成の一例を示す機能ブロック図であ
る。 第2図は、本発明に適用される入力画像の一例をであ
る。 第3図は標準パタンを説明するための例図であり、第4
図は標準パタンの各線分が取りうる方向を示したもので
ある。 第5図は第3図の標準パタンにより、様々な文字図形が
表現できることを示すことである。 第6図は文字認識部に入力される2値文字列画像の一例
を第7図は、第6図の文字列画像より、文字認識部にお
いて、第3図の標準パタンを用いて抽出された一致図形
及びその文字切り出し位置を示す。 第8図は単語記憶部の構成を示す一例である。 第9図は、第2図の入力パタンに対して単語“台東区”
を抽出した際の各文字の一致図形及び各文字の切り出し
位置及び単語の切り出し位置を示した図である。 第10図は第2図の入力パタンと第8図の単語記憶部に対
してレベル1で“台東区”と判定結果が出た時の判定部
の単語切り出し後の新たに設定し直された文字列を示す
2値画像である。 図において、 1…入力パタン、 2…特徴抽出部、 3…方向画像部、 4…文字標準パタン、 5…文字認識部、 6…単語記憶部、 7…判定部、 9…単語認識部 をそれぞれ示す。
FIG. 1 is a functional block diagram showing an example of the configuration of the present invention. FIG. 2 is an example of an input image applied to the present invention. FIG. 3 is an example diagram for explaining a standard pattern.
The figure shows the directions that each line segment of the standard pattern can take. FIG. 5 shows that various character graphics can be expressed by the standard pattern of FIG. FIG. 6 shows an example of a binary character string image input to the character recognition unit. FIG. 7 shows the character string image of FIG. 6 extracted by the character recognition unit using the standard pattern of FIG. The matching figure and its character cutout position are shown. FIG. 8 is an example showing the configuration of the word storage unit. FIG. 9 shows the word “Taito-ku” for the input pattern shown in FIG.
It is a figure showing a matching figure of each character at the time of extracting, a cut-out position of each character, and a cut-out position of a word. FIG. 10 is newly set after the word is cut out by the judgment unit when the judgment result is “Taito-ku” at level 1 for the input pattern of FIG. 2 and the word storage unit of FIG. It is a binary image showing a character string. In the figure, 1 ... Input pattern, 2 ... Feature extraction unit, 3 ... Direction image unit, 4 ... Character standard pattern, 5 ... Character recognition unit, 6 ... Word storage unit, 7 ... Judgment unit, 9 ... Word recognition unit, respectively. Show.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力文字図形として、その文字列を2次元
座標を指定することにより、2値の値が参照できる形式
で保持する入力パタンバッファと、入力パタンより、入
力パタンバッファと対応した形式で線分方向別の方向寄
与の値による複数の方向画像を作成する特徴抽出部と各
文字図形の標準パタンを線分の系列として表現し、各線
分の方向と許容される線分長の変動量と、線分間の相対
位置情報を記憶するための文字標準パタン記憶部と、予
じめ、文字列中に出現することの知られている単語及び
該単語間の順序系列を記憶する単語記憶部と、与えられ
た文字列画像の先頭より読み取るべき文字を文字標準パ
タンを参照して照合し、該文字の文字切り出し位置及び
抽出信頼度を求める文字認識部と読みとるべき単語を構
成する各文字名と入力パタン及び方向画像内の照合され
るべき部分画像を上記文字認識部に与え、文字認識部の
結果である文字切り出し位置により、文字切り出しを行
ない次に照合すべき部分画像を作成することにより、文
字認識と文字切り出しを交互に行ない、単語の抽出信頼
度及び抽出した単語の外接枠の位置即ち単語切り出し位
置を求める単語認識部と上記単語認識部の結果をもと
に、単語間で判定を行ない、対応する結果の単語切り出
し位置をもとに、次に読まれるべき入力パタン及び方向
画像の部分画像を作成し、次に読みとるべき単語を単語
間の順序系列に従い単語認識部に与えることにより、単
語認識と単語画像の切り出しを交互に行ないながら単語
単位で識別判定を行なう判定部を有する文字列認識装
置。
1. An input pattern buffer for holding a character string as a input character graphic in a format in which a binary value can be referred to by designating a two-dimensional coordinate, and a format corresponding to the input pattern buffer from the input pattern. The feature extraction unit that creates multiple direction images based on the direction contribution value for each line segment direction and the standard pattern of each character graphic are expressed as a series of line segments, and the variation of each line segment direction and the allowable line segment length A character standard pattern storage unit for storing the amount and the relative position information of the line segment, and a word storage for storing a word known to appear in a character string and an order sequence between the words in advance. Part and the character to be read from the beginning of the given character string image are collated by referring to the character standard pattern, and the character recognition part that obtains the character cut-out position and extraction reliability of the character and each character that constitutes the word to be read Name and By giving a partial image to be collated in the force pattern and the direction image to the character recognition unit, and by character cutting position as a result of the character recognition unit, character cutting is performed to create a partial image to be collated next, Character recognition and character segmentation are performed alternately, and determination is made between words based on the results of the word recognition unit and the word recognition unit that obtain the extraction reliability of the word and the position of the circumscribed frame of the extracted word, that is, the word segmentation position. By making a partial image of the input pattern to be read next and the direction image based on the word cut-out position of the corresponding result, and giving the word to be read next to the word recognition unit according to the order sequence between words. A character string recognition device having a determination unit that performs identification determination on a word-by-word basis while alternately performing word recognition and cutting out a word image.
JP62011630A 1987-01-20 1987-01-20 Character string recognition device Expired - Lifetime JPH061507B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62011630A JPH061507B2 (en) 1987-01-20 1987-01-20 Character string recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62011630A JPH061507B2 (en) 1987-01-20 1987-01-20 Character string recognition device

Publications (2)

Publication Number Publication Date
JPS63178380A JPS63178380A (en) 1988-07-22
JPH061507B2 true JPH061507B2 (en) 1994-01-05

Family

ID=11783255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62011630A Expired - Lifetime JPH061507B2 (en) 1987-01-20 1987-01-20 Character string recognition device

Country Status (1)

Country Link
JP (1) JPH061507B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298678A (en) * 1987-05-29 1988-12-06 Nec Corp Word recognizing device

Also Published As

Publication number Publication date
JPS63178380A (en) 1988-07-22

Similar Documents

Publication Publication Date Title
EP0740263A2 (en) Method of training character templates for use in a recognition system
CN111401099B (en) Text recognition method, device and storage medium
Ramesh et al. Offline Kannada handwritten character recognition using convolutional neural networks
Elgammal et al. A graph-based segmentation and feature extraction framework for Arabic text recognition
CN109635808B (en) A Method for Extracting Chinese Keyword and Context in Natural Scene Images
CN115862045A (en) Method, system, device and storage medium for automatic case identification based on image-text recognition technology
Raj et al. Junction point elimination based Tamil handwritten character recognition: an experimental analysis
KR0170656B1 (en) Handwriting Character Recognition Method and Device
CN111126160B (en) Intelligent Chinese character structure evaluation method and system constructed based on five-stroke input method
Najoua et al. A robust approach for Arabic printed character segmentation
Parwej An empirical evaluation of off-line Arabic handwriting and printed characters recognition system
Shakunthala et al. Enhanced text line segmentation and skew estimation for handwritten Kannada document
KR0186025B1 (en) Candidate character classification method
JPH061507B2 (en) Character string recognition device
Oliveira et al. A synthetic database to assess segmentation algorithms
Bushofa et al. Segmentation and Recognition of Printed Arabic Characters.
Ali et al. Language independent optical character recognition for hand written text
AlKhateeb et al. Interactive knowledge discovery for baseline estimation and word segmentation in handwritten Arabic text
Shaikh et al. Bengali printed character recognition–a new approach
CN116311264B (en) A Character Recognition Method Based on Character Contour
Oladayo Yorùbá language and numerals’ offline interpreter using morphological and template matching
Amin Recognition of printed Arabic text using machine learning
US20250391186A1 (en) Vehicle mileage recognition method and apparatus
JPS63269267A (en) Character recognition method
Hirose et al. Authorship identification of ukiyoe by using rakkan image