JPH08101889A - On-line handwritten character recognition method - Google Patents

On-line handwritten character recognition method

Info

Publication number
JPH08101889A
JPH08101889A JP6237273A JP23727394A JPH08101889A JP H08101889 A JPH08101889 A JP H08101889A JP 6237273 A JP6237273 A JP 6237273A JP 23727394 A JP23727394 A JP 23727394A JP H08101889 A JPH08101889 A JP H08101889A
Authority
JP
Japan
Prior art keywords
handwritten character
data
feature
feature point
equation
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.)
Granted
Application number
JP6237273A
Other languages
Japanese (ja)
Other versions
JP3198218B2 (en
Inventor
Mitsuru Kobayashi
充 小林
Osamu Miyamoto
修 宮本
Takashi Matsumoto
隆 松本
Akira Tsuruta
彰 鶴田
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.)
Waseda University
Sharp Corp
Original Assignee
Waseda University
Sharp 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 Waseda University, Sharp Corp filed Critical Waseda University
Priority to JP23727394A priority Critical patent/JP3198218B2/en
Publication of JPH08101889A publication Critical patent/JPH08101889A/en
Application granted granted Critical
Publication of JP3198218B2 publication Critical patent/JP3198218B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE: To provide the on-line handwritten character recognition method with which a one-stroke character can be recognized as well. CONSTITUTION: When a stroke contains (n) pieces of coordinate points, feature points are extracted by comparing |Δθi | calculated by an expression I with a constant, the feature points and an ON/OFF information expression II for a pen at each feature point are transformed to a feature amount expression III for a polar coordinate system, and the character is recognized by calculating D (X,Y) of an expression V by DP matching, etc., with a template expression IV.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は電子手帳、ワードプロ
セッサなどに用いられるペン入力装置に関し、特に、そ
うしたペン入力装置において、楷書のみならず変形の大
きい続け字をも正確に認識するオンライン手書き文字認
識方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pen input device used in an electronic notebook, a word processor, etc., and more particularly, in such a pen input device, online handwritten character recognition for accurately recognizing not only regular strokes but also continuous characters with large deformation. Regarding the method.

【0002】[0002]

【従来の技術】電子手帳、ワードプロセッサ、コンピュ
ータなどに対して文字を入力する場合、従来はキーボー
ドなどを用いたものが主流であった。しかし、キーボー
ドを用いた入力には一定の技量が必要であること、電子
手帳、コンピュータなどが小型化するに従い、キーボー
ドのキーを確保するのに必要な面積が確保できなくなっ
てきていること、などに鑑みて、タブレットなどを用い
た手書き文字によるオンライン手書き文字入力が使用さ
れることが多くなってきた。
2. Description of the Related Art Conventionally, when a character is input to an electronic notebook, a word processor, a computer, etc., a keyboard or the like has mainly been used. However, a certain amount of skill is required for inputting with a keyboard, and as the size of electronic notebooks, computers, etc. becomes smaller, it is no longer possible to secure the area required to secure the keys of the keyboard, etc. In view of this, online handwriting input by handwriting using a tablet or the like has been increasingly used.

【0003】従来提案されているオンライン手書き文字
認識方法は、構造解析的方法とパターンマッチング的方
法との2つに大別される。
Conventionally proposed online handwritten character recognition methods are roughly classified into a structure analysis method and a pattern matching method.

【0004】構造解析的方法においては、入力文字を、
数種類の直線からなる予め用意した基本ストロークで記
述する。その基本ストロークの集合を識別理論に沿って
識別する。この構造解析的方法では、予め用意した基本
ストロークで文字を記述する。そのためストロークの変
形の大きい続け字の認識の場合、基本ストロークの抽出
が困難となるという問題点があった。
In the structural analysis method, input characters are
Described with a basic stroke prepared in advance consisting of several types of straight lines. The set of basic strokes is identified according to the identification theory. In this structural analysis method, characters are described by basic strokes prepared in advance. Therefore, when recognizing continuous characters with large stroke deformation, it is difficult to extract the basic stroke.

【0005】パターンマッチング的方法は、文字がスト
ロークの集合からなるものと考えて、予め書く文字の標
準パターンを準備しておく。そして標準パターンおよび
入力パターンを構成するストローク間の対応づけを行な
う。対応づけられた各ストローク間において定められる
距離を求め、それら距離の総和としてパターン間距離を
求める。パターン間距離が最も小さい標準パターンが入
力文字として認識される。パターンマッチング的方法で
は、変形が大きい入力パターンの認識においては、標準
パターンと入力パターンとのストロークの対応づけが誤
ったりする問題がある。ストロークの対応づけが正しく
できたとしても、正解の標準パターンとの間で計算され
たパターン間距離が、他の(誤った)標準パターンとの
間で計算されたパターン間距離よりも大きくなってしま
うことがあり、その結果認識が正しく行なわれないこと
があるという問題点があった。
In the pattern matching method, a standard pattern of a character to be written is prepared in advance, considering that the character consists of a set of strokes. Then, the strokes forming the standard pattern and the input pattern are associated with each other. The distance determined between the associated strokes is obtained, and the inter-pattern distance is obtained as the sum of these distances. The standard pattern with the smallest distance between patterns is recognized as the input character. The pattern matching method has a problem that the strokes of the standard pattern and the input pattern are associated with each other incorrectly when recognizing an input pattern having a large deformation. Even if the strokes are correctly matched, the pattern distance calculated with the correct standard pattern is larger than the pattern distance calculated with other (wrong) standard patterns. However, there is a problem in that recognition may not be performed correctly as a result.

【0006】[0006]

【発明が解決しようとする課題】以上のように従来の方
法では、文字を構成する各ストロークを基本ストローク
のみで記述したり、各ストロークについて複数の座標を
特徴としたりしているため、続け字のように複数のスト
ロークが接続されて1つのストロークのように手書きさ
れた場合には、ストロークの対応づけが正しく行なわれ
ず、誤認識が発生するという問題点がある。
As described above, in the conventional method, since each stroke forming a character is described only by a basic stroke, or each stroke is characterized by a plurality of coordinates, a continuous character is generated. As described above, when a plurality of strokes are connected and handwritten like one stroke, there is a problem that strokes are not correctly associated with each other, resulting in erroneous recognition.

【0007】したがって請求項1に記載の発明の目的
は、楷書のみならず続け字も認識できるオンライン手書
き文字認識方法を提供することである。
Therefore, it is an object of the present invention to provide an online handwritten character recognition method capable of recognizing not only regular characters but also continuous characters.

【0008】請求項2に記載の発明の目的は、楷書のみ
ならず続け字も認識でき、かつ高速に正確な文字認識が
可能なオンライン手書き文字認識方法を提供することで
ある。
An object of the invention described in claim 2 is to provide an online handwritten character recognition method capable of recognizing not only regular characters but also continuous characters and capable of high-speed and accurate character recognition.

【0009】請求項3に記載の発明の目的は、楷書のみ
ならず続け字も正しく認識できるオンライン手書き文字
認識方法を提供することである。
An object of the invention described in claim 3 is to provide an online handwritten character recognition method capable of correctly recognizing not only regular characters but also continuous characters.

【0010】請求項4に記載の発明の目的は、楷書のみ
ならず続け字も正しく認識できるオンライン手書き文字
認識方法を提供することである。
An object of the invention described in claim 4 is to provide an online handwritten character recognition method capable of correctly recognizing not only regular characters but also continuous characters.

【0011】請求項5に記載の発明の目的は、楷書のみ
ならず続け字も高速に、かつ正確に認識することが可能
なオンライン手書き文字認識方法を提供することであ
る。
An object of the invention described in claim 5 is to provide an online handwritten character recognition method capable of recognizing not only regular characters but also continuous characters at high speed and accurately.

【0012】[0012]

【課題を解決するための手段】請求項1に記載の発明
は、手書き文字データ出力手段から与えられる、手書き
文字の筆跡の座標の移動を表わす時系列データに基づい
て手書き文字を認識するためのオンライン手書き文字認
識方法であって、与えられた時系列データから特徴点を
抽出する工程と、抽出された複数個の特徴点データを、
予め準備されたテンプレートと比較することにより、手
書き文字を認識する工程とを含む。特徴点を抽出する工
程は、与えられた時系列データのうち、隣接する予め定
める複数個のデータを選択する工程と、選択された予め
定める複数個のデータの先頭点および最終点を結んだ線
分と、選択された予め定める複数個のデータ内の、隣接
する2点を結んだ線分とがなす角度を求める工程と、求
められた角度と予め定めるしきい値角度との間に所定の
関係が成立するか否かを判定する工程と、所定の関係が
成立すると判断された場合に、選択されたデータのうち
の予め定めるものを特徴点として抽出する工程と、与え
られた時系列データに対して、複数個のデータの選択が
終了するまで、選択する工程と、角度を求める工程と、
判定する工程と、抽出する工程とを繰返す工程とを含
む。
The invention according to claim 1 is for recognizing a handwritten character on the basis of time-series data, which is provided from the handwritten character data output means and represents the movement of the coordinates of the handwriting of the handwritten character. An online handwritten character recognition method, the step of extracting feature points from given time-series data, and a plurality of extracted feature point data,
Recognizing handwritten characters by comparing with a template prepared in advance. The step of extracting the characteristic points is to select a plurality of adjacent predetermined data from the given time series data and a line connecting the start point and the end point of the selected predetermined plurality of data. Minutes and a step of obtaining an angle formed by a line segment connecting two adjacent points in a plurality of selected predetermined data, and a predetermined angle between the obtained angle and the predetermined threshold angle. A step of determining whether the relationship is established, a step of extracting a predetermined one of the selected data as a feature point when it is determined that the predetermined relationship is established, and a given time series data In contrast, until the selection of a plurality of data is completed, the step of selecting and the step of obtaining the angle,
It includes a step of repeating the determining step and the extracting step.

【0013】請求項2に記載の発明は、請求項1記載の
オンライン手書き文字認識方法であって、選択する工程
は、与えられたn個(n≧3)の時系列データのうち、
隣接するk+2個(k=1〜n−2)のデータ
(t0 )〜(tk+1 )を選択する工程を含む。なお本
明細書において、アンダーラインが付されたアルファベ
ットはベクトルを表わす。角度を求める工程は、選択さ
れたk+2個のデータの先頭点(t0 )と最終点
(tk+1 )、および(ti ),(ti-1 )に対し
て、
The invention as defined in claim 2 is as set forth in claim 1.
Online handwriting recognition method, selecting step
Is the given n (n ≧ 3) time series data,
Adjacent k + 2 (k = 1 to n-2) datax
(T0) ~x(Tk + 1) Is selected. The book
Alphabet underlined in the description
Represents a vector. The process of finding the angle is selected
Start point of k + 2 datax(T0) And the final pointx
(Tk + 1),andx(Ti),x(Ti-1) To
hand,

【0014】[0014]

【数9】 [Equation 9]

【0015】で定められる角度Δθi (i=1,2,
…,k+1)を求める工程を含む。判定する工程は、各
Δθi が|Δθi |≧θ* を満たすか否かを判定する工
程を含む。
The angle Δθ i (i = 1, 2,
,, k + 1) is included. The determining step includes the step of determining whether or not each Δθ i satisfies | Δθ i | ≧ θ * .

【0016】請求項3に記載の発明は、手書き文字デー
タ出力手段から、筆記手段を用いて書かれる手書き文字
の筆跡を表わす筆記情報列を受けて手書き文字を認識す
るためのオンライン手書き文字認識方法である。この方
法は、筆記情報列から複数個の特徴点を抽出することに
より、隣接する特徴点を結ぶセグメントごとにその特徴
量点列
The invention according to claim 3 is an on-line handwritten character recognition method for recognizing a handwritten character by receiving a handwriting information string representing a handwriting of a handwritten character written by using the writing means from the handwritten character data output means. Is. This method extracts a plurality of feature points from the writing information sequence, and the feature amount point sequence for each segment connecting adjacent feature points.

【0017】[0017]

【数10】 [Equation 10]

【0018】を求める工程を含む。(di )はi番目
の特徴点の座標ベクトルを、p(ti)はi番目の特徴
点における筆記手段のオン/オフ情報を、それぞれ表わ
す。この方法はさらに、各特徴点ごとに、認識に用いる
特徴量
And the step of determining. x (d i ) represents the coordinate vector of the i-th feature point, and p (t i ) represents the on / off information of the writing means at the i-th feature point. This method further includes the feature amount used for recognition for each feature point.

【0019】[0019]

【数11】 [Equation 11]

【0020】を求める工程を含む。θ(fi )は、i番
目の特徴点までの筆跡の方向変換の総計であり、pi
i−1番目の特徴点からi番目の特徴点までの間の筆記
手段のオン/オフ情報である。この方法はさらに、求め
られた特徴量Xと、予め登録されているテンプレートY
The step of determining is included. θ (f i ) is the total of the direction change of the handwriting up to the i-th feature point, and p i is the on / off information of the writing means between the i−1th feature point and the i-th feature point. Is. This method further includes the calculated feature amount X and the template Y registered in advance.

【0021】[0021]

【数12】 (Equation 12)

【0022】との間で、Between and

【0023】[0023]

【数13】 (Equation 13)

【0024】を計算することによりパターン間距離を求
め、最小のパターン間距離に対応するテンプレートを、
認識された手書き文字として選択する工程を含む。
The inter-pattern distance is obtained by calculating, and the template corresponding to the minimum inter-pattern distance is
The step of selecting as a recognized handwritten character is included.

【0025】請求項4に記載の発明は、請求項3に記載
のオンライン手書き文字認識方法であって、i番目の特
徴点における筆跡の角度変化、i−1番目の特徴点とi
番目の特徴点との間の筆跡の移動量、i番目の特徴点ま
での筆跡の長さ、をそれぞれ
The invention according to claim 4 is the online handwritten character recognition method according to claim 3, wherein the angle change of the handwriting at the i-th feature point, the i-1th feature point and the i-th feature point.
The amount of movement of the handwriting to and from the i-th feature point and the length of the handwriting up to the i-th feature point, respectively.

【0026】[0026]

【数14】 [Equation 14]

【0027】に従って求め、さらにAccording to

【0028】[0028]

【数15】 (Equation 15)

【0029】に従って定義されるθ(fi )とpi とに
より特徴量を求めることを特徴とする。
It is characterized in that the feature amount is obtained from θ (f i ) and p i defined in accordance with

【0030】請求項5に記載の発明は、請求項4に記載
のオンライン手書き文字認識方法であって、パターン間
距離の最小値をダイナミックプログラミングマッチング
法で求める工程において、
The invention described in claim 5 is the online handwritten character recognition method according to claim 4, wherein in the step of obtaining the minimum value of the distance between patterns by the dynamic programming matching method,

【0031】[0031]

【数16】 [Equation 16]

【0032】となるパスを刈り込むことによりパターン
間距離の計算量を削減することを特徴とする。
It is characterized in that the amount of calculation of the inter-pattern distance is reduced by pruning the path that becomes

【0033】[0033]

【作用】請求項1に記載の発明によれば、手書き文字デ
ータ出力手段からの時系列データから特徴点が抽出さ
れ、抽出された複数個の特徴点データを、予め準備され
たテンプレートと比較することにより、手書き文字が認
識される。特徴点を抽出する場合、与えられた時系列デ
ータのうち、隣接する予め定める複数個のデータが選択
され、選択されたデータの先頭点および最終点を結んだ
線分と、選択されたデータ内の、隣接する2点を結んだ
線分とがなす角度とが求められる。求められた角度と予
め定めるしきい値角度との間に所定の関係が成立すれ
ば、たとえば求められた角度の絶対値がしきい値角度以
上であれば、選択されたデータのうちの予め定めるも
の、たとえば時系列で先頭に位置するものと、当該隣接
する2点のうちの、時系列で前に位置するものとを特徴
点として抽出する。与えられた時系列データに対して、
複数個のデータの選択が終了するまで、選択するステッ
プと、角度を求める工程と、判定する工程と、抽出する
工程とを繰返す。この処理により、オフストロークも含
めて、筆跡の特徴と比較に表わす1つの連続する筆記情
報列が得られる。
According to the first aspect of the present invention, the characteristic points are extracted from the time-series data from the handwritten character data output means, and the plurality of extracted characteristic point data are compared with the template prepared in advance. As a result, handwritten characters are recognized. When extracting characteristic points, a plurality of adjacent predetermined data are selected from the given time series data, and the line segment connecting the start point and the end point of the selected data and the selected data And the angle formed by the line segment connecting two adjacent points is calculated. If a predetermined relationship is established between the calculated angle and a predetermined threshold angle, for example, if the absolute value of the calculated angle is greater than or equal to the threshold angle, then the predetermined data among the selected data is determined. An object, for example, one that is located at the beginning in time series and one that is located in front in time series of the two adjacent points are extracted as feature points. Given time series data,
Until the selection of a plurality of data is completed, the step of selecting, the step of obtaining the angle, the step of determining, and the step of extracting are repeated. By this processing, one continuous writing information string including the characteristics of the handwriting and the comparison, including the off stroke, is obtained.

【0034】請求項2に記載の発明によれば、請求項1
記載のオンライン手書き文字認識方法において、選択さ
れたk+2個のデータの先頭点(t0 )と最終点
(tk+ 1 )および(ti ),(ti-1 )に対応し
て、角度Δθi (i=1,2,…,k+1)を求め、各
Δθi が|Δθi |≧θ* を満たすか否かによって特徴
点の抽出を行なうか否かが判定される。この方法によ
り、入力文字の特徴を的確に表わすために不要なデータ
が除去され、認識に適した特徴点のみを抽出できる。
According to the invention of claim 2, claim 1
In the online handwriting recognition method described,
Start point of k + 2 datax(T0) And the final pointx
(Tk + 1)andx(Ti),x(Ti-1) Corresponding to
Angle Δθi(I = 1, 2, ..., K + 1)
ΔθiIs | Δθi│ ≧ θ*Features depending on whether or not
It is determined whether or not to extract points. By this method
Unnecessary data to accurately represent the characteristics of input characters
Is removed, and only feature points suitable for recognition can be extracted.

【0035】請求項3に記載の発明によれば、筆記情報
列から複数個の特徴点を抽出し、各特徴点ごとに、認識
に用いる特徴量(θ(fi ),pi )が求められる。さ
らに、求められた特徴量と、予め登録されているテンプ
レートとの間で、パターン間距離を求め、最小のパター
ン間距離に対応するテンプレートを、認識された手書き
文字として選択する。オフストロークも含めて連続した
1つの筆記情報列に対して、筆記手段のオン/オフも含
めて考慮したパターンマッチングが行なえるので、楷書
のみならず、変形の大きい続け字の認識もより正確に行
なえる。
According to the third aspect of the invention, a plurality of feature points are extracted from the writing information sequence, and the feature amount (θ (f i ), p i ) used for recognition is obtained for each feature point. To be Further, the inter-pattern distance is obtained between the obtained feature amount and the template registered in advance, and the template corresponding to the minimum inter-pattern distance is selected as the recognized handwritten character. Since it is possible to perform pattern matching that considers on / off of writing means for one continuous writing information string including off strokes, not only regular writing but also recognition of continuously deformed continuous characters is more accurate. I can do it.

【0036】請求項4に記載の発明によれば、i番目の
特徴点における筆跡の角度変化、i−1番目の特徴点と
i番目の特徴点との間の筆跡の移動量、i番目の特徴点
または筆跡の長さが求められ、これらに基づいて特徴量
が求められる。こうして求めた特徴量を用いてパターン
マッチングを行なうことにより、正しい文字の認識率が
向上する。
According to the fourth aspect of the invention, the angle change of the handwriting at the i-th feature point, the movement amount of the handwriting between the (i-1) th feature point and the i-th feature point, the i-th feature point The feature point or the length of the handwriting is obtained, and the feature amount is obtained based on these. By performing pattern matching using the feature amount thus obtained, the recognition rate of correct characters is improved.

【0037】請求項5に記載の発明によれば、パターン
間距離の最小値をダイナミックプログラミングマッチン
グ法で求める工程において、所定の条件を満たすパスを
刈り込むことにより、パターン間距離の計算量を削減で
きる。したがって、パターンマッチングの計算負荷を減
少でき、認識速度を向上できる。
According to the fifth aspect of the present invention, the amount of calculation of the inter-pattern distance can be reduced by pruning the path satisfying a predetermined condition in the step of obtaining the minimum value of the inter-pattern distance by the dynamic programming matching method. . Therefore, the calculation load of pattern matching can be reduced and the recognition speed can be improved.

【0038】[0038]

【実施例】以下、本発明の一実施例を図を用いて説明す
る。図1は、本発明の一実施例を実現するためのオンラ
イン手書き文字認識装置の構成を示すブロック図であ
る。図1を参照してオンライン手書き文字認識装置30
は、筆記情報を時系列データとして出力するためのタブ
レット40と、タブレット40の出力からストロークを
検出するためのストローク検出部42と、検出されたス
トロークから特徴点を抽出するための特徴抽出部44
と、抽出された特徴点と、予め登録されていた複数個の
テンプレートとの間でマッチングを行なうためのマッチ
ング部46と、マッチングに使用されるテンプレートを
予め登録しておくテンプレート記憶部48と、マッチン
グ結果を表示するための表示部50とを含む。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an online handwritten character recognition apparatus for realizing an embodiment of the present invention. Referring to FIG. 1, online handwritten character recognition device 30
Is a tablet 40 for outputting writing information as time series data, a stroke detection unit 42 for detecting a stroke from the output of the tablet 40, and a feature extraction unit 44 for extracting a feature point from the detected stroke.
A matching unit 46 for performing matching between the extracted feature points and a plurality of pre-registered templates; a template storage unit 48 for pre-registering a template used for matching; And a display unit 50 for displaying the matching result.

【0039】タブレット40は手書き文字データ出力手
段の一例である。なお手書き文字データ出力手段として
はタブレットに限定されず、手書き文字の筆跡の移動を
座標列として出力できるとともに、その間のペンのオン
/オフ(ストローク中か、ストロークとストロークとの
間の空白区間か)を示す情報を出力できるものであれば
どのようなものでもよい。
The tablet 40 is an example of handwritten character data output means. Note that the handwritten character data output means is not limited to a tablet, and the movement of the handwriting of the handwritten character can be output as a coordinate string, and the pen on / off (during stroke or a blank section between strokes) can be output. ), Any information can be output as long as it can output the information.

【0040】以下、各部で行なわれる処理について次の
数式を参照して説明する。
The processing performed by each unit will be described below with reference to the following mathematical formulas.

【0041】[0041]

【数17】 [Equation 17]

【0042】図1に示されるタブレット40から得られ
るデータを、式(1)の(ti )とする。ここで、
(ti )は時刻ti における2次元座標データを示す。
時刻ti とは、筆跡の最初(0番目)のデータが得られ
た時刻をt0 とし、その後一定のタイミングでサンプリ
ングされた場合の、i番目のサンプリングタイミングを
示す。式(1)においてp(ti )は、時刻ti におけ
るスタイラスペンのオン/オフ状態を示す。たとえばペ
ンがオンの場合には論理1、ペンがオフの場合には論理
0となる。
The data obtained from the tablet 40 shown in FIG. 1 is defined as x (t i ) in the equation (1). Where x
(T i ) indicates two-dimensional coordinate data at time t i .
The time t i is the i-th sampling timing in the case where the time when the first (0th) data of the handwriting is obtained is t 0 and the sampling is performed at a constant timing thereafter. In Expression (1), p (t i ) represents the on / off state of the stylus pen at time t i . For example, when the pen is on, it is a logical 1, and when the pen is off, it is a logical 0.

【0043】図1のストローク検出部42および特徴抽
出部44で行なわれる特徴点の抽出処理の概略は次のよ
うなものである。
The outline of the feature point extraction processing performed by the stroke detection unit 42 and the feature extraction unit 44 in FIG. 1 is as follows.

【0044】(1) ステップ1 図2を参照して、3個の座標データ(t0 )、(t
1 )、(t2 )を選択する。これら3点は、得られた
筆跡データのうちの、連続する3つの点である。この図
2に示される3点の座標データから、式(2)に従って
角度Δθiを求める。図2の場合にはΔθ1 とΔθ2
の2つが得られる。
(1) Step 1 Referring to FIG. 2, three coordinate data x (t 0 ) and x (t
1 ), x (t 2 ) are selected. These three points are three consecutive points in the obtained handwriting data. From the coordinate data of the three points shown in FIG. 2, the angle Δθi is obtained according to the equation (2). In the case of FIG. 2, two of Δθ 1 and Δθ 2 are obtained.

【0045】θ* を所定のしきい値(0〜180°)と
して、もしも式(3)が成立すれば後述のステップ2
に、さもなければ(t0 )および(t1 )を特徴点
とし、(t0 ):=(t1 )として、ステップ1に
戻る。
If θ * is set to a predetermined threshold value (0 to 180 °), and if the equation (3) is satisfied, the step 2 described later will be performed.
Otherwise, let x (t 0 ) and x (t 1 ) be feature points, and set x (t 0 ): = x (t 1 ) and return to step 1.

【0046】(2) ステップ2 続いて図3を参照して、4個の座標データ(t0 ),
…,(t3 )が与えられた場合を考える。その場合に
も式(4)に従い、3つのΔθi (i=1,2,3)を
求める。もしも式(5)が図3に示されるようにi=
1,2,3のすべてに対して成立すれば後のステップ3
の処理に、さもなければ、つまり図4に示されるように
いずれか1つ(図4の場合にはΔθ3 )がθ* よりも大
きければ(t0 )、(t2 )を特徴点とし、(t
0 ):=(t2 )としてステップ1に戻る。
(2) Step 2 Subsequently, referring to FIG. 3, four coordinate data x (t 0 ),
,, x (t 3 ) is given. Also in that case, three Δθ i (i = 1, 2, 3) are obtained according to the equation (4). If equation (5) is i =
If all of 1, 2, and 3 are satisfied, the subsequent step 3
Otherwise, that is, if any one (Δθ 3 in the case of FIG. 4) is larger than θ * , as shown in FIG. 4, characterize x (t 0 ), x (t 2 ). A point, x (t
0 ): = x (t 2 ) and the process returns to step 1.

【0047】(3) ステップ3 以下、ステップ1およびステップ2と同様の処理を、処
理対象の座標データの数を1ずつ増加させながら行なっ
ていく。
(3) Step 3 Hereinafter, the same processing as in Step 1 and Step 2 is performed while increasing the number of coordinate data to be processed by one.

【0048】(4) ステップk k+2個の座標データ(t0 ),(tk+1 )が与え
られる場合、式(6)に示されるようにΔθi (i=
1,…,k+1)が計算される。もしも式(7)がすべ
てのi(i=1,…,k+1)に対して成立すればステ
ップk+1へ、さもなければ(t0 )、(tk )を
特徴点とし、(t0 ):=(tk )としてステップ
1に戻る。
(4) When step k k + 2 coordinate data x (t 0 ), x (t k + 1 ) are given, Δθ i (i =
1, ..., K + 1) are calculated. If expression (7) is satisfied for all i (i = 1, ..., K + 1), go to step k + 1, otherwise, set x (t 0 ) and x (t k ) as feature points, and set x (t 0 ): = x (t k ) and return to step 1.

【0049】(5) 終了ステップ 以上の処理を、入力されたストロークの座標点数Mまで
完了した場合に抽出処理が終了する。なおMは式(1)
にも示されるように、入力されたストロークの座標点数
を示す。
(5) Ending Step When the above processing is completed up to the coordinate point number M of the input stroke, the extraction processing ends. Note that M is the formula (1)
Also indicates the number of coordinate points of the input stroke.

【0050】図5に、「か」について上記手順で特徴点
を抽出した例を示す。図5においては「●」が特徴点
を、「○」が特徴点以外の座標データを示す。図5にお
いて、ペンのオン/オフ情報がオンのストロークは実線
で、オフのストロークは点線で、それぞれ示している。
なお、この明細書で使用している「オフストローク」と
いう語は、あるストロークの終点座標と次のストローク
の始点座標とを結んだ擬似的なストロークのことを指
す。たとえば図5では、(t5 )および(t6)と
の間、および(t7 )と(t8 )との間を結ぶ線分
がオフストロークである。
FIG. 5 shows an example in which the characteristic points of "ka" are extracted by the above procedure. In FIG. 5, “●” indicates a feature point, and “◯” indicates coordinate data other than the feature point. In FIG. 5, strokes for which the on / off information of the pen is on are indicated by solid lines, and strokes for which the pen is off are indicated by dotted lines.
The term “off stroke” used in this specification refers to a pseudo stroke that connects the end point coordinate of a certain stroke and the start point coordinate of the next stroke. For example, in FIG. 5, line segments connecting x (t 5 ) and x (t 6 ) and between x (t 7 ) and x (t 8 ) are off-strokes.

【0051】なお、しきい値角度θ* は前述のように0
〜180°の値をとることができ、経験的に最適と思わ
れる値を選択すればよい。後に述べる実験の場合、θ*
は10°に設定されている。またしきい値角度θ* は式
(3)、(5)および(7)に共通である。もちろん、
各ステップによりこのしきい値角度を変えることも考え
られるが、共通とした方が簡明である。
The threshold angle θ * is 0 as described above.
A value of ˜180 ° can be taken, and an empirically optimum value may be selected. In the case of the experiment described later, θ *
Is set to 10 °. The threshold angle θ * is common to the equations (3), (5) and (7). of course,
It is conceivable to change this threshold angle in each step, but it is easier to make it common.

【0052】上記した特徴点抽出方式を実現するための
ソフトウェアの制御をフローチャート形式で示したもの
が図16および図17であるが、その詳細については後
述する。
FIG. 16 and FIG. 17 show the control of software for realizing the above-mentioned feature point extraction method in the form of flowcharts, the details of which will be described later.

【0053】上述のようにして抽出された特徴点から、
パターンマッチングの特徴量を得るための処理につき、
次の式(8)〜(17)を参照して以下に説明する。
From the feature points extracted as described above,
Regarding the process to obtain the feature amount of pattern matching,
This will be described below with reference to the following equations (8) to (17).

【0054】[0054]

【数18】 (Equation 18)

【0055】まず、上述のようにして抽出された特徴点
の座標とその座標におけるペンのオン/オフ情報を組と
した特徴点列を式(8)で表わされるものとする。i=
1,…,Mに対して式(9)に従ってΔθi (i=1,
…,M)を計算する。なお、x1 (ti )は(ti
のx軸成分、x2 (ti )はそのy成分である。
First, it is assumed that the characteristic point sequence, which is a set of the coordinates of the characteristic points extracted as described above and the on / off information of the pen at the coordinates, is represented by the equation (8). i =
Δθ i (i = 1, 1, ...
..., M) is calculated. Note that x 1 (t i ) is x (t i )
The x-axis component of x, and x 2 (t i ) is its y component.

【0056】同様にして式(10)で表わされる値も計
算する。なお、本明細書では式(10)の左辺に示され
るように変数に上線を設けた変数は、以下その変数名の
後に(オーババー)を付して呼ぶこととする。たとえば
式(10)の左辺はΔfi (オーババー)と呼ぶ。
Similarly, the value represented by the equation (10) is also calculated. In the present specification, a variable in which a variable is overlined as shown on the left side of Expression (10) will be referred to by adding (overbar) after the variable name. For example, the left side of equation (10) is called Δf i (overbar).

【0057】Δfi (オーババー)を、式(11)に従
って正規化しΔfi を得る。式(11)によればΔfi
は、筆跡の全長(ペンの全移動距離)を1とした場合
の、(ti-1 )と(ti )との距離を示す。
Δf i (overbar) is normalized according to equation (11) to obtain Δf i . According to equation (11), Δf i
Indicates the distance between x (t i-1 ) and x (t i ) when the total length of the handwriting (the total movement distance of the pen) is 1.

【0058】式(12)に従ってfi を計算すると、f
i は特徴点(ti )までの筆跡の長さ(ペンの移動距
離の総和)を表わしている。
When f i is calculated according to equation (12), f i
i represents the length of the handwriting up to the characteristic point x (t i ) (sum of pen movement distances).

【0059】この実施例で文字認識に用いる特徴量は式
(13)により示されている。式(13)においてθ
(fi )は式(14)により定義され、pi は式(1
5)によって定義される。式(14)の右辺の「Δθk
(fk )」は、特徴点(tk )までのストロークの長
さを式(12)に示されるようにfk とした場合の、そ
のポイント(tk )におけるΔθk を表わしている。
つまり式(14)の左辺のθ(fi )は、k=1からk
=iまでの各特徴点において計算されたΔθk を累積し
たトータルの角度変化であると考えることができる。
The feature amount used for character recognition in this embodiment is represented by the equation (13). Θ in equation (13)
(F i ) is defined by equation (14), and p i is equation (1
5). “Δθ k on the right side of equation (14)
(F k) "is the length of stroke up feature point x (t k) in the case of the f k as shown in equation (12), represent the [Delta] [theta] k at that point x (t k) There is.
That is, θ (f i ) on the left side of Expression (14) is k = 1 to k.
It can be considered to be a total angle change obtained by accumulating Δθ k calculated at each feature point up to = i.

【0060】また式(15)によれば、2つの特徴点
(ti-1 ),p(ti-1 )),((ti ),p
(ti ))の区間のペンの状態は「時刻ti-1 以降時刻
i までのペンの状態である。」ことを表わしている。
式(8)〜(14)で表わされる処理は、特徴点データ
をxy座標系から極座標系に座標変換している処理と考
えられるが、それに付随するペン情報は、極座標系に変
換される2つの特徴点の間の区間のペン情報と等しい。
Further, according to the equation (15), two feature points ( x (t i-1 ), p (t i-1 )), ( x (t i ), p
The state of the pen in the section (t i )) indicates that “the state of the pen is from time t i−1 to time t i ”.
The processing represented by the formulas (8) to (14) is considered to be processing for coordinate conversion of the feature point data from the xy coordinate system to the polar coordinate system, but the pen information accompanying it is converted to the polar coordinate system. It is equal to the pen information in the section between two feature points.

【0061】以上のようにして認識に用いる特徴量が定
義される。同様にして、予め登録されているテンプレー
トの特徴量を式(16)に示されるものとする。2つの
特徴量Xi =(θ(fi ),pi )とYj =(η
(gj ),qj )とについて式(17)によりρを定義
する。ここで、式(17)の右辺に用いられているd
(pik,qjk)は、ペンの状態(オン/オフ)をパター
ン間距離に反映させるための「重み」パラメータであ
る。このような「重み」パラメータを導入することによ
り、文字の変形まで考慮したより的確なパターンマッチ
ングを行なうことができる。式(17)に従って求めた
特徴量間の距離を、全体の筆跡について合計をすること
により文字を認識できる。
The feature quantity used for recognition is defined as described above. Similarly, it is assumed that the feature amount of the template registered in advance is represented by Expression (16). Two feature quantities X i = (θ (f i ), p i ) and Y j = (η
For (g j ), q j ) and ρ are defined by equation (17). Here, d used on the right side of Expression (17)
(P ik , q jk ) is a “weight” parameter for reflecting the state (on / off) of the pen in the inter-pattern distance. By introducing such a "weight" parameter, it is possible to perform more accurate pattern matching in consideration of character deformation. Characters can be recognized by summing the distances between the feature amounts calculated according to Expression (17) for the entire handwriting.

【0062】ところで、文字を認識するために全体の筆
跡について式(17)の合計を求める必要があるが、こ
こで次のような問題が存在する。得られた特徴点データ
の数は式(13)に示されるようにM個であり、テンプ
レートの特徴量の数は式(16)に示されるようにNで
ある。一般にM≠Nである。この場合には単純には式
(17)の合計を求めることはできない。以下、次の式
(18)〜(20)を参照して、合計の求め方を説明す
る。
By the way, in order to recognize the character, it is necessary to obtain the sum of the equation (17) for the entire handwriting, but there is the following problem here. The number of obtained feature point data is M as shown in the equation (13), and the number of template feature amounts is N as shown in the equation (16). Generally, M ≠ N. In this case, the sum of equation (17) cannot be simply obtained. Hereinafter, the method of obtaining the sum will be described with reference to the following equations (18) to (20).

【0063】[0063]

【数19】 [Formula 19]

【0064】[0064]

【数20】 (Equation 20)

【0065】[0065]

【数21】 [Equation 21]

【0066】こうした場合の式(17)の合計を求める
方法について以下説明する。対応すべき2つの特徴ベク
トル列X、Yを次のように定める。
A method of obtaining the sum of equation (17) in such a case will be described below. Two feature vector sequences X and Y to be associated are defined as follows.

【0067】X=X1 ,X2 ,…,XM Y=Y1 ,Y2 ,…,YN ただしXi 、Yj はそれぞれ式(13)、(16)によ
り定義される特徴ベクトルであるとする。
X = X 1 , X 2 , ..., X M Y = Y 1 , Y 2 , ..., Y N where X i and Y j are feature vectors defined by equations (13) and (16), respectively. Suppose there is.

【0068】この2つの系列をパターン間距離が最小と
なるように対応づけさせることを2次元的に図示すると
図6に示すとおりになる。図6を参照して、X、Y両ベ
クトル列の対応変換関数は、ij平面上の格子点c=
(i,j)の点列で表わされる。この点列をFとすれば
次のようになる。
FIG. 6 is a two-dimensional illustration of associating these two sequences with each other so that the inter-pattern distance is minimized. With reference to FIG. 6, the corresponding conversion function for both X and Y vector sequences is the grid point c = on the ij plane.
It is represented by a sequence of points (i, j). If this point sequence is F, then it becomes as follows.

【0069】F=c1 ,c2 ,…,ck ,…,cK ただし、ck =(ik ,jk )である。F = c 1 , c 2 , ..., C k , ..., C K , where c k = (i k , j k ).

【0070】2つの特徴ベクトルXikとYjkとの距離を
d(ck )で表わすと、点列Fに沿ってとった距離の総
和D(F)は式(20a)で表わされる。ただし式(2
0a)においてwk は、k番目の対応づけにおける経路
長である。
When the distance between the two feature vectors X ik and Y jk is represented by d (c k ), the total sum D (F) of the distances along the point sequence F is represented by the equation (20a). However, the formula (2
In 0a), w k is the path length in the k-th correspondence.

【0071】式(20a)の値が小さいほど、特徴ベク
トル列X、Yの対応づけが良いことを示している。
It is shown that the smaller the value of the equation (20a), the better the correspondence between the feature vector sequences X and Y.

【0072】ここで、式(20a)を、式(18)、
(19)、さらにi1 =j1 =1、i K =M、jK =N
という式(17a)の制限の下でFに関して最小化する
ことを考える。式(18)はサブインデックスik 、j
k に関する単調性の条件である。式(19)は同じくこ
れらサブインデックスについての連続性の条件である。
式(17a)は、これらサブインデックスが満足すべき
境界条件である。
Here, the equation (20a) is changed to the equation (18),
(19), then i1= J1= 1, i K= M, jK= N
Minimize with respect to F under the constraint of equation (17a)
Think about it. Expression (18) is the sub index ik, J
kIs a condition of monotonicity. Equation (19) is the same as
It is the condition of continuity for these sub-indexes.
Equation (17a) should satisfy these sub-indexes
It is a boundary condition.

【0073】この式(20a)においてd(ck )、w
k を式(20b)、(20c)と定義すれば式(20)
が得られる。このようにして定義された式(20)を、
手書き文字認識に用いる距離尺度とする。
In this equation (20a), d (c k ), w
If k is defined as equations (20b) and (20c), equation (20)
Is obtained. Equation (20) defined in this way is
The distance measure used for handwritten character recognition.

【0074】認識に用いる距離尺度として式(20)に
示される値D(X,Y)を計算するうえでd(pik,q
jk)の値は経験的なものであるが、それを定めるための
考え方は次のようなものである。
In calculating the value D (X, Y) shown in equation (20) as the distance measure used for recognition, d (p ik , q)
The value of jk ) is empirical, but the idea for determining it is as follows.

【0075】(1) 登録されたテンプレートが正しい
画数で書かれている場合を考える。入力文字が楷書体ま
たは続け字で書かれた場合、入力文字の各ペンがオフの
部分は、入力文字と同じカテゴリに属するテンプレート
のペンがオフの部分と一致する。したがってpi =qj
=“up”のときは、他の場合ほどΔθi 、Δηi 、Δ
i 、Δgj は重要ではない。なお、「カテゴリ」と
は、認識対象の各文字のことを指す。たとえば入力が
「か」の場合、入力文字と同じカテゴリに属するテンプ
レートとは、「か」を認識するためのテンプレートのこ
とを指す。
(1) Consider the case where the registered template is written with the correct number of strokes. When the input character is written in a regular type or continuous character, the part of the input character where each pen is off matches the part where the pen of the template belonging to the same category as the input character is off. Therefore p i = q j
When “= up”, Δθ i , Δη i , and Δ are the same as in other cases.
f i and Δg j are not important. The “category” refers to each character to be recognized. For example, when the input is "ka", the template belonging to the same category as the input character refers to a template for recognizing "ka".

【0076】(2) 登録されたテンプレートが正しい
画数で書かれており、入力文字が続け字で書かれた場合
を考える。この場合には入力文字のペンがオンとなる或
る部分が入力文字と同じカテゴリに属するテンプレート
のペンのオフの部分と一致することがある。したがって
i =“down”でqj =“up”のときは、あまり
大きなペナルティをかけない。すなわちこの場合にはd
(pik,qjk)の値は小さくする。
(2) Consider the case where the registered template is written with the correct number of strokes and the input characters are written in continuous characters. In this case, a part of the input character where the pen is turned on may coincide with a part where the pen of the template belonging to the same category as the input character is turned off. Therefore, when p i = “down” and q j = “up”, a very large penalty is not applied. That is, in this case d
The value of (p ik , q jk ) is made small.

【0077】(3) 一方pi =“up”でqj =“d
own”のときはペナルティを大きくする。
(3) On the other hand, p i = “up” and q j = “d”
If "own", the penalty is increased.

【0078】この重みパラメータの値としても種々考え
られる。後に述べる実験例の場合には次のようなd(p
i ,qj )を用いている。
Various values can be considered as the value of this weight parameter. In the case of the experimental example described later, the following d (p
i , q j ) are used.

【0079】[0079]

【表1】 [Table 1]

【0080】このようにして考えた場合、式(17)で
定義されるρは、入力特徴(θ(f i ),pi )とテン
プレート特徴(η(gj ),qj )の間の、ストローク
のオン、オフをも考慮した距離差と考えることができ
る。実際には式(17)に示されるようにρは入力特徴
とテンプレート特徴とのストロークの方向差×重みパラ
メータとして求められている。
When considered in this way, in equation (17)
The defined ρ is the input feature (θ (f i), Pi) And Ten
Plate characteristics (η (gj), Qj) Between
Can be thought of as the distance difference that takes into account the on and off of
You. Actually, ρ is the input feature as shown in equation (17).
Direction difference between stroke and template feature × weight parameter
Demanded as a meter.

【0081】式(20)により、入力Xとテンプレート
Yとの間のパターン間距離D(X,Y)を計算するため
の1つの手法としてDP(ダイナミックプログラミン
グ)マッチング手法がある。DPマッチング手法を式
(20)に適用した場合の例を次の式(21)に示す。
A DP (dynamic programming) matching method is one method for calculating the inter-pattern distance D (X, Y) between the input X and the template Y according to the equation (20). An example of applying the DP matching method to the equation (20) is shown in the following equation (21).

【0082】[0082]

【数22】 [Equation 22]

【0083】式(21)の第3式は、第2式に従って求
めたD(iK ,jK )が、式(20)で示されるD
(X,Y)であることを表わしている。
In the third equation of the equation (21), D (i K , j K ) obtained according to the second equation is the D expressed by the equation (20).
It is represented as (X, Y).

【0084】入力が与えられた場合、式(21)を用
い、予め登録されているテンプレートと、上述したよう
な方法で抽出された特徴点から得られる特徴量との間で
パターン間距離を計算し、得られたパターン間距離が最
小のものを認識文字として選択すればよい。
When an input is given, the inter-pattern distance is calculated between the template registered in advance and the feature quantity obtained from the feature points extracted by the above-mentioned method, using the equation (21). Then, the obtained minimum inter-pattern distance may be selected as the recognition character.

【0085】図7に、テンプレートと入力データの特徴
ベクトルの一例を示す。図8〜図12は、或る人が筆記
した「か」と他の人が筆記した「か」とのマッチングの
例を示している。図9〜図12は実際には図8に示され
るように連続した1つの図であることをここに指摘して
おく。また図9〜図12に示される数値は式(21)に
従ったDPマッチング手法で計算されたものであるが、
計算過程での丸め誤差により表面上微小な誤差が存在し
ていることにも注意すべきである。
FIG. 7 shows an example of the template and the feature vector of the input data. 8 to 12 show examples of matching between "ka" written by one person and "ka" written by another person. It should be pointed out here that FIGS. 9-12 are in fact one continuous view as shown in FIG. The numerical values shown in FIGS. 9 to 12 are calculated by the DP matching method according to the equation (21).
It should also be noted that there are small surface errors due to rounding errors in the calculation process.

【0086】上述のようにすれば、入力文字とテンプレ
ートとの間で、オフストロークまで考慮したマッチング
を行なうことができる。そのために、従来の方法と比較
してより正確に続け字まで認識できるという効果が存在
する。
According to the above, matching can be performed between the input character and the template in consideration of the off stroke. Therefore, compared to the conventional method, there is an effect that more consecutive characters can be recognized.

【0087】一方、認識精度を上げるためには、テンプ
レート数を多くすればよいと思われる。しかし、多くの
テンプレートに対して式(21)を用いたパターン間距
離の計算を行なえば、計算負荷が大きくなり認識速度の
低下の原因になると思われる。そこでパターン間距離の
計算をより高速化することが望まれる。計算処理の高速
化の方策としては以下が考えられる。
On the other hand, in order to improve the recognition accuracy, it seems that the number of templates should be increased. However, if the inter-pattern distance is calculated using equation (21) for many templates, it is considered that the calculation load becomes large and the recognition speed decreases. Therefore, it is desired to speed up the calculation of the distance between patterns. The following are possible measures to speed up the calculation process.

【0088】(1) 文字を筆記する動作は計算機の動
作速度と比較してよりゆっくりとしている。したがっ
て、タブレットから座標値を取得している間に式(2
1)の計算を開始すれば処理はより速く行なえる。
(1) The operation of writing a character is slower than the operation speed of a computer. Therefore, while obtaining the coordinate values from the tablet, the formula (2
The process can be performed faster if the calculation of 1) is started.

【0089】(2) 特徴点の数をMであるとする。す
ると式(11)の手順に従ってΔf i の正規化を行なう
と、すべてのΔfi (i=1,…,M)が得られるま
で、式(21)の計算を行なうことができない。すなわ
ち文字の筆記動作が終了しないとマッチング動作を実質
的には行なうことができず、文字の筆記と並行して計算
を行なう利点を得ることができない。
(2) Let M be the number of feature points. You
Then, according to the procedure of Expression (11), Δf iNormalize
And all ΔfiUntil (i = 1, ..., M) is obtained
Therefore, the calculation of the equation (21) cannot be performed. Sanawa
If the writing operation of chi characters is not completed, the matching operation is effectively
Cannot be performed, and calculation is done in parallel with writing the letters.
You cannot get the benefit of doing.

【0090】この問題に対処するために、本実施例では
次のようにしてDPマッチングのパスの刈り込みを行な
い、計算量を減少させることにより計算負荷を小さくし
ている。この計算方法を以下の式を参照して説明する。
In order to deal with this problem, in the present embodiment, the DP matching path is pruned as follows, and the calculation load is reduced to reduce the calculation load. This calculation method will be described with reference to the following formula.

【0091】[0091]

【数23】 (Equation 23)

【0092】まず、式(22)で示される値D* (X,
Y)を定義する。式(22)の右辺の分子は式(23)
により定義される。ここでik 、jk は既に述べたとお
りのサブインデックスである。
First, the value D * (X, X,
Y) is defined. The numerator on the right side of formula (22) is formula (23)
Is defined by Here, i k and j k are sub-indexes as described above.

【0093】今、上述の式(24)および式(25)で
表わされる2つの正規化されていない特徴ベクトルにつ
いて、M=N、fi (オーババー)=gj (オーババ
ー)、pi =qj が成立し、かつ式(26)が成立する
ものとする。式(26)は、2つの正規化されていない
特徴ベクトル(式(24)および式(25))の間の角
度差が一定値γであることを意味している。ここでi=
j=k、K=M=Nとする。これら値と式(23)を式
(22)に代入して整理すると式(27)が得られる。
すなわちこの場合式(27)の左辺は定数γと等しくな
り、スケール不変である。
Now, for two unnormalized feature vectors represented by the above equations (24) and (25), M = N, f i (overbar) = g j (overbar), p i = q It is assumed that j is established and Expression (26) is established. Equation (26) means that the angular difference between the two unnormalized feature vectors (Equations (24) and (25)) is a constant value γ. Where i =
Let j = k and K = M = N. By substituting these values and equation (23) into equation (22) and rearranging, equation (27) is obtained.
That is, in this case, the left side of the equation (27) becomes equal to the constant γ and is scale invariant.

【0094】しかしこのようにして求めた式(22)
も、Δfi が得られるまでは計算ができない。そこで、
式(21)でノード(ik ,jk )を多く刈り込んで計
算量を少なくするために、以下のようにして式(22)
を利用する。
However, the equation (22) obtained in this way
However, calculation cannot be performed until Δf i is obtained. Therefore,
In order to reduce the amount of calculation by pruning many nodes (i k , j k ) in equation (21), the following equation (22)
To use.

【0095】式(22)のうち、分母の根号の中の第2
項目(式(28))は予め登録されているテンプレート
から求めるものである。したがって式(28)は事前に
計算しておくことができる。また、タブレットのサイズ
などの物理的な制限のため、テンプレートの文字の大き
さに対する入力の筆跡の相対的なサイズには、自然な上
限がある。そこで、式(29)がすべてのテンプレート
について成立するような定数α* を経験値として求める
ことが可能である。この定数α* は理論上はかなり大き
な値となる。しかし、文字の入力枠を設けたりすること
によりかなり小さくすることができ、たとえば入力文字
の大きさをテンプレートの文字の大きさの2倍までと制
限することもできる。以下に述べる実験例ではα* =2
を用いている。
The second in the square root of the denominator in the equation (22)
The item (formula (28)) is obtained from a template registered in advance. Therefore, the equation (28) can be calculated in advance. Also, because of physical limitations such as the size of the tablet, there is a natural upper limit to the size of the input handwriting relative to the character size of the template. Therefore, it is possible to obtain, as an empirical value, a constant α * such that equation (29) holds for all templates. This constant α * is theoretically a large value. However, it can be made considerably smaller by providing a character input frame. For example, the size of the input character can be limited to twice the character size of the template. In the experimental example described below, α * = 2
Is used.

【0096】また、式(27)を考慮して、すべてのテ
ンプレートおよび入力について式(30)が成立するよ
うな経験値γ* が存在する。式(27)の解釈として、
文字がスケールに関係なく全体に角度γだけ回転してい
ると考えられる。したがって式(30)の右辺のγ*
回転を制限する上限値であって0〜180°の間に存在
する。以下に述べる実験例ではγ* =25を用いてい
る。
Further, considering the expression (27), there is an empirical value γ * for which the expression (30) holds for all templates and inputs. As the interpretation of equation (27),
It is considered that the characters are rotated by the angle γ as a whole regardless of the scale. Therefore, γ * on the right side of the equation (30) is an upper limit value that limits rotation and exists between 0 ° and 180 °. In the experimental example described below, γ * = 25 is used.

【0097】式(22)、(23)に式(29)、(3
0)を組合せることにより、式(31)の不等式が得ら
れる。式(31)はすべてのテンプレートと入力につい
て成立するはずである。また式(31)の右辺の部分は
入力とは無関係であり、経験値α* とγ* とが与えられ
れば予め計算可能である。そこで、式(23)で表わさ
れる値を式(20)と同様に式(21)により表わされ
るDPマッチング手法により計算し、式(31)の関係
が成立しないノードが存在した場合、そのノード以降の
パスを刈り込むことができる。これによりDPマッチン
グ手法における計算量が削減され、認識速度の向上が得
られる。
Expressions (29) and (3) are added to expressions (22) and (23).
By combining 0), the inequality of equation (31) is obtained. Equation (31) should hold for all templates and inputs. The part on the right side of the equation (31) is irrelevant to the input and can be calculated in advance if the experience values α * and γ * are given. Therefore, the value represented by the equation (23) is calculated by the DP matching method represented by the equation (21) similarly to the equation (20), and if there is a node for which the relation of the equation (31) does not hold, the node and the subsequent nodes are calculated. You can trim your path. This reduces the amount of calculation in the DP matching method and improves the recognition speed.

【0098】図13〜図15に、このようにしてパスを
刈り込んだ場合の計算過程を示す。図14および図15
は図13に示されるように組合わされることをここに指
摘しておく。図14および図15に示されるように、そ
のノードまでの最短経路が式(31)を満足しないノー
ド以降のパスの計算を行なわないようにすることによ
り、図8〜図12に示される場合と比較してかなりの量
の計算が削減できることがわかる。
FIG. 13 to FIG. 15 show the calculation process when the paths are pruned in this way. 14 and 15
It should be pointed out here that they are combined as shown in FIG. As shown in FIGS. 14 and 15, by making the shortest route to the node not to calculate the path after the node that does not satisfy the equation (31), the case shown in FIGS. It can be seen that a considerable amount of calculation can be reduced by comparison.

【0099】次に、この発明の方法に従って特徴点を抽
出する処理をコンピュータ上で実行されるソフトウェア
により実現する場合の、フローチャートを図16および
図17を参照して説明する。
Next, a flow chart in the case of implementing the processing for extracting the characteristic points by the software executed on the computer according to the method of the present invention will be described with reference to FIGS. 16 and 17.

【0100】図16を参照して、まずステップ59で、
0 に0を代入し、(t0 )を特徴点として選択す
る。
Referring to FIG. 16, first in step 59,
Substitute 0 for i 0 and select x (t 0 ) as a feature point.

【0101】続いてステップ60で、インデックスi0
が定数M−2以下かどうかが判定される。この式が成立
しなければ入力されたストロークの座標点数Mのすべて
が処理完了したということであるからステップ61で
(tM )を特徴点として選択し全体処理は終了する。
Subsequently, in step 60, the index i 0
Is determined to be a constant M-2 or less. X in step 61 from all the coordinates points M of strokes this expression is entered unless satisfied is that the processing is completed
(T M ) is selected as the feature point, and the whole process ends.

【0102】ステップ60の不等式が成立する場合、ス
テップ62で変数kにi0 +1を代入する。
When the inequality in step 60 is satisfied, i 0 +1 is substituted for the variable k in step 62.

【0103】続いてステップ64でp(ti0)(時刻t
i0におけるペンのオン/オフ情報)が“up”かどうか
についての判定が行なわれる。upであれば制御は図1
7のステップ82に進む。さもなければ制御はステップ
65に進む。図17の処理については後述する。
Then, at step 64, p (t i0 ) (time t
A determination is made as to whether the pen on / off information at i0 ) is "up". If it is up, control is shown in FIG.
7 to step 82. Otherwise, control proceeds to step 65. The process of FIG. 17 will be described later.

【0104】ステップ65ではkがM以上か否かが判定
される。M以上であれば制御は図17のステップ82に
進み、さもなければ制御はステップ66に進む。
At step 65, it is judged if k is M or more. If M or more, control proceeds to step 82 in FIG. 17, otherwise control proceeds to step 66.

【0105】ステップ66では、同様にしてp(tk
がupかどうかが判定される。upであれば制御は図1
7のステップ82に進み、さもなければ制御はステップ
68に進む。
At step 66, similarly, p (t k )
Is up. If it is up, control is shown in FIG.
No. 7, step 82, otherwise control proceeds to step 68.

【0106】ステップ68では角((tk+1 ),
(ti0))を計算する。この計算は式(9)と同様にし
て計算できる。
In step 68, the angle (x(Tk + 1),x
(Ti0)) Is calculated. This calculation is similar to equation (9)
Can be calculated.

【0107】続いてステップ70でi0 +1をiに代入
して制御は図17のステップ72に進む。
Subsequently, in step 70, i 0 +1 is substituted for i and the control proceeds to step 72 in FIG.

【0108】ステップ72では、i≦(k+1)が成立
するか否かの判断が行なわれる。この不等式が成立しな
ければ制御はステップ73に進み、成立すれば制御はス
テップ74に進む。
In step 72, it is determined whether i≤ (k + 1) is satisfied. If this inequality does not hold, control proceeds to step 73, and if it holds, control proceeds to step 74.

【0109】ステップ73ではkが1インクリメントさ
れ、制御は図16のステップ65に戻る。
In step 73, k is incremented by 1, and the control returns to step 65 in FIG.

【0110】一方ステップ74では角((ti ),
(ti-1 ))が計算される。続いてステップ76で、式
(2)に示される関係に従ってΔθi が計算される。
On the other hand, in step 74, the angles ( x (t i ), x
(T i-1 )) is calculated. Then, at step 76, Δθ i is calculated according to the relationship shown in equation (2).

【0111】ステップ78で、|Δθi |<θ* が成立
するか否かの判断が行なわれる。この不等式が成立しな
ければ制御はステップ82に進み、さもなければ制御は
ステップ80に進む。
At step 78, it is determined whether or not | Δθ i | <θ * holds. If this inequality does not hold, control proceeds to step 82, otherwise control proceeds to step 80.

【0112】ステップ78の不等式が成立する場合には
ステップ80でiを1インクリメントして制御はステッ
プ72に戻る。以下ステップ72〜78の処理を繰返
す。
If the inequality in step 78 is satisfied, i is incremented by 1 in step 80, and the control returns to step 72. Hereinafter, the processing of steps 72 to 78 is repeated.

【0113】一方ステップ82に処理が進んだ場合に
は、(tk )を特徴点として選択する。
On the other hand, when the process proceeds to step 82, x (t k ) is selected as the feature point.

【0114】続いてステップ84でi0 にkを代入して
制御は図16のステップ60に戻る。
Subsequently, in step 84, k is substituted for i 0 , and the control returns to step 60 in FIG.

【0115】以上のようにして、入力データから特徴点
が抽出される。続いて、DPマッチングによる式(2
0)の計算方法、すなわち式(21)の求め方のフロー
チャートを説明する。なお、この計算に先立って(M+
1)×(N+1)の2次元配列D(M,N)が準備され
ているものとする。図18を参照して、まずステップ9
0でD(0,0)に0が代入され、D(0,1)〜D
(0,N)に、∞が挿入される。実際には、D(0,
1)〜D(0,N)には計算機で扱うことができる最大
数が代入される。なお、以下のステップ94からの処理
では、各行について各列の値を計算し、1行の計算がす
べて完了した後に次の行の処理を行なう、というように
計算を進めていく。ステップ94ではiがM以下かどう
かについての判定が行なわれる。この不等式が成立しな
い場合、すべての行についての処理が終了したというこ
とであるので計算処理は終了する。不等式が成立する場
合には制御はステップ96に進む。
The feature points are extracted from the input data as described above. Then, the equation (2
A flowchart of the calculation method of 0), that is, the method of obtaining Expression (21) will be described. In addition, prior to this calculation (M +
1) × (N + 1) two-dimensional array D (M, N) is prepared. Referring to FIG. 18, first, step 9
0 is substituted for D (0,0) at 0, and D (0,1) to D
∞ is inserted into (0, N). In fact, D (0,
The maximum number that can be handled by the computer is substituted into 1) to D (0, N). In the processing from step 94 below, the value of each column is calculated for each row, and after the calculation for one row is completed, the processing for the next row is performed. At step 94, a determination is made as to whether i is M or less. If this inequality does not hold, it means that the processing has been completed for all the rows, so the calculation processing ends. If the inequality holds, control proceeds to step 96.

【0116】ステップ96ではD(i,0)に∞が代入
される。制御はステップ98に進む。ステップ98〜1
02の処理は、i行目の各列の要素についての計算であ
る。
At step 96, ∞ is substituted for D (i, 0). Control continues to step 98. Steps 98-1
The process of 02 is a calculation for the element of each column of the i-th row.

【0117】ステップ98ではjがN以下かどうかにつ
いての判断が行なわれる。この不等式が成立していなけ
れば、この行についてのすべての列要素の計算が終了し
たということであり、制御はステップ104に進む。さ
もなければ制御はステップ100に進む。
At step 98, it is judged whether j is N or less. If this inequality does not hold, it means that calculation of all column elements for this row has been completed, and the control advances to step 104. Otherwise, control proceeds to step 100.

【0118】ステップ100では、式(21)に従って
D(i,j)を計算する処理が行なわれる。
In step 100, a process of calculating D (i, j) according to the equation (21) is performed.

【0119】続いてステップ102でjをインクリメン
トして制御はステップ98に戻る。一方ステップ104
では、iを1インクリメントしてステップ94に戻る。
Then, in step 102, j is incremented and the control returns to step 98. Meanwhile, step 104
Then, i is incremented by 1 and the process returns to step 94.

【0120】以上のようにして式(21)のDPマッチ
ングによる計算が行なわれる。
As described above, the calculation by the DP matching of the equation (21) is performed.

【0121】[0121]

【発明の効果】以上のように請求項1に記載の発明によ
れば、オフストロークも含めて、1つの連続する筆記情
報列が得られ、この筆記情報列をテンプレートと比較す
ることで手書き文字が認識される。ストロークのみによ
る文字認識ではないため、楷書のみならず続け字も認識
できるオンライン手書き文字認識方法を提供できる。
As described above, according to the invention described in claim 1, one continuous writing information string including an off-stroke can be obtained. By comparing this writing information string with a template, handwritten characters can be obtained. Is recognized. Since the character recognition is not based only on strokes, it is possible to provide an online handwritten character recognition method that can recognize not only regular characters but also continuous characters.

【0122】さらに請求項2に記載の発明によれば、入
力文字の特徴を的確に表わすために不要なデータが除去
され、認識に適した特徴点のみを抽出できる。認識に適
した特徴点のみを用いてテンプレートとの比較が行なえ
るので、計算量も少なく、高速に正確な文字認識が可能
なオンライン手書き文字認識方法を提供できる。
Further, according to the second aspect of the present invention, unnecessary data for accurately expressing the characteristics of the input character is removed, and only the characteristic points suitable for recognition can be extracted. Since the comparison with the template can be performed using only the feature points suitable for recognition, it is possible to provide an online handwritten character recognition method that requires a small amount of calculation and enables accurate character recognition at high speed.

【0123】請求項3に記載の発明によれば、オフスト
ロークも含めて連続した1つの筆記情報列に対して、筆
記手段のオン/オフも含めて考慮してテンプレートとの
比較が行なえる。したがって楷書のみならず変形の大き
い続け字の認識が正しく行なえる。
According to the third aspect of the present invention, one continuous writing information sequence including the off stroke can be compared with the template in consideration of on / off of the writing means. Therefore, not only regular writing but also continuous characters with large deformation can be recognized correctly.

【0124】請求項4に記載の発明によれば、手書き文
字の特徴を的確に表わす特徴量を使用してパターンマッ
チングを行なうので、手書き文字の認識率が向上し、楷
書のみならず続け字も正しく認識できるオンライン手書
き文字認識方法を提供できる。
According to the fourth aspect of the invention, since pattern matching is performed by using the feature amount that accurately represents the feature of the handwritten character, the recognition rate of the handwritten character is improved, and not only the regular character but also the continuous character is improved. An online handwritten character recognition method that can be correctly recognized can be provided.

【0125】請求項5に記載の発明によれば、ダイナミ
ックプログラミング法における計算量を削減できる。し
たがってパターンマッチングの計算負荷を減少でき、認
識速度を向上できる。その結果、楷書のみならず続け字
も高速に正確に認識することが可能なオンライン手書き
文字認識方法を提供できる。
According to the invention described in claim 5, the amount of calculation in the dynamic programming method can be reduced. Therefore, the calculation load of pattern matching can be reduced and the recognition speed can be improved. As a result, it is possible to provide an online handwritten character recognition method capable of recognizing not only regular characters but also continuous characters at high speed and accurately.

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

【図1】本発明の一実施例の方法を実施するためのオン
ライン手書き文字認識装置のブロック図である。
FIG. 1 is a block diagram of an on-line handwritten character recognition apparatus for performing a method according to an embodiment of the present invention.

【図2】3点について特徴点を抽出する場合を示す模式
図である。
FIG. 2 is a schematic diagram showing a case where feature points are extracted from three points.

【図3】4点について特徴点を抽出する場合を示す模式
図である。
FIG. 3 is a schematic diagram showing a case where feature points are extracted for four points.

【図4】4点について特徴点を抽出する場合を示す模式
図である。
FIG. 4 is a schematic diagram showing a case where feature points are extracted from four points.

【図5】「か」に関する入力データと特徴点との一例を
示す模式図である。
FIG. 5 is a schematic diagram showing an example of input data and feature points regarding “ka”.

【図6】2つの特徴ベクトル列X、Yのマッチング経路
を示す模式図である。
FIG. 6 is a schematic diagram showing a matching path of two feature vector sequences X and Y.

【図7】テンプレートと入力パターンとを対比して示す
図である。
FIG. 7 is a diagram showing a template and an input pattern in comparison.

【図8】図9〜図12に示される図の関係を模式的に示
す図である。
FIG. 8 is a diagram schematically showing the relationship between the diagrams shown in FIGS. 9 to 12;

【図9】本発明をDPマッチング手法を用いて実施した
場合の結果を示す図である。
FIG. 9 is a diagram showing a result when the present invention is implemented using a DP matching method.

【図10】本発明をDPマッチング手法を用いて実施し
た場合の結果を示す図である。
FIG. 10 is a diagram showing a result when the present invention is implemented using a DP matching method.

【図11】本発明をDPマッチング手法を用いて実施し
た場合の結果を示す図である。
FIG. 11 is a diagram showing a result when the present invention is implemented using a DP matching method.

【図12】本発明をDPマッチング手法を用いて実施し
た場合の結果を示す図である。
FIG. 12 is a diagram showing a result when the present invention is carried out using a DP matching method.

【図13】図14および図15の関係を示す模式図であ
る。
13 is a schematic diagram showing the relationship between FIG. 14 and FIG.

【図14】本発明をDPマッチング手法を用いて行な
い、かつパスの刈り込むを行なった場合の結果を示す図
である。
FIG. 14 is a diagram showing a result when the present invention is performed using a DP matching method and path pruning is performed.

【図15】本発明をDPマッチング手法を用いて行な
い、かつパスの刈り込むを行なった場合の結果を示す図
である。
FIG. 15 is a diagram showing a result when the present invention is performed using a DP matching method and path pruning is performed.

【図16】特徴点抽出処理を示すフローチャートであ
る。
FIG. 16 is a flowchart showing a feature point extraction process.

【図17】特徴点抽出処理を示すフローチャートであ
る。
FIG. 17 is a flowchart showing a feature point extraction process.

【図18】DPマッチングのフローチャートである。FIG. 18 is a flowchart of DP matching.

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

30 オンライン手書き文字認識装置 40 タブレット 42 ストローク検出部 44 特徴抽出部 46 マッチング部 48 テンプレート記憶部 50 表示部 30 Online Handwritten Character Recognition Device 40 Tablet 42 Stroke Detection Section 44 Feature Extraction Section 46 Matching Section 48 Template Storage Section 50 Display Section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松本 隆 東京都新宿区西早稲田1丁目6番1号 学 校法人早稲田大学内 (72)発明者 鶴田 彰 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Takashi Matsumoto 1-6-1, Nishi-Waseda, Shinjuku-ku, Tokyo Within Waseda University (72) Inventor Akira Tsuruta 22-22 Nagaike-cho, Abeno-ku, Osaka-shi, Osaka Within Sharp Corporation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 手書き文字データ出力手段から与えられ
る、手書き文字の筆跡の座標の移動を表わす時系列デー
タに基づいて手書き文字を認識するためのオンライン手
書き文字認識方法であって、 与えられた時系列データから、特徴点を抽出する工程
と、 前記特徴点を抽出する工程により抽出された複数個の特
徴点データを、予め準備されたテンプレートと比較する
ことにより、手書き文字を認識する工程とを含み、 特徴点を抽出する前記工程は、 前記与えられた時系列データのうち、隣接する予め定め
る複数個のデータを選択する工程と、 前記選択された予め定める複数個のデータの先頭点およ
び最終点を結んだ線分と、前記選択された予め定める複
数個のデータ内の、隣接する2点を結んだ線分とがなす
角度を求める工程と、 前記求められた角度と予め定めるしきい値角度との間に
所定の関係が成立するか否かを判定する工程と、 前記所定の関係が成立すると判定された場合に、前記選
択された予め定める複数個のデータのうちの予め定める
ものを特徴点として抽出する工程と、 前記与えられた時系列データに対して、前記複数個のデ
ータの選択が終了するまで、前記選択するステップと、
前記角度を求める工程と、前記判定する工程と、前記抽
出する工程とを繰返す工程とを含む、オンライン手書き
文字認識方法。
1. An online handwritten character recognition method for recognizing a handwritten character based on time-series data, which is provided from a handwritten character data output means and represents movement of coordinates of a handwriting of the handwritten character, at a given time. A step of extracting feature points from the series data, and a step of recognizing handwritten characters by comparing a plurality of feature point data extracted by the step of extracting the feature points with a template prepared in advance. Including extracting the characteristic points, selecting a plurality of adjacent predetermined data from the given time-series data, and selecting a start point and a final point of the selected predetermined plurality of data. Determining the angle formed by the line segment connecting the points and the line segment connecting two adjacent points in the selected plurality of predetermined data; A step of determining whether a predetermined relationship is established between the predetermined angle and a predetermined threshold angle, and a plurality of the selected predetermined plurality if it is determined that the predetermined relationship is established. Extracting a predetermined one of the data as a feature point, with respect to the given time-series data, until the selection of the plurality of data is completed, the selecting step,
An online handwritten character recognition method including the steps of obtaining the angle, the determining step, and the extracting step.
【請求項2】 前記選択する工程は、与えられたn個
(n≧3)の時系列データのうち、隣接するk+2個
(k=1〜n−2の自然数)のデータ(t0 )〜
(tk+1 )を選択する工程を含み、 前記角度を求める工程は、前記選択されたk+2個のデ
ータの先頭点(t0)と最終点(tk+1 )、および
(ti ),(ti-1 )に対して、 【数1】 で定められる角度Δθi (i=1,2,…,k+1)を
求める工程を含み、 前記判定する工程は、予め定めるしきい値角度θ* に対
して各Δθi が|Δθ i |≧θ* を満たすか否かを判定
する工程を含む、請求項1記載のオンライン手書き文字
認識方法。
2. The selected n steps are given.
Among (n ≧ 3) time series data, adjacent k + 2 data
(K = 1 to n-2 natural number) datax(T0) ~x
(Tk + 1) Is selected, the step of obtaining the angle includes the step of selecting the selected k + 2 data.
Start point of datax(T0) And the final pointx(Tk + 1),and
pointx(Ti),x(Ti-1) With respect toAngle defined byi(I = 1, 2, ..., k + 1)
Including the step of determining, the step of determining includes a predetermined threshold angle θ*Against
And each ΔθiIs | Δθ i│ ≧ θ*Determine whether or not
The online handwritten character according to claim 1, including a step of
Recognition method.
【請求項3】 手書き文字データ出力手段から、筆記手
段を用いて書かれる手書き文字の筆跡を表わす筆記情報
列を受けて手書き文字を認識するためのオンライン手書
き文字認識方法であって、 前記筆記情報列から複数個の特徴点を抽出することによ
り、隣接する特徴点を結ぶセグメントごとにその特徴点
列 【数2】 を求める工程を含み、 各前記(ti )はi番目の特徴点の座標ベクトルを、
前記p(ti )はi番目の特徴点における前記筆記手段
のオン/オフ情報を、それぞれ表わし、 前記方法はさらに、 各特徴点ごとに、認識に用いる特徴量X 【数3】 を求める工程を含み、 θ(fi )は、i番目の特徴点までの筆跡の方向変化の
総計であり、 pi はi−1番目の特徴点からi番目の特徴点までの間
の前記筆記手段のオン/オフ情報であり、 前記方法はさらに、 求められた特徴量Xと、予め登録されているテンプレー
トY 【数4】 との間で、 【数5】 を計算することによりパターン間距離を求め、最小のパ
ターン間距離に対応するテンプレートを、認識された手
書き文字として選択する工程を含む、オンライン手書き
文字認識方法。
3. An online handwritten character recognition method for recognizing a handwritten character by receiving a handwritten character string representing a handwriting of a handwritten character written by using a handwriting character from a handwritten character data output means, the handwritten character recognition method. By extracting a plurality of feature points from the sequence, the feature point sequence for each segment connecting adjacent feature points Each of the x (t i ) is a coordinate vector of the i-th feature point,
The p (t i ) represents the on / off information of the writing means at the i-th feature point, and the method further includes, for each feature point, a feature amount X (3) Θ (f i ) is the total change in the direction of the handwriting up to the i-th feature point, and p i is the i-th feature point to the i-th feature point. This is on / off information of the writing means, and the method further includes the obtained feature amount X and the template Y registered in advance. Between and, An online handwritten character recognition method including a step of calculating a distance between patterns by calculating and selecting a template corresponding to the minimum distance between patterns as a recognized handwritten character.
【請求項4】 i番目の特徴点における筆跡の角度変
化、i−1番目の特徴点とi番目の特徴点との間の筆跡
の移動量、i番目の特徴点までの筆跡の長さ、をそれぞ
れ 【数6】 に従って求め、さらに 【数7】 に従って定義されるθ(fi )とpi とにより前記特徴
量を求めることを特徴とする、請求項3に記載のオンラ
イン手書き文字認識方法。
4. A change in handwriting angle at the i-th feature point, a movement amount of the handwriting between the (i-1) th feature point and the i-th feature point, a length of the handwriting up to the i-th feature point, Respectively, And further obtain The online handwritten character recognition method according to claim 3, wherein the feature amount is obtained from θ (f i ) and p i defined according to the above.
【請求項5】 前記パターン間距離の最小値をダイナミ
ックプログラミングマッチング法で求める工程におい
て、 【数8】 となるパスを刈り込むことによりパターン間距離の計算
量を削減することを特徴とする、請求項4に記載のオン
ライン手書き文字認識方法。
5. The step of obtaining the minimum value of the inter-pattern distance by a dynamic programming matching method, wherein: The online handwritten character recognition method according to claim 4, wherein the amount of calculation of the distance between patterns is reduced by pruning the path that becomes
JP23727394A 1994-09-30 1994-09-30 Online handwriting recognition method Expired - Fee Related JP3198218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23727394A JP3198218B2 (en) 1994-09-30 1994-09-30 Online handwriting recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23727394A JP3198218B2 (en) 1994-09-30 1994-09-30 Online handwriting recognition method

Publications (2)

Publication Number Publication Date
JPH08101889A true JPH08101889A (en) 1996-04-16
JP3198218B2 JP3198218B2 (en) 2001-08-13

Family

ID=17012952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23727394A Expired - Fee Related JP3198218B2 (en) 1994-09-30 1994-09-30 Online handwriting recognition method

Country Status (1)

Country Link
JP (1) JP3198218B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008020557A1 (en) * 2006-08-14 2008-02-21 Kite Image Technologies Inc. Hand-written character recognizing method, hand-written character recognizing system, hand-written character recognizing program, and storage medium
KR102149105B1 (en) * 2019-09-18 2020-08-27 세종대학교산학협력단 Mixed reality based 3D sketching device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008020557A1 (en) * 2006-08-14 2008-02-21 Kite Image Technologies Inc. Hand-written character recognizing method, hand-written character recognizing system, hand-written character recognizing program, and storage medium
KR102149105B1 (en) * 2019-09-18 2020-08-27 세종대학교산학협력단 Mixed reality based 3D sketching device and method
US10909769B1 (en) 2019-09-18 2021-02-02 Industry Academy Cooperation Foundation Of Sejong University Mixed reality based 3D sketching device and method

Also Published As

Publication number Publication date
JP3198218B2 (en) 2001-08-13

Similar Documents

Publication Publication Date Title
EP0114248B1 (en) Complex pattern recognition method and system
EP0114250B1 (en) Confusion grouping of strokes in pattern recognition method and system
JP5211334B2 (en) Handwritten symbol recognition method and apparatus
US7903877B2 (en) Radical-based HMM modeling for handwritten East Asian characters
KR19990022352A (en) Character recognition method and handwriting input
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
JP4817297B2 (en) Character search device
US5659633A (en) Character recognition method utilizing compass directions and torsion points as features
JPH08101889A (en) On-line handwritten character recognition method
CN115311674A (en) Handwriting processing method and device, electronic equipment and readable storage medium
JPH0531798B2 (en)
JPH09319828A (en) On-line character recognition device
KR100301216B1 (en) Online text recognition device
JPS60116082A (en) Individual discrimination method
JP7095450B2 (en) Information processing device, character recognition method, and character recognition program
JP3128357B2 (en) Character recognition processor
JP3015137B2 (en) Handwritten character recognition device
JP3365538B2 (en) Online character recognition method and apparatus
CN118095267A (en) Language model answer tracing method and system based on vector matching
JPH01204196A (en) Method and device for recognizing continuous numeral and its device
JPH10334187A (en) Device and method for character recognition
JP3146046B2 (en) Online character recognition device
CN117789227A (en) Data processing method, related device, storage medium and computer product
JPH11242717A (en) Method for recognizing on-line handwritten character
JPH044633B2 (en)

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010522

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

Free format text: PAYMENT UNTIL: 20090608

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090608

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110608

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120608

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130608

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees