JPH07334622A - Character recognizing method and device therefor - Google Patents

Character recognizing method and device therefor

Info

Publication number
JPH07334622A
JPH07334622A JP6155258A JP15525894A JPH07334622A JP H07334622 A JPH07334622 A JP H07334622A JP 6155258 A JP6155258 A JP 6155258A JP 15525894 A JP15525894 A JP 15525894A JP H07334622 A JPH07334622 A JP H07334622A
Authority
JP
Japan
Prior art keywords
character
input
characters
feature vector
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6155258A
Other languages
Japanese (ja)
Other versions
JP3366443B2 (en
Inventor
Katsunobu Shibata
克信 柴田
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 Steel Corp
Original Assignee
Nippon Steel 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 Steel Corp filed Critical Nippon Steel Corp
Priority to JP15525894A priority Critical patent/JP3366443B2/en
Publication of JPH07334622A publication Critical patent/JPH07334622A/en
Application granted granted Critical
Publication of JP3366443B2 publication Critical patent/JP3366443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To provide a character recognizing method and device which can improve the recognizing efficiency of handwritten characters and also can increase the character recognizing speed. CONSTITUTION:A stroke input part 1 inputs the handwriting of characters to be recognized as the waveforms to show the continuous time changes of the X and Y coordinates, and a stroke normalizing part 2 normalizes these input waveforms. Then, a feature vectorizing part 3 extracts the partial feature value out of the normalized waveforms, and a hashing part 4 hashes the partial feature value to obtain the hash value. A weight totalizing part 6 and a recognizing candidate selecting part 8 select the recognizing candidates based on the hash value. A matching part 9 compares the partial feature value of the recognizing candidates with the partial feature value of various characters which are previously registered in a character feature vector data base 10 to secure the matching between both feature values. Thus the number of characters to be matched with each other can be decreased to some extent. As a result, the deterioration of the character recognizing efficiency can be suppressed and the character recognizing speed can be increased.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字認識方法および装
置に関し、特に、オンライン手書き文字認識方法および
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition method and apparatus, and more particularly to an online handwritten character recognition method and apparatus.

【0002】[0002]

【従来の技術】従来、ペンの入力ストロークに基づいて
手書き文字の認識を行うオンライン文字認識方法におい
ては、入力文字の特徴量と予め登録されている文字の特
徴量との類似性を基にして文字認識を行うようになされ
ていた。
2. Description of the Related Art Conventionally, in an online character recognition method for recognizing a handwritten character based on an input stroke of a pen, based on the similarity between the feature amount of an input character and the feature amount of a character registered in advance. It was designed to recognize characters.

【0003】この場合、入力文字の特徴量を得るための
方法としては、文字入力面にペンが接触している間に検
出される断片的なペン先の位置座標データを用いて、 ・ストローク方向と相対的な位置とを特徴量とする方法 ・ストロークの位置座標の特徴点を近似する方法 ・ストロークの時間的な位置の変化をフーリエ変換など
によって解析する方法などが代表的な方法であった。
In this case, as a method for obtaining the feature amount of the input character, fragmentary position data of the pen tip detected while the pen is in contact with the character input surface is used. A typical method is to approximate the feature points of the stroke position coordinates with the strokes, and to analyze the change in the stroke position over time by Fourier transformation. .

【0004】そして、以上のような方法により得られる
特徴量と、予め作成しておいた所定の文字辞書(種々の
文字コードとその特徴量との組を格納する辞書)との間
で逐次的に特徴量のマッチングを行い、最も類似性が高
い文字を認識結果として得るようにしていた。
Then, the feature amount obtained by the above method and a predetermined character dictionary (dictionary storing a set of various character codes and the feature amount) created in advance are sequentially added. The matching of the feature quantity was performed to obtain the character with the highest similarity as the recognition result.

【0005】[0005]

【発明が解決しようとする課題】ペンを用いて文字を入
力する場合、本来正しい順序で入力されるべき文字の筆
順が誤って入力されることが考えられる。このような場
合に、上述のような方法を単純に適用したのでは文字を
正確に認識できないことがあった。
When characters are input using a pen, it is possible that the stroke order of the characters, which should be input in the correct order, may be input incorrectly. In such a case, the characters may not be correctly recognized by simply applying the above method.

【0006】ところが、上記従来例においては、このよ
うな場合に対応するために、よく誤る可能性のある筆順
を予め予測して辞書化しておくといった程度の対策しか
講ずることができず、あまり効果を上げることができな
かった。
However, in the above-mentioned conventional example, in order to cope with such a case, it is possible to take only measures such as predicting a stroke order that is likely to be erroneously mistaken in advance and converting it into a dictionary, which is not very effective. I couldn't raise.

【0007】また、続け字に対しては、各文字のストロ
ーク間を直線的に補間することによって各ストロークを
結合させて別のストロークパターンを生成し、このスト
ロークパターンを構成要素とする文字を、続け字に相当
する文字として予め辞書に登録するという対策がなされ
ていた。
For continuous characters, the strokes of the characters are linearly interpolated to combine the strokes to generate another stroke pattern. A measure has been taken to register in advance in a dictionary as characters corresponding to consecutive characters.

【0008】以上のような対策を採る場合には、文字辞
書のデータ量が増大してしまうという問題があった。さ
らに、この増大した文字辞書との間で逐次的なマッチン
グを行うと、文字認識のための処理時間も増大してしま
うという問題もあった。
When the above measures are taken, there is a problem that the data amount of the character dictionary increases. Further, there is a problem in that the processing time for character recognition also increases if the sequential matching is performed with the increased character dictionary.

【0009】本発明は、このような問題を解決するため
に成されたものであり、文字の認識率を高くすることが
できるようにするとともに、その認識処理を高速に行う
ことができるようにすることを目的としている。
The present invention has been made to solve such a problem, and makes it possible to increase the character recognition rate and to perform the recognition processing at high speed. The purpose is to do.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明の文字認識方法は、種々の手書き文字の筆
跡を時間とともに連続的に変化するX,Y 座標の情報とし
て予め登録しておき、認識対象文字の筆跡を時間ととも
に連続的に変化するX,Y 座標の情報として入力し、この
入力した情報と、前記予め登録しておいた情報とを用い
てマッチングをとることにより文字を認識するようにし
ている。
In order to achieve the above object, the character recognition method of the present invention pre-registers handwritings of various handwritten characters as information of X, Y coordinates that continuously change with time. By inputting the handwriting of the recognition target character as the information of the X and Y coordinates that continuously change with time, the input information and the information registered in advance are used to match the characters. Trying to recognize.

【0011】また、本発明の文字認識装置は、手書き文
字の筆跡を時間とともに連続的に変化するX,Y 座標の情
報として入力する入力手段と、種々の手書き文字の筆跡
をX,Y 座標の時間変化の情報として予め保存しておく保
存手段と、前記入力手段により入力された認識対象文字
の筆跡についての時間変化の情報と、前記保存手段に予
め保存しておいた種々の時間変化の情報とを用いてマッ
チングを行うことにより文字を認識する認識手段とを具
備する。
Further, the character recognition device of the present invention includes an input means for inputting handwriting of handwritten characters as information of X, Y coordinates which continuously changes with time, and a handwriting of various handwritten characters of X, Y coordinates. Saving means for preliminarily saving as time change information, time change information about the handwriting of the recognition target character input by the input means, and various time change information previously saved in the saving means And a recognition means for recognizing a character by performing matching using and.

【0012】[0012]

【作用】上記のように構成した本発明によれば、認識対
象文字の筆記の開始から終了までのペン先の動きが連続
的な時間変化の座標情報として入力され、この連続的な
座標情報に基づいてマッチングが行われることとなるの
で、従来のように断片的な座標情報に基づいてマッチン
グを行う場合に比べて、文字認識の誤りが少なくなる。
According to the present invention configured as described above, the movement of the pen tip from the start to the end of writing of the recognition target character is input as coordinate information of continuous time change, and this continuous coordinate information is converted into this coordinate information. Since the matching is performed on the basis of the matching, the error in character recognition is reduced as compared with the conventional case where the matching is performed based on the piecewise coordinate information.

【0013】また、上記連続的な時間変化の座標情報か
らハッシュ値を求め、このハッシュ値を用いてマッチン
グを行うようにした場合には、種々ある文字の中から幾
つかの認識文字の候補が選び出され、この認識候補を用
いたマッチング処理により最も類似度が高いものが最終
的な認識文字として得られるようになるので、文字認識
率の低下がさらに抑制される。また、マッチング処理の
対象が減るので、その処理時間も短縮される。
Further, when a hash value is obtained from the coordinate information of the above continuous time change and matching is performed using this hash value, some recognized character candidates are selected from various characters. Since the character having the highest similarity is selected as the final recognized character by the matching process using this recognition candidate, the decrease in the character recognition rate is further suppressed. Further, since the number of matching processing targets is reduced, the processing time is also shortened.

【0014】[0014]

【実施例】以下に、本発明の好適な実施例を図面を参照
して詳細に説明する。図1は、本実施例の概略機能構成
を示す機能ブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a functional block diagram showing a schematic functional configuration of this embodiment.

【0015】図1において、1はストローク入力部であ
り、手書き文字の一文字を入力する間、つまりペンが文
字入力面に初めて接触してから、最後にペンが文字入力
面から離されるまでの間に、所定の時間間隔でサンプリ
ングされた座標データの系列X(t),Y(t) を生成する。そ
して、この座標データの系列X(t),Y(t) を文字ストロー
クデータとしてストローク正規化部2へ送る。
In FIG. 1, reference numeral 1 denotes a stroke input unit, which is used for inputting one character of a handwritten character, that is, from the time when the pen first contacts the character input surface until the pen is finally released from the character input surface. Then, a series X (t), Y (t) of coordinate data sampled at a predetermined time interval is generated. Then, the series X (t), Y (t) of the coordinate data is sent to the stroke normalization unit 2 as character stroke data.

【0016】図2(a)は、文字「あ」と思われる文字
が入力された場合の入力領域内での文字ストロークを示
し、図2(b)は、上記入力された文字ストロークを、
そのx 座標およびy 座標をそれぞれ縦軸とし、時間軸を
横軸としてグラフ化したものを示している。
FIG. 2A shows a character stroke in the input area when a character which seems to be the character “A” is input, and FIG. 2B shows the input character stroke as
The x-coordinate and the y-coordinate are plotted on the vertical axis, and the time axis is plotted on the horizontal axis.

【0017】次に、ストローク正規化部2では、入力さ
れた文字ストロークの座標系列X(t),Y(t) を、入力文字
の全体を囲む最小矩形の左下隅の x,y座標が[0,0] 、右
上隅の x,y座標が[255,255] となるように、それぞれの
座標の大きさを正規化する。さらに、時間方向について
も筆記の開始時刻が0 、終了時刻が511 となるように正
規化する。これにより、例えば、図2(b)に示した X
座標についてのグラフは、正規化後には、図3に示すよ
うなグラフになる。このようにして正規化された座標系
列は、特徴ベクトル化部3へ送られる。
Next, in the stroke normalization unit 2, the coordinate series X (t), Y (t) of the input character stroke is represented by the x, y coordinates of the lower left corner of the minimum rectangle enclosing the entire input character as [[ 0,0] and the size of each coordinate is normalized so that the x, y coordinates of the upper right corner are [255,255]. Further, the time direction is also normalized so that the writing start time is 0 and the writing end time is 511. As a result, for example, X shown in FIG.
The graph for the coordinates becomes a graph as shown in FIG. 3 after the normalization. The coordinate series thus normalized is sent to the feature vectorization unit 3.

【0018】特徴ベクトル化部3では、上記正規化され
た各座標系列x(t),y(t) について時間近傍の部分特徴量
である特徴量ベクトルを計算することにより、特徴量ベ
クトル系列を求める。この特徴ベクトルは、図4に示す
ように、時間区間を限定したいわゆる時間窓内で所定の
計算により得られる特徴量として定義する。
The feature vectorization unit 3 calculates a feature amount vector sequence by calculating a feature amount vector that is a partial feature amount near time for each of the normalized coordinate sequences x (t), y (t). Ask. As shown in FIG. 4, this feature vector is defined as a feature amount obtained by a predetermined calculation within a so-called time window in which the time section is limited.

【0019】すなわち、時間近傍での特徴ベクトルは、
時間的に局在した関数との内積をとることにより計算す
る。時間的に局在した関数の例としては、 1.窓付きフーリエ変換、特徴軸は周波数 2.ウェーブレット変換、特徴軸は基本関数のスケール 3.一般の直交関数系、特徴軸は基本多項式の展開係数
(例えば、ルジャンドル多項式など) などが挙げられるが、任意の関数群を設定することも可
能である。
That is, the feature vector near time is
It is calculated by taking the dot product with the temporally localized function. Examples of temporally localized functions are: 1. Fourier transform with window, feature axis is frequency 2. Wavelet transform, feature axis is scale of basic function 3. General orthogonal function system, feature axis is expansion of basic polynomial Examples include coefficients (eg, Legendre polynomials), but it is also possible to set an arbitrary function group.

【0020】ここで、上記ストローク正規化部2から送
られてくる座標系列を離散時間関数f(t) (t=0,1,,,,)
で表す。すなわち、関数f(t)は、座標系列x(t),y(t) の
何れかを示す。また、時刻0 の回りに局在した関数を g
(w,t) とする。ただし、w は特徴を定義するパラメータ
である。このとき、時刻T の近傍の特徴量は、内積
Here, the coordinate sequence sent from the stroke normalization unit 2 is a discrete time function f (t) (t = 0,1 ,,,,).
It is represented by. That is, the function f (t) indicates one of the coordinate series x (t) and y (t). In addition, the function localized around time 0 is
Let (w, t). However, w is a parameter that defines the feature. At this time, the feature quantity near time T is the inner product

【0021】[0021]

【数1】 [Equation 1]

【0022】で定義される。ただし、2*a は時刻T を中
心とする窓の区間の大きさを表す。すなわち、窓は区間
[T-a,T+a] で定義される。
Is defined by However, 2 * a represents the size of the window section centered on time T. That is, the window is a section
It is defined by [Ta, T + a].

【0023】上記関数 g(w,t) は、例えば、 g(w,t) = 0.5*exp(-i*w*t){1+cos(π*t/a) } |t|
≦ a (iは虚数単位) g(w,t) = 0 |t|≧ a ( 窓付きのフーリエ変換 ) あるいは、 g(w,t) = exp( -t^2/w ^2+i*5*t/w )/√w |t|≦
a (iは虚数単位) g(w,t) = 0 |t|≧ a ( ガボール関数を基本関数とするウェーブレット変換 ) などを用いることができる。
The above function g (w, t) is, for example, g (w, t) = 0.5 * exp (-i * w * t) {1 + cos (π * t / a)} | t |
≤ a (i is an imaginary unit) g (w, t) = 0 │t│ ≥ a (Fourier transform with window) or g (w, t) = exp (-t ^ 2 / w ^ 2 + i * 5 * t / w) / √w | t | ≦
It is possible to use a (i is an imaginary unit) g (w, t) = 0 | t | ≧ a (wavelet transform using Gabor function as basic function).

【0024】また、関数g() が虚数関数である場合に
は、内積I(T,w)の絶対値を特徴量とする。以上のよう
に、T-w 座標系の二次元平面上に特徴量が計算される。
なお、以上の計算は、関数 g(w,t) の各値を予め整数化
して数値テーブルに格納しておくことにより整数演算の
みで高速に実行することが可能である。
When the function g () is an imaginary function, the absolute value of the inner product I (T, w) is used as the feature quantity. As described above, the feature quantity is calculated on the two-dimensional plane of the Tw coordinate system.
It should be noted that the above calculation can be executed at high speed only by integer arithmetic by converting each value of the function g (w, t) into an integer and storing it in a numerical table in advance.

【0025】次に、上述のようにして計算されたT-w 座
標系の二次元平面上の特徴量を軸方向T,w で量子化する
ことにより特徴ベクトル系列に変換する。この量子化に
おいては、まず、各軸方向T,w で区間を設定する。例え
ば、 T 軸方向で[a*i,a*(i+1)] (i=0,1,,,)、 w 軸方向で[b*j,b*(j+1)] (j=0,1,,,) の区間を設定する。
Next, the feature quantity on the two-dimensional plane of the Tw coordinate system calculated as described above is quantized in the axial direction T, w to be converted into a feature vector series. In this quantization, first, a section is set in each axial direction T, w. For example, [a * i, a * (i + 1)] (i = 0,1 ,,,) along the T axis and [b * j, b * (j + 1)] (j = along the w axis. Set the interval of 0,1 ,,,).

【0026】次いで、この設定区間内で量子化値 D[i,
j] を所定の演算により決定する。この演算としては、
例えば、 1.区間ごとにある規則に従って代表点( 例えば中点 )を
選び、その代表点での特徴量をそのままその区間の特徴
量とする。 2.区間内での平均値を計算する。 などが考えられる。このようにして、特徴量平面は特徴
ベクトル系列に変換される。そして、この特徴ベクトル
系列は、次段のハッシュ化部4に送られる。
Then, the quantized value D [i,
j] is determined by a predetermined calculation. As this calculation,
For example, 1. Select a representative point (for example, the midpoint) according to a rule for each section, and use the feature quantity at that representative point as it is as the feature quantity of the section. 2. Calculate the average value within the interval. And so on. In this way, the feature plane is converted into a feature vector series. Then, this feature vector sequence is sent to the hashing unit 4 in the next stage.

【0027】なお、w 軸方向で離散的な値をとる関数群
を用いることにより、w 軸方向の量子化を省略すること
が可能である。例えば、関数群としてルジャンドル多項
式を用いた場合には、関数 g(w,t) 中のw は多項式の次
数として設定可能である。
It is possible to omit quantization in the w-axis direction by using a function group that takes discrete values in the w-axis direction. For example, when the Legendre polynomial is used as the function group, w in the function g (w, t) can be set as the degree of the polynomial.

【0028】すなわち、w=0,1,2,3,4,5 とし、窓区間長
を32、p=t/16とすれば、 g(0,p) = 1 g(1,p) = p g(2,p) = (3p2-1)/2 g(3,p) = (5p3-3p)/2 g(4,p) = (35p4-30p2+3)/8 g(5,p) = (63p5-70p3+15p)/8 が関数群となり、図5に示すように、これらの関数群と
上記ストローク正規化部2から送られてくる座標系列x
(t),y(t) との内積値が特徴ベクトルの成分値となる。
したがって、この場合は6次元の特徴ベクトルとなる。
That is, if w = 0,1,2,3,4,5, the window section length is 32, and p = t / 16, then g (0, p) = 1 g (1, p) = pg (2, p) = (3p 2 -1) / 2 g (3, p) = (5p 3 -3p) / 2 g (4, p) = (35p 4 -30p 2 +3) / 8 g ( 5, p) = (63p 5 -70p 3 + 15p) / 8 is a function group, and as shown in FIG. 5, these function groups and the coordinate sequence x sent from the stroke normalization unit 2
The inner product of (t) and y (t) becomes the component value of the feature vector.
Therefore, in this case, the vector becomes a 6-dimensional feature vector.

【0029】次に、ハッシュ化部4では、上記特徴ベク
トル化部3で計算された特徴ベクトルをハッシュ化す
る。すなわち、各特徴ベクトルに整数値を対応づける。
簡単な方法としては、特徴ベクトルの成分を量子化した
後、異なるベクトルの出現順に整数値を割り当てる方法
があるが、その際には、特徴ベクトルデータベース5を
設定する必要がある。図6は、以上のようにして得られ
た特徴ベクトルとハッシュ値との対応関係の一部を例示
したものである。
Next, the hashing unit 4 hashes the feature vector calculated by the feature vectoring unit 3. That is, an integer value is associated with each feature vector.
As a simple method, there is a method of quantizing the components of the feature vector and then assigning integer values in the order of appearance of different vectors. In that case, it is necessary to set the feature vector database 5. FIG. 6 illustrates a part of the correspondence relationship between the feature vector and the hash value obtained as described above.

【0030】また、ベクトル近傍(特徴ベクトル同士の
近傍あるいは、成分での近傍)から更にハッシュ値を再
定義することも可能である。すなわち、i 番目の特徴量
ベクトルのj 番目の要素をV[i,j]とするとき、例えば、
この近傍での特徴量y[i,j]は、 y[i,j] = h(V[i,j],V[i,j+1],V[i+1,j],V[i+1,j+1]) (h()は定義されたハッシュ関数)で求められる。その際
には、特徴ベクトルデータベース5を必要としない関数
h() を設定することが可能である。
Further, it is possible to further redefine the hash value from the vector neighborhood (neighborhood of feature vectors or neighborhood of components). That is, when the j-th element of the i-th feature vector is V [i, j], for example,
The feature quantity y [i, j] in this neighborhood is y [i, j] = h (V [i, j], V [i, j + 1], V [i + 1, j], V [ i + 1, j + 1]) (h () is a defined hash function). In that case, a function that does not require the feature vector database 5
It is possible to set h ().

【0031】こうして量子化された値は、特徴量ベクト
ルのハッシュ値とされる。そして、これらのハッシュ値
の集合が重み集計部6に送られる。重み集計部6では、
上記ハッシュ化部4で計算されたハッシュ値の集合の各
ハッシュ値に対応する文字重みリストを文字重みデータ
ベース7から読み出す。この重みリストは、例えば、図
7に示すようなものであるが、この詳細については後述
する。
The thus quantized value is used as a hash value of the feature quantity vector. Then, the set of these hash values is sent to the weight aggregation unit 6. In the weight aggregation unit 6,
The character weight list corresponding to each hash value of the set of hash values calculated by the hashing unit 4 is read from the character weight database 7. The weight list is, for example, as shown in FIG. 7, and details thereof will be described later.

【0032】重み集計部6は、上記読み出した重みリス
トの各文字コードの重みを、図8に示すような集計テー
ブルの当該総和値に加算する。この図8では、文字コー
ド「あ」の重み総和が高い値を示している。また、「あ
1 」「あ2 」の文字コードは、同じ文字種であるが大き
く異なる筆跡であったので、予め別の文字種として登録
してあった場合を示している。
The weight totaling unit 6 adds the weight of each character code in the read weight list to the total sum value in the totaling table as shown in FIG. In FIG. 8, the sum of weights of the character code "A" shows a high value. Also, "A
1 "character code" A 2 ", since it is the same character type was significantly different handwriting shows a case where had been registered in advance as a separate character type.

【0033】次に、全てのハッシュ値に対して重みの加
算が終了した時点で、集計テーブル情報は認識候補選択
部8に送られる。認識候補選択部8では、上記重み集計
部6で生成された集計テーブルに基づいて、その重み総
和が予め設定された閾値を越える文字コードを選択し、
これを認識候補としてマッチング部9へ送る。
Next, when the addition of the weights for all the hash values is completed, the totaling table information is sent to the recognition candidate selecting section 8. The recognition candidate selection unit 8 selects a character code whose total weight exceeds a preset threshold based on the total table generated by the weight total unit 6,
This is sent to the matching unit 9 as a recognition candidate.

【0034】なお、閾値を設定せずに、例えば重み総和
が上位10個の文字コードを認識候補とする方法なども
可能である。また、選択された認識候補が全て同じ文字
コードである場合には、当該文字コードを認識結果と
し、マッチング部9での処理を省略することも可能であ
る。
It is also possible to adopt a method in which, for example, the character codes with the top 10 weighted sums are used as recognition candidates without setting a threshold value. When all the selected recognition candidates have the same character code, the character code can be used as the recognition result, and the process in the matching unit 9 can be omitted.

【0035】マッチング部9では、上記認識候補選択部
8から送られてくる認識文字候補の特徴ベクトル系列
を、各文字についての特徴ベクトル系列が予め登録され
ている文字特徴ベクトルデータベース10の中から読み
出す。そして、この読み出した特徴ベクトル系列と、上
記特徴ベクトル化部3で得られた認識対象文字の特徴ベ
クトル系列とを比較することにより、最も類似度が高い
文字を最終的な認識結果とする。特徴ベクトル系列の比
較には、DPマッチング等が用いられる。以上のように
して、文字の入力ストロークに対する認識結果の文字コ
ードを得ることができ、出力部9で上記認識結果の文字
を表示する。
The matching unit 9 reads out the feature vector series of the recognized character candidates sent from the recognition candidate selection unit 8 from the character feature vector database 10 in which the feature vector series for each character is registered in advance. . Then, by comparing the read feature vector series with the feature vector series of the recognition target character obtained by the feature vectorization unit 3, the character with the highest similarity is set as the final recognition result. DP matching or the like is used to compare the feature vector series. As described above, the character code of the recognition result for the input stroke of the character can be obtained, and the output unit 9 displays the character of the recognition result.

【0036】次に、文字辞書の構成についてさらに説明
する。重み辞書には各ハッシュ値に対応する重みリスト
が付与されている。重みリストには、図7に示したよう
に、各文字コードと、当該文字コードの文字についてハ
ッシュ値が計算された特徴ベクトルの重み、すなわち特
徴ベクトルの相対的な重要度を示す値とが格納されてい
る。
Next, the structure of the character dictionary will be further described. A weight list corresponding to each hash value is attached to the weight dictionary. In the weight list, as shown in FIG. 7, each character code and the weight of the feature vector for which the hash value has been calculated for the character of the character code, that is, the value indicating the relative importance of the feature vector is stored. Has been done.

【0037】例えば、平仮名における濁点部付近の特徴
ベクトル等には、高い値が設定される。また、この重み
は、リストの長さに反比例するような値をリストに含ま
れる文字に一律に設定することも可能である。例えば、
図7において、ハッシュ値3で示される特徴ベクトルの
重みは、文字「る」および「ろ」では1、文字「わ」で
は2に設定されている。
For example, a high value is set for a feature vector in the vicinity of the dakuten part in hiragana. Further, as the weight, a value that is inversely proportional to the length of the list can be uniformly set for the characters included in the list. For example,
In FIG. 7, the weight of the feature vector indicated by the hash value 3 is set to 1 for the characters "ru" and "ro", and to 2 for the character "wa".

【0038】なお、図7に示した各重みリストの最後に
は、文字コードと重みとの組の終了を示す、いわゆるマ
ークが格納されている。各リストは可変長であるが、上
記重み集計部6でリストの重みが順次読み出される際
に、上記マークの読み込みがリストからの重み情報の読
み込の終了条件となる。
At the end of each weight list shown in FIG. 7, a so-called mark indicating the end of the set of the character code and the weight is stored. Each list has a variable length, but when the weights of the list are sequentially read by the weight aggregation unit 6, the reading of the mark is a condition for ending the reading of the weight information from the list.

【0039】以上の如く、本実施例では、入力ストロー
クの局所的な座標変動の特徴ベクトルから計算されるハ
ッシュ値を用いて認識候補文字を絞り込むようにしてい
るので、使用者ごとに異なる筆順などの影響を最小限度
に押えることができ、文字認識率の低下を抑えることが
できる。
As described above, in the present embodiment, the recognition candidate characters are narrowed down by using the hash value calculated from the feature vector of the local coordinate fluctuation of the input stroke, so that the stroke order, which is different for each user, etc. The effect of can be suppressed to a minimum, and a decrease in the character recognition rate can be suppressed.

【0040】また、重み辞書から読み出される重みリス
トは、認識対象文字の特徴ベクトルから計算されたハッ
シュ値に対応するリストのみである。また、文字辞書か
ら読み出される特徴ベクトル系列も、認識候補文字の特
徴ベクトル系列のみであって実際にDPマッチングを行
う文字が十分に絞られているので、高速な文字認識を行
うことが可能となる。
The weight list read from the weight dictionary is only the list corresponding to the hash value calculated from the feature vector of the recognition target character. Further, the feature vector series read from the character dictionary is only the feature vector series of the recognition candidate characters, and the characters to be actually subjected to DP matching are sufficiently narrowed down, so that high-speed character recognition can be performed. .

【0041】なお、本実施例による文字認識方法および
装置は、複数の機器から構成されるシステムに適用して
も1つの機器から成る装置に適用しても良い。また、本
実施例は、上記システムあるいは装置に対して本実施例
により規定される処理を実行するプログラムを供給する
ことによって実現するようにしても良いことは言うまで
もない。
The character recognition method and apparatus according to this embodiment may be applied to a system including a plurality of devices or an apparatus including one device. Further, it goes without saying that the present embodiment may be realized by supplying a program for executing the processing defined by the present embodiment to the above system or apparatus.

【0042】[0042]

【発明の効果】以上説明してきたように、本発明の文字
認識方法および装置によれば、筆記者に要求される正し
い画数(文字の一画一画が正しく分離されていなければ
ならないこと、および楷書であること)や、正しい筆順
(辞書に登録した正しい文字と同じ筆順でなければなら
ないこと)といった条件を緩和して、より高い認識率で
文字を認識することができる。
As described above, according to the character recognition method and apparatus of the present invention, the correct stroke number required for the writer (each stroke of a character must be correctly separated, and Characters can be recognized with a higher recognition rate by relaxing the conditions such as being in a regular style) and the correct stroke order (must be in the same stroke order as the correct characters registered in the dictionary).

【0043】また、多数の文字種において、認識対象文
字の特徴ベクトルから計算されるハッシュ値を用いて高
速に認識候補を絞り込むようにしたので、文字認識を高
速に行うことが可能となる。さらに、文字辞書の作成に
統計的な処理を行わないので、文字辞書への追加処理を
容易に行うことができる。すなわち、筆記者によるカス
タマイズが容易となり、結果的に更に高い文字認識率を
得ることが可能となる。
Further, in many character types, since the recognition candidates are narrowed down at high speed using the hash value calculated from the feature vector of the character to be recognized, the character recognition can be performed at high speed. Furthermore, since statistical processing is not performed in creating the character dictionary, addition processing to the character dictionary can be easily performed. That is, customization by the writer becomes easy, and as a result, a higher character recognition rate can be obtained.

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

【図1】本発明の一実施例の構成を示す機能ブロック図
である。
FIG. 1 is a functional block diagram showing the configuration of an embodiment of the present invention.

【図2】手書き文字の入力例およびその座標時系列のグ
ラフを示す図である。
FIG. 2 is a diagram showing an input example of handwritten characters and a graph of coordinate time series thereof.

【図3】正規化された座標時系列のグラフを示す図であ
る。
FIG. 3 is a diagram showing a graph of normalized coordinate time series.

【図4】特徴ベクトル化部による特徴ベクトル系列生成
の例を示す図である。
FIG. 4 is a diagram showing an example of generation of a feature vector sequence by a feature vectorization unit.

【図5】特徴ベクトル化部による特徴ベクトル系列生成
の他の例を示す図である。
FIG. 5 is a diagram showing another example of generation of a feature vector sequence by a feature vectorization unit.

【図6】特徴ベクトルとハッシュ値との関係を示す図で
ある。
FIG. 6 is a diagram showing a relationship between a feature vector and a hash value.

【図7】文字重みデータベース内の重みリストの格納例
を示す図である。
FIG. 7 is a diagram showing a storage example of a weight list in a character weight database.

【図8】集計テーブルの一例を示す図である。FIG. 8 is a diagram showing an example of an aggregation table.

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

1 ストローク入力部 2 ストローク正規化部 3 特徴ベクトル化部 4 ハッシュ化部 5 特徴ベクトルデータベース 6 重み集計部 7 文字重みデータベース 8 認識候補選択部 9 マッチング部 10 文字特徴ベクトルデータベース 11 出力部 1 Stroke Input Section 2 Stroke Normalization Section 3 Feature Vectorization Section 4 Hashing Section 5 Feature Vector Database 6 Weight Aggregation Section 7 Character Weight Database 8 Recognition Candidate Selection Section 9 Matching Section 10 Character Feature Vector Database 11 Output Section

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 種々の手書き文字の筆跡を時間とともに
連続的に変化するX,Y 座標の情報として予め登録してお
き、 認識対象文字の筆跡を時間とともに連続的に変化するX,
Y 座標の情報として入力し、この入力した情報と、前記
予め登録しておいた情報とを用いてマッチングをとるこ
とにより文字を認識するようにしたことを特徴とする文
字認識方法。
1. The handwritings of various handwritten characters are registered in advance as information of X, Y coordinates that continuously change with time, and the handwriting of a recognition target character continuously changes with time, X, Y.
A character recognition method characterized in that a character is recognized by inputting as Y coordinate information, and matching is performed using the input information and the previously registered information.
【請求項2】 予め種々の手書き文字の筆跡をX,Y 座標
の連続的な時間変化として入力してある波形について正
規化を行い、該正規化した波形から部分特徴量を抽出
し、さらにこの抽出した部分特徴量をハッシュ化してハ
ッシュ値の集合として保存しておき、 認識対象文字の筆跡をX,Y 座標の連続的な時間変化の波
形として入力し、この入力した時間変化の波形に対して
正規化を行い、該正規化した波形から部分特徴量を抽出
し、さらにこの抽出した部分特徴量をハッシュ化してハ
ッシュ値の集合とし、これにより得られる認識対象文字
のハッシュ値の集合と、前記予め保存しておいたハッシ
ュ値の集合とを比較してマッチングをとることにより文
字を認識するようにしたことを特徴とする文字認識方
法。
2. A waveform in which handwritings of various handwritten characters are previously input as continuous time changes of X and Y coordinates is normalized, and a partial feature amount is extracted from the normalized waveform. The extracted partial features are hashed and saved as a set of hash values, and the handwriting of the recognition target character is input as a continuous time change waveform of the X and Y coordinates. Normalization is performed, a partial feature amount is extracted from the normalized waveform, the extracted partial feature amount is hashed to form a set of hash values, and a set of hash values of recognition target characters obtained by the hashing, and A character recognition method characterized in that a character is recognized by comparing with a set of hash values stored in advance and matching is performed.
【請求項3】 前記予め保存してある種々の文字に対す
るハッシュ値が前記入力した認識対象文字に対するハッ
シュ値と合致する数の多い順に認識文字を出力すること
を特徴とする請求項2記載の文字認識方法。
3. The character according to claim 2, wherein the recognized characters are output in descending order of the number of hash values for the various characters stored in advance that match the hash value for the input recognition target character. Recognition method.
【請求項4】 前記ハッシュ値の比較の際に、前記ハッ
シュ値に対して重み付けを行って比較するようにしたこ
とを特徴とする請求項2または3記載の文字認識方法。
4. The character recognition method according to claim 2, wherein when comparing the hash values, the hash values are weighted and compared.
【請求項5】 手書き文字の筆跡を時間とともに連続的
に変化するX,Y 座標の情報として入力する入力手段と、 種々の手書き文字の筆跡をX,Y 座標の時間変化の情報と
して予め保存しておく保存手段と、 前記入力手段により入力された認識対象文字の筆跡につ
いての時間変化の情報と、前記保存手段に予め保存して
おいた種々の時間変化の情報とを用いてマッチングを行
うことにより文字を認識する認識手段とを具備すること
を特徴とする文字認識装置。
5. An input means for inputting handwritings of handwritten characters as information of X, Y coordinates which continuously changes with time, and various handwritings of handwritten characters are stored in advance as information of time changes of X, Y coordinates. Matching is performed using a storage unit that is stored in advance, time change information about the handwriting of the recognition target character input by the input unit, and various time change information that is stored in advance in the storage unit. And a recognition means for recognizing a character by the character recognition device.
【請求項6】 認識対象文字の筆記開始から筆記終了ま
での間のペン先の位置を文字入力面へ垂直射影した二次
元座標系列として文字ストロークを入力する入力手段
と、 前記入力手段により入力された文字ストロークである二
次元座標系列を正規化する正規化手段と、 前記正規化手段により正規化された二次元座標時系列か
ら、部分的な特徴ベクトルの集合である特徴ベクトル系
列を計算する特徴ベクトル計算手段と、 前記特徴ベクトル計算手段で計算された各特徴ベクトル
からハッシュ値を計算するハッシュ化手段と、 前記ハッシュ化手段により計算された各ハッシュ値の計
算元である特徴ベクトルを有する文字の文字コードとそ
の重みとの組を、当該ハッシュ値に付与されたリストに
登録してなる文字重みデータベースを記憶する重み記憶
手段と、 前記入力手段により入力された認識対象文字について前
記ハッシュ化手段により計算された各ハッシュ値に基づ
いて、前記文字重みデータベースから各文字の重み情報
を読み出して重みの総和を計算する重み集計手段と、 前記特徴ベクトル計算手段により計算された種々の文字
についての特徴ベクトル系列を登録してなる文字特徴ベ
クトルデータベースを記憶する特徴ベクトル記憶手段
と、 前記重み集計手段で計算された各文字の重みの総和が上
位である文字の特徴ベクトル系列を前記文字特徴ベクト
ルデータベースから読み出し、この読み出した特徴ベク
トル系列と前記認識対象文字の特徴ベクトル系列とでマ
ッチング処理を行うマッチング手段とを備えることを特
徴とする文字認識装置。
6. An input unit for inputting a character stroke as a two-dimensional coordinate series obtained by vertically projecting the position of the pen tip from the start of writing the recognition target character to the end of writing on the character input surface, and input by the input unit. Normalizing means for normalizing a two-dimensional coordinate series which is a character stroke, and a feature for calculating a feature vector series which is a set of partial feature vectors from the two-dimensional coordinate time series normalized by the normalizing means. A vector calculation means, a hashing means for calculating a hash value from each feature vector calculated by the feature vector calculation means, and a character having a feature vector from which each hash value calculated by the hashing means is calculated. A weight that stores a character weight database in which a set of a character code and its weight is registered in a list assigned to the hash value. And a weight for calculating the sum of weights by reading the weight information of each character from the character weight database based on each hash value calculated by the hashing means for the recognition target character input by the input means. A totaling means, a characteristic vector storage means for storing a character characteristic vector database in which characteristic vector series for various characters calculated by the characteristic vector calculation means are stored, and a character vector of each character calculated by the weight totalizing means. A feature vector sequence of a character having a higher total sum of weights is read from the character feature vector database, and a matching unit that performs a matching process with the read feature vector sequence and the feature vector sequence of the recognition target character is provided. Character recognition device.
JP15525894A 1994-06-14 1994-06-14 Character recognition method and device Expired - Fee Related JP3366443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15525894A JP3366443B2 (en) 1994-06-14 1994-06-14 Character recognition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15525894A JP3366443B2 (en) 1994-06-14 1994-06-14 Character recognition method and device

Publications (2)

Publication Number Publication Date
JPH07334622A true JPH07334622A (en) 1995-12-22
JP3366443B2 JP3366443B2 (en) 2003-01-14

Family

ID=15601989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15525894A Expired - Fee Related JP3366443B2 (en) 1994-06-14 1994-06-14 Character recognition method and device

Country Status (1)

Country Link
JP (1) JP3366443B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006030878A1 (en) * 2004-09-13 2006-03-23 Canon Kabushiki Kaisha Image processing apparatus, image processing system, and control method therefor
JP2009123243A (en) * 2002-10-15 2009-06-04 Silverbrook Research Pty Ltd Method of interpreting data input to form-based data entry system, and method of enabling user to input information content to form-based data entry system
WO2016067417A1 (en) * 2014-10-30 2016-05-06 株式会社 東芝 Electronic instrument, method and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009123243A (en) * 2002-10-15 2009-06-04 Silverbrook Research Pty Ltd Method of interpreting data input to form-based data entry system, and method of enabling user to input information content to form-based data entry system
WO2006030878A1 (en) * 2004-09-13 2006-03-23 Canon Kabushiki Kaisha Image processing apparatus, image processing system, and control method therefor
JP2006081119A (en) * 2004-09-13 2006-03-23 Canon Inc Image processing apparatus, image processing system, and control method therefor
JP4541811B2 (en) * 2004-09-13 2010-09-08 キヤノン株式会社 Image processing apparatus, image processing method, and program
US7996362B2 (en) 2004-09-13 2011-08-09 Canon Kabushiki Kaisha Image processing apparatus, image processing system, and control method therefor
US8495016B2 (en) 2004-09-13 2013-07-23 Canon Kabushiki Kaisha Image processing apparatus, image processing system, and control method therefor
WO2016067417A1 (en) * 2014-10-30 2016-05-06 株式会社 東芝 Electronic instrument, method and program
US10762342B2 (en) 2014-10-30 2020-09-01 Toshiba Client Solutions CO., LTD. Electronic apparatus, method, and program

Also Published As

Publication number Publication date
JP3366443B2 (en) 2003-01-14

Similar Documents

Publication Publication Date Title
US7382921B2 (en) Training an on-line handwriting recognizer
US7068843B2 (en) Method for extracting and matching gesture features of image
Sharma et al. Online handwritten Gurmukhi character recognition using elastic matching
US20030190074A1 (en) Methods and apparatuses for handwriting recognition
Herold et al. The 1¢ recognizer: a fast, accurate, and easy-to-implement handwritten gesture recognition technique
US6044171A (en) Method and apparatus for pattern recognition and representation using fourier descriptors and iterative transformation-reparametrization
Wakahara et al. Adaptive normalization of handwritten characters using global/local affine transformation
GB2318439A (en) Recognizing handwriting
KR19990022352A (en) Character recognition method and handwriting input
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
You et al. Wavelet-based approach to character skeleton
JPH02266485A (en) Information recognizing device
JPH06208653A (en) Method for normalization of symbol
JP3366443B2 (en) Character recognition method and device
IL100198A (en) Character recognition method
JP2000331120A (en) Device and method for recognizing character and recording medium stored with control program therefor
CN111310548B (en) Method for identifying stroke types in online handwriting
JPH0935000A (en) Method and device for recognizing handwritten character
JP2671984B2 (en) Information recognition device
JPH03144788A (en) Pattern normalizing device
JPH0632084B2 (en) Handwritten character recognition method by fuzzy reasoning
JP3290097B2 (en) Stroke determination method and determination device
JPH0883319A (en) Pattern recognizing device
JPH0916720A (en) Character recognition method and system
JPH0385686A (en) Pattern normalizing device

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: 20020924

LAPS Cancellation because of no payment of annual fees