JP3411949B2 - How to register stroke order and continuation characters - Google Patents

How to register stroke order and continuation characters

Info

Publication number
JP3411949B2
JP3411949B2 JP01723796A JP1723796A JP3411949B2 JP 3411949 B2 JP3411949 B2 JP 3411949B2 JP 01723796 A JP01723796 A JP 01723796A JP 1723796 A JP1723796 A JP 1723796A JP 3411949 B2 JP3411949 B2 JP 3411949B2
Authority
JP
Japan
Prior art keywords
stroke
template
character
order
stroke order
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
JP01723796A
Other languages
Japanese (ja)
Other versions
JPH09212587A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP01723796A priority Critical patent/JP3411949B2/en
Publication of JPH09212587A publication Critical patent/JPH09212587A/en
Application granted granted Critical
Publication of JP3411949B2 publication Critical patent/JP3411949B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,オンライン手書き
文字認識におけるテンプレート登録方式であって,特
に,筆順とストローク間が連結する部位とを効率よくテ
ンプレートに登録できるようにし,認識精度を向上させ
ることを可能にした筆順及び続け字登録方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a template registration method for on-line handwritten character recognition, and in particular, it is possible to efficiently register a region where a stroke order and strokes are connected to a template to improve recognition accuracy. The present invention relates to a stroke order and continuous character registration method that makes it possible.

【0002】[0002]

【従来の技術】オンライン手書き文字認識では,あらか
じめ各文字を構成するストロークすなわち文字を書くと
きの筆の運びを,筆順に従ってあらかじめテンプレート
に登録しておき,タブレット等から筆順通りにオンライ
ン入力された各ストロークとテンプレートのストローク
との照合によって,手書き文字を認識するようにしてい
る。文字認識の精度を上げるためには,一つの文字に対
して複数の種々のテンプレートを用意する必要がある。
2. Description of the Related Art In online handwritten character recognition, strokes constituting each character, that is, the stroke of a brush when writing a character, is registered in a template in advance according to the stroke order, and each stroke is input online from a tablet in the order of the stroke. Handwriting characters are recognized by matching the strokes with the strokes of the template. In order to improve the accuracy of character recognition, it is necessary to prepare multiple different templates for one character.

【0003】このような従来のテンプレートへの登録方
法として,手書き文字の筆点の時系列情報をそのままテ
ンプレートに登録する方法がある。また,同じ文字に対
して筆順を変えたテンプレートを登録する場合に,各ス
トロークごとに標準のテンプレートにおけるストローク
との対応を一つ一つ指定して登録する方法がある。
As a conventional registration method for such a template, there is a method for directly registering the time-series information of the writing point of a handwritten character in the template. Further, when registering a template in which the stroke order is changed for the same character, there is a method of registering each stroke by specifying the correspondence with the stroke in the standard template one by one.

【0004】[0004]

【発明が解決しようとする課題】従来のオンライン文字
認識技術は,個人の特性による多様な筆順及び続け字に
よってストローク間が連結する部位(以下,これを連結
部位という)に対応するためには,多数のテンプレート
を用意する必要があり,認識時間や辞書容量の増大を招
くという欠点がある。また,個人の特性による多様な筆
順及び連結部位に対応するためには,何らかのテンプレ
ートへの登録処理を行う必要があるが,各ストロークご
とに標準の筆順との関係を登録する従来の方法による
と,登録のための操作が非常に煩雑である。
The conventional on-line character recognition technology is designed to cope with a portion where strokes are connected by various stroke orders and continuous characters depending on individual characteristics (hereinafter, referred to as a connection portion). It is necessary to prepare a large number of templates, which has the drawback of increasing recognition time and dictionary capacity. Also, in order to deal with various stroke orders and connected parts depending on individual characteristics, it is necessary to perform registration processing in some template, but according to the conventional method of registering the relationship with the standard stroke order for each stroke. , The operation for registration is very complicated.

【0005】文字認識の精度は,テンプレートの登録処
理の成否に大きく影響され,特に個人の特性による多様
な筆順及び連結部位に対応できるかどうかが重要であ
る。本発明はこれらの問題点を解決することを目的とす
る。
The accuracy of character recognition is greatly affected by the success or failure of the template registration process, and it is particularly important to be able to deal with various stroke orders and connected parts depending on the individual characteristics. The present invention aims to solve these problems.

【0006】[0006]

【課題を解決するための手段】従来の技術が,一般に手
書き文字のストロークをそのままテンプレートに登録す
るのに対して,本発明は,手書き文字のストロークとそ
の文字のテンプレートから得た基本ストロークから,連
結部位の有無を判定し,連結部位がある場合には筆順及
び連結部位の全ての候補を生成し,最適な筆順及び連結
部位を計算によって特定し,入力された手書き文字の筆
順及び連結部位に関する情報をテンプレートに登録する
手段を用いることを主要な特徴とする。
While the conventional technique generally registers a stroke of a handwritten character as it is in a template, the present invention uses a stroke of the handwritten character and a basic stroke obtained from the template of the character as follows. Regarding the stroke order and the connected portion of the input handwritten characters, the presence or absence of the connected portion is determined, and if there is the connected portion, all the candidates for the stroke order and the connected portion are generated, and the optimum stroke order and the connected portion are specified by calculation. The main feature is to use means for registering information in the template.

【0007】上記処理において,生成した筆順及び連結
部位の候補の中から登録すべき筆順及び連結部位を特定
する場合に,テンプレートの各ストローク長と入力され
た文字の各ストローク長との差の自乗和が最小になるも
のを計算によって求めることにより,登録すべき筆順と
連結部位を適切に特定することができる。
In the above processing, when the stroke order and the connected portion to be registered are specified from the generated stroke order and the connected portion candidates, the square of the difference between each stroke length of the template and each stroke length of the input character. By obtaining the one with the smallest sum by calculation, the stroke order to be registered and the connected part can be appropriately specified.

【0008】[0008]

【発明の実施の形態】以下,本発明の実施の一形態につ
いて説明する。図1は本筆順及び続け字登録方法のフロ
ーチャート,図2は本発明を実施するシステム構成の例
を示す。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. FIG. 1 is a flowchart of a stroke order and continuous character registration method, and FIG. 2 shows an example of a system configuration for implementing the present invention.

【0009】図2の処理装置20はCPU及びメモリ等
からなる装置であり,以下の処理手段を持つ。入力処理
部21は,図1に示す処理10〜12を実行し登録すべ
き手書き文字に関する情報を入力するもの,候補発生処
理部22は,図1に示す処理13,処理14,処理17
を実行し,基本のテンプレートから得られる全ての筆順
と,続け字の場合には連結部位の候補を発生させるも
の,候補特定処理部23は,処理15,処理18を実行
し,候補の各ストローク長と入力した文字の各ストロー
ク長とから候補を特定するもの,候補登録処理部24
は,処理16,処理19を実行し,入力した手書き文字
についての筆順及び連結部位情報をテンプレートに登録
するものである。表示処理部25は,表示装置29への
表示処理を行うものである。
The processing device 20 shown in FIG. 2 is a device including a CPU and a memory, and has the following processing means. The input processing unit 21 executes the processes 10 to 12 shown in FIG. 1 and inputs information about handwritten characters to be registered. The candidate generation processing unit 22 processes the processes 13, 14, and 17 shown in FIG.
To generate all the stroke orders obtained from the basic template and, in the case of continuous characters, candidates for connecting parts. The candidate specifying processing unit 23 executes processing 15 and processing 18, and each candidate stroke A candidate registration processing unit 24 that specifies a candidate from the length and the stroke length of each input character.
Is for executing the processing 16 and the processing 19 and registering the stroke order and connection part information of the input handwritten character in the template. The display processing unit 25 performs display processing on the display device 29.

【0010】図2の26は手書き文字のストロークを入
力するためのタブレット,27は文字コードや処理装置
20に与える指示を入力するためのキーボード,28は
文字認識に用いる照合情報を記憶するテンプレート,2
9は表示装置を表す。
Reference numeral 26 in FIG. 2 is a tablet for inputting strokes of handwritten characters, 27 is a keyboard for inputting character codes and instructions given to the processing device 20, 28 is a template for storing collation information used for character recognition, Two
Reference numeral 9 represents a display device.

【0011】図3は,入力された手書き文字とテンプレ
ートのストロークの例を説明する図,図4は,筆順と生
成された続け字(連結部位)の例を示す図,図5はスト
ロークの全長で正規化された各ストロークの長さの系列
を示す図である。
FIG. 3 is a diagram for explaining an example of input handwritten characters and strokes of a template, FIG. 4 is a diagram showing an example of stroke order and generated continuous characters (connecting parts), and FIG. 5 is a total stroke length. It is a figure which shows the series of the length of each stroke normalized by.

【0012】以下,図1に示すフローチャートに従って
本発明の実施例を説明する。最初にテンプレート28に
は,文字認識の対象となる文字コードと,最大ストロー
ク数(基本ストローク数)と,続け字の場合の最小スト
ローク数と,基本ストローク詳細情報とが記憶されてい
るとする。基本ストローク詳細情報とは,各ストローク
の始点,終点等の点列の座標データ等である。
An embodiment of the present invention will be described below with reference to the flow chart shown in FIG. First, it is assumed that the template 28 stores a character code to be recognized, a maximum stroke number (basic stroke number), a minimum stroke number in the case of continuous characters, and basic stroke detailed information. The basic stroke detailed information is coordinate data of a point sequence such as a start point and an end point of each stroke.

【0013】図1に示す処理10では,処理開始ととも
にタブレット26等を用いて手書き文字を入力する。こ
の文字の画数をSc とする。図3(A)に示す「伊」の
手書き文字の例では,最初の人偏を続けて書いているの
で,画数はSc =5である。図3(A)中の数字は,入
力したストロークの順番を表している。
In process 10 shown in FIG. 1, handwritten characters are input using the tablet 26 or the like when the process is started. The number of strokes of this character is Sc. In the example of the handwritten character “I” shown in FIG. 3A, the number of strokes is Sc = 5 because the first person bias is continuously written. The numbers in FIG. 3A represent the order of the input strokes.

【0014】次の処理11では,キーボード27等から
処理10で入力された手書き文字に対応する文字コード
を入力する。処理12によって,処理11で入力した文
字コードをもとにテンプレート28を検索し,テンプレ
ート28に登録されている該当する文字の実際の画数
(最大ストローク数)を得る。この文字の画数,すなわ
ち基本ストロークの画数をSmax とする。図3(B)の
例では,Smax =6である。なお,図3(B)中の丸付
き数字は,基本ストロークのストローク番号を示してい
る。
In the next processing 11, the character code corresponding to the handwritten character input in processing 10 is input from the keyboard 27 or the like. In process 12, the template 28 is searched based on the character code input in process 11, and the actual stroke number (maximum stroke number) of the corresponding character registered in the template 28 is obtained. The number of strokes of this character, that is, the number of strokes of the basic stroke is Smax. In the example of FIG. 3 (B), Smax = 6. The circled numbers in FIG. 3B indicate stroke numbers of basic strokes.

【0015】処理13では,Smax −Sc の値を調べ,
Smax −Sc の値で入力された手書き文字に連結部位が
存在するか否かを判断する。Smax −Sc >0の場合に
は,連結部位が存在するので,次の処理14によって,
全ての筆順とそれに応じた連結部位の候補を生成する。
具体的には筆順は,Smax の階乗個すなわちSmax !=
i個候補があり,連結部位の候補は,筆順のそれぞれに
対して,Smax −1=a,Smax −Sc =bとすると,
ab =j個存在する。
In process 13, the value of Smax-Sc is checked,
It is determined whether or not the connected portion exists in the handwritten character input by the value of Smax-Sc. In the case of Smax-Sc> 0, since there is a connecting site, the following processing 14
All stroke orders and corresponding connected site candidates are generated.
Specifically, the stroke order is the factorial number of Smax, that is, Smax! =
If there are i candidates, and the candidates for the connected parts are Smax-1 = a and Smax-Sc = b for each stroke order,
There are a C b = j.

【0016】図3(B)の例では,からまでの6個
のストロークがあるので,全ての筆順は,6の階乗個存
在し,6!=6×5×4×3×2×1=720(個)の
筆順が生成される。図4(A)はその筆順の一例を示
す。
In the example of FIG. 3B, since there are 6 strokes from to, there are 6 factorials in all stroke orders, and 6! = 6 × 5 × 4 × 3 × 2 × 1 = 720 (pieces) of stroke order is generated. FIG. 4A shows an example of the stroke order.

【0017】また,連結部位の候補は,この例では最大
ストローク数Smax =6に対して,入力した文字の画数
Sc =5であるので, 6-16-5 51 =5(個)存
在する。連結部位を,基本ストロークが連結していない
場合に1,基本ストロークが連結している場合に連結ス
トローク数の数字列で表すと,6画の文字を5画で書い
た場合の連結部位は,“21111”,“1211
1”,“11211”,“11121”,“1111
2”の5種類存在することになる。
In this example, since the maximum number of strokes Smax is 6 and the number of strokes of the input character is Sc = 5, the candidate of the connecting portion is 6-1 C 6-5 = 5 C 1 = 5 ( Exist). If the connection part is represented by a numerical string of 1 when the basic stroke is not connected and 1 when the basic stroke is connected, the connection part when the character of 6 strokes is written in 5 strokes is: "21111", "1211"
1 "," 11211 "," 11121 "," 1111 "
There will be 5 types of 2 ".

【0018】ここで,筆順と連結部位の関係について説
明する。図4(B)は,生成された続け字の例を示して
いる。例えば筆順が〜の順であるが,の基本スト
ロークとのストロークを続けて書いた場合には,連結
部位は“21111”と表される。
Here, the relationship between the stroke order and the connecting portion will be described. FIG. 4B shows an example of the generated consecutive characters. For example, when the stroke order is from to, but when the stroke with the basic stroke of is continuously written, the connected portion is represented as “21111”.

【0019】また,図4(C)は,生成された他の続け
字の例を示している。もし,この続け字について,
(イ)に示すように,,−(連結),,の
筆順の場合には,連結部位は“11211”と表される
ことになる。(ロ)に示すように,−(連結),
,,,の筆順の場合には,連結部位は“211
11”と表される。
Further, FIG. 4C shows an example of another generated continuous character. If this continuation character,
As shown in (a), in the case of the stroke order of-, (connection) ,, the connection part is represented as "11211". As shown in (b), − (concatenation),
In the case of the stroke order of ,,,, the connecting part is "211
11 ".

【0020】図1に示す処理15では,処理14で生成
した全ての筆順と連結部位の候補から,続いた状態での
ストロークの全長で正規化された各ストロークの長さの
系列lijを生成し,これと入力された文字の長さの系列
c とを比較して,最も近い候補を特定する。ここで,
ijにおけるiは筆順の数であり,例えば6画の文字を
5画で入力した場合,1≦i≦720である。また,j
は連結部位の数であり,6画の文字を5画で入力した例
では,1≦j≦5である。
In process 15 shown in FIG. 1, a sequence l ij of the length of each stroke normalized by the total length of the strokes in the continuous state is generated from all the stroke orders and the candidates of the connecting parts generated in the process 14. Then, this is compared with the input character length sequence 1 c to identify the closest candidate. here,
i in l ij is the number in the stroke order, and for example, when 6 strokes of characters are input with 5 strokes, 1 ≦ i ≦ 720. Also, j
Is the number of connected parts, and in the example in which 6 strokes of characters are input in 5 strokes, 1 ≦ j ≦ 5.

【0021】この候補の特定について,さらに詳しく説
明する。例えば入力された文字の長さの系列をlc とす
ると,図5(A)に示すような手書き文字入力の場合, lc =(lc1,lc2,lc3,lc4,lc5) と表される。なお,ここでlc1〜lc5は正規化後の長さ
である。
The identification of this candidate will be described in more detail. For example the length of a sequence of input character When l c, when the handwriting input as shown in FIG. 5 (A), l c = (l c1, l c2, l c3, l c4, l c5) Is expressed as Here, l c1 to l c5 are lengths after normalization.

【0022】また,各候補のストロークの長さの系列l
ijは,これも所定の長さで正規化して, lij=(lij1 ,lij2 ,lij3 ,lij4 ,lij5 ) と表される。図5(B)は,図4(B)に示すような続
け字の候補におけるストロークの長さの系列の例を示し
ている。
Also, a sequence of stroke lengths l of each candidate
ij is also normalized by a predetermined length and expressed as l ij = (l ij1 , l ij2 , l ij3 , l ij4 , l ij5 ). FIG. 5 (B) shows an example of a series of stroke lengths in consecutive character candidates as shown in FIG. 4 (B).

【0023】候補を特定する場合,入力文字のストロー
ク長の系列の各要素と,各候補についてのテンプレート
から計算された連結部位を含むストローク長の系列の各
要素の差の自乗和が最小となるものを最適な筆順及び連
結部位と決定する。
When a candidate is specified, the sum of squares of the differences between each element of the stroke length series of the input character and each element of the stroke length series including the connection part calculated from the template for each candidate is minimized. The object is determined to be the optimum stroke order and connection part.

【0024】すなわち,(lc1−lij1 2 +(lc2
ij2 2 +(lc3−lij3 2 +(lc4−lij4 2
+(lc5−lij5 2 が最小となる候補を,登録すべき
最適な筆順及び連結部位と決定する。
That is, (l c1 −l ij1 ) 2 + (l c2
l ij2 ) 2 + (l c3 − l ij3 ) 2 + (l c4 − l ij4 ) 2
The candidate with the smallest + (l c5 −l ij5 ) 2 is determined as the optimal stroke order and connection site to be registered.

【0025】なお,ストローク長の正規化は,以下のよ
うに行う。説明を簡単にするため,各ストロークは直線
であり,3画であるとする。1画目の始点の座標を(x
s1,ys1),1画目の終点の座標を(xe1,ye1),2
画目の始点の座標を(xs2,ys2),2画目の終点の座
標を(xe2,ye2),3画目の始点の座標を(xs3,y
s3),3画目の終点の座標を(xe3,ye3),とする。
The stroke length is normalized as follows. To simplify the description, each stroke is assumed to be a straight line and three strokes. Set the coordinates of the start point of the first stroke to (x
s1 , y s1 ) and the coordinates of the end point of the first stroke are (x e1 , y e1 ), 2
The coordinates of the start point of the second stroke are (x s2 , y s2 ), the coordinates of the end point of the second stroke are (x e2 , y e2 ), and the coordinates of the start point of the third stroke are (x s3 , y
s3 ) and the coordinates of the end point of the third stroke are (x e3 , y e3 ).

【0026】1画目の長さをl11,2画目の長さを
22,3画目の長さをl33とする。また,1画目の終点
から2画目の始点までの長さをl12,2画目の終点から
3画目の始点までの長さをl23とする。
The length of the first stroke is l 11 , the length of the second stroke is l 22 , and the length of the third stroke is l 33 . Further, the length from the end point of the first stroke to the start point of the second stroke is l 12 , and the length from the end point of the second stroke to the start point of the third stroke is l 23 .

【0027】 l11={(xs1−xe12 +(ys1−ye12 1/212={(xe1−xs22 +(ye1−ys22 1/222={(xs2−xe22 +(ys2−ye22 1/223={(xe2−xs32 +(ye2−ys32 1/233={(xs3−xe32 +(ys3−ye32 1/2 である。L 11 = {(x s1 −x e1 ) 2 + (y s1 −y e1 ) 2 } 1/2 l 12 = {(x e1 −x s2 ) 2 + (y e1 −y s2 ) 2 } 1/2 l 22 = {(x s2 -x e2) 2 + (y s2 -y e2) 2} 1/2 l 23 = {(x e2 -x s3) 2 + (y e2 -y s3) 2} 1/2 l 33 = {(x s3 -x e3) 2 + (y s3 -y e3) 2} 1/2.

【0028】続いた状態でのストロークの全長を,例え
ば255で正規化する。すなわち,L=l11+l12+l
22+l23+l33とすると,正規化の係数aは,a=25
5/Lであり, lc1=a×l11c2=a×l22c3=a×l33 となる。このlc1〜lc3が正規化された入力文字の各ス
トローク長である。テンプレートから得られる候補のス
トローク長も同様に,255で正規化したものを用い
る。
The total length of the stroke in the continuous state is normalized with 255, for example. That is, L = l 11 + l 12 + l
If 22 + l 23 + l 33 , the normalization coefficient a is a = 25.
5 / L, and l c1 = a × l 11 l c2 = a × l 22 l c3 = a × l 33 . The l c1 to l c3 are the stroke lengths of the normalized input characters. Similarly, a candidate stroke length obtained from the template is also normalized by 255.

【0029】図1の処理16では,処理15によって特
定された最適な筆順と連結部位とをテンプレート28に
登録し,処理を終了する。最大ストローク数Smax と入
力した文字の画数Sc とが等しい場合,連結部位は存在
しないので,処理17によって全て筆順候補のみを生成
し,処理18によって,処理15と同様な距離計算によ
り最適な筆順候補を特定し,処理19によりその筆順を
テンプレート28に登録する。
In process 16 of FIG. 1, the optimum stroke order and connection site specified in process 15 are registered in the template 28, and the process ends. If the maximum number of strokes Smax is equal to the number of strokes of the input character Sc, there is no connected part, so only the stroke order candidates are generated in step 17, and in step 18, the optimum stroke order candidate is calculated by the distance calculation similar to step 15. Is specified, and the stroke order is registered in the template 28 by the process 19.

【0030】図6は,本発明で用いるテンプレートのデ
ータ構造の例を示す。テンプレートは,図6(A)に示
すように文字認識の対象となる各文字ごとに,文字コー
ドと,最大ストローク数(基本ストローク数)Smax
と,続け字の場合の最小ストローク数Smin と,基本ス
トローク詳細情報とを保持する。基本ストローク詳細情
報は,各ストローク番号(図では丸付き数字で表してい
る)ごとのストロークの始点,終点等の点列の座標デー
タである。
FIG. 6 shows an example of the data structure of the template used in the present invention. As shown in FIG. 6 (A), the template includes a character code and a maximum stroke number (basic stroke number) Smax for each character to be recognized.
And the minimum stroke number Smin in the case of continuous characters and basic stroke detailed information. The basic stroke detailed information is coordinate data of a sequence of points such as a starting point and an ending point of a stroke for each stroke number (indicated by circled numbers in the figure).

【0031】本発明による筆順及び続け字登録方法によ
って,さらにいくつかの筆順情報と連結部位情報とがテ
ンプレートに登録されることになる。図6(B)に,そ
の具体例を示す。
By the stroke order and continuous character registration method according to the present invention, some stroke order information and connection part information are further registered in the template. FIG. 6B shows a specific example thereof.

【0032】例えば,図3(A)に示すように入力され
た手書き文字に対して,図4(B)に示すような筆順と
連結部位の候補が,距離計算によって最適であると決定
された場合,図6(B)に示すような筆順情報(a) =
〔〕と,連結部位情報(b) =〔2111
1〕とが登録される。図示省略するが,もし同じ筆順
で,例えばのストロークとのストロークとが続けて
書かれた場合には,連結部位情報としてさらに〔121
11〕の情報が登録されることになる。図6(B)の筆
順情報(c) と連結部位情報(d) は,図4(C)の(イ)
に示す筆順と連結部位の候補が最適と判断された場合の
登録例を示している。
For example, with respect to the handwritten character input as shown in FIG. 3 (A), the stroke order and the candidate of the connecting part as shown in FIG. 4 (B) are determined to be the optimum by the distance calculation. In this case, stroke order information (a) =
[] And connection site information (b) = [2111
1] and are registered. Although illustration is omitted, if the stroke and the stroke are written in the same stroke order in succession, as the connecting portion information, [121
11] will be registered. The stroke order information (c) and the connection part information (d) in FIG. 6 (B) are (a) in FIG. 4 (C).
7 shows an example of registration in the case where the stroke order and the candidate of the connecting portion shown in are determined to be optimum.

【0033】なお,各ストロークの長さは,基本ストロ
ークの座標データから簡単な計算によって求めることが
できるが,処理の高速化のために,あらかじめテンプレ
ート内に正規化したストローク長を登録しておくように
してもよい。
The length of each stroke can be obtained by a simple calculation from the coordinate data of the basic stroke, but in order to speed up the processing, the normalized stroke length is registered in advance in the template. You may do it.

【0034】以上のように登録されたテンプレートを文
字認識に用いる場合には,まず入力された手書き文字の
画数が,最大ストローク数と最小ストローク数の間にあ
るかどうかを判別し,その範囲内にある場合に,入力さ
れた手書き文字の画数に応じて該当する筆順情報と連結
部位情報とを参照し,筆順情報の各ストローク番号の並
びから,基本ストローク詳細情報として保持されている
ストロークの座標データを得るとともに,連結部位情報
に応じて必要であればストロークの接続を行い,距離の
計算を行えばよい。この際に正規化されたストロークの
長さの系列によって候補を効率よく絞ることができる。
When the template registered as described above is used for character recognition, it is first determined whether the number of strokes of the input handwritten character is between the maximum stroke number and the minimum stroke number, and within that range. In the case of, the stroke order information and the connection part information corresponding to the number of strokes of the input handwritten character are referred to, and the coordinates of the strokes stored as the basic stroke detailed information are calculated from the arrangement of the stroke numbers of the stroke order information. It is only necessary to obtain the data and, if necessary, connect the strokes according to the connection site information and calculate the distance. At this time, the candidates can be efficiently narrowed down by the series of the normalized stroke lengths.

【0035】[0035]

【発明の効果】本発明によれば,個人の特性による多様
な筆順及び連結部位を,登録しようとする手書き文字を
入力するだけで簡単に自動的にテンプレートに登録する
ことができ,これによって個人の特性による多様な筆順
や続け字の書き方によらない精度のよい認識が可能にな
る。また,従来手法のように入力された文字をそのまま
登録することによって,辞書(テンプレート)容量の多
大な増加を招くことがない。また,他の従来手法のよう
に,辞書登録に複雑な操作や訓練が必要でなく,本発明
によれば,簡単な操作によって自動的に必要な筆順及び
連結部位をテンプレートに登録することができる。
According to the present invention, various stroke orders and connecting parts depending on the characteristics of an individual can be automatically registered in the template simply by inputting the handwritten character to be registered. With the characteristics of, it is possible to recognize with high accuracy regardless of various stroke orders and how to write consecutive characters. In addition, by directly registering the input characters as in the conventional method, the capacity of the dictionary (template) is not significantly increased. Further, unlike other conventional methods, complicated operations and training are not required for dictionary registration, and according to the present invention, it is possible to automatically register the required stroke order and connected parts in the template by a simple operation. .

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

【図1】本筆順及び続け字登録方法のフローチャートで
ある。
FIG. 1 is a flowchart of a stroke order and continuous character registration method.

【図2】本発明を実施するシステム構成の例を示す図で
ある。
FIG. 2 is a diagram showing an example of a system configuration for implementing the present invention.

【図3】入力された手書き文字とテンプレートのストロ
ークの例の説明図である。
FIG. 3 is an explanatory diagram of an example of input handwritten characters and strokes of a template.

【図4】筆順と生成された続け字の例を示す図である。FIG. 4 is a diagram showing an example of a stroke order and generated consecutive characters.

【図5】ストロークの全長(ストローク間の長さを含
む)で正規化された各ストロークの長さの系列を示す図
である。
FIG. 5 is a diagram showing a series of stroke lengths normalized by the total length of strokes (including the length between strokes).

【図6】テンプレートのデータ構造の例を示す図であ
る。
FIG. 6 is a diagram showing an example of a data structure of a template.

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

10,11,12 入力処理 13,14,17 候補発生処理 15,18 候補特定処理 16,19 候補登録処理 20 処理装置 21 入力処理部 22 候補発生処理部 23 候補特定処理部 24 候補登録処理部 25 表示処理部 26 タブレット 27 キーボード 28 テンプレート 29 表示装置 10, 11, 12 Input processing 13, 14, 17 Candidate generation process 15,18 Candidate identification processing 16, 19 Candidate registration process 20 processing equipment 21 Input processing unit 22 Candidate generation processing unit 23 Candidate Identification Processing Unit 24 Candidate registration processing unit 25 Display processing unit 26 tablets 27 keyboard 28 templates 29 Display

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 智 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 篠沢 一彦 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平8−287185(JP,A) 特開 平3−62186(JP,A) 特開 平2−110796(JP,A) 特開 昭60−8991(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06K 9/00 - 9/82 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Satoshi Suzuki 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Nihon Telegraph and Telephone Corporation (72) Inventor Kazuhiko Shinozawa 3-19-3 Nishishinjuku, Shinjuku-ku, Tokyo No. 2 Nihon Telegraph and Telephone Corp. (56) Reference JP-A-8-287185 (JP, A) JP-A-3-62186 (JP, A) JP-A-2-110796 (JP, A) JP-A 60-8991 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06K 9/00-9/82

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 手書き文字のストロークから,当該手書
き文字を認識するオンライン手書き文字認識に用いるテ
ンプレートに,手書き文字の筆順及びストローク間が連
結する部位を登録する方法であって, 手書き文字のストロークとその手書き文字の文字コード
を入力し, 前記文字コードからテンプレートを検索して該テンプレ
ートに登録されているストロークを得て, 前記手書き文字のストロークと前記テンプレートのスト
ロークから,前記手書き文字のストローク間で連結する
部位の有無を判別し, この判別結果からストローク間が連結する部位がある場
合には,ストロークの順番であるところの筆順の候補と
該筆順に応じたストローク間が連結する部位の候補とを
生成し,該生成された候補の中から手書き文字の筆順に
最も近い筆順と,手書き文字のストローク間が連結する
部位に最も近いストローク間が連結する部位とを距離演
算により特定し,これら特定された筆順及びストローク
間が連結する部位をテンプレートに登録し, また前記判別結果からストローク間が連結する部位がな
い場合には,筆順の候補を生成し,該候補の中から手書
き文字の筆順に最も近い筆順を距離演算により特定し,
この特定された筆順をテンプレートに登録することを特
徴とする筆順及び続け字登録方法。
1. A method for registering a stroke order of handwritten characters and a part connecting strokes in a template used for online handwritten character recognition for recognizing the handwritten character from the stroke of the handwritten character, which is the stroke of the handwritten character. The character code of the handwritten character is input, a template is searched from the character code to obtain a stroke registered in the template, and between the stroke of the handwritten character and the stroke of the template, between the strokes of the handwritten character. Whether or not there is a part to be connected is determined, and if there is a part where the strokes are connected from the result of this determination, a candidate for the stroke order, which is the order of strokes, and a candidate for the part for which the strokes are connected according to the stroke order are determined. Is generated, and the stroke order that is closest to the stroke order of the handwritten character from among the generated candidates Distance Starring a site between the nearest stroke at a site between the strokes of handwritten characters is linked to linking
The position specified by calculation is registered in the template, and the part where the stroke order and the stroke are connected is registered in the template. Further, when there is no part where the stroke is connected from the discrimination result, a stroke order candidate is generated and the candidate of the stroke order is generated. The stroke order closest to the stroke order of the handwritten characters is specified by distance calculation from the inside,
A stroke order and continuous character registration method characterized by registering the specified stroke order in a template.
【請求項2】 請求項1記載の筆順及び続け字登録方法
において,生成された筆順の候補及び該筆順に応じたス
トローク間が連結する部位の候補の中から,登録すべき
筆順及びストローク間が連結する部位を特定する方法
は,各候補についてのテンプレートから計算された連結
部位を含むストローク長の系列と,入力された文字のス
トローク長の系列との比較によって行う方法であること
を特徴とする筆順及び続け字登録方法。
2. The stroke order and continuous character registration method according to claim 1, wherein a stroke order to be registered and a stroke interval to be registered are selected from among the stroke order candidates that have been generated and the candidates of regions where strokes corresponding to the stroke order are connected. The method of specifying the connecting part is characterized by comparing the stroke length series including the connecting part calculated from the template for each candidate with the stroke length series of the input character. How to register stroke order and continuous characters.
JP01723796A 1996-02-02 1996-02-02 How to register stroke order and continuation characters Expired - Fee Related JP3411949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01723796A JP3411949B2 (en) 1996-02-02 1996-02-02 How to register stroke order and continuation characters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01723796A JP3411949B2 (en) 1996-02-02 1996-02-02 How to register stroke order and continuation characters

Publications (2)

Publication Number Publication Date
JPH09212587A JPH09212587A (en) 1997-08-15
JP3411949B2 true JP3411949B2 (en) 2003-06-03

Family

ID=11938349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01723796A Expired - Fee Related JP3411949B2 (en) 1996-02-02 1996-02-02 How to register stroke order and continuation characters

Country Status (1)

Country Link
JP (1) JP3411949B2 (en)

Also Published As

Publication number Publication date
JPH09212587A (en) 1997-08-15

Similar Documents

Publication Publication Date Title
JPH05108883A (en) Method and device for character recognition
JP2749020B2 (en) Diagram recognition system
US5313528A (en) Method for extracting features from on-line handwritten characters
US5001765A (en) Fast spatial segmenter for handwritten characters
KR100299858B1 (en) fingerprint matching method
JPH09319829A (en) Online character recognition device
US5659633A (en) Character recognition method utilizing compass directions and torsion points as features
JP3411949B2 (en) How to register stroke order and continuation characters
JPH0520794B2 (en)
CA2000023C (en) Fast spatial segmenter for handwritten characters
JP3419251B2 (en) Character recognition device and character recognition method
JP2671984B2 (en) Information recognition device
JP3221488B2 (en) Online character recognition device with verification function
JPH09114926A (en) Method and device for rough classifying input characters for on-line character recognition
JP3115139B2 (en) Character extraction method
JP2665488B2 (en) Personal dictionary registration method
JP3281530B2 (en) Character recognition device
JP2851865B2 (en) Character recognition device
KR900005141B1 (en) Handwritter character recognizing device
JPH0922443A (en) On-line handwritten character recognition method
JPS62281082A (en) Character recognizing device
JP3760040B2 (en) Character recognition method, character recognition device, and information recording medium
JPH05225397A (en) Character form shaping device
JPH0443316B2 (en)
JPH02250194A (en) Hand-written character recognizing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120320

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees