JPH0668304A - Handwritten character normalization system - Google Patents
Handwritten character normalization systemInfo
- Publication number
- JPH0668304A JPH0668304A JP4217714A JP21771492A JPH0668304A JP H0668304 A JPH0668304 A JP H0668304A JP 4217714 A JP4217714 A JP 4217714A JP 21771492 A JP21771492 A JP 21771492A JP H0668304 A JPH0668304 A JP H0668304A
- Authority
- JP
- Japan
- Prior art keywords
- character
- reference point
- point
- center
- feature
- 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)
- Character Discrimination (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は手書き文字正規化方式に
係り、特に手書き文字を認識するときの前処理の1部で
ある入力文字の傾きの補正を行う正規化方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten character normalization method, and more particularly to a normalization method for correcting the inclination of an input character, which is a part of preprocessing when recognizing a handwritten character.
【0002】[0002]
【従来の技術】近年コンピュータ等による情報処理装置
の普及に伴いこれらの装置への入力手段として、例えば
紙等に書いた手書き文字を読み取ることが要求されてい
る。このため、様々な手書きの文字パターンをできるだ
け正確に読み取るため、文字認識の前処理として、文字
の大きさや傾きを一様に揃える文字正規化処理が求めら
れている。2. Description of the Related Art In recent years, with the spread of information processing apparatuses such as computers, it has been required to read handwritten characters written on, for example, paper as an input means for these apparatuses. For this reason, in order to read various handwritten character patterns as accurately as possible, there is a demand for a character normalization process as a preprocess for character recognition so that the sizes and inclinations of the characters are made uniform.
【0003】手書き文字を認識する場合、図9(A)に
示す如く、文字を複数の領域に分割(この例では4分
割)して、それぞれの領域毎に特徴量を計算し、特徴量
によるパターンマッチングを行う手法がある。When recognizing a handwritten character, as shown in FIG. 9A, the character is divided into a plurality of areas (in this example, four divisions), and the characteristic amount is calculated for each area. There is a method of performing pattern matching.
【0004】このような手法においては、入力文字と辞
書の文字を比較する時に、同一の文字に対して同一の部
分が分割領域内に含まれているようなときに正確な認識
が可能となる。しかし、図9(B)に示す如く、文字が
傾いているような場合は正確な認識ができなくなるの
で、何等かの手段により文字の傾きを補正することが必
要となる。In such a method, when the input character and the character in the dictionary are compared, it is possible to perform accurate recognition when the same portion is included in the divided area for the same character. . However, as shown in FIG. 9B, when the character is tilted, accurate recognition cannot be performed, so it is necessary to correct the tilt of the character by some means.
【0005】このため、従来の文字の傾きを補正する正
規化手段には、文字の方向性を方向コードヒストグラ
ムにより調べ、最も頻度の大きい方向をその文字方向と
して判定し、これにより傾きを補正する、OCRシー
ト全体を対象として、文字の切り出し時点でスキュー量
を補正する等のものがあった。For this reason, in the conventional normalizing means for correcting the inclination of a character, the directionality of the character is examined by the direction code histogram, the direction with the highest frequency is determined as the character direction, and the inclination is corrected by this. , The OCR sheet as a whole was subject to correction of the skew amount at the time of cutting out characters.
【0006】[0006]
【発明が解決しようとする課題】ところが前記は、そ
れ自体正確な検出が難しく、特に漢字のように画数の多
い文字に至っては、どの方向がその文字の方向であるか
ということを判断することが不可能に近い。また前記
は、この手法はOCRシートが観測部に入るときの搬送
部での機械的な誤差により生ずる用紙の傾きを補正する
ものであって、記入された文字そのものの傾きを補正す
るものではない。However, the above is difficult to detect accurately by itself, and especially for a character with a large number of strokes such as a Chinese character, it is necessary to judge which direction is the direction of the character. Is almost impossible. Further, as described above, this method corrects the inclination of the sheet caused by a mechanical error in the transport unit when the OCR sheet enters the observation unit, and does not correct the inclination of the written character itself. .
【0007】したがって本発明では、このような手書き
文字に関して、漢字のような画劃数の多い文字であって
も、文字の傾きを検出してこれを補正する手書き文字正
規化方式を提供することを目的とする。Therefore, the present invention provides a handwritten character normalization method for detecting the inclination of a handwritten character and correcting the handwritten character even if the character has a large number of strokes such as Chinese characters. With the goal.
【0008】[0008]
【課題を解決するための手段】前記目的を達成するた
め、本発明では、図1(A)に示す如く、基準点算出部
1により文字の基準点を先ず求める。基準点としては例
えば文字の重心を求める。これにより例えば図1(B)
に示すように基準点Gを得る。そしてこの基準点Gを通
るX軸、Y軸を画く。そしてこのX軸より上の領域(図
1(B)の斜線部分)の部分の特徴点GU を上部特徴点
算出部2により求める。この特徴点として、文字の基準
点より上の部分の重心を求める。In order to achieve the above object, in the present invention, as shown in FIG. 1A, a reference point calculation unit 1 first obtains a reference point of a character. As the reference point, for example, the center of gravity of the character is obtained. As a result, for example, FIG.
A reference point G is obtained as shown in. Then, an X axis and a Y axis passing through the reference point G are drawn. Then, the characteristic point G U of the area above the X axis (hatched portion in FIG. 1B) is obtained by the upper characteristic point calculation unit 2. As this feature point, the center of gravity of the portion above the reference point of the character is obtained.
【0009】同様にして下部特徴点算出部3によりこの
X軸より下の領域の部分の特徴点G D 、Y軸より右の部
分の特徴点GR 、Y軸より左の部分の特徴点GL を、そ
れぞれ下部特徴点算出部3、右部特徴点算出部4、左部
特徴点算出部5により求める。Similarly, the lower feature point calculation unit 3
Characteristic point G in the area below the X-axis D, The part to the right of the Y-axis
Minute feature point GR, G to the left of the Y axisLThe
Lower feature point calculator 3, right part feature point calculator 4, left part
It is obtained by the feature point calculation unit 5.
【0010】傾き補正部6では、このようにして求めた
上部特徴点GU 、下部特徴点GD 、右部特徴点GR 、左
部特徴点GL と、X軸、Y軸の交点である基準点Gをそ
れぞれ線で引き、各領域の傾きを求める。例えば図1
(B)に示す如く上部特徴点G U が算出されたとき、こ
のGU とGとの線とY軸との角度θU が上部領域の傾き
角度である。Inclination correction unit 6 obtains in this way
Upper feature point GU, Lower feature point GD, Right feature point GR,left
Department point GLAnd a reference point G, which is the intersection of the X-axis and the Y-axis,
Draw each line and find the slope of each area. Figure 1
Upper feature point G as shown in (B) UWhen is calculated,
GUThe angle θ between the line between G and G and the Y axisUIs the slope of the upper area
It is an angle.
【0011】さらに傾き補正部6では、このようにして
それぞれ得られた上部領域の傾き角度θU 、下部領域の
傾き角度θD 、右部領域の傾き角度θR 、左部領域の傾
き角度θL の平均値を求めて文字全体の傾きを算出す
る。かくして得られた傾きに対して、例えば基準点Gを
中心に文字を回転させたり文字を分割すること等により
傾きの補正を行う。このようにして補正した後、辞書と
照合し、文字認識を行う。[0011] In further inclination correction unit 6, Thus the inclination angle of the upper region obtained respectively theta U, the inclination angle theta D of the lower region, the inclination angle theta R of the right region, the inclination angle of the left region theta The average value of L is calculated to calculate the inclination of the entire character. The inclination thus obtained is corrected by rotating the character around the reference point G or dividing the character. After correction in this way, character recognition is performed by collating with a dictionary.
【0012】なお、図1(A)においてCは文字枠を示
している。In FIG. 1A, C indicates a character frame.
【0013】[0013]
【作用】本発明によれば、個々の文字から傾きを検出
し、その傾きを補正することにより、より正確な手書き
文字の認識が可能になる。According to the present invention, it is possible to more accurately recognize a handwritten character by detecting the inclination of each character and correcting the inclination.
【0014】[0014]
【実施例】本発明の一実施例を図2にもとづき説明す
る。図2において図1と同記号は同一部分を示し、7は
文字入力部、8は傾き算出部、9は文字回転部、10は
文字認識部、11は文字辞書である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described with reference to FIG. 2, the same symbols as in FIG. 1 indicate the same parts, 7 is a character input unit, 8 is a tilt calculation unit, 9 is a character rotation unit, 10 is a character recognition unit, and 11 is a character dictionary.
【0015】文字入力部7は文字を入力するものであ
り、例えば光学的な文字読取り部とかタブレット等によ
り構成されるものである。傾き算出部8は文字の傾きを
算出するものであり、上部特徴点算出部2、下部特徴点
算出部3、右部特徴点算出部4、左部特徴点算出部5よ
りそれぞれ算出したGU 、GD 、GR 、RL と基準点G
とを結ぶ直線と、Y軸又はX軸とのなす角度θU 、
θD 、θR 、θL を求める。The character input unit 7 is for inputting characters, and is constituted by, for example, an optical character reading unit or a tablet. The inclination calculating unit 8 calculates the inclination of the character, and G U calculated by the upper characteristic point calculating unit 2, the lower characteristic point calculating unit 3, the right characteristic point calculating unit 4, and the left characteristic point calculating unit 5, respectively. , G D , G R , R L and reference point G
An angle θ U formed by the straight line connecting with and the Y axis or X axis,
Find θ D , θ R , and θ L.
【0016】例えばGU とGとを結ぶ直線とY軸とのな
す角θU を反時計回りなら正、時計回りなら負の値とし
て求める。GD とGについても同様にしてθD を求め
る。またGR とGとを結ぶ直線とX軸とのなす角θR を
反時計回りなら正、時計回りなら負の値として求める。
GL とGについても同様にしてθL を求める。そしてこ
れらθU 、θD 、θR 、θL の平均値θmを入力文字全
体の傾きとして求める。For example, the angle θ U formed by the straight line connecting G U and G and the Y axis is determined as a positive value if it is counterclockwise and a negative value if it is clockwise. Θ D is similarly obtained for G D and G. Further, the angle θ R formed by the straight line connecting G R and G and the X-axis is obtained as a positive value if counterclockwise and a negative value if clockwise.
Similarly, for G L and G, θ L is calculated. Then, the average value θm of these θ U , θ D , θ R , and θ L is obtained as the inclination of the entire input character.
【0017】文字回転部9は、入力文字を基準点Gを中
心として−θm回転させて、その傾きの補正を行うもの
である。文字認識部10は、このようにして調整された
入力文字など、文字辞書11とを照合し、文字認識を行
うものである。The character rotating unit 9 rotates the input character about -θm about the reference point G and corrects the inclination thereof. The character recognition unit 10 collates with the character dictionary 11 such as the input character adjusted in this way to perform character recognition.
【0018】文字辞書11は入力文字を認識するため
の、文字毎の特徴等が格納されているもである。次に図
2の動作について説明する。The character dictionary 11 stores characteristics of each character for recognizing input characters. Next, the operation of FIG. 2 will be described.
【0019】手書き文字は、文字入力部1において例
えばスキャナの如き光学読み取り部により読み取られ、
文字部分が「1」(黒)、他の部分が「0」(白)の2
値のイメージデータとして入力される。The handwritten character is read in the character input section 1 by an optical reading section such as a scanner,
2 where the character part is "1" (black) and the other part is "0" (white)
Input as image data of value.
【0020】そして基準点算出部1において文字の重
心を基準点Gとして算出する。重心は次の様にして求め
られる。Then, the reference point calculation unit 1 calculates the center of gravity of the character as the reference point G. The center of gravity is calculated as follows.
【0021】[0021]
【数1】 [Equation 1]
【0022】すなわちNにより「1」の部分の画素数が
得られる。そしてXにより画素が「1」の部分のX方向
の距離を加算した値が得られ、これをNで割ることによ
り重心GのX座標(Xg)が得られる。同様にYにより
画素が「1」の部分をY方向の距離を加算した値が得ら
れ、これをNで割ることにより重心GのY座標(Yg)
が得られる。That is, the number of pixels in the portion "1" is obtained by N. Then, a value obtained by adding the distance in the X direction of the portion where the pixel is "1" is obtained by X, and by dividing this by N, the X coordinate (Xg) of the center of gravity G is obtained. Similarly, a value obtained by adding the distance in the Y direction to the portion where the pixel is "1" is obtained by Y, and this value is divided by N to obtain the Y coordinate (Yg) of the center of gravity G.
Is obtained.
【0023】次に上部特徴算出部2において、文字の
重心より上の部分に対して、その重心を上部特徴点GU
として求める。算出は、算出範囲が文字重心(Xg、Y
g)より上の部分となるだけで、前記と同様にして得ら
れる。下部特徴点算出部3では、上部特徴点算出部2と
同様に、文字重心より下の部分に対してその重心を下部
特徴点GD として求める。右部特徴点算出部4、左部特
徴点算出部5も、同様にしてそれぞれ重心の右部分、左
部分の重心を求め、右部特徴点GR 、左部特徴点GL と
する。Next, in the upper feature calculation unit 2, the center of gravity of the portion above the center of gravity of the character is determined as the upper feature point G U.
Ask as. In the calculation, the calculation range is the character center of gravity (Xg, Y
It is obtained in the same manner as described above, except for the part above g). Similar to the upper feature point calculating unit 2, the lower feature point calculating unit 3 obtains the center of gravity of the portion below the character center of gravity as the lower feature point G D. Similarly, the right-side feature point calculation unit 4 and the left-side feature point calculation unit 5 similarly obtain the right and left center-of-gravity points, respectively, and set them as the right-side feature point G R and the left-side feature point G L.
【0024】傾き補正部6では、基準点Gと、前記G
U 、GD 、GR 、GL より文字の正規化を行う。まず傾
き算出部8で前記θU 、θD 、θR 、θL を求め、その
平均値θmを入力文字の傾き角として求める。そしてこ
の傾き角にもとづき、文字回転部9では文字を基準点G
を中心にして−θmだけ回転させ、傾きを補正する。In the inclination correction unit 6, the reference point G and the G
Character normalization is performed from U , G D , G R , and G L. First, the inclination calculator 8 obtains θ U , θ D , θ R , and θ L, and obtains the average value θm as the inclination angle of the input character. Then, based on this tilt angle, the character rotation unit 9 determines that the character is the reference point G.
Rotate by -θm around to correct the inclination.
【0025】このようにして傾きの補正された文字デ
ータが文字認識部10において文字辞書11を参照して
文字認識を行う。なお、前記実施例では基準点、特徴点
に手書き文字の文字部分の重心を使用したが、図3
(A)、(B)に示す如く、文字を囲む矩形または凸多
角形を考え、文字枠内部を「1」、文字枠外を「0」と
するようなPXYを用いて、文字枠全体の重心を基準点と
し、基準点より上側の文字枠内の重心を上部特徴点とす
ることにより傾きを求めてもよい。また重心の代わりに
文字や文字枠の中心点を用いてもよい。The character data whose inclination has been corrected in this way is recognized in the character recognition unit 10 by referring to the character dictionary 11. Although the center of gravity of the character portion of the handwritten character is used as the reference point and the feature point in the above embodiment,
As shown in (A) and (B), consider a rectangle or a convex polygon that surrounds a character, and use P XY such that the inside of the character frame is “1” and the outside of the character frame is “0”, and The inclination may be obtained by using the center of gravity as the reference point and the center of gravity in the character frame above the reference point as the upper feature point. Further, the center point of a character or a character frame may be used instead of the center of gravity.
【0026】本発明の第2実施例を図4、図5により説
明する。図4は本発明の第2実施例構成図であり、図5
は分割状態説明図である。図2により説明した第一実施
例では、文字の正規化として文字の傾きを算出し、回転
による補正を行ったが、第2実施例では認識処理におけ
る文字の分割処理の正規化を行うものである。A second embodiment of the present invention will be described with reference to FIGS. FIG. 4 is a configuration diagram of a second embodiment of the present invention, and FIG.
[Fig. 6] is an explanatory diagram of a divided state. In the first embodiment described with reference to FIG. 2, the inclination of the character is calculated and the correction by rotation is performed as the normalization of the character, but in the second embodiment, the division processing of the character in the recognition processing is normalized. is there.
【0027】図4において、基準点算出部1、上部特徴
点算出部2、下部特徴点算出部3、右部特徴点算出部
4、左部特徴点算出部5、文字入力部7、文字認識部1
0、文字辞書11等は図2のそれと同様のものである。In FIG. 4, a reference point calculation unit 1, an upper characteristic point calculation unit 2, a lower characteristic point calculation unit 3, a right characteristic point calculation unit 4, a left characteristic point calculation unit 5, a character input unit 7, character recognition. Part 1
0, the character dictionary 11 and the like are the same as those in FIG.
【0028】傾き補正部6は分割線生成部21と領域分
割部22を有する。分割線生成部21では、図5(A)
に示す如く、基準点Gから各特徴点GU 、GD 、GR 、
GLを通る4本の分割線D1 、D2 、D3 、D4 を求め
る。領域分割部22では、生成されたこの4本の直線D
1 、D2 、D3 、D4 によって文字を複数の領域A1、
A2 、A3 、A4 に分割する。The inclination correction unit 6 has a dividing line generating unit 21 and a region dividing unit 22. In the dividing line generation unit 21, FIG.
As shown in, each of the feature points G U , G D , G R from the reference point G,
Four dividing lines D 1 , D 2 , D 3 and D 4 passing through G L are obtained. In the area division unit 22, the four generated straight lines D
1 , D 2 , D 3 and D 4 are used to define a character into a plurality of areas A 1 ,
Divide into A 2 , A 3 , and A 4 .
【0029】文字特徴抽出部23では、分割された領域
毎に文字の特徴として、その輪郭線の方向コードを抽出
する。ここで方向コードとは、領域内の水平な画素列、
垂直な画素列、斜めの画素(例えば45度、135度、
225度、315度等)列を数えて、その数を特徴量と
するものである。The character feature extraction unit 23 extracts the direction code of the contour line of each divided area as a character feature. Here, the direction code means a horizontal pixel row in the area,
Vertical pixel rows, diagonal pixels (eg 45 degrees, 135 degrees,
(225 degrees, 315 degrees, etc.) columns are counted and the number is used as a feature amount.
【0030】文字認識部10では、これにより得られた
特徴量と、文字辞書11とを対応させて文字の認識を行
う。なお、前記説明では文字を4つの領域に分割した例
について説明したが、分割線をさらに分割することによ
り、図5(B)に示す如く、多数の領域に分割でき、き
め細かな照合を行うことができる。The character recognition unit 10 recognizes a character by associating the feature amount thus obtained with the character dictionary 11. In the above description, an example in which a character is divided into four areas has been described, but by dividing the dividing line further, it is possible to divide into a large number of areas as shown in FIG. 5B, and fine matching can be performed. You can
【0031】本発明の第3実施例を図6、図7にもとづ
き説明する。図6は本発明の第3実施例構成図、図7は
その動作状態説明図である。前記説明では、4つの特徴
点GU 、GD 、GR 、GL はそれぞれ独立に文字の4つ
の部分から求めていたが、この実施例では、上部特徴点
GU と下部特徴点G D の2つの特徴点を求めた後に、こ
れらを用いて右部特徴点GR と左部特徴点G L を求める
ものである。A third embodiment of the present invention will be described with reference to FIGS. 6 and 7.
Explain. FIG. 6 is a block diagram of the third embodiment of the present invention, and FIG.
It is an operation state explanatory view. In the above description, four features
Point GU, GD, GR, GLAre four letters each independently
In this example, the upper feature point
GUAnd lower feature point G DAfter finding the two feature points of
Using these, the right feature point GRAnd the left feature point G LAsk for
It is a thing.
【0032】図6において、右部特徴部4′及び左部特
徴部5′以外は前記図2等と同様である。基準点算出部
1により基準点Gが得られ、上部特徴点算出部2により
上部特徴点GU が得られ、下部特徴点算出部3により下
部特徴点GD が得られたとき、右部特徴点算出部4′で
は、図7に示す如く、GU 、GD を通る直線LV に関
し、これに垂直でかつGを通る直線LH を引き、LH 上
でGより右側にある任意の点を右部特徴点とする。また
左部特徴点算出部5′ではこの直線LH 上でGより左に
ある任意の点を左部特徴点とする。6 is the same as that shown in FIG. 2 except for the right characteristic portion 4'and the left characteristic portion 5 '. When the reference point calculation unit 1 obtains the reference point G, the upper feature point calculation unit 2 obtains the upper feature point G U , and the lower feature point calculation unit 3 obtains the lower feature point G D , the right part feature at point calculator 4 ', as shown in FIG. 7, G U, relates straight line L V through G D, a straight line is drawn L H that passes through the vertical and and G to, any of the right from G on L H Let the point be the right-side feature point. In the left-side feature point calculation unit 5 ', any point on the straight line L H to the left of G is set as the left-side feature point.
【0033】このようにして傾きを求めてこれを補正し
て文字認識を正確に行うことができる。なお、図6、図
7では、上部特徴点GU 、下部特徴点GD から右部特徴
点GR、左部特徴点GL を求めたが、逆に右部特徴点G
R と左部特徴点GL を先に求めてそれを用いて上部特徴
点GU 、下部特徴点GD を求めてもよい。In this way, the inclination can be obtained and corrected to accurately perform character recognition. 6 and 7, the right characteristic point G R and the left characteristic point G L are obtained from the upper characteristic point G U and the lower characteristic point G D , but conversely, the right characteristic point G
It is also possible to obtain R and the left-side feature point G L first and use them to obtain the upper feature point G U and the lower feature point G D.
【0034】また文字によって、幅より高さの方が長い
文字(例えば1の字)ならばGU 、GD からGR 、GL
を求め、高さより幅の方が長い文字(例えば−の字)な
らば逆にするように適応させてもよい。Depending on the character, if it is a character whose height is longer than its width (for example, the character 1), G U , G D to G R , G L
May be obtained, and if the character has a width longer than the height (for example, a minus character), it may be reversed.
【0035】図8はこの例を示す。縦横長判別部25に
より文字の縦横長のいずれが大きいか判別し、切換制御
部26、第1算出部27、第2算出部28を制御する。
切換制御部26は基準点算出部1からのデータを第1算
出部27に送出するのか、第2算出部28に送出するの
かを選択するものであり、例えば幅より高さの方が長い
文字については、第1算出部27に送出する。FIG. 8 shows this example. The vertical / horizontal determination unit 25 determines which of the vertical and horizontal characters is larger, and controls the switching control unit 26, the first calculation unit 27, and the second calculation unit 28.
The switching control unit 26 selects whether to send the data from the reference point calculation unit 1 to the first calculation unit 27 or the second calculation unit 28. For example, a character whose height is longer than its width is selected. Is sent to the first calculator 27.
【0036】第1算出部27は、上部特徴点算出部2−
1と下部特徴点3−1を有する。縦横長判別部25の制
御信号により幅より高さの方が長い文字の場合には、こ
れらの算出部は切換制御部26から伝達されたGを含む
文字データにより前記の如くGU とGD を算出しこれら
をGとともに第2算出部28に送出する。逆に幅の方が
長い文字の場合には、第2算出部28から伝達されたG
とGR 、GL により先ずLH を作成し、次にGを通るL
V を作成してGU 、GD を決定する。The first calculator 27 is an upper feature point calculator 2-.
1 and a lower feature point 3-1. In the case of a character whose height is longer than width according to the control signal of the vertical / horizontal determination unit 25, these calculation units use the character data including G transmitted from the switching control unit 26 as described above for G U and G D. And sends them to the second calculator 28 together with G. On the other hand, when the character has a longer width, the G transmitted from the second calculator 28 is transmitted.
First, L H is created from G R and G L , and then L passing G
Create V to determine G U and G D.
【0037】第2算出部28は、右部特徴点算出部4−
1と左部特徴点5−1を有する。縦横長判別部25の制
御信号により幅の方が高さより長い文字の場合には、こ
れらの算出部は、切換制御部26から伝達されたGを含
む文字データによりGR とG L を算出してこれらをGと
ともに第1算出部27に送出する。逆に高さの方が長い
文字については、第1算出部27から伝達されたGとG
U 、GD によりまずL V を作成し、次にGを通るLH を
作成し、GR 、GL を決定する。The second calculating section 28 includes a right-side feature point calculating section 4-
1 and the left part feature point 5-1. Control of portrait / landscape determination unit 25
If the width of the character is longer than the height due to the signal,
These calculation units include G transmitted from the switching control unit 26.
G by character dataRAnd G LAnd calculate these as G
Both are sent to the first calculator 27. On the contrary, the height is longer
Regarding the characters, G and G transmitted from the first calculation unit 27
U, GDFirst L V, Then L through GHTo
Create and GR, GLTo decide.
【0038】このようにして傾きを算出して補正を行い
文字認識を正確にすることができる。In this way, the inclination can be calculated and corrected to make the character recognition accurate.
【0039】[0039]
【発明の効果】このように、本発明によれば、傾いた手
書き文字に対しても正規化により傾きを補正することが
可能になる。このため本発明を手書き文字認識の前処理
として使用することにより、一層正確な文字の認識が可
能になる。As described above, according to the present invention, the inclination can be corrected by normalization even with respect to the inclined handwritten character. Therefore, by using the present invention as a pre-process for handwritten character recognition, more accurate character recognition is possible.
【図1】本発明の原理説明図を示す。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の一実施例構成図を示す。FIG. 2 shows a configuration diagram of an embodiment of the present invention.
【図3】文字枠説明図を示す。FIG. 3 shows a character box explanatory diagram.
【図4】本発明の第2実施例構成図を示す。FIG. 4 shows a configuration diagram of a second embodiment of the present invention.
【図5】分割状態説明図を示す。FIG. 5 shows an explanatory diagram of a divided state.
【図6】本発明の第3実施例構成図を示す。FIG. 6 shows a configuration diagram of a third embodiment of the present invention.
【図7】動作状態説明図を示す。FIG. 7 shows an explanatory diagram of an operating state.
【図8】本発明の第4実施例構成図を示す。FIG. 8 shows a configuration diagram of a fourth embodiment of the present invention.
【図9】文字分割状態説明図を示す。FIG. 9 is an explanatory diagram of a character division state.
1 基準点算出部 2 上部特徴点算出部 3 下部特徴点算出部 4 右部特徴点算出部 5 左部特徴点算出部 6 傾き補正部 1 Reference Point Calculation Section 2 Upper Feature Point Calculation Section 3 Lower Feature Point Calculation Section 4 Right Side Feature Point Calculation Section 5 Left Side Feature Point Calculation Section 6 Tilt Correction Section
───────────────────────────────────────────────────── フロントページの続き (72)発明者 伊崎 保直 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 諏訪 美佐子 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hoshinao Izaki 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor, Misako Suwa 1015, Kamedotachu, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited
Claims (11)
Gを算出する基準点算出部(1)と、 この基準点Gの上部の中心となる上部特徴点を算出する
上部特徴点算出部(2)と、 基準点Gの下部の中心となる下部特徴点を算出する下部
特徴点算出部(3)と、 基準点Gの右部の中心となる右部特徴点を算出する右部
特徴点算出部(4)と、 基準点Gの左部の中心となる左部特徴点を算出する左部
特徴点算出部(5)と、 基準点Gと特徴点を結ぶ直線から文字の傾きを求め、こ
れにより傾きを補正する傾き補正部(6)を具備し、 手書き文字の正規化を行うことを特徴とする手書き文字
正規化方式。1. A reference point calculation unit (1) for calculating a reference point G that is the center of normalization of handwritten characters, and an upper feature point calculation unit for calculating an upper feature point that is the center of the upper part of the reference point G. (2), a lower feature point calculation unit (3) that calculates a lower feature point that is the center of the lower part of the reference point G, and a right part feature that calculates a right feature point that is the center of the right part of the reference point G A point calculation unit (4), a left-side feature point calculation unit (5) that calculates a left-side feature point that is the center of the left side of the reference point G, and a character inclination from a straight line connecting the reference point G and the feature point. A handwritten character normalization method comprising a tilt correction unit (6) for obtaining and correcting the tilt according to the obtained value, and normalizing the handwritten character.
ようにしたことを特徴とする請求項1記載の手書き文字
正規化方式。2. The handwritten character normalization method according to claim 1, wherein the center of gravity of the character portion is calculated as a reference point.
分、左の部分の文字部分の重心を特徴点として算出する
ようにしたことを特徴とする請求項1記載の手書き文字
正規化方式。3. The handwritten character normal according to claim 1, wherein the center of gravity of the character portion of the portion above, below, right, and left of the reference point is calculated as the feature point. Method.
による文字枠の重心又は中心を基準点として算出するこ
とを特徴とする請求項1記載の手書き文字正規化方式。4. The handwritten character normalization method according to claim 1, wherein the center of gravity or the center of a character frame formed by a minimum rectangle or a convex polygon including a character is used as a reference point.
による文字枠の基準点より上の部分、下の部分、右の部
分、左の部分の重心を特徴点として算出するようにした
ことを特徴とする請求項1記載の手書き文字正規化方
式。5. The center of gravity of a portion above, below, right, and left of a reference point of a character frame of a minimum rectangle or a convex polygon including a character is calculated as a feature point. The handwritten character normalization method according to claim 1, wherein the handwritten character normalization method is used.
字の傾きを求め、その角度の分だけ文字を回転させるこ
とにより文字の傾きの補正を行うことを特徴とする請求
項1記載の手書き文字正規化方式。6. The handwriting according to claim 1, wherein the inclination of the character is calculated based on the angle formed by the reference point and the feature point, and the character is rotated by the angle. Character normalization method.
割して、正規化を行うことを特徴とする請求項1記載の
手書き文字正規化方式。7. The handwritten character normalization method according to claim 1, wherein the character is divided by a straight line connecting the reference point and each feature point to perform normalization.
た点より分割線に平行な直線を引き、それらの直線で文
字を分割して、正規化を行うことを特徴とする請求項1
記載の手書き文字正規化方式。8. A normalization is performed by drawing straight lines parallel to a dividing line from a point obtained by equally dividing the dividing line connecting the reference point and each feature point, dividing the character by these straight lines. Item 1
The handwritten character normalization method described.
分の2つの部分の重心を上下の特徴点とし、上下の特徴
点を結ぶ直線に垂直で基準点を通る直線上で、基準点の
左右の任意の位置に左右の2つの特徴点を求めることを
特徴とする請求項1記載の手書き文字正規化方式。9. A barycenter of two parts, a part above and below a reference point of a character part, is defined as upper and lower feature points, and a reference line is drawn on a straight line which is perpendicular to a straight line connecting the upper and lower feature points and which passes through the reference point. The handwritten character normalization method according to claim 1, wherein two right and left feature points are obtained at arbitrary positions on the left and right sides of the point.
部分の2つの部分の重心を左右の特徴点とし、左右の特
徴点を結ぶ直線に垂直で基準点を通る直線上で、基準点
の上下の任意の位置に上下の2つの特徴点を求めること
を特徴とする請求項1記載の手書き文字正規化方式。10. The center of gravity of two parts, the right part and the left part of the character part, is defined as the left and right feature points, and the reference point is on a straight line that is perpendicular to the straight line connecting the left and right feature points and passes through the reference point. 2. The handwritten character normalization method according to claim 1, wherein two upper and lower characteristic points are obtained at arbitrary positions above and below the point.
場合は、文字部分の基準点より上の部分と下の部分の2
つの部分の重心を上下の特徴点とし、上下の特徴点を結
ぶ直線に垂直で基準点を通る直線上で基準点の左右の任
意の位置に左右の2つの特徴点を求め、また横の方が大
の場合は、文字部分の基準点より右の部分と左の部分の
2つの部分の重心を左右の特徴点とし、左右の特徴点を
結ぶ直線に垂直で基準点を通る直線上で基準点の上下の
任意の位置に上下の2つの特徴点を求めることを特徴と
する請求項1記載の手書き文字正規化方式。11. An aspect ratio of a character is calculated, and when the height is larger, 2 of the part above and below the reference point of the character part is calculated.
The center of gravity of two parts is used as the upper and lower feature points, and two feature points on the left and right are obtained at arbitrary positions on the left and right of the reference point on a straight line that passes through the reference point and is perpendicular to the line connecting the upper and lower feature points. When is large, the center of gravity of the two parts, the right part and the left part of the reference point of the character part, is the left and right feature points, and the reference is made on a straight line that passes through the reference point perpendicular to the line connecting the left and right feature points. 2. The handwritten character normalization method according to claim 1, wherein two upper and lower characteristic points are obtained at arbitrary positions above and below the point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4217714A JPH0668304A (en) | 1992-08-17 | 1992-08-17 | Handwritten character normalization system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4217714A JPH0668304A (en) | 1992-08-17 | 1992-08-17 | Handwritten character normalization system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0668304A true JPH0668304A (en) | 1994-03-11 |
Family
ID=16708590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4217714A Pending JPH0668304A (en) | 1992-08-17 | 1992-08-17 | Handwritten character normalization system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0668304A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6115506A (en) * | 1997-05-07 | 2000-09-05 | Nec Corporation | Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded |
KR101725501B1 (en) * | 2016-07-13 | 2017-04-13 | 한동대학교 산학협력단 | Method and apparatus for recognizing character |
-
1992
- 1992-08-17 JP JP4217714A patent/JPH0668304A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6115506A (en) * | 1997-05-07 | 2000-09-05 | Nec Corporation | Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded |
AU753499B2 (en) * | 1997-05-07 | 2002-10-17 | Nec Corporation | Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded |
KR101725501B1 (en) * | 2016-07-13 | 2017-04-13 | 한동대학교 산학협력단 | Method and apparatus for recognizing character |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7437001B2 (en) | Method and device for recognition of a handwritten pattern | |
RU2621601C1 (en) | Document image curvature eliminating | |
EP0750415A2 (en) | Image processing method and apparatus | |
RU2251738C2 (en) | Method for synchronizing filled machine-readable form and its template in case of presence of deviations | |
JP3471578B2 (en) | Line direction determining device, image tilt detecting device, and image tilt correcting device | |
WO1991020055A1 (en) | Self-centering character stroke thickening for optical character recognition | |
JPH0668304A (en) | Handwritten character normalization system | |
CN113537216B (en) | Dot matrix font text line inclination correction method and device | |
JP3303246B2 (en) | Image processing device | |
Hadi et al. | A novel approach of skew estimation and correction in persian manuscript text using radon transform | |
JP2635582B2 (en) | Pattern recognition method | |
JP3196291B2 (en) | Character recognition method and device | |
JPH10207978A (en) | Character pattern collating method and device therefor | |
JPH09179982A (en) | Specific pattern detecting method | |
JP2755299B2 (en) | Image processing method | |
JPH09179938A (en) | On-line handwritten character recognition device | |
JPH0573718A (en) | Area attribute identifying system | |
JP2792656B2 (en) | Restoration method of interruption of thinned data in handwritten digit recognition | |
JP2616994B2 (en) | Feature extraction device | |
JP2732752B2 (en) | Fuzzy pattern recognition device | |
JPH0656625B2 (en) | Feature extraction method | |
JP3368807B2 (en) | Character recognition method and apparatus, and storage medium storing character recognition program | |
JP2024139561A (en) | Character recognition device, method, and program | |
JP2918363B2 (en) | Character classification method and character recognition device | |
JPS6379193A (en) | Character reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20010925 |