JP2686231B2 - Handwritten character online recognition method and apparatus - Google Patents

Handwritten character online recognition method and apparatus

Info

Publication number
JP2686231B2
JP2686231B2 JP6148946A JP14894694A JP2686231B2 JP 2686231 B2 JP2686231 B2 JP 2686231B2 JP 6148946 A JP6148946 A JP 6148946A JP 14894694 A JP14894694 A JP 14894694A JP 2686231 B2 JP2686231 B2 JP 2686231B2
Authority
JP
Japan
Prior art keywords
pattern
feature point
correspondence
feature
points
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 - Fee Related
Application number
JP6148946A
Other languages
Japanese (ja)
Other versions
JPH0816722A (en
Inventor
正樹 中川
勝彦 秋山
Original Assignee
正樹 中川
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 正樹 中川 filed Critical 正樹 中川
Priority to JP6148946A priority Critical patent/JP2686231B2/en
Publication of JPH0816722A publication Critical patent/JPH0816722A/en
Application granted granted Critical
Publication of JP2686231B2 publication Critical patent/JP2686231B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はタブレットから手書き入
力された文字をオンラインで認識する方法及びその装置
に係り、特に、筆を切らずに続け書きされた文字に対す
る認識率を向上させるのに好適な手書き文字オンライン
認識方法及びその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for recognizing characters handwritten on a tablet online, and is particularly suitable for improving the recognition rate for characters continuously written without cutting the brush. Online handwriting character recognition method and apparatus.

【0002】[0002]

【従来の技術】タブレット等から入力された1文字1文
字をオンラインで認識する従来の主要な方法として、構
造解析手法と、パターンマッチングを用いた方法があ
る。構造解析手法では、入力パターンの各部の形状をコ
ードに置き換えて表し、既にコード化された辞書の各カ
テゴリパターンと照合することにより文字認識を行う。
この構造解析手法は、高速な文字認識を行うことがで
き、画数や筆順に対して制約を設けることで、高認識率
が得られる。
2. Description of the Related Art As a conventional main method for recognizing each character input from a tablet or the like online, there are a structure analysis method and a method using pattern matching. In the structural analysis method, the shape of each part of the input pattern is replaced with a code to represent it, and character recognition is performed by matching with each category pattern of the already coded dictionary.
This structure analysis method can perform high-speed character recognition, and a high recognition rate can be obtained by setting restrictions on the number of strokes and stroke order.

【0003】パターンマッチングを用いた方法には、パ
ターンの統計的な変動を考慮したもの、変形のモデルに
基づいたものなどの種類がある。パターンマッチングの
中でもDPマッチングやバックトラックを採用したもの
は、入力パターン全体に適用することで続け書き文字の
認識にも有効であるが、計算量が大き過ぎることが問題
である。
There are various types of methods using pattern matching, such as a method that considers statistical fluctuations of a pattern, and a method that is based on a deformation model. Among the pattern matchings, the one that employs DP matching or backtracking is effective for recognizing continuous writing characters by applying it to the entire input pattern, but the problem is that the amount of calculation is too large.

【0004】[0004]

【発明が解決しようとする課題】タブレット等の手書き
文字入力装置は、所定領域内に1文字単位で手書き入力
するようになっている。しかし、一筆毎にペンをタブレ
ットから離してきちんと手書き入力されることはまれで
あり、多くの場合、1文字が一筆や二筆で続け書きされ
るのが普通である。
A handwritten character input device such as a tablet is designed to input handwritten characters in a predetermined area in units of one character. However, it is rare that the pen is separated from the tablet for each handwriting and the handwriting is properly input, and in many cases, one character is usually written continuously with one or two strokes.

【0005】上述した構造解析手法は、画数変動パター
ンを辞書に登録しておくことで、画数の制約をある程度
回避できる。しかし、続け書き文字のパターンを全て辞
書に登録しておくには膨大な辞書容量が必要となるた
め、画数変動パターンの登録によって続け書き文字の認
識率を向上させるには限界がある。
In the above-described structural analysis method, the stroke number restriction can be avoided to some extent by registering the stroke number variation pattern in the dictionary. However, since enormous dictionary capacity is required to register all the patterns of continuous writing characters in the dictionary, there is a limit to improving the recognition rate of continuous writing characters by registering the stroke number variation pattern.

【0006】DPマッチングやバックトラックを行うパ
ターンマッチング手法は、上述したように続け書き文字
の認識に有効である。しかし、対応の次候補に対しても
対応を試みる処理を展開するので、結果として膨大な計
算量を必要とし、認識速度が遅くなるため、手書き入力
時にオンラインで認識するには実用的でないという問題
がある。
The pattern matching method of performing DP matching or backtracking is effective for recognition of continuously written characters as described above. However, since the processing that attempts to correspond to the next candidate of correspondence is developed, it requires a huge amount of calculation, and the recognition speed becomes slow, so it is not practical to recognize online when handwriting input. There is.

【0007】本発明の目的は、続け書き文字に対しても
高速且つ高率で認識することができる手書き文字オンラ
イン認識方法及びその装置を提供することにある。
An object of the present invention is to provide a handwritten character online recognition method and a device therefor capable of recognizing continuously written characters at high speed and at a high rate.

【0008】[0008]

【課題を解決するための手段】上記目的は、タブレット
から出力される手書き入力文字の座標データ列から特徴
点列を抽出して入力パターン特徴点列とし、辞書パター
ンの特徴点列と前記入力パターンの特徴点列との間の対
応付け処理を行い、前記入力パターンの特徴点列と前記
辞書パターンの特徴点列との間の類似度を算出し、該類
似度から前記入力パターンの認識を行う手書き文字オン
ライン認識方法において、前記対応付け処理を進めて行
きいずれか一方のパターンの所定距離離れた複数の特徴
点が連続して他方のパターンの1つの特徴点に対応した
場合には、この連続した複数の特徴点の対応付けは正し
くないとして取り消すことで、達成される。上記目的は
また、一方のパターンの所定距離離れた複数の特徴点が
連続して他方のパターンの1つの特徴点に対応していな
い場合には、特徴点間の対応付けは正しいと判断してそ
れから後の特徴点間の対応付け処理を進めることで、達
成される。
In order to achieve the above purpose, tablet
Features from the coordinate data string of handwritten input characters output from
Extract the point sequence into the input pattern feature point sequence and use the dictionary pattern.
Between the feature point sequence of the input pattern and the feature point sequence of the input pattern
Applying a matching process to the feature point sequence of the input pattern and the
The degree of similarity with the feature point sequence of the dictionary pattern is calculated, and
Handwriting character ON to recognize the input pattern from similarity
In the line recognition method, the matching process is advanced.
Multiple features of either pattern separated by a predetermined distance
The points consecutively corresponded to one feature point in the other pattern
In this case, the association of multiple consecutive feature points is correct.
It is achieved by canceling it as not. The above purpose is
In addition, a plurality of feature points separated by a predetermined distance in one pattern
Do not continuously correspond to one feature point of the other pattern
If not, it is judged that the correspondence between the feature points is correct and
This is achieved by proceeding with the subsequent matching process between the feature points .

【0009】[0009]

【作用】特徴点列間の対応を求めるとき、あらゆる組み
合わせの対応をとってそれぞれの評価値を求め評価値の
高いものを採用していくという方法をとると、計算時間
が膨大となり実用的にはならない。そこで、本発明で
は、パターンの一方の1つの特徴点に他方のパターンの
連続する複数の特徴点が対応しその連続する複数の特徴
点の距離が所定距離以上となる場合には、そのような対
応は有り得ないとしてその対応を取り消し、取り消した
特徴点から先の特徴点との対応をとってみて評価を行う
という処理も行わない。このようにすることで、効率的
に特徴点列間の対応を取ることができ、計算時間の短縮
を図ることができる。更に、一方のパターンの所定距離
離れた複数の特徴点が連続して他方のパターンの1つの
特徴点に対応していない場合には、特徴点間の対応付け
は正しいと判断してそれから後の特徴点間の対応付け処
理を進め、対応付け処理での後戻りをさせないことで、
一層の短縮を図ることができる。
[Function] When finding correspondences between feature point sequences, all combinations
Take the corresponding measures to obtain the respective evaluation values and
If you take the method of adopting a high one, the calculation time
Becomes huge and not practical. Therefore, in the present invention
Is a feature point of one of the patterns
Multiple consecutive features that correspond to multiple consecutive feature points
If the distance between the points is greater than or equal to the specified distance, such pair
Canceled and canceled the response because it was impossible.
Evaluate by taking the correspondence from the feature point to the previous feature point
Is not performed. By doing this, it is efficient
Correspondence between feature point sequences can be made to shorten calculation time
Can be achieved. In addition, the predetermined distance of one pattern
Multiple feature points that are distant from each other
If the feature points do not correspond, the correspondence between the feature points
Is determined to be correct, and the subsequent matching process between the feature points
By advancing the reason and not making a backtrack in the matching process,
It can be further shortened.

【0010】[0010]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は、本発明の一実施例に係る手書き文字オ
ンライン認識方法の処理手順の要部を示すフローチャー
トである。このフローチャートは、辞書パターン特徴点
列と手書き入力パターン特徴点列との間の対応をとる特
徴点マッチング部1と、マッチング部1で対応付けされ
た2つの特徴点列間の類似度を算出する類似度算出部2
から構成される。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a flowchart showing a main part of a processing procedure of a handwritten character online recognition method according to an embodiment of the present invention. This flowchart calculates a feature point matching unit 1 that makes a correspondence between a dictionary pattern feature point sequence and a handwritten input pattern feature point sequence, and a similarity between two feature point sequences associated by the matching unit 1. Similarity calculation unit 2
Consists of

【0011】特徴点マッチング部1は、対応点選択処理
ステップ3と、対応点取直し条件審査処理ステップ4
と、対応点取直し処理ステップ5と、対応点確定処理ス
テップ6から構成され、類似度算出部2は、部分類似度
算出処理ステップ7と、加重平均算出処理ステップ8と
から構成される。
The feature point matching unit 1 has a corresponding point selection processing step 3 and a corresponding point reconditioning examination processing step 4
And the corresponding point determination processing step 6 and the corresponding point determination processing step 6, and the similarity calculation unit 2 includes a partial similarity calculation processing step 7 and a weighted average calculation processing step 8.

【0012】スタイラスペン等(図示は省略)を用い、
例えば「白」という文字を、図2に示す様に、タブレッ
ト(図示は省略)の所定領域30内に手書きで入力する
と、タブレットからは、この手書きの筆跡及び筆順に応
じた座標点列データが出力される。そこで、適当な公知
手段を用いて、この座標点列データから特徴点列の座標
点列データ P0(X0,Y0),P1(X1,Y1),P2(X2,Y2),… を抽出する。図3に、図2の「白」から抽出した特徴点
の例を黒点で示す。この手書き入力パターン特徴点列が
特徴点マッチング部1に入力すると、マッチング部1
は、詳細は後述するように、この手書き入力パターン特
徴点列と、各種文字の辞書パターンのうちの一つの辞書
パターンの特徴点列 Q0(U0,V0),Q1(U1,V1),Q2(U2,V2),… との間の各特徴点間の対応をとり、類似度算出部2に出
力する。マッチング部1は、対応付けの処理結果とし
て、次の様なデータ列を出力する。
Using a stylus pen or the like (not shown),
For example, when the character "white" is input by handwriting in a predetermined area 30 of a tablet (not shown) as shown in FIG. 2, the handwriting of the handwriting and the coordinate point sequence data according to the writing order are input from the tablet. Is output. Therefore, using appropriate publicly known means, coordinate point sequence data P 0 (X 0 , Y 0 ), P 1 (X 1 , Y 1 ), P 2 (X 2 , Y 2 ), ... are extracted. FIG. 3 shows an example of feature points extracted from “white” in FIG. 2 by black dots. When this handwritten input pattern feature point sequence is input to the feature point matching unit 1, the matching unit 1
As will be described later in detail, the handwritten input pattern feature point sequence and the feature point sequence Q 0 (U 0 , V 0 ), Q 1 (U 1 , V 1 ), Q 2 (U 2 , V 2 ), ... Correspondence between the respective feature points is output to the similarity calculation unit 2. The matching unit 1 outputs the following data string as the association processing result.

【0013】 [ψ00],[ψ11],[ψ22],… ここで、[ψ,Ψ]は、手書き入力パターンの特徴点列
のψ番目の点に対し、辞書パターンの特徴点列のΨ番の
点が対応することを意味する。
0 , Ψ 0 ], [ψ 1 , Ψ 1 ], [ψ 2 , Ψ 2 ], ... Here, [ψ, Ψ] is the ψ-th point of the feature point sequence of the handwriting input pattern. On the other hand, it means that point Ψ of the feature point sequence of the dictionary pattern corresponds.

【0014】図3の手書き入力パターン特徴点列と、図
4の辞書パターン「白」の特徴点列との間では、本実施
例によれば、例えば次の様に対応付けられる。
According to the present embodiment, the handwriting input pattern feature point sequence of FIG. 3 and the dictionary pattern "white" feature point sequence of FIG. 4 are associated as follows, for example.

【0015】[0,0],[1,1],[2,2],[3,3],[4,4],[6,5],
[7,6],[8,7],[9,8],[10,9],[11,10] 手書き入力パターンの特徴点列と辞書パターンとを対応
付けたデータ列が類似度算出部2に入力すると、類似度
算出部2では、両パターン間の類似度を、詳細は後述す
るように算出する。この特徴点マッチング部1及び類似
度算出部2による処理を、1つの手書き入力パターンに
対して辞書として用意された各文字毎の辞書パターンの
全てについて行い、手書き入力パターンに対し最も類似
度の高い辞書の文字パターンを第1候補文字として選択
し、2位以下の類似度の文字はその順位に応じた候補文
字とする。
[0,0], [1,1], [2,2], [3,3], [4,4], [6,5],
[7,6], [8,7], [9,8], [10,9], [11,10] Similarity calculation is performed on the data string that associates the feature point string of the handwritten input pattern with the dictionary pattern. When input to the unit 2, the similarity calculation unit 2 calculates the similarity between both patterns as described later in detail. The processing by the feature point matching unit 1 and the similarity calculation unit 2 is performed for all the dictionary patterns for each character prepared as a dictionary for one handwritten input pattern, and the highest similarity is obtained for the handwritten input pattern. The character pattern in the dictionary is selected as the first candidate character, and the character having the second or lower similarity is a candidate character according to the rank.

【0016】以下、対応点選択処理ステップ3で実行さ
れる対応付けのルールについて説明する。尚、類似度算
出部2に出力される対応関係は後述するように確定され
た対応関係であるが、このステップ3では、その前段階
の対応付け[ψ’,Ψ’]がなされる。
The matching rule executed in the corresponding point selection processing step 3 will be described below. Note that the correspondence relationship output to the similarity calculation unit 2 is a correspondence relationship determined as will be described later, but in this step 3, the correspondence [ψ ′, Ψ ′] at the previous stage is made.

【0017】まず、2つの特徴点列の最初の点同士は必
ず対応するものとみなす。つまり、 [ψ0’,Ψ0’]=[0,0] とみなす。最初の点の対応付けの後は、次のルールに従
って対応点を決める。今仮に、PIとQJとが対応付けら
れており、 [ψk’,Ψk’]=[I,J] となっていた場合、次の対応データ[ψk+1’,
Ψk+1’]は、下記の3つの組み合わせ候補 [I+1,+1],[I,J+1],[I+1,J] の中から1つを選択する。この選択は、図5に示す状況
で、次の数1
[0017] First of all, is between two of the feature point sequence of the first point be deemed to always be corresponding. That is, [ψ 0 ', ψ 0 '] = [0,0]. After associating the first points, the corresponding points are determined according to the following rules. If P I and Q J are associated with each other and [ψ k ′, ψ k ′] = [I, J], the next corresponding data [ψ k + 1 ′,
Ψ k + 1 '] selects one from the following three combination candidates [I + 1, J + 1], [I, J + 1], [I + 1, J]. In the situation shown in FIG.

【0018】[0018]

【数1】 (Equation 1)

【0019】で表されるE(i,j)にこの3つの組を
代入することで得られるE(I+1,+1),E(I,J
+1),E(I+1,J)のうち最も大きくなる値となる組
を選択することで行う。
E (i + 1, J + 1), E (I, J) obtained by substituting these three pairs into E (i, j) represented by
This is performed by selecting the set having the largest value out of +1) and E (I + 1, J).

【0020】ここで、 din(i-1) :点Pi-1と点Piとの距離 ddic(j-1) :点Qj-1と点Qjとの距離 θij:ベクトル〔Pi-1,Pi〕とベクトル〔Qj-1
i〕のなす角 N:正規化サイズ である。正規化サイズNは、入力文字パターンを一定の
正方形の枠に縦横等倍率で拡大または縮小して大きさを
そろえて正規化したときのその正方形の一辺の長さであ
る。
Here, d in (i-1): distance between points P i-1 and P i d dic (j-1): distance between points Q j-1 and Q j θ ij : vector [P i-1 , P i ] and vector [Q j-1 ,
Q i ] is an angle N: a normalized size. The normalized size N is the length of one side of the square when the input character pattern is scaled up or down in a fixed square frame at equal horizontal and vertical magnifications to make the sizes uniform.

【0021】このように、本実施例では、距離差の評価
値と方向差の評価値の積の値E(i,j)を選択の基準
として採用し、距離及び方向の両方が近いときだけ特徴
点の対応があるとしている。方向差を角度θそのものを
採用するのではなく、その余弦値cosで表現しているの
で、微少な変動にはその方向差の評価値は大きな値とな
らず、一定の範囲を越すと大きな方向差となるため、適
切な対応点を選択することができる。
As described above, in this embodiment, the value E (i, j) of the product of the evaluation value of the distance difference and the evaluation value of the direction difference is adopted as the selection criterion, and only when both the distance and the direction are short. It is said that there is correspondence of feature points. Since the direction difference is expressed not by the angle θ itself but by its cosine value cos, the evaluation value of the direction difference does not become a large value for minute fluctuations, and if it exceeds a certain range, it becomes a large direction. Since there is a difference, an appropriate corresponding point can be selected.

【0022】ステップ3で、対応をとる処理を上記ルー
ルに従って順次行っていくと、例えば図6に示す様に、
一方のパターンAのある特徴点a0に対して他方のパタ
ーンBの連続した複数の特徴点b0,b1,b2,…が対
応する場合がでてくる。また、例えば図7に示す様に、
一方のパターンBのある特徴点b0に対して他方のパタ
ーンAの連続した複数の特徴点b0’,b1’,…が対応
すると共に、この複数の最後の特徴点a0がパターンB
の連続する複数の特徴点b0,b1,…に対応する場合も
発生する。そこでステップ4の対応点取直し条件審査処
理に進み、下記条件(1)(2)が成立するか否かを判
定し、対応点の選択が正しいのか否かを判定する。
In step 3, when the processing for taking correspondence is sequentially performed according to the above rule, as shown in FIG. 6, for example,
In some cases, one feature point a 0 of one pattern A corresponds to a plurality of consecutive feature points b 0 , b 1 , b 2 , ... Of the other pattern B. Also, for example, as shown in FIG.
One pattern a plurality of feature points b 0 consecutive of the other patterns A to the feature point b 0 with B ', b 1', ... with the corresponding, the plurality of last feature point a 0 the pattern B
Also occurs when it corresponds to a plurality of consecutive feature points b 0 , b 1 , ... Therefore, the process proceeds to the corresponding point re-retrieving condition examination process in step 4, and it is determined whether the following conditions (1) and (2) are satisfied, and it is determined whether the corresponding points are correctly selected.

【0023】[条件(1)]点b0に対して複数点の対
応がなく、 Lm=LB−LA の値が閾値LSを越えている。
[0023] [Condition (1)] there is no corresponding plurality of points with respect to points b 0, the value of L m = L B -L A exceeds the threshold value L S.

【0024】ここで、LA:特徴点a0とその直前の特徴
点との距離 LB:特徴点a0に対応する複数の特徴点の最後の特徴点
から特徴点 b0の直前の特徴点までの隣接する特徴点間の距離の和 [条件(2)]点b0に対して複数点の対応が存在し、 Lm=LB−(前のLm)−(b0とその直前の特徴点との
距離) の値が閾値LSを越えている。
Here, L A : the distance between the feature point a 0 and the feature point immediately before it L B : the feature immediately before the feature point b 0 from the last feature point of the plurality of feature points corresponding to the feature point a 0 corresponding plurality of points are present with respect to the sum [condition (2)] point b 0 of the distance between the feature points adjacent to the point, L m = L B - (before L m) - (b 0 and its The value of (distance from immediately preceding feature point) exceeds the threshold L S.

【0025】ここで、(前のLm)=LB’−LA’ LA’:特徴点b0とその直前の特徴点との距離 LB’:特徴点b0に対応する複数の特徴点の最初の特徴
点の直前の特徴徴点から最後の特徴点までの隣接する特
徴点間の距離の和 上記の条件(1)(2)のどちらも成立しない場合には
対応点選択処理で取られた対応は正しいと判断して再び
ステップ3に戻り、次の対応点選択処理を続行する。
[0025] Here, (prior to L m) = L B '-L A' L A ': distance L B feature points b 0 and feature points of the immediately preceding': a plurality corresponding to the feature points b 0 Sum of distances between adjacent characteristic points from the characteristic point immediately before the first characteristic point to the last characteristic point If neither of the above conditions (1) and (2) is satisfied, corresponding point selection processing is performed. It is determined that the correspondence obtained in step 3 is correct, the process returns to step 3 again, and the next corresponding point selection process is continued.

【0026】上記の条件(1)が成立した場合には、対
応点取直し処理ステップ5に進み、図6の下段図に示す
様に、特徴点b0と特徴点a0との対応を残して他の対応
を取り消すと共に、a0の次の特徴点と特徴点b0との対
応をつくり、ステップ3に戻る。
When the above condition (1) is satisfied, the process proceeds to step 5 for re-corresponding points, and the correspondence between the feature point b 0 and the feature point a 0 is left as shown in the lower diagram of FIG. Then, the other correspondences are canceled, and the correspondence between the feature point next to a 0 and the feature point b 0 is created, and the process returns to step 3.

【0027】上記の条件(2)が成立した場合にも、対
応点取直し処理ステップ5に進み、図7の下段図に示す
様に、特徴点b0と特徴点a0との対応より後の対応を取
り消すと共に、a0の次の特徴点と特徴点b0との対応を
つくり、ステップ3に戻る。
Even when the above condition (2) is satisfied, the process proceeds to the corresponding point re-acquisition processing step 5, and after the correspondence between the feature point b 0 and the feature point a 0 , as shown in the lower diagram of FIG. The correspondence between the feature point next to a 0 and the feature point b 0 is created, and the process returns to step 3.

【0028】ステップ3での処理が進み、手書き入力パ
ターン特徴点列の最終点と、辞書パターン特徴点列の最
終点との対応が選択された場合には、ステップ3から対
応点確定処理ステップ6に進む。このステップ6では、
ステップ3,4,5で対応付けられた各対応[ψ0’,Ψ
0’],[ψ1’,Ψ1’],…のうち、次のプロセスに従
う対応のみ確定し、他の対応点間の対応は確定しない。
そして、確定された対応だけを抽出して対応データ列
[ψ00],[ψ11],…とする。図8は、下記の
各確定プロセス1〜6による処理を示した図である。図
中、点線で結んだ関係が上記ステップ3で求めた対応関
係であり、実線で結んだ関係が確定した対応である。
If the correspondence between the final point of the handwriting input pattern feature point sequence and the final point of the dictionary pattern feature point sequence is selected in step 3, the corresponding point determination process from step 3 to step 6 is performed. Proceed to. In this step 6,
Each correspondence [ψ 0 ', ψ
Of 0 '], [ψ 1 ', ψ 1 '], ..., only the correspondence according to the following process is fixed, and the correspondence between other corresponding points is not fixed.
Then, only the determined correspondences are extracted to obtain correspondence data strings [ψ 0 , Ψ 0 ], [ψ 1 , Ψ 1 ], .... FIG. 8 is a diagram showing processing by the following confirmation processes 1 to 6. In the figure, the relationship connected by the dotted line is the correspondence relationship obtained in step 3, and the relationship connected by the solid line is the confirmed correspondence.

【0029】[確定プロセス1] 最初の点同士と最後
の点同士の対応を確定する。 [確定プロセス2] 片方のパターンのストロークの始
点と、もう片方のパターンのストロークの終点との対応
を消す。 [確定プロセス3] ストロークの終点同士の対応を確
定する。 [確定プロセス4] 確定した対応点に対して確定して
いない他の対応があれば、それを消す。 [確定プロセス5] 一対一の対応を確定する。 [確定プロセス6] 後の方から確定されていない対応
を探し、確定する。そして、その確定した点に対して他
にいくつかの対応があれば、それを消去する。未確定対
応がなくなるまでこれを繰り返す。
[Confirmation Process 1] Correspondence between the first points and the last points is confirmed. [Confirmation Process 2] The correspondence between the stroke start point of one pattern and the stroke end point of the other pattern is erased. [Confirmation Process 3] Correspondence between stroke end points is confirmed. [Fixing Process 4] If there is any other unfixed correspondence with respect to the fixed correspondence point, it is deleted. [Determination process 5] A one-to-one correspondence is determined. [Confirmation process 6] The correspondence that has not been confirmed is searched for and confirmed later. Then, if there are some other correspondences with respect to the confirmed point, they are deleted. Repeat this until there are no undetermined correspondences.

【0030】以上の確定プロセスに従って確定された対
応のデータ列 [ψ0,Ψ0],[ψ1,Ψ1],… が特徴点マッチング部1から類似度算出部2に出力され
る。この類似度算出部2では、まず、部分類似度算出処
理ステップ7にて部分類似度Snが算出され、次に、加
重平均算出処理ステップ8で各部分類似度Snの加重平
均すなわち類似度SRが算出される。
The corresponding data strings [ψ 0 , ψ 0 ], [ψ 1 , ψ 1 ], ... Established according to the above-described deciding process are output from the feature point matching unit 1 to the similarity calculation unit 2. In this similarity calculation unit 2, first, the partial similarity S n is calculated in the partial similarity calculation processing step 7, and then the weighted average of the partial similarity S n , that is, the similarity is calculated in the weighted average calculation processing step 8. SR is calculated.

【0031】部分類似度算出処理ステップ7での処理を
説明する。部分類似度Snとは、対応の組[ψn,Ψn
と[ψn+1,Ψn+1]とに挟まれた区間のパターン間の類
似度である。まず、sdin(i)jとsddic(i)j
次の数2,数3の様に定義する。ここで、MAXSは定
数である。
The processing in the partial similarity calculation processing step 7 will be described. The partial similarity S n is the corresponding pair [ψ n , Ψ n ]
It is the similarity between the patterns in the section sandwiched between and [ψ n + 1 , ψ n + 1 ]. First, sd in (i) j and sd dic (i) j are defined as in the following equations 2 and 3. Here, MAXS is a constant.

【0032】[0032]

【数2】 (Equation 2)

【0033】[0033]

【数3】 (Equation 3)

【0034】次に、次の数4に示す様に、各作業用変数
への代入を行う。
Next, as shown in the following Expression 4, the work variables are substituted.

【0035】[0035]

【数4】 (Equation 4)

【0036】そして、この作業用変数を用いて、次の数
5の計算を行う。尚、各演算記号はC言語の演算記号と
同じ操作を示す。
Then, using the working variables, the following equation 5 is calculated. Each operation symbol indicates the same operation as the operation symbol in C language.

【0037】[0037]

【数5】 (Equation 5)

【0038】Rdic>Rinのときは次の数6の処理を行
い、
When R dic > R in , the processing of the following equation 6 is performed,

【0039】[0039]

【数6】 (Equation 6)

【0040】Rdic≦Rinのときは次の数7の処理を行
う。
When R dic ≤R in , the processing of the following equation 7 is performed.

【0041】[0041]

【数7】 (Equation 7)

【0042】上述した数5,数6,数7の処理を、s=
ψn+1またはt=Ψn+1となるまで繰り返し、部分類似度
nを次の数8により求める。
S =
The partial similarity S n is obtained by the following equation 8 by repeating until ψ n + 1 or t = ψ n + 1 .

【0043】[0043]

【数8】 (Equation 8)

【0044】部分類似度算出処理ステップ7で部分類似
度Snを求めた後は、次に、各部分類似度Snの加重平均
値SRを次の数9により求める。この加重平均値SRが
手書き入力パターンと辞書パターンとの間の類似度とな
る。
After the partial similarity S n is obtained in the partial similarity calculation processing step 7, the weighted average value SR of each partial similarity S n is then obtained by the following equation 9. This weighted average value SR is the similarity between the handwritten input pattern and the dictionary pattern.

【0045】[0045]

【数9】 (Equation 9)

【0046】ここで、WSnは、次の数10で決められ
る部分類似度Snに対する加重平均の重み付けである。
Here, WS n is the weighted average weighting with respect to the partial similarity S n determined by the following expression 10.

【0047】[0047]

【数10】 (Equation 10)

【0048】以上述べた実施例によれば、手書き入力パ
ターンの特徴点列と、辞書パターンの特徴点列間の対応
を、ある範囲でのみ伸縮を許しながら確定し、この対応
関係の各部分類似度の加重平均から類似度を求めるの
で、認識率が高くしかもオンラインでの高速処理が可能
となる。
According to the above-described embodiment, the correspondence between the feature point sequence of the handwritten input pattern and the feature point sequence of the dictionary pattern is determined while allowing expansion and contraction only within a certain range, and the partial similarity of this correspondence relationship is established. Since the similarity is calculated from the weighted average of the degrees, the recognition rate is high and high-speed online processing is possible.

【0049】[0049]

【発明の効果】本発明によれば、手書き文字パターンの
認識を高認識率でしかも高速に処理できるという効果が
ある。
According to the present invention, it is possible to recognize a handwritten character pattern at a high recognition rate and at a high speed.

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

【図1】本発明の一実施例に係る手書き文字オンライン
認識方法の処理手順の要部を示すフローチャートであ
る。
FIG. 1 is a flowchart showing a main part of a processing procedure of a handwritten character online recognition method according to an embodiment of the present invention.

【図2】手書き文字「白」の例を示す図である。FIG. 2 is a diagram showing an example of a handwritten character “white”.

【図3】図2の「白」から抽出した特徴点列を示す図で
ある。
FIG. 3 is a diagram showing a sequence of characteristic points extracted from “white” in FIG.

【図4】辞書パターン「白」の特徴点列を示す図であ
る。
FIG. 4 is a diagram showing a feature point sequence of a dictionary pattern “white”.

【図5】対応点の取り方および評価方法の説明図であ
る。
FIG. 5 is an explanatory diagram of a method of obtaining corresponding points and an evaluation method.

【図6】1つの特徴点に対し複数の特徴点が対応すると
きの対応点取り直しの説明図である。
FIG. 6 is an explanatory diagram of re-taking corresponding points when a plurality of characteristic points correspond to one characteristic point.

【図7】1つの特徴点に対し複数の特徴点が対応すると
きの対応点取り直しの説明図である。
FIG. 7 is an explanatory diagram of retake of corresponding points when a plurality of feature points correspond to one feature point.

【図8】対応点の確定処理の説明図である。FIG. 8 is an explanatory diagram of corresponding point determination processing.

【符号の説明】[Explanation of symbols]

1…特徴点マッチング部、2…類似度算出部、3…対応
点選択処理、4…対応点取り直し条件審査処理、5…対
応点取り直し処理、6…対応点確定処理、7…部分類似
度算出処理、8…加重平均算出処理、Pi,Qj,ai
i…特徴点。
1 ... Feature point matching unit, 2 ... Similarity degree calculation unit, 3 ... Corresponding point selection process, 4 ... Corresponding point re-conditioning examination process, 5 ... Corresponding point re-charging process, 6 ... Corresponding point determination process, 7 ... Partial similarity degree calculation Processing, 8 ... Weighted average calculation processing, P i , Q j , a i ,
b i ... feature points.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 タブレットから出力される手書き入力文
字の座標データ列から特徴点列を抽出して入力パターン
特徴点列とし、辞書パターンの特徴点列と前記入力パタ
ーンの特徴点列との間の対応付け処理を行い、前記入力
パターンの特徴点列と前記辞書パターンの特徴点列との
間の類似度を算出し、該類似度から前記入力パターンの
認識を行う手書き文字オンライン認識方法において、前
記対応付け処理を進めて行きいずれか一方のパターンの
所定距離離れた複数の特徴点が連続して他方のパターン
の1つの特徴点に対応した場合には、この連続した複数
の特徴点の対応付けは正しくないとして取り消すことを
特徴とする手書き文字オンライン認識方法。
1. A handwritten input sentence output from a tablet
Input pattern by extracting feature point sequence from character coordinate data sequence
The feature point sequence is the feature point sequence of the dictionary pattern and the input pattern.
Corresponding to the sequence of feature points of the
Between the characteristic point sequence of the pattern and the characteristic point sequence of the dictionary pattern
Between the input patterns of the input pattern
In the online recognition method of handwritten characters for recognition,
The process of matching
Multiple feature points that are separated by a certain distance in a row
If a single feature point of
An online recognition method for handwritten characters, which is characterized by canceling the correspondence of the feature points of the character as incorrect .
【請求項2】 請求項1において、一方のパターンの所
定距離離れた複数の特徴点が連続して他方のパターンの
1つの特徴点に対応していない場合には、特徴点間の対
応付けは正しいと判断してそれから後の特徴点間の対応
付け処理を進めることを特徴とする手書き文字オンライ
ン認識方法。
2. The method according to claim 1, wherein one of the patterns is
Multiple feature points that are a fixed distance apart from each other
If it does not correspond to one feature point, the pair of feature points
Correspondence between feature points after judging that the response is correct
An online recognition method for handwritten characters, which is characterized by advancing the attachment process .
【請求項3】 タブレットから出力される手書き入力文
字の座標データ列から特徴点列P i (i=0,1,…)を抽
出して入力パターン特徴点列とし、辞書パターンの特徴
点列Q j (j=0,1,…)と前記入力パターン特徴点列と
の間の対応付けを行い、前記入力パターン特徴点列と前
記辞書パターン特徴点列間の類似度を算出し、該類似度
から前記入力パターンの認識を行う手書き文字オンライ
ン認識方法において、対応付けられた入力パターン特徴
点P i と辞書パターン特徴点Q j の次の対応を、 [P i+1 ,Q j+1 ],[P i ,Q j+1 ],[P i+1 ,Q j の3つの組の中から選択するにあたり、両特徴点間の距
離差の評価値と直前の特徴点からの方向差の評価値の積
の値が最良値となる組のみ選択し他の2組の対応は調べ
ないことにすると共に、 前記最良値となる組は、 E(i,j)={2N−(|Pi−Qj|)}・cosθij ここで、N:正規化サイズ θij:ベクトル〔Pi-1,Pi〕とベクトル〔Qj-1,Qj〕とのなす角 の値が3つの組の中で最も大きくなる組とすることを特
徴とする手書き文字オンライン認識方法。
3. A handwritten input sentence output from a tablet
A characteristic point sequence P i (i = 0, 1, ...) Is extracted from the character coordinate data sequence.
Output the input pattern feature point sequence and use the features of the dictionary pattern
Point sequence Q j (j = 0, 1, ...) And the input pattern feature point sequence
Between the input pattern feature point sequence and the previous
The similarity between the dictionary pattern feature point sequences is calculated, and the similarity is calculated.
Handwritten character online that recognizes the input pattern from
Input pattern features associated with each other
The following correspondence between the point P i and the dictionary pattern feature point Q j is determined by three methods of [P i + 1 , Q j + 1 ], [P i , Q j + 1 ], and [P i + 1 , Q j ] . When selecting from the set, the distance between both feature points
The product of the evaluation value of the separation and the evaluation value of the direction difference from the previous feature point
Select only the pair with the best value of and check the correspondence of the other two pairs
In addition, the best value set is as follows: E (i, j) = {2N− (| P i −Q j |)} · cos θ ij where N: normalized size θ ij : vector [ An online recognition method for handwritten characters, characterized in that the value of the angle formed by P i-1 , P i ] and the vector [Q j-1 , Q j ] is the largest among the three sets.
【請求項4】 請求項3において、2点間の距離|Pi
−Qj|の代わりに、Pi=(Xi,Yi),Qj=(Uj
j)としたとき|Xi−Uj|+|Yi−Vj|を用いて
E(i,j)を算出することを特徴とする手書き文字オンラ
イン認識方法。
4. The distance | P i between two points according to claim 3.
Instead of −Q j |, P i = (X i , Y i ), Q j = (U j ,
V j ), the handwritten character online recognition method is characterized in that E (i, j) is calculated using | X i −U j | + | Y i −V j |.
【請求項5】 請求項3または請求項4のいずれかを繰
り返すことで一方のパターンの1つの特徴点が他方のパ
ターンの複数の特徴点に対応したときは、該複数の特徴
点の最後の特徴点から最初の特徴点の直前の特徴点まで
の距離の和と、前記1つの特徴点とその直前の特徴点の
距離との差が所定距離以上ある場合には、前記1つの特
徴点と前記複数の特徴点の最初の特徴点との対応以外の
対応を取り消すことを特徴とする手書き文字オンライン
認識方法。
5. When one feature point of one pattern corresponds to a plurality of feature points of the other pattern by repeating either claim 3 or claim 4, the last of the plurality of feature points When the difference between the sum of the distances from the feature points to the feature point immediately before the first feature point and the distance between the one feature point and the feature point immediately before the feature point is equal to or more than a predetermined distance, An online recognition method for handwritten characters, characterized in that the correspondence other than the correspondence between the plurality of feature points and the first feature point is canceled.
【請求項6】 請求項3乃至請求項5のいずれかを繰り
返すことで得られた両パターン間の対応関係を、 [確定プロセス1] 最初の点同士と最後の点同士の対
応を確定する。 [確定プロセス2] 片方のパターンのストロークの始
点と、もう片方のパターンのストロークの終点との対応
を消す。 [確定プロセス3] ストロークの終点同士の対応を確
定する。 [確定プロセス4] 確定した対応点に対して確定して
いない他の対応があれば、それを消す。 [確定プロセス5] 一対一の対応を確定する。 [確定プロセス6] 後の方から確定されていない対応
を探し、確定する。そして、その確定した点に対して他
にいくつかの対応があれば、それを消去する。未確定対
応がなくなるまでこれを繰り返す。のプロセスに従って
確定することを特徴とする手書き文字オンライン認識方
法。
6. Correspondence between both patterns obtained by repeating any one of claims 3 to 5 [decision process 1] Correspondence between first points and last points is decided. [Confirmation Process 2] The correspondence between the stroke start point of one pattern and the stroke end point of the other pattern is erased. [Confirmation Process 3] Correspondence between stroke end points is confirmed. [Fixing Process 4] If there is any other unfixed correspondence with respect to the fixed correspondence point, it is deleted. [Determination process 5] A one-to-one correspondence is determined. [Confirmation process 6] The correspondence that has not been confirmed is searched for and confirmed later. Then, if there are some other correspondences with respect to the confirmed point, they are deleted. Repeat this until there are no undetermined correspondences. An online recognition method for handwritten characters, characterized by being determined according to the process of.
【請求項7】 請求項6において、確定した特徴点列間
の対応に基づいて両パターンの対応する特徴点列間の部
分類似度を算出し、各部分類似度を加重平均することで
両パターンの類似度を算出することを特徴とする手書き
文字オンライン認識方法。
7. The pattern according to claim 6, wherein a partial similarity between corresponding feature point sequences of both patterns is calculated based on the determined correspondence between the feature point sequences, and the partial similarity is weighted and averaged. An online recognition method for handwritten characters, which is characterized by calculating the similarity of the characters.
【請求項8】 入力された手書き文字を座標データ列と
して出力するタブレットと、該座標データ列を取り込み
辞書パターンとのパターンマッチングを行って手書き文
字の認識を行う処理装置を備える手書き文字オンライン
認識装置において、前記処理装置は、請求項1乃至請求
項7のいずかれに記載の方法を実行する手段を備えるこ
とを特徴とする手書き文字オンライン認識装置。
8. A handwritten character online recognition device comprising a tablet for outputting input handwritten characters as a coordinate data string, and a processing device for recognizing the handwritten characters by performing pattern matching with the dictionary pattern by fetching the coordinate data string. The handwriting character online recognition device according to claim 1, wherein the processing device comprises means for executing the method according to any one of claims 1 to 7.
JP6148946A 1994-06-30 1994-06-30 Handwritten character online recognition method and apparatus Expired - Fee Related JP2686231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6148946A JP2686231B2 (en) 1994-06-30 1994-06-30 Handwritten character online recognition method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6148946A JP2686231B2 (en) 1994-06-30 1994-06-30 Handwritten character online recognition method and apparatus

Publications (2)

Publication Number Publication Date
JPH0816722A JPH0816722A (en) 1996-01-19
JP2686231B2 true JP2686231B2 (en) 1997-12-08

Family

ID=15464198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6148946A Expired - Fee Related JP2686231B2 (en) 1994-06-30 1994-06-30 Handwritten character online recognition method and apparatus

Country Status (1)

Country Link
JP (1) JP2686231B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH073670B2 (en) * 1985-02-28 1995-01-18 富士通株式会社 Stroke distance calculation method
JPS61208186A (en) * 1985-03-12 1986-09-16 Fujitsu Ltd Correspondence processing system for on line handwriting character feature point

Also Published As

Publication number Publication date
JPH0816722A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
KR100297482B1 (en) Method and apparatus for character recognition of hand-written input
KR20070110399A (en) Recognition graph
US20210397266A1 (en) Systems and methods for language driven gesture understanding
CN112036383B (en) Hand vein-based identity recognition method and device
JPS6282486A (en) Recognizing device for online handwritten graphic form
RU2641225C2 (en) Method of detecting necessity of standard learning for verification of recognized text
JPH02263275A (en) Preparing system for register pattern of handwritten character
JP2007317022A (en) Handwritten character processor and method for processing handwritten character
EP0687991B1 (en) Information processing method and apparatus and computer readable memory medium
CN111401099A (en) Text recognition method, device and storage medium
CN111046751B (en) Formula identification method and device
JP2686231B2 (en) Handwritten character online recognition method and apparatus
Talreja Stochastically optimized handwritten character recognition system using Hidden Markov Model
JP2003022446A (en) Device and method for signature collation, and program making computer implement the same method
JP3454335B2 (en) Online handwritten character recognition method and apparatus
KR0126800B1 (en) Hand-written korean character, on-line recognizing apparatus and its method
JP2715198B2 (en) Automatic planar point pattern matching apparatus and matching method
JPH0950491A (en) Method for recognizing handwritten character on-line and device therefor
Inuganti et al. Recognition of online handwritten Telugu stroke by detected dominant points using curvature estimation
JP3198218B2 (en) Online handwriting recognition method
JPH0922443A (en) On-line handwritten character recognition method
Zarei et al. A new approach for feature extraction with applications to automatic writer recognition
JPH11120291A (en) Pattern recognition system
JP3164962B2 (en) Method and apparatus for creating character recognition dictionary
JPH0883319A (en) Pattern recognizing device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees