JPH07319999A - Device and method for recognizing character - Google Patents

Device and method for recognizing character

Info

Publication number
JPH07319999A
JPH07319999A JP6111005A JP11100594A JPH07319999A JP H07319999 A JPH07319999 A JP H07319999A JP 6111005 A JP6111005 A JP 6111005A JP 11100594 A JP11100594 A JP 11100594A JP H07319999 A JPH07319999 A JP H07319999A
Authority
JP
Japan
Prior art keywords
character
recognition
pen
coordinate value
recognition result
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
JP6111005A
Other languages
Japanese (ja)
Other versions
JP3560361B2 (en
Inventor
Koichi Yamashita
孝一 山下
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11100594A priority Critical patent/JP3560361B2/en
Publication of JPH07319999A publication Critical patent/JPH07319999A/en
Application granted granted Critical
Publication of JP3560361B2 publication Critical patent/JP3560361B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To obtain a character recognizing device capable of naturally inputting information in each two-character unit at maximum. CONSTITUTION:A recognizing means 7 successively stores coordinate values touched with a pen in a coordinate value storing means 4, a recognizing means 7 recognizes a coordinate value sequence stored in each pen-up and a probability comparing means 9 adops a recognized result with the highest probability out of recognized the adopted result in a storage means 10. When the adopted recognized result is obtained from a coordinate value sequence stored up to final pen-up operation, a number-of-digits judging means 19 outputs a recognized result to a units digit display means 14 as one character, and the result is obtained from a coordinate value sequence stored up to halfway pen-up operation, outputs the recognized result to a tens digit display means 13 as the 1st character of two characters, a coordinate extracting means 5 extracts the remaining coordinate value sequence and the means 7 recognizes the extracted character as the 2nd character of the two characters and outputs the recognized character to the means 14.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、オンラインで入力され
た文字を認識する文字認識装置に関し、特にVTRの録
画予約の予約情報の設定を手書き文字入力によって行う
装置において、手書き文字を認識する文字認識装置、お
よび文字認識方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device for recognizing characters input online, and more particularly to a character recognition device for recognizing handwritten characters in a device for setting reservation information for VTR recording reservation. The present invention relates to a recognition device and a character recognition method.

【0002】[0002]

【従来の技術】図7は従来の文字認識装置の一例を示す
ブロック回路図である。図において、1は入力媒体、2
は座標値検出手段、3はペン情報抽出手段、4は座標値
蓄積手段、7は認識手段、14は表示手段、15は領域
識別手段、16は計時手段、17は入力終了検出手段で
ある。
2. Description of the Related Art FIG. 7 is a block circuit diagram showing an example of a conventional character recognition device. In the figure, 1 is an input medium, 2
Is a coordinate value detecting means, 3 is a pen information extracting means, 4 is a coordinate value accumulating means, 7 is a recognizing means, 14 is a displaying means, 15 is a region identifying means, 16 is a time measuring means, and 17 is an input end detecting means.

【0003】次に動作について説明する。入力媒体1
は、ペンと同様な感覚で筆記動作のできる棒形状をした
もの(以下、「ペン」と記す)による筆記動作の座標位
置を検出するタブレット、あるいはタッチパネル、ある
いはデジタイザと呼ばれる平面板形状の座標入力装置で
ある。ここで、筆記動作を行なう手段としては、ペンと
同様な感覚で筆記動作のできる棒形状をしたものに限定
するものではなく、指などであっても良い。このような
入力媒体の座標位置を検出する原理には、例えば、抵抗
感圧方式、静電容量方式、電磁誘導方式、電磁授受作用
方式等がある。この筆記動作を検出する原理によってペ
ンおよびタブレットの構造や、入力精度、消費電力、価
格等が異なり、ワイヤレスかワイヤードか、透明か不透
明か、押圧検出か接触検出(近接検出)か等の違いがあ
るが、いかなる原理による座標入力装置であっても良
い。
Next, the operation will be described. Input medium 1
Is a tablet that detects the coordinate position of the writing action by a rod-shaped object (hereinafter referred to as "pen") that allows writing action with the same feeling as a pen, or a touch panel, or a flat plate-shaped coordinate input called a digitizer. It is a device. Here, the means for performing the writing operation is not limited to the rod-shaped one that enables the writing operation with the same feeling as a pen, and may be a finger or the like. The principle of detecting the coordinate position of such an input medium includes, for example, a resistance pressure sensing method, an electrostatic capacitance method, an electromagnetic induction method, an electromagnetic transfer action method, and the like. The structure of the pen and tablet, input accuracy, power consumption, price, etc. differ depending on the principle of detecting this writing action, and there are differences such as wireless or wired, transparent or opaque, pressure detection or contact detection (proximity detection). However, a coordinate input device based on any principle may be used.

【0004】座標値検出手段2はペンによる筆記動作で
接触(座標検出原理により、押圧の場合も非接触の場合
もあるが簡単のため単に「接触」と記す)した入力媒体
1の座標値を逐次検出する。座標値は、一定周期で検出
してもよいし、事象の発生毎に検出してもよい。一定周
期の場合、固定周期に設定してもよいが、入力媒体の使
用形態に応じて変えることが出来るように構成してもよ
い。事象の発生毎に検出する場合は、ペンによる入力に
変化が生じる点、例えば、筆記軌跡が曲った点の座標を
検出するように構成してもよい。入力媒体1は、例えば
横方向1024点、縦方向1024点の精度で座標を検
出できる場合、横方向の座標をX(X=0〜1023)
とし、縦方向の座標をY(Y=0〜1023)として、
座標値(X,Y)を出力する。座標値検出手段2は座標
値を座標値蓄積手段4に供給すると同時に領域識別手段
15にも供給する。
The coordinate value detecting means 2 detects the coordinate value of the input medium 1 which is contacted by a writing operation with a pen (it may be pressed or not contacted depending on the principle of coordinate detection, but is simply referred to as "contact" for simplicity). Sequentially detect. The coordinate value may be detected at a constant cycle or may be detected every time an event occurs. In the case of a fixed period, it may be set to a fixed period, but it may be configured so that it can be changed according to the usage of the input medium. When the detection is performed every time an event occurs, the coordinates of the point where the input by the pen is changed, for example, the point where the writing locus is curved may be detected. When the input medium 1 can detect coordinates with an accuracy of, for example, 1024 points in the horizontal direction and 1024 points in the vertical direction, the coordinates in the horizontal direction are X (X = 0 to 1023).
And the vertical coordinate is Y (Y = 0 to 1023),
The coordinate value (X, Y) is output. The coordinate value detecting means 2 supplies the coordinate values to the coordinate value accumulating means 4 and at the same time to the area identifying means 15.

【0005】領域識別手段15は座標値検出手段2から
順次供給される座標値が、入力媒体1の表面に形成され
たいくつかの選択領域、記入枠領域のいずれに属するか
を識別して、その領域を示す識別信号を入力終了検出手
段17に供給する。
The area discriminating means 15 discriminates whether the coordinate values sequentially supplied from the coordinate value detecting means 2 belong to some selected areas or entry frame areas formed on the surface of the input medium 1. An identification signal indicating the area is supplied to the input end detection means 17.

【0006】ペン情報検出手段3はペンが入力媒体に接
触している(ペンダウン)か、接触していない(ペンア
ップ)かを検出して計時手段16に供給する。計時手段
16はペンアップしてからの経過時間を計測して、その
経過時間を入力終了検出手段17に供給する。ペンダウ
ンによって計測は停止し、計測した経過時間はリセット
される。
The pen information detecting means 3 detects whether the pen is in contact with the input medium (pen down) or not (pen up) and supplies it to the time measuring means 16. The time measuring means 16 measures the elapsed time after pen-up and supplies the elapsed time to the input end detecting means 17. The measurement is stopped by the pen down, and the elapsed time measured is reset.

【0007】入力終了検出手段17は領域識別手段15
から出力された識別信号が変化した時、すなわち直前ま
で接触していた領域とは異なる領域に接触した時、入力
終了信号を座標値蓄積手段4に供給する。あるいは、計
時手段16から出力された経過時間が所定の時間を超過
した時、入力終了信号を座標値蓄積手段4に供給する。
The input end detecting means 17 is an area identifying means 15
When the identification signal output from the device changes, that is, when a region different from the region that was in contact immediately before is contacted, the input end signal is supplied to the coordinate value accumulating means 4. Alternatively, when the elapsed time output from the time counting means 16 exceeds a predetermined time, an input end signal is supplied to the coordinate value accumulating means 4.

【0008】座標値蓄積手段4は、座標値検出手段2か
ら順次供給される座標値系列から、座標値を順番に取り
込み、蓄積する。入力終了検出手段17から入力終了信
号が供給された段階で蓄積されている座標値を1文字分
の座標値系列として認識手段7に供給する。ここで、1
文字分の座標値系列は、一つの記入枠の領域範囲に含ま
れる座標値系列としてもよいが、ペンアップ状態からペ
ンダウン状態に変化した時の座標値が記入枠の領域に含
まれていれば、以降の入力座標値が記入枠の範囲外であ
っても一連の1文字分の座標値系列と判断するようにし
てもよい。
The coordinate value accumulating means 4 sequentially takes in coordinate values from the coordinate value series sequentially supplied from the coordinate value detecting means 2 and accumulates them. The coordinate value accumulated when the input end signal is supplied from the input end detection means 17 is supplied to the recognition means 7 as a coordinate value series for one character. Where 1
The coordinate value series for characters may be a coordinate value series included in the area range of one entry frame, but if the coordinate value when the pen-up state changes to the pen-down state is included in the entry frame area. Even if the subsequent input coordinate values are out of the range of the entry frame, it may be determined as a series of coordinate value series for one character.

【0009】認識手段7は、1文字分の座標値系列デー
タから認識した文字を表示手段14に供給する。表示手
段14は認識した文字を記入枠に相当する領域に入力筆
記軌跡に変えて表示する。認識手段7は例えば図8のブ
ロック回路図のように構成される。図8において21は
特徴抽出手段、22は文字辞書記憶手段、23は比較手
段、24は識別手段である。
The recognition means 7 supplies the character recognized from the coordinate value series data for one character to the display means 14. The display means 14 displays the recognized characters in the area corresponding to the entry frame in place of the input writing locus. The recognition means 7 is configured, for example, as shown in the block circuit diagram of FIG. In FIG. 8, 21 is a feature extracting means, 22 is a character dictionary storing means, 23 is a comparing means, and 24 is an identifying means.

【0010】特徴抽出手段21は座標値群の特徴量を抽
出して比較手段23に供給する。文字辞書記憶手段22
は、各文字における特徴量をあらかじめ記憶している辞
書に相当する記憶回路で、順番に比較手段23から検索
される。各文字における特徴量は、あらかじめ上記特徴
抽出手段21の特徴抽出動作と同様な手順で抽出され記
憶させてある。比較手段23は、入力された文字の特徴
量を、文字辞書記憶手段22に格納されている各文字毎
の特徴量と順番に比較を行い、特徴抽出手段21から入
力された特徴量と文字辞書記憶手段22に格納されてい
る各文字の特徴量との距離を順番に求めて識別手段24
に供給する。識別手段24は特徴量間の距離の最も短い
文字辞書記憶手段22の文字を認識文字と判断して、そ
の文字を表示手段14に供給する。
The feature extraction means 21 extracts the feature quantity of the coordinate value group and supplies it to the comparison means 23. Character dictionary storage means 22
Is a storage circuit corresponding to a dictionary in which the feature amount of each character is stored in advance, and is sequentially searched from the comparison means 23. The feature amount of each character is previously extracted and stored in the same procedure as the feature extracting operation of the feature extracting means 21. The comparison unit 23 sequentially compares the input characteristic amount of the character with the characteristic amount of each character stored in the character dictionary storage unit 22, and the characteristic amount input from the characteristic extraction unit 21 and the character dictionary. The distance between each character stored in the storage unit 22 and the characteristic amount of each character is obtained in order, and the identification unit 24 is obtained.
Supply to. The identification unit 24 determines that the character in the character dictionary storage unit 22 having the shortest distance between the feature amounts is a recognized character and supplies the character to the display unit 14.

【0011】特徴抽出は例えば次のように行う。筆記さ
れた文字が複数の画数を持つ文字であっても一筆で筆記
したような連続した筆記軌跡になるように、n画目の筆
記軌跡とn+1画目の筆記軌跡の間を補間する。つま
り、1文字分の座標値系列の途中でペンアップ、ペンダ
ウンが行われていても、そこで座標値系列を区切らず
に、一つの座標値系列として扱う。次に、その筆記軌跡
を形成する標本点の数が、全ての入力文字に対して一定
になるように標本点を設定し直す。この標本点の再標本
化は、各標本点間の距離の総和をとって筆記軌跡全体の
長さを求めて、この筆記軌跡長を所定の標本点数で割っ
て標本点間の平均距離を求めて、筆記軌跡の始点からこ
の平均距離ごとの標本点を順番に計算して求め、これを
新しい標本点として再標本化した座標値系列を得る。次
に、入力平面を複素平面と考えて、各標本点間のベクト
ルを平均距離で割って位相成分だけを得る。この位相成
分を離散フーリエ変換して得た変換係数を、筆記された
文字の特徴として利用する。この変換係数は、特徴量と
して全部を認識動作に使用する場合もあるが、認識率を
低下させない範囲であれば高次成分を除いて計算時間を
短縮する場合もある。
The feature extraction is performed as follows, for example. Even if the written character is a character having a plurality of strokes, interpolation is performed between the n-th stroke and the (n + 1) th stroke so that a continuous writing locus as if written with one stroke is obtained. That is, even if pen-up and pen-down are performed in the middle of the coordinate value series for one character, the coordinate value series is treated as one coordinate value series without being divided. Next, the sample points are set again so that the number of sample points forming the writing locus is constant for all input characters. The re-sampling of the sampling points is performed by obtaining the total length of the writing trajectories by summing the distances between the sampling points, and dividing the writing trajectory length by a predetermined number of sampling points to obtain the average distance between the sampling points. Then, the sample points for each average distance are sequentially calculated from the starting point of the writing locus and obtained, and the coordinate value series resampled as new sample points is obtained. Next, considering the input plane as a complex plane, the vector between each sample point is divided by the average distance to obtain only the phase component. The transform coefficient obtained by performing the discrete Fourier transform of this phase component is used as the feature of the written character. In some cases, all of the conversion coefficients are used as the feature amount in the recognition operation, but in some cases, the calculation time may be shortened by removing the higher-order components as long as the recognition rate is not reduced.

【0012】特徴抽出手法には、周波数領域の特徴抽出
手法だけでなく、基本ストロークによる構造解析法、パ
ターンマッチングによる方法等多くの手法が用いられ
る。
As the feature extraction method, not only the frequency domain feature extraction method but also many methods such as a structure analysis method using a basic stroke and a method using pattern matching are used.

【0013】次に、従来の文字認識装置を、時刻設定に
応用した例について説明する。時刻設定の具体例として
はVTRの録画予約がある。日付、時間に関する月、
日、時、分、秒の情報は、最大2桁の数字で表現され
る。そこで、この応用例の入力面は、1文字単位の記入
枠を2個設けて、2個の記入枠に各々1文字ずつの入力
を促すように構成される。この入力形態では、2個の枠
に対して1桁の数字を記入する場合もあれば、2桁の数
字を記入する場合もある。この2個の枠に対して1桁の
数字を記入する場合の記入例を図9に示す。図9(a)
に示す2個の記入枠に、1桁数字「2」を記入する場
合、(b)のように右側の記入枠に記入する例、(c)
のように左側の記入枠に記入する例がある。この記入例
では記入枠の片方だけにしか記入されず、片方は未記入
のままである。また、(d)のように左側の空欄に
「0」を埋める記入例もある。(e)のように右側の空
欄に「0」を埋める記入例では「20」となり明かに誤
りである。この(b)、(c)、(d)の記入パターン
のいずれでも「2」と認識できるが、ユーザが記入する
ときにどう記入するか迷うことになる。
Next, an example in which the conventional character recognition device is applied to time setting will be described. A specific example of time setting is VTR recording reservation. Month of date, time,
The information of the day, hour, minute, and second is represented by a maximum two-digit number. Therefore, the input surface of this application example is configured to provide two entry frames for each character and prompt each character for each of the two entry frames. In this input form, a one-digit number may be entered in two boxes, or a two-digit number may be entered. FIG. 9 shows an entry example in which a one-digit number is entered in these two frames. FIG. 9 (a)
When entering a one-digit number "2" in the two boxes shown in, fill in the box on the right as shown in (b), (c)
There is an example of filling in the left-hand side entry frame like. In this entry example, only one of the entry boxes is filled, and one is left blank. There is also an example of filling in the blank on the left side with “0” as in (d). In the entry example in which the blank on the right side is filled with "0" as in (e), "20" is obtained, which is clearly an error. Although any of the writing patterns of (b), (c), and (d) can be recognized as "2", the user is at a hesitation as to how to fill in.

【0014】また、修正を既記入文字を消去して再記入
する方法によらず上書きによる場合において、既に2桁
の数字が記入された状態を1桁の数字に修正する場合の
記入例を図10に示す。図10(a)に示す既に2桁数
字「11」が記入されている2個の記入枠に、1桁数字
「2」を記入する場合、右側の記入枠に記入すると
(b)のように左側の記入枠の「1」が残って「12」
になってしまうので、(d)のように左側の記入枠に
「0」を埋める必要が有る。また、左側の記入枠に記入
すると(c)のように右側の記入枠の「1」が残って
「21」になってしまうので、(e)のように右側の記
入枠に「0」を埋めると「20」となり明かに誤りであ
る。この場合(d)の記入例だけが正しい修正手順であ
り、ユーザが正しい修正方法を見いだすまでに試行錯誤
が必要になる。
Further, in the case where the correction is performed by overwriting regardless of the method of erasing already written characters and re-writing, the example of entry when correcting the state in which a two-digit number is already written into a one-digit number is shown. Shown in 10. When the 1-digit number "2" is entered in the two entry boxes in which the 2-digit number "11" is already entered as shown in FIG. "12" left in the entry box on the left and "12"
Therefore, it is necessary to fill "0" in the entry frame on the left side as shown in (d). Also, if you fill in the left-side entry frame, "1" in the right-side entry frame will remain and become "21" as shown in (c), so "0" in the right-hand entry frame as in (e). When filled, it becomes "20", which is clearly wrong. In this case, only the entry example of (d) is a correct correction procedure, and trial and error is required until the user finds a correct correction method.

【0015】従来の文字認識装置の他の例として、所定
の記入枠1つに1文字ずつ記入しないでも、複数の文字
を認識できる方式として特公平6−10829号公報が
ある。これは、文字として自然なストロークの組合せの
全てについて認識処理を行い、その認識距離(認識時の
入力と辞書との特徴の差)を各々得て、複数の文字列と
して自然な文字の組み合せについて各文字の認識距離の
総和を計算して、認識距離の総和が最小となる文字の組
み合わせを複数文字の認識結果とする。ストロークの組
合せはペンアップ毎に、その時点を終点とする1ストロ
ークの筆記軌跡から、認識対象文字の最大の画数を満足
するストローク数となる筆記軌跡までストロークを順番
にさかのぼって認識を行う。
As another example of the conventional character recognition apparatus, there is Japanese Patent Publication No. 6-10829 as a method of recognizing a plurality of characters without having to enter each character in a predetermined entry frame. This is to perform recognition processing for all combinations of strokes that are natural as characters, and obtain the respective recognition distances (differences in features between the input at the time of recognition and the dictionary) for combining natural characters as multiple character strings. The total sum of the recognition distances of the respective characters is calculated, and the combination of the characters having the smallest total sum of the recognition distances is set as the recognition result of the plurality of characters. With respect to the combination of strokes, the strokes are traced in order from the writing locus of one stroke ending at that point to the writing locus having the stroke number satisfying the maximum stroke number of the recognition target character for each pen-up.

【0016】次に、この従来の文字認識装置の他の例
を、時刻設定に応用した例について説明する。この従来
の文字認識装置の他の例は、いかなる文字数の文字列に
でも対応できるように構成されているが、時刻設定への
応用例であるので最大2文字の文字の入力に限定した場
合について説明する。
Next, another example of the conventional character recognition device applied to time setting will be described. Another example of this conventional character recognition device is configured so that it can support a character string of any number of characters, but since it is an application example for time setting, it is limited to the case of inputting a maximum of two characters. explain.

【0017】例えば、「45」(各々、一般に2画で筆
記されることが多い)のような2画の数字の組み合せに
よる2桁の数字の入力が行われた場合、認識対象文字の
画数を最大2画に設定した時、4ストロークの入力であ
るので、最初のペンアップでストローク1の筆記軌跡の
認識(認識結果1)、第2のペンアップでストローク2
の筆記軌跡の認識(認識結果2)、ストローク1と2の
筆記軌跡の組み合わせの認識(認識結果12)、第3の
ペンアップでストローク3の筆記軌跡の認識(認識結果
3)、ストローク2と3の筆記軌跡の組み合わせの認識
(認識結果23)、第4のペンアップでストローク4の
筆記軌跡の認識(認識結果4)、ストローク3と4の筆
記軌跡の組み合わせの認識(認識結果34)、と7回の
認識が行われ、各々認識結果と認識距離が得られる。
For example, when a two-digit number such as "45" (each of which is often written in two strokes in general) is input, the number of strokes of the character to be recognized is changed. When the maximum number of strokes is set to 2, the stroke input is 4 strokes. Therefore, the first pen-up recognizes the stroke trajectory of the stroke 1 (recognition result 1), and the second pen-up stroke 2
Recognition of a writing trajectory of (stroke 2), recognition of a combination of writing strokes of strokes 1 and 2 (recognition result 12), recognition of a writing trajectory of stroke 3 (recognition result 3), stroke 2 with a third pen-up. Recognition of a combination of writing trajectories of 3 (recognition result 23), recognition of a writing trajectory of stroke 4 by the fourth pen-up (recognition result 4), recognition of a combination of writing trajectories of strokes 3 and 4 (recognition result 34), And recognition is performed 7 times, and the recognition result and the recognition distance are obtained.

【0018】これを、4ストローク全てを使用して、な
おかつ重複しないように組み合わせて、 認識結果1+認識結果2+認識結果3+認識結果4 認識結果1+認識結果23+認識結果4 認識結果1+認識結果2+認識結果34 認識結果12+認識結果3+認識結果4 認識結果12+認識結果34 この5通りの組み合わせの認識距離の総和が最小となる
組み合せを最適組合せとして最終的な認識結果を得る。
These are combined by using all four strokes so that they do not overlap each other. Recognition result 1 + recognition result 2 + recognition result 3 + recognition result 4 recognition result 1 + recognition result 23 + recognition result 4 recognition result 1 + recognition result 2 + recognition Result 34 Recognition result 12 + recognition result 3 + recognition result 4 Recognition result 12 + recognition result 34 The final recognition result is obtained with the combination that minimizes the total recognition distance of these five combinations as the optimum combination.

【0019】上記従来の文字認識装置の他の例では、認
識対象文字の画数を最大2画と設定して説明したが、数
字は最大2画で表現することが可能であるものの、2画
以上で記述した数字でも認識する必要がある。筆記の画
数をユーザに指定して、それ以外は受け付けない文字認
識装置はユーザにとって使いにくいものである。
In the other example of the conventional character recognition apparatus described above, the number of strokes of the character to be recognized is set to a maximum of two strokes, but the number can be expressed by a maximum of two strokes, but two strokes or more. It is necessary to recognize the numbers described in. It is difficult for a user to use a character recognition device that specifies the number of strokes of writing to the user and does not accept other strokes.

【0020】例えば、ここで3画で記述してしまうと、
実際の認識動作では2ストロークの組み合わせまでしか
行われないので正常な認識は不可能になる。そこで、認
識対象文字を例えば最大3画と設定した時を考えると、
最初のペンアップでストローク1の筆記軌跡の認識(認
識結果1)、第2のペンアップでストローク2の筆記軌
跡の認識(認識結果2)、ストローク1と2の筆記軌跡
の組み合わせの認識(認識結果12)、第3のペンアッ
プでストローク3の筆記軌跡の認識(認識結果3)、ス
トローク2と3の筆記軌跡の組み合わせの認識(認識結
果23)、ストローク1と2と3の筆記軌跡の組み合わ
せの認識(認識結果123)、第4のペンアップでスト
ローク4の筆記軌跡の認識(認識結果4)、ストローク
3と4の筆記軌跡の組み合わせの認識(認識結果3
4)、ストローク2と3と4の筆記軌跡の組み合わせの
認識(認識結果234)、と9回の認識が行われ、各々
認識結果と認識距離が得られる。
For example, if the three strokes are described here,
In the actual recognition operation, since only a combination of two strokes is performed, normal recognition becomes impossible. Therefore, considering the case where the recognition target characters are set to a maximum of three strokes,
The first pen-up recognizes the stroke trajectory of stroke 1 (recognition result 1), the second pen-up recognizes the stroke trajectory of stroke 2 (recognition result 2), and recognizes the combination of strokes 1 and 2 (recognition). Result 12), recognition of the writing trajectory of stroke 3 by the third pen-up (recognition result 3), recognition of a combination of writing trajectories of strokes 2 and 3 (recognition result 23), and writing trajectory of strokes 1, 2 and 3 Recognition of a combination (recognition result 123), recognition of a writing trajectory of stroke 4 by the fourth pen-up (recognition result 4), recognition of a combination of writing trajectories of strokes 3 and 4 (recognition result 3)
4), recognition of the combination of the writing loci of strokes 2, 3 and 4 (recognition result 234), and recognition are performed 9 times, and the recognition result and the recognition distance are obtained.

【0021】これを、4ストローク全てを使用して、な
おかつ重複しないように組み合わせて、 認識結果1+認識結果2+認識結果3+認識結果4 認識結果1+認識結果23+認識結果4 認識結果1+認識結果234 認識結果1+認識結果2+認識結果34 認識結果12+認識結果3+認識結果4 認識結果12+認識結果34 認識結果123+認識結果4 この7通りの組み合わせの認識距離の総和が最小となる
組み合せを最適組合せとして最終的な認識結果を得る。
このように、設定する認識対象文字の画数を多く取る
と、それに応じて認識の回数と認識距離の総和計算の回
数が多くなる。
This is used by combining all four strokes so that they do not overlap with each other. Recognition result 1 + recognition result 2 + recognition result 3 + recognition result 4 recognition result 1 + recognition result 23 + recognition result 4 recognition result 1 + recognition result 234 recognition Result 1 + recognition result 2 + recognition result 34 recognition result 12 + recognition result 3 + recognition result 4 recognition result 12 + recognition result 34 recognition result 123 + recognition result 4 A combination that minimizes the total recognition distance of these 7 combinations is finally determined as the optimum combination. Get a good recognition result.
As described above, when the number of strokes of the recognition target character to be set is increased, the number of times of recognition and the number of times of calculation of the sum of the recognition distances increase accordingly.

【0022】[0022]

【発明が解決しようとする課題】従来の文字認識装置
は、所定の記入枠1つに1文字だけを記入するように構
成されており、また記入する文字数と記入枠の数が対応
しない場合があり、ユーザーに記入方法がわからないと
いう印象を与えたり、試行錯誤をさせてしまう問題点が
あった。また、例えば月、日、時、分、秒のような人間
の意識の上では1つの情報を、システムとのインタフェ
ースのために数字単位に分解した2つの情報として扱う
など、人間の思考過程として不自然であった。
The conventional character recognition device is configured to enter only one character in each predetermined entry frame, and the number of characters to be entered does not correspond to the number of entry frames. However, there are problems that give the user the impression that he or she does not know how to fill it out or cause trial and error. In addition, for example, in the human consciousness such as the month, the day, the hour, the minute, and the second, one piece of information is treated as two pieces of information that are decomposed into numerical units to interface with the system. It was unnatural.

【0023】他の従来の文字認識装置は、何文字の文字
列でも認識するように構成されており、わずか2文字を
認識するのに、処理手順がハードウェアで実現するにし
ても、ソフトウェアで実現するにしても複雑で大規模で
あり、認識速度が遅い問題点があった。また、設定した
画数以上で筆記すると正常な認識が行われず、画数を多
めに設定すると認識時間が遅くなる問題点があった。
Another conventional character recognizing device is configured to recognize a character string of any number of characters. Even if only two characters are recognized, even if the processing procedure is realized by hardware, software is used. Even if it is realized, it is complicated and large-scale, and there is a problem that the recognition speed is slow. Further, if the number of strokes is set or more, the recognition is not normally performed, and if the number of strokes is set to be larger, the recognition time is delayed.

【0024】本発明は上記のような問題点を解消するた
めになされたもので、ユーザーが記入方法に戸惑った
り、試行錯誤することなく自然な入力ができる、人間の
思考過程にそったヒューマンインタフェースに優れた文
字認識装置を得ることを目的とする。また、入力に違和
感を感じない認識速度で、ハードウェアでもソフトウェ
アでもより小規模に実現できる文字認識装置を得ること
を目的とする。
The present invention has been made to solve the above-mentioned problems, and a human interface according to a human thinking process that allows a user to input naturally without being confused about the writing method or trying and error. The object is to obtain an excellent character recognition device. Another object of the present invention is to obtain a character recognition device that can be realized on a smaller scale in both hardware and software at a recognition speed that does not cause discomfort in input.

【0025】[0025]

【課題を解決するための手段】請求項1の発明に係る文
字認識装置は、筆記手段の位置している座標値を筆記動
作にしたがって順次検出する座標検出手段を備えた平面
入力媒体と、当該領域に対して所定時間以内に筆記され
た座標値系列を順に蓄積する蓄積手段と、座標値系列を
もとに入力媒体に記入された筆記軌跡を認識する認識手
段を備え、ペンアップ毎に蓄積された座標値系列の認識
を行い、ペンアップの回数だけ得られる認識結果の中か
ら確度が最も高い認識結果を採用し、採用した認識結果
が最後のペンアップまでに蓄積された座標値系列から得
られている場合は上記認識結果を1個の文字として出力
し、途中のペンアップまでに蓄積された座標値系列から
得られている場合は上記認識結果を2個の文字の1文字
目とし、残りの座標値系列を2個の文字の2文字目とし
て認識して出力することを特徴とするものである。
According to a first aspect of the present invention, there is provided a character recognition device comprising a plane input medium having coordinate detecting means for sequentially detecting coordinate values at which the writing means is located in accordance with a writing operation. Equipped with a storage unit that sequentially stores a series of coordinate values written within a predetermined time for an area, and a recognition unit that recognizes a writing locus written on an input medium based on the series of coordinate values, and stores each pen-up. It recognizes the coordinate value series that was selected, and adopts the recognition result with the highest accuracy from among the recognition results obtained by the number of pen-ups, and the adopted recognition result is the coordinate value series that was accumulated by the last pen-up. If it is obtained, the recognition result is output as one character, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, the recognition result is set as the first character of the two characters. The rest of the seats It is characterized in that the output know the value sequence as the second character of the two characters.

【0026】請求項2の発明に係る文字認識装置は、筆
記手段の位置している座標値を筆記動作にしたがって順
次検出する座標検出手段を備えた平面入力媒体と、当該
領域に対して所定時間以内に筆記された座標値系列を順
に蓄積する蓄積手段と、座標値系列をもとに入力媒体に
記入された筆記軌跡を認識する認識手段を備え、ペンア
ップ毎に蓄積された座標値系列の認識を行い、ペンアッ
プの回数だけ得られる認識結果の中から確度が最も高い
認識結果を採用し、採用した認識結果が最後のペンアッ
プまでに蓄積された座標値系列から得られている場合は
上記認識結果を1桁の数字として出力し、途中のペンア
ップまでに蓄積された座標値系列から得られている場合
は上記認識結果を2桁の数字の10の位とし、残りの座
標値系列を2桁の数字の1の位として認識して出力する
ことを特徴とするものである。
According to a second aspect of the present invention, there is provided a character recognizing device which comprises a plane input medium having coordinate detecting means for sequentially detecting coordinate values at which the writing means is located in accordance with a writing operation, and a predetermined time for the area. An accumulating means for accumulating the coordinate value series written within in order and a recognizing means for recognizing the writing trajectory written on the input medium based on the coordinate value series are provided, and the coordinate value series accumulated for each pen-up When recognition is performed, the recognition result with the highest accuracy is adopted from the recognition results obtained by the number of pen-ups, and the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up. The recognition result is output as a 1-digit number, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, the recognition result is set to the tens digit of the 2-digit number, and the remaining coordinate value series is displayed. 2 digits It is characterized in that the output recognized as 1 digit of characters.

【0027】請求項3の発明に係る文字認識方法は、筆
記手段の位置している座標値を筆記動作にしたがって順
次検出するステップと、当該領域に対して所定時間以内
に筆記された座標値系列を順に蓄積するステップと、ペ
ンアップ毎に蓄積された座標値系列の認識を行うステッ
プと、ペンアップの回数だけ得られる認識結果の中から
確度が最も高い認識結果を採用するステップと、採用し
た認識結果が最後のペンアップまでに蓄積された座標値
系列から得られている場合は上記認識結果を1個の文字
とするステップと、途中のペンアップまでに蓄積された
座標値系列から得られている場合は上記認識結果を2個
の文字の1文字目とするステップと、残りの座標値系列
を2個の文字の2文字目として認識するステップを含ん
だものである。
According to a third aspect of the character recognition method of the present invention, the step of sequentially detecting the coordinate values at which the writing means is located according to the writing operation, and the coordinate value sequence written within the predetermined time in the area. , A step of recognizing the coordinate value series accumulated for each pen-up, and a step of adopting the recognition result with the highest accuracy among the recognition results obtained by the number of pen-ups. When the recognition result is obtained from the coordinate value series accumulated up to the last pen-up, the recognition result is obtained from the step of making the recognition result one character and the coordinate value series accumulated up to the pen-up in the middle. If it is, the step of recognizing the recognition result as the first character of the two characters and the step of recognizing the remaining coordinate value series as the second character of the two characters are included.

【0028】[0028]

【作用】請求項1の発明における文字認識装置は、筆記
手段の位置している座標値を筆記動作にしたがって順次
検出して、当該領域に対して所定時間以内に筆記された
座標値系列を順に蓄積して、ペンアップ毎に蓄積された
座標値系列の認識を行い、ペンアップの回数だけ得られ
る認識結果の中から確度が最も高い認識結果を採用し、
採用した認識結果が最後のペンアップまでに蓄積された
座標値系列から得られている場合は上記認識結果を1個
の文字として出力し、途中のペンアップまでに蓄積され
た座標値系列から得られている場合は上記認識結果を2
個の文字の1文字目とし、残りの座標値系列を2個の文
字の2文字目として認識して出力する。
According to the character recognition apparatus of the present invention, the coordinate values at which the writing means is located are sequentially detected in accordance with the writing operation, and the coordinate value series written within the predetermined time is sequentially written to the area. Accumulate and recognize the coordinate value series accumulated for each pen-up, and adopt the recognition result with the highest accuracy from the recognition results obtained for the number of pen-ups.
If the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up, the above recognition result is output as one character and obtained from the coordinate value series accumulated up to the pen-up in the middle. If yes, the above recognition result is 2
The first character of the two characters and the remaining coordinate value series are recognized and output as the second character of the two characters.

【0029】請求項2の発明における文字認識装置は、
筆記手段の位置している座標値を筆記動作にしたがって
順次検出して、当該領域に対して所定時間以内に筆記さ
れた座標値系列を順に蓄積して、ペンアップ毎に蓄積さ
れた座標値系列の認識を行い、ペンアップの回数だけ得
られる認識結果の中から確度が最も高い認識結果を採用
し、採用した認識結果が最後のペンアップまでに蓄積さ
れた座標値系列から得られている場合は上記認識結果を
1桁の数字として出力し、途中のペンアップまでに蓄積
された座標値系列から得られている場合は上記認識結果
を2桁の数字の10の位とし、残りの座標値系列を2桁
の数字の1の位として認識して出力する。
The character recognition device according to the invention of claim 2 is
The coordinate values at which the writing means is located are sequentially detected according to the writing operation, and the coordinate value series written within a predetermined time for the area is sequentially accumulated, and the coordinate value series accumulated for each pen-up. If the recognition result with the highest accuracy is adopted from the recognition results obtained by the number of pen-ups, and the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up. Outputs the recognition result as a 1-digit number, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, sets the recognition result to the tens digit of the 2-digit number and the remaining coordinate values. Recognize and output the sequence as the ones digit of a two-digit number.

【0030】請求項3の発明における文字認識方法は、
筆記手段の位置している座標値を筆記動作にしたがって
順次検出して当該領域に対して所定時間以内に筆記され
た座標値系列を順に蓄積して、ペンアップ毎に蓄積され
た座標値系列の認識を行い、ペンアップの回数だけ得ら
れる認識結果の中から確度が最も高い認識結果を採用し
て、採用した認識結果が最後のペンアップまでに蓄積さ
れた座標値系列から得られている場合は上記認識結果を
1個の文字とし、途中のペンアップまでに蓄積された座
標値系列から得られている場合は上記認識結果を2個の
文字の1文字目とし、残りの座標値系列を2個の文字の
2文字目として認識するものである。
A character recognition method according to the invention of claim 3 is
The coordinate values at which the writing means is located are sequentially detected in accordance with the writing operation, and the coordinate value series written within a predetermined time in the area is sequentially stored, and the coordinate value series stored for each pen-up is stored. When recognition is performed and the recognition result with the highest accuracy is adopted from the recognition results obtained by the number of pen-ups, and the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up. Is the above recognition result as one character, and if it is obtained from the coordinate value series accumulated up to the middle pen-up, the above recognition result is the first character of the two characters, and the remaining coordinate value series is It is recognized as the second character of the two characters.

【0031】[0031]

【実施例】【Example】

実施例1.図1は本発明の一実施例による文字認識装置
を示すブロック回路図である。図において、図7と同一
符号はそれぞれ同一部分を示しているので説明を省略す
る。5は座標値抽出手段、6は第1の切換手段、8は第
2の切換手段、9は確度比較手段、10は記憶手段、1
1は第3の切換手段、12は第4の切換手段、13は1
0の位表示手段、14は1の位表示手段、18は計数手
段、19は桁数判断手段である。
Example 1. FIG. 1 is a block circuit diagram showing a character recognition device according to an embodiment of the present invention. In the figure, the same reference numerals as those in FIG. Reference numeral 5 is coordinate value extracting means, 6 is first switching means, 8 is second switching means, 9 is accuracy comparing means, 10 is storage means, 1
1 is the third switching means, 12 is the fourth switching means, and 13 is 1
0 is a digit display means, 14 is a digit display means, 18 is a counting means, and 19 is a digit number determining means.

【0032】次に動作を時刻設定に応用した場合を例に
説明する。日付、時間に関する月、日、時、分、秒の情
報は、最大2桁の数字で表現される。図7と共通部分の
動作は、図7に示した従来例の動作と同じであるから、
ここではその動作説明は省略する。座標値検出手段2は
ペンによる筆記動作で接触した入力媒体1の座標値を逐
次検出し、座標値を座標値蓄積手段4に供給すると同時
に領域識別手段15にも供給する。
Next, a case where the operation is applied to time setting will be described as an example. The information of month, day, hour, minute, second regarding date and time is expressed by a maximum of two digits. Since the operation of the common part with FIG. 7 is the same as the operation of the conventional example shown in FIG. 7,
The description of the operation is omitted here. The coordinate value detecting means 2 sequentially detects the coordinate values of the input medium 1 which has come into contact with the pen by the writing operation, and supplies the coordinate values to the coordinate value accumulating means 4 and at the same time to the area identifying means 15.

【0033】ペン情報検出手段3は、ペンが入力媒体に
接触している(ペンダウン)か、接触していない(ペン
アップ)かを検出して座標値蓄積手段4に供給すると同
時に計時手段16にも供給する。
The pen information detecting means 3 detects whether the pen is in contact with the input medium (pen down) or not (pen up) and supplies it to the coordinate value accumulating means 4 and at the same time to the time measuring means 16. Also supply.

【0034】領域識別手段15は、座標値検出手段2か
ら順次供給される座標値が、入力媒体1の表面に形成さ
れたいくつかの選択領域、記入枠領域のいずれに属する
かを識別して、その領域を示す識別信号を入力終了検出
手段17に供給する。計時手段16は、ペンアップして
からの経過時間を計測して、その経過時間を入力終了検
出手段17に供給する。ペンダウンによって計測は停止
し、計測した経過時間はリセットされる。
The area discriminating means 15 discriminates whether the coordinate values sequentially supplied from the coordinate value detecting means 2 belong to some selected areas or entry frame areas formed on the surface of the input medium 1. , And supplies an identification signal indicating the area to the input end detecting means 17. The time measuring means 16 measures the elapsed time after pen-up and supplies the elapsed time to the input end detecting means 17. The measurement is stopped by the pen down, and the elapsed time measured is reset.

【0035】入力終了検出手段17は、領域識別手段1
5から出力された識別信号が変化した時、すなわち、直
前まで接触していた領域とは異なる領域に接触した時、
入力終了信号を出力する。あるいは、計時手段16から
出力された経過時間が所定の時間を超過した時、入力終
了信号を出力する。入力終了検出手段17から出力され
た入力終了信号は記憶手段10、計数手段18、桁数判
断手段19に供給される。
The input end detecting means 17 is the area identifying means 1
When the identification signal output from 5 is changed, that is, when the area different from the area that was in contact immediately before is contacted,
Output the input end signal. Alternatively, when the elapsed time output from the clock means 16 exceeds a predetermined time, an input end signal is output. The input end signal output from the input end detection means 17 is supplied to the storage means 10, the counting means 18, and the digit number determination means 19.

【0036】座標値蓄積手段4は、座標値検出手段2か
ら順次供給される座標値系列から、座標値を順番に取り
込み、蓄積する。ペン情報抽出手段3から供給されるペ
ン情報がペンダウンからペンアップに変化した段階で蓄
積されている座標値を認識対象の座標値系列として第1
の切換手段6を経て認識手段7に供給する。
The coordinate value accumulating means 4 sequentially takes in coordinate values from the coordinate value series successively supplied from the coordinate value detecting means 2 and accumulates them. The coordinate values accumulated when the pen information supplied from the pen information extracting means 3 changes from pen down to pen up are first set as a coordinate value series to be recognized.
It is supplied to the recognition means 7 via the switching means 6 of.

【0037】認識手段7は、例えば、従来の技術におい
て説明した図8のブロック回路図のように構成される。
図8において比較手段23は、入力された文字の特徴量
を、文字辞書記憶手段22に格納されている各文字毎の
特徴量と順番に比較を行い、特徴抽出手段21から入力
された特徴量と文字辞書記憶手段22に格納されている
各文字の特徴量との距離を順番に求めて識別手段24に
供給する。識別手段24は特徴量間の距離が最も短くな
る文字辞書記憶手段22の文字を認識文字と判断する。
識別手段24において認識文字を判断したときの特徴量
間の距離が短ければ認識結果の確度は高く、距離が長け
れば認識結果の確度は低いといえる。認識手段7は、認
識対象の座標値系列データから認識した文字C1と確度
E1を第2の切換手段8を経て確度比較手段9に供給す
る。
The recognizing means 7 is constructed, for example, as shown in the block circuit diagram of FIG. 8 described in the prior art.
In FIG. 8, the comparison unit 23 sequentially compares the input characteristic amount of the character with the characteristic amount of each character stored in the character dictionary storage unit 22, and the characteristic amount input from the characteristic extraction unit 21. And the feature amount of each character stored in the character dictionary storage means 22 are sequentially obtained and supplied to the identification means 24. The identification unit 24 determines that the character in the character dictionary storage unit 22 having the shortest distance between the feature amounts is the recognized character.
It can be said that the accuracy of the recognition result is high when the distance between the feature amounts when the recognition unit 24 determines the recognized character is short, and the accuracy of the recognition result is low when the distance is long. The recognizing means 7 supplies the character C1 and the probability E1 recognized from the coordinate value series data to be recognized to the accuracy comparing means 9 via the second switching means 8.

【0038】確度比較手段9は、第2の切換回路8から
文字C1、確度E1が入力される毎に計数手段18に入
力があったことを通知する。計数手段18は、入力の回
数を順に計数する。この入力の回数は、座標値蓄積手段
4の動作からペンアップの回数に依存しているので、当
該記入枠に対する筆記軌跡のストローク数に相当する。
計数手段18は、入力終了検出手段17から供給される
入力終了信号によってリセットされる。
The accuracy comparing means 9 notifies the counting means 18 every time the character C1 and the accuracy E1 are input from the second switching circuit 8. The counting means 18 sequentially counts the number of inputs. Since the number of times of this input depends on the number of times of pen-up from the operation of the coordinate value accumulating means 4, it corresponds to the number of strokes of the writing locus with respect to the entry frame.
The counting means 18 is reset by the input end signal supplied from the input end detection means 17.

【0039】記憶手段10は、確度比較手段9における
比較で、最も確度が高かった文字C0と確度E0とスト
ローク数S0を記憶している。確度比較手段9は、第2
の切換回路8から供給される確度E1を、記憶手段10
に記憶されている確度E0と比較する。確度E1が確度
E0より高ければその確度E1、およびそれに対応する
文字C1、ストローク数S1を、各々確度C0、文字E
0、ストローク数S0として記憶手段10に書き込んで
内容を更新する。確度E1が確度E0より低ければ更新
は行わない。記憶手段10は、入力終了検出手段17か
ら供給される入力終了信号によってリセットされる。記
憶手段10がリセットされた状態で確度比較手段9に文
字C1、確度E1が入力された場合は、1ストローク目
として、文字C1、確度E1、ストロークS1を、各々
確度C0、文字E0、ストローク数S0として記憶手段
10に書き込む。記憶手段10は、確度比較手段9にお
ける比較で、最も確度が高かった文字C0を第3の切換
回路11に供給する。
The storage means 10 stores the character C0, the accuracy E0, and the stroke number S0 which have the highest accuracy in the comparison by the accuracy comparison means 9. The accuracy comparing means 9 is the second
The accuracy E1 supplied from the switching circuit 8 of
Is compared with the accuracy E0 stored in. If the accuracy E1 is higher than the accuracy E0, the accuracy E1 and the corresponding character C1 and stroke number S1 are set to the accuracy C0 and the character E, respectively.
0 and the number of strokes S0 are written in the storage means 10 to update the contents. If the accuracy E1 is lower than the accuracy E0, the update is not performed. The storage unit 10 is reset by the input end signal supplied from the input end detection unit 17. When the character C1 and the accuracy E1 are input to the accuracy comparing means 9 while the storage means 10 is reset, the character C1, the accuracy E1, and the stroke S1 are set as the accuracy C0, the character E0, and the stroke number, respectively, as the first stroke. It is written in the storage means 10 as S0. The storage means 10 supplies the character C0 having the highest accuracy in the comparison in the accuracy comparison means 9 to the third switching circuit 11.

【0040】桁数判断手段19には、計数手段18から
現在の筆記軌跡のストローク数S1が供給されると同時
に、記憶手段10から最高の確度となった時のストロー
ク数S0が供給される。桁数判断手段19は、入力終了
検出手段17から入力終了信号が供給された時にストロ
ーク数S1とS0を比較する。ストローク数S1とS0
が等しい場合、入力終了時点で得られている筆記軌跡全
体を認識した時の確度が最も高いことを意味している。
すなわち入力された筆記軌跡は1桁の数字である。スト
ローク数S0がS1より小さい場合、最も確度の高い認
識が行える筆記軌跡は入力途中のストロークまでに留め
た軌跡で得られることを意味している。すなわち入力さ
れた筆記軌跡は2桁の数字である。桁数判断手段19
は、1桁か2桁か桁数を判断して、座標値蓄積手段4、
第1の切換手段6、第2の切換手段8、第3の切換手段
11、第4の切換手段12に1桁制御信号、あるいは2
桁制御信号を供給する。
The digit number judging means 19 is supplied with the stroke number S1 of the current writing locus from the counting means 18, and at the same time, is supplied with the stroke number S0 when the accuracy is highest from the storage means 10. The digit number judging means 19 compares the stroke numbers S1 and S0 when the input end signal is supplied from the input end detecting means 17. Number of strokes S1 and S0
If they are equal to each other, it means that the accuracy is highest when recognizing the entire writing locus obtained at the end of input.
That is, the input writing locus is a single digit number. When the number of strokes S0 is smaller than S1, it means that the writing trajectory with which the recognition can be performed with the highest degree of accuracy can be obtained by the trajectory stopped by the stroke during the input. That is, the input writing locus is a two-digit number. Digit number determination means 19
Is the coordinate value accumulating means 4 by judging whether it is 1 digit or 2 digits or the number of digits.
A 1-digit control signal is sent to the first switching means 6, the second switching means 8, the third switching means 11, and the fourth switching means 12, or 2
Supply digit control signal.

【0041】座標値蓄積手段4は、桁数判断手段19か
ら2桁制御信号が供給された時、蓄積されている座標値
を認識対象の座標値系列として第1の切換手段6に供給
すると同時に、座標値抽出手段5に供給する。座標値抽
出手段5は、記憶手段10から供給されるストローク数
S0が対応する座標値系列を除いた残りの座標値系列を
第1の切換手段6に供給する。
When the two-digit control signal is supplied from the digit number judging means 19, the coordinate value accumulating means 4 supplies the accumulated coordinate values to the first switching means 6 as a coordinate value series to be recognized. , To the coordinate value extraction means 5. The coordinate value extraction means 5 supplies the remaining coordinate value series excluding the coordinate value series corresponding to the stroke number S0 supplied from the storage means 10 to the first switching means 6.

【0042】第1の切換手段6は、一方の入力端子に座
標値蓄積手段4から供給された座標値系列が、他方の入
力端子に座標値抽出手段5から供給された残りの座標値
系列が加えられる。制御端子に2桁制御信号が加えられ
ている時は座標値抽出手段5から供給された座標値系列
を、2桁制御信号が加えられていない時は座標値蓄積手
段4から供給された座標値系列を選択するように切り換
え制御して認識手段7に供給する。
In the first switching means 6, the coordinate value series supplied from the coordinate value accumulating means 4 is input to one input terminal and the remaining coordinate value series supplied from the coordinate value extracting means 5 is input to the other input terminal. Added. The coordinate value series supplied from the coordinate value extracting means 5 when the two-digit control signal is applied to the control terminal, and the coordinate value supplied from the coordinate value accumulating means 4 when the two-digit control signal is not applied. Switching control is performed so as to select a sequence, and the sequence is supplied to the recognition means 7.

【0043】認識手段7は、1文字分の座標値系列デー
タから認識した文字C1と確度E1を第2の切換手段8
に供給する。第2の切換手段8は制御端子に2桁制御信
号が加えられている時は文字C1を一方の出力端子から
第4の切換手段12に供給するように切り換え制御す
る。制御端子に2桁制御信号が加えられていない時は文
字C1と確度E1を確度比較手段9に供給するように切
り換え制御する。
The recognizing means 7 uses the character C1 and the accuracy E1 recognized from the coordinate value series data for one character as the second switching means 8
Supply to. The second switching means 8 controls the switching so that the character C1 is supplied from one output terminal to the fourth switching means 12 when a two-digit control signal is applied to the control terminal. When the two-digit control signal is not applied to the control terminal, switching control is performed so that the character C1 and the accuracy E1 are supplied to the accuracy comparing means 9.

【0044】第3の切換手段11は、制御端子に2桁制
御信号が加えられている時は文字C0を一方の出力端子
から10の位表示手段13に供給するように切り換え制
御する。制御端子に1桁制御信号が加えられている時は
文字C0を第4の切換手段12に供給するように切り換
え制御する。制御端子に1桁制御信号も2桁制御信号も
加えられていない時はいずれの出力端子も選択しない。
10の位表示手段13は当該記入枠の左寄りの位置に文
字C0を表示する。
The third switching means 11 controls the switching so that the character C0 is supplied from one output terminal to the tens display means 13 when a two-digit control signal is applied to the control terminal. When a one-digit control signal is applied to the control terminal, switching control is performed so that the character C0 is supplied to the fourth switching means 12. When neither the one-digit control signal nor the two-digit control signal is applied to the control terminal, no output terminal is selected.
The tens place display means 13 displays the character C0 at a position on the left side of the entry frame.

【0045】第4の切換手段12は、一方の入力端子に
第3の切換手段11から供給された文字C0が、他方の
入力端子に第2の切換手段8から供給された文字C1が
加えられる。制御端子に2桁制御信号が加えられている
時は第2の切換手段8から供給された文字C1を、1桁
制御信号が加えられている時は第3の切換手段11から
供給された文字C0を選択するように切り換え制御して
1の位表示手段14に供給する。1の位表示手段14は
当該記入枠の右寄りの位置に文字C0あるいはC1を表
示する。
In the fourth switching means 12, the character C0 supplied from the third switching means 11 is added to one input terminal, and the character C1 supplied from the second switching means 8 is added to the other input terminal. . The character C1 supplied from the second switching means 8 when the two-digit control signal is applied to the control terminal, and the character C1 supplied from the third switching means 11 when the one-digit control signal is applied. Switching control is performed so that C0 is selected, and C0 is supplied to the unit display unit 14. The unit display unit 14 displays the character C0 or C1 at a position on the right side of the entry frame.

【0046】上記実施例では、最終的に最大2桁の入力
数字の認識結果を1の位表示手段14、10の位表示手
段13で表示しているだけであるが、認識結果を利用し
て制御を行うタイマー装置等を構成してもよい。
In the above-mentioned embodiment, the recognition result of the maximum two-digit input number is finally displayed only by the ones position display means 14 and the tens position display means 13, but the recognition result is used. A timer device or the like for controlling may be configured.

【0047】次に、図1の文字認識装置の処理の流れを
図2のフローチャートにしたがって説明する。ペンがア
ップしている状態(ペンがタブレットと非接触)の時
(102)、ペンがダウンするまでペンの状態を検出し
ながら待機する。ペンがダウンしている状態(ペンがタ
ブレットと接触)の時(102)、座標値を検出して
(103)、その座標値を記憶する(104)。そのま
まペンがダウンしている状態(105)であれば、次の
座標値を検出して(103)、その座標値を記憶する
(104)ループを繰り返し、順に座標値を蓄積する。
Next, the flow of processing of the character recognition apparatus of FIG. 1 will be described with reference to the flowchart of FIG. When the pen is in the up state (the pen is not in contact with the tablet) (102), it waits until the pen goes down while detecting the state of the pen. When the pen is in the down state (the pen is in contact with the tablet) (102), the coordinate value is detected (103) and the coordinate value is stored (104). If the pen is still down (105), the next coordinate value is detected (103) and the coordinate value is stored (104). The loop is repeated and the coordinate values are sequentially accumulated.

【0048】ペンがアップした状態(105)になれ
ば、1ストロークの終了として、そのストロークの筆記
軌跡の特徴を抽出し(106)、抽出した特徴からその
筆記軌跡の文字を認識し(107)、その認識結果と確
度を記憶する(108)。1ストローク目は比較する確
度がないので(109)、108で記憶した認識結果を
暫定認識結果、確度を最高確度として記憶する(11
0)。同一記入枠に所定時間以内に再びペンダウンが行
われ、筆記動作が継続していると判断できる時(11
1)、103のステップに戻る。
When the pen is in the up state (105), one stroke is terminated, and the characteristic of the writing trajectory of the stroke is extracted (106), and the character of the writing trajectory is recognized from the extracted feature (107). , The recognition result and the accuracy are stored (108). Since there is no certainty for comparison in the first stroke (109), the recognition result stored in 108 is stored as a provisional recognition result, and the certainty is stored as the highest certainty (11
0). When it is judged that the pen-down is performed again in the same entry frame within a predetermined time and the writing operation is continued (11
Return to steps 1) and 103.

【0049】上記ステップと同様に筆記に従って順に座
標値を蓄積し2ストローク目(2ストローク目だけの筆
記軌跡ではなく、2ストローク目までの筆記軌跡)の認
識結果と確度を記憶する(108)。記憶した確度が先
に記憶している最高確度より高い時(109)、新たに
108で記憶した認識結果を暫定認識結果として、確度
を最高確度として記憶する(110)。記憶した確度が
先に記憶している最高確度より低い時(109)、暫定
認識結果、最高確度は変更しない。同一記入枠に所定時
間以内に再びペンダウンが行われ筆記動作が継続してい
ると判断できる時は(111)、再び103のステップ
に戻り同様な処理(上記2ストローク目との表現はnス
トローク目と一般化する)を繰り返す。
Similar to the above step, the coordinate values are sequentially accumulated according to the writing, and the recognition result and the accuracy of the second stroke (the writing trajectory up to the second stroke, not the writing trajectory only for the second stroke) are stored (108). When the stored accuracy is higher than the previously stored highest accuracy (109), the recognition result newly stored at 108 is stored as the provisional recognition result, and the accuracy is stored as the highest accuracy (110). When the stored accuracy is lower than the previously stored highest accuracy (109), the provisional recognition result, the highest accuracy is not changed. When it is determined that the pen-down is performed again within the predetermined time in the same entry frame and the writing operation is continued (111), the process returns to step 103 again and the same processing is performed (the expression of the second stroke is the n-th stroke). And generalize).

【0050】例えばペンが異なる記入枠に移ったり、別
に設けられた選択領域を指示したり、ペンアップしてか
ら所定時間経過しても入力操作が行われない等の状態と
なり筆記動作が終了したと判断できる時(111)、次
の処理に移る。最高確度である暫定認識結果が最終スト
ロークまでの筆記軌跡から得られる時(112)、暫定
認識結果を1桁数字として出力する(113)。
For example, the pen is moved to a different entry frame, a separate selection area is designated, or an input operation is not performed within a predetermined time after pen-up, and the writing operation ends. When it can be determined (111), the process moves to the next step. When the provisional recognition result having the highest accuracy is obtained from the writing trajectory up to the final stroke (112), the provisional recognition result is output as a one-digit number (113).

【0051】最高確度である暫定認識結果が途中のスト
ロークまでの筆記軌跡から得られる時(112)、暫定
認識結果を2桁数字の10の位として出力する(11
5)。暫定認識結果を得たストロークまでの筆記軌跡を
除いた残りの筆記軌跡を構成する座標値を抽出し(11
6)、残りの筆記軌跡の特徴を抽出し(117)、抽出
した特徴からその筆記軌跡の文字を認識し(118)、
認識結果を2桁数字の1の位として出力する(11
9)。
When the provisional recognition result with the highest accuracy is obtained from the writing trajectory up to the stroke in the middle (112), the provisional recognition result is output as the tens digit of two digits (11).
5). The coordinate values forming the remaining writing loci except the writing locus up to the stroke for which the provisional recognition result is obtained are extracted (11
6), the features of the remaining writing loci are extracted (117), and the characters of the writing loci are recognized from the extracted features (118),
The recognition result is output as the ones digit of the two-digit number (11
9).

【0052】次に、図1の文字認識装置の動作を実際の
数値入力の具体例で図3〜6にしたがって説明する。図
3は記入枠に1桁で1画の数字として例えば「2」(一
般に1画で筆記されることが多い)を入力した場合の記
入例で、この場合は1ストロークで入力終了となり、確
度を比較するまでもなく1桁数字「2」として認識され
る。
Next, the operation of the character recognition device of FIG. 1 will be described with reference to FIGS. Fig. 3 shows an example of entry when "2" (generally written in one stroke) is entered as a one-digit number in the entry frame. In this case, the input is completed with one stroke, and the accuracy is high. It is recognized as a single digit number "2" without comparing.

【0053】図4は記入枠に1桁で2画の数字として例
えば「4」(一般に2画で筆記されることが多い)を入
力した場合の記入例で、この場合は2ストロークで入力
終了となる。ストロークごとに分解して、ストローク1
の筆記軌跡を認識するとなんらかの文字として判断され
るが、その確度はかなり低いものとなる。(あまりに確
度が低い場合はいずれの文字も割り当てずに棄却しても
よい。)ストローク2の筆記軌跡を認識すると、おそら
く高い確度で「4」として認識される。ストローク1と
ストローク2の筆記軌跡の認識結果の確度を比較すると
ストローク2の筆記軌跡の認識結果の確度の方が高いこ
とから、ストローク2の認識結果を採用する。ストロー
ク2の筆記軌跡はこの入力における筆記軌跡の全てであ
るので、最終的な認識結果として1桁数字「4」を得
る。
FIG. 4 shows an example of entry when "4" (generally written in two strokes) is entered as a one-digit two-stroke number in the entry frame. In this case, input is completed with two strokes. Becomes Disassemble for each stroke, stroke 1
When it recognizes the writing locus of, it is judged as some character, but its accuracy is considerably low. (If the accuracy is too low, any character may be rejected without being assigned.) When the writing trajectory of stroke 2 is recognized, it is likely to be recognized as "4" with high accuracy. When the accuracy of the recognition result of the strokes 1 and 2 is compared, the accuracy of the recognition result of the stroke 2 is higher. Therefore, the recognition result of the stroke 2 is used. Since the writing locus of stroke 2 is all the writing loci in this input, the one-digit number “4” is obtained as the final recognition result.

【0054】図5は記入枠に1画の数字の組み合わせに
よる2桁の数字として、例えば「23」(各々、一般に
1画で筆記されることが多い)を入力した場合の記入例
で、この場合は2ストロークで入力終了となる。ストロ
ークごとに分解して、ストローク1の筆記軌跡を認識す
ると、おそらく高い確度で「2」として認識される。ス
トローク2の筆記軌跡を認識するとなんらかの文字とし
て判断されるが、その確度はかなり低いものとなる。
(あまりに確度が低い場合はいずれの文字も割り当てず
に棄却してもよい。)ストローク1とストローク2の筆
記軌跡の認識結果の確度を比較するとストローク1の筆
記軌跡の認識結果の確度の方が高いことから、ストロー
ク1の認識結果を採用する。ストローク1の筆記軌跡は
この入力における筆記軌跡の一部であるので、ストロー
ク1の認識結果「2」は2桁数字の10の位となる。残
りの筆記軌跡だけを取り出して認識して2桁数字の1の
位として「3」を得る。これより、最終的な認識結果と
して2桁数字「23」を得る。
FIG. 5 shows an entry example in which, for example, "23" (each is often written in one stroke in general) is entered as a two-digit number in the entry frame as a combination of numbers in one stroke. In this case, the input ends with two strokes. If the stroke of the stroke 1 is recognized by disassembling it for each stroke, the stroke is probably recognized as "2" with high accuracy. When the writing locus of the stroke 2 is recognized, it is judged as some character, but its accuracy is considerably low.
(If the accuracy is too low, any character may be rejected without being assigned.) Comparing the accuracy of the recognition results of the stroke 1 and stroke 2 writing trajectories, the accuracy of the recognition result of the stroke 1 writing trajectory is higher. Since it is high, the recognition result of the stroke 1 is adopted. Since the writing locus of stroke 1 is a part of the writing locus in this input, the recognition result “2” of stroke 1 is the tens digit of the two-digit number. Only the remaining writing loci are taken out and recognized to obtain "3" as the ones digit of the two-digit number. From this, the two-digit number "23" is obtained as the final recognition result.

【0055】図6は記入枠に2画の数字の組み合わせに
よる2桁の数字として例えば「45」(各々、一般に2
画で筆記されることが多い)を入力した場合の記入例
で、この場合は4ストロークで入力終了となる。ストロ
ークごとに分解して、ストローク1の筆記軌跡を認識す
るとなんらかの文字として判断されるが、その確度はか
なり低いものとなる。(あまりに確度が低い場合はいず
れの文字も割り当てずに棄却してもよい。)ストローク
2の筆記軌跡を認識すると、おそらく高い確度で「4」
として認識される。ストローク3の筆記軌跡を認識する
となんらかの文字として判断されるが、その確度はかな
り低いものとなる。ストローク4の筆記軌跡を認識する
となんらかの文字として判断されるが、その確度はかな
り低いものとなる。ストローク1、ストローク2、スト
ローク3、ストローク4の筆記軌跡の認識結果の確度を
比較するとストローク2の筆記軌跡の認識結果の確度が
一番高いことから、ストローク2の認識結果を採用す
る。ストローク2の筆記軌跡はこの入力における筆記軌
跡の一部であるので、ストローク2の認識結果「4」は
2桁数字の10の位となる。残りの筆記軌跡だけを取り
出して認識して2桁数字の1の位として「5」を得る。
これより、最終的な認識結果として2桁数字「45」を
得る。
FIG. 6 shows, for example, "45" (each of which is generally 2
In most cases, the input is completed with 4 strokes. When the stroke is decomposed into strokes and the writing locus of stroke 1 is recognized, it is determined as some character, but the accuracy is considerably low. (If the accuracy is too low, you may discard it without assigning any character.) If you recognize the stroke of stroke 2, you will probably get "4" with high accuracy.
Is recognized as When the writing locus of the stroke 3 is recognized, it is judged as some character, but its accuracy is considerably low. When the writing locus of the stroke 4 is recognized, it is judged as some character, but its accuracy is considerably low. When the accuracy of the recognition result of the writing loci of stroke 1, stroke 2, stroke 3, and stroke 4 is compared, the recognition result of the stroke 2 is adopted because the accuracy of the recognition result of the writing trajectory of stroke 2 is the highest. Since the writing locus of the stroke 2 is a part of the writing locus in this input, the recognition result “4” of the stroke 2 is the tens digit of the two-digit number. Only the remaining writing loci are taken out and recognized to obtain "5" as the ones digit of the two-digit number.
From this, a two-digit number "45" is obtained as the final recognition result.

【0056】ここで、この「45」を例とする2画の数
字の組み合わせによる2桁の数字の入力が行われた場合
の処理手順を、別の書き方で説明する。最初のペンアッ
プでストローク1の筆記軌跡の認識(認識結果1)、第
2のペンアップでストローク1と2の筆記軌跡の組み合
わせの認識(認識結果12)、第3のペンアップでスト
ローク1〜3の筆記軌跡の組み合わせの認識(認識結果
123)、第4のペンアップでストローク1〜4の筆記
軌跡の組み合わせの認識(認識結果1234)と4回の
認識が行われ、各々認識結果と確度(確度は認識距離が
小さくなれば高くなり、大きくなれば低くなる)が得ら
れる。この確度の中で最高の確度の認識結果を採用す
る。この場合は(認識結果12)を採用する。1文字目
の認識結果が確定すれば、一意に2文字目部分の筆記軌
跡は確定するので残りのストローク3と4の筆記軌跡の
組み合わせの認識(認識結果34)を行う。認識処理は
合計5回で最終的な認識結果が得られる。
Here, the processing procedure in the case where a two-digit number is input by a combination of numbers of two strokes taking "45" as an example will be described in another way. The first pen-up recognizes the stroke 1 of the writing locus (recognition result 1), the second pen-up recognizes the combination of the strokes 1 and 2 of the writing locus (recognition result 12), and the third pen-up strokes 1 to 1. The recognition of the combination of the writing trajectories of 3 (recognition result 123), the recognition of the combination of the writing trajectories of strokes 1 to 4 (recognition result 1234) and the recognition of four times are performed by the fourth pen-up. (The accuracy increases as the recognition distance decreases, and decreases as the recognition distance increases). The recognition result with the highest accuracy is adopted. In this case, (recognition result 12) is adopted. When the recognition result of the first character is determined, the writing trajectory of the second character portion is uniquely determined, and thus the combination of the writing trajectories of the remaining strokes 3 and 4 is recognized (recognition result 34). The final recognition result is obtained after a total of five recognition processes.

【0057】上記実施例では、2文字の認識において課
題となる文字の切り出しにおいて、1文字目の開始点は
筆記軌跡全体の開始点であり、2文字目の終点は筆記軌
跡全体の終点であり既知の情報であるが、1文字目の終
点と2文字目の開始点、すなわち1文字目と2文字目の
境界だけが未知の情報となる。この未知の情報を得るた
めに1文字目の開始点はわかっているので、終点の探索
を1ストローク目の終点から最終ストロークの終点まで
順に仮定して認識を行い、その認識の確度を比較して、
最も高い確度が得られた認識で仮定したストロークの終
点を1文字目の終点と判断している。この1文字目の終
点から自動的に2文字目の開始点は決定でき、1文字目
の終点となるストロークの次のストロークの開始点が2
文字目の開始点である。これで2文字目は開始点も終了
点もわかっているので、探索を行う必要がなく通常の1
文字の認識ですむ。
In the above embodiment, when cutting out a character which is a problem in recognizing two characters, the starting point of the first character is the starting point of the entire writing locus and the ending point of the second character is the ending point of the entire writing locus. Although it is known information, only the end point of the first character and the start point of the second character, that is, the boundary between the first character and the second character is unknown information. Since the starting point of the first character is known in order to obtain this unknown information, recognition is performed assuming the search for the end point in order from the end point of the first stroke to the end point of the final stroke, and the accuracy of the recognition is compared. hand,
The end point of the stroke assumed in the recognition with the highest accuracy is determined as the end point of the first character. The start point of the second character can be automatically determined from the end point of the first character, and the start point of the stroke next to the stroke that is the end point of the first character is 2
It is the starting point of the character. Since the starting point and ending point of the second character are known, there is no need to search and the normal 1
Only needs to recognize characters.

【0058】また、入力が2文字であるか1文字だけで
あるかの識別も、2文字の文字の切り出しの処理手順の
特殊な場合として考えることができる。これは、1文字
目の終点の探索で、最終ストロークの終点までの認識が
最も高い確度となる場合で、この場合は、当然2文字目
の認識を行う必要はない。
Further, the identification of whether the input is two characters or only one character can be considered as a special case of the processing procedure of cutting out two characters. This is a case in which the recognition up to the end point of the final stroke has the highest accuracy in the search for the end point of the first character, and in this case, it is not necessary to recognize the second character.

【0059】また、1文字目と2文字目の境界を探索す
るのに、上記手順とは逆に2文字目の開始点を最終スト
ロークから順に仮定して認識して探索する方法もあり、
筆記動作と並行しての処理ができないので全体の認識時
間が遅くなる短所があるものの、その他の点では、上記
実施例と同様な効果が得られる。
Also, in order to search the boundary between the first character and the second character, there is also a method of recognizing and searching by assuming the starting point of the second character in order from the final stroke, contrary to the above procedure.
Although it is not possible to perform processing in parallel with the writing operation, there is a disadvantage in that the overall recognition time is delayed, but in other respects, the same effect as the above-described embodiment can be obtained.

【0060】上記実施例では、認識手段に例えば従来の
技術でも説明した全筆記軌跡を統合して特徴を抽出する
特徴抽出手法を採用していれば、筆記者は通常の筆記に
要する画数よりも多い画数で筆記しても少ない画数で筆
記しても何の問題もなく最大2文字の認識を行う。すな
わち、1文字の文字認識において画数フリーの文字認識
手法を採用すれば、この最大2文字の文字認識において
も画数フリーの特徴は維持できる。また、平面入力媒体
(タブレット)と筆記手段(ペン)の接触状態等によっ
て生じるかすれ等は、結果的に筆記者の意図しないペン
アップとなる場合があり、実際よりストローク数が多い
筆記軌跡となるが、この場合でも同様に何の問題もなく
最大2文字の認識を行う。
In the above embodiment, if the feature extracting method for integrating the whole writing loci described in the conventional technique and extracting the feature is adopted as the recognizing means, the writer is more than the number of strokes required for normal writing. It recognizes up to 2 characters without any problems, whether writing with a large number of strokes or with a small number of strokes. That is, if the stroke number-free character recognition method is adopted in the character recognition of one character, the stroke number-free characteristic can be maintained even in the character recognition of a maximum of two characters. Further, a blur or the like caused by a contact state between the plane input medium (tablet) and the writing means (pen) may result in pen-up not intended by the writer, resulting in a writing trajectory having more strokes than the actual stroke. However, even in this case, recognition of a maximum of two characters is similarly performed without any problem.

【0061】上記実施例では最大2桁で表現する数字と
して、日付、時間等の月、日、時、分、秒を対象に説明
したが、年も西暦は4桁ではあるが慣用的に下2桁で表
現する形式は広く用いられており、元号による暦におい
ても明治、大正、昭和、また現時点での平成も含めて適
用可能である。また、TVチャンネル等も国内において
は、CATVを考慮しても一般に最大2桁の数字で表現
でき適用可能である。また、これらに限らず、意味のな
い数字の組み合せであっても適用でき全く同様に動作す
る。
In the above-mentioned embodiment, the description is made for the month, day, hour, minute, second such as date, time, etc. as the number represented by the maximum two digits. The two-digit format is widely used, and it is applicable to the calendar based on the era, including the Meiji, Taisho, and Showa eras, as well as the Heisei era at the present time. In addition, TV channels and the like can be generally expressed and expressed in a maximum of two digits even if CATV is considered in Japan. Further, the present invention is not limited to these, and a combination of meaningless numbers can be applied and operates in exactly the same manner.

【0062】上記実施例は、主に2桁数字を対象に説明
したが、特に数字に限定されるものではなく、2文字の
熟語をはじめ、ひらがな、かたかな、漢字、アルファベ
ット文字、記号等どのような文字の2つの組み合せに対
しても文字辞書記憶手段に記憶させる文字範囲を対応さ
せることにより適用でき全く同様に動作する。
Although the above-described embodiments have been mainly described for two-digit numbers, the numbers are not particularly limited to numbers, and two-letter idioms, hiragana, katakana, kanji, alphabetic characters, symbols, etc. Any combination of two characters can be applied by associating the character range stored in the character dictionary storage means, and operates in exactly the same manner.

【0063】[0063]

【発明の効果】以上のように、請求項1の発明によれ
ば、ペンアップ毎に蓄積された座標値系列の認識を行
い、ペンアップの回数だけ得られる認識結果の中から確
度が最も高い認識結果を採用し、採用した認識結果が最
後のペンアップまでに蓄積された座標値系列から得られ
ている場合は上記認識結果を1個の文字として出力し、
途中のペンアップまでに蓄積された座標値系列から得ら
れている場合は上記認識結果を2個の文字の1文字目と
し、残りの座標値系列を2個の文字の2文字目として認
識して出力するように構成したので、最大2文字の情報
が1文字であっても2文字であっても単一の情報として
記入でき、ユーザーが記入方法に戸惑ったり、試行錯誤
することなく自然な、人間の思考過程にそった入力が行
える効果がある。
As described above, according to the first aspect of the invention, the coordinate value series accumulated for each pen-up is recognized, and the accuracy is the highest among the recognition results obtained by the number of pen-ups. If the recognition result is adopted and the adopted recognition result is obtained from the coordinate value series accumulated until the last pen-up, the recognition result is output as one character,
If it is obtained from the coordinate value series accumulated up to the pen-up on the way, the above recognition result is recognized as the first character of the two characters, and the remaining coordinate value series is recognized as the second character of the two characters. Since it is configured to output as a single information, it can be entered as a single information regardless of whether the information of maximum 2 characters is 1 character or 2 characters. , There is an effect that can be input according to the human thought process.

【0064】また、2つの文字間の切り出しを、ペンア
ップ毎に行う認識の確度に基づいて行うように構成した
ので、ペンアップの時間、ペンアップ時のペンの移動方
向、ペンアップ時のペンの移動距離等のパラメータに基
づいて行う方式に較べて、ユーザの書き方の違い等によ
って誤動作する可能性が低くなる効果がある。
Further, since the two characters are cut out based on the accuracy of the recognition performed for each pen-up, the pen-up time, the pen movement direction during pen-up, and the pen-up pen-up. Compared to the method based on the parameter such as the moving distance, there is an effect that the possibility of malfunction due to the difference in writing style of the user is reduced.

【0065】また、1つの情報を最大2文字に限定し
て、1文字目の終点の探索にだけストロークの組み合せ
を検証して、以降については探索が不要になるように構
成したので、複数の文字の認識をストロークの全組み合
せを検証して最適な文字の組み合わせを探索して認識結
果とする方式を最大2文字に限定した場合に較べて、個
別の認識処理の回数が少なく、文字組合せの認識距離の
総和計算を行う必要がなく、処理手順をハードウェアで
もソフトウェアでもより小規模に実現しやすく、全体の
認識速度が速くなる効果がある。
Further, since one piece of information is limited to a maximum of two characters, the combination of strokes is verified only in the search for the end point of the first character, and the search is unnecessary after that. The number of individual recognition processes is smaller and the character combination of character combinations is smaller than the case where the character recognition is performed by verifying all combinations of strokes, searching for an optimum character combination and obtaining the recognition result as a maximum of two characters. There is no need to calculate the total sum of recognition distances, and it is easy to implement the processing procedure on a smaller scale in hardware or software, and the overall recognition speed is increased.

【0066】また、文字の切り出しに認識対象文字の最
大画数の情報を使用しないので、通常の筆記に要する画
数より多い画数で筆記しても、かすれ等でストローク数
が多くなっても、何の問題もなく認識できる効果があ
る。
Further, since the information on the maximum stroke number of the recognition target character is not used for cutting out the character, even if the stroke number is larger than the stroke number required for normal writing, or the stroke number is increased due to faintness, no matter what. There is an effect that can be recognized without problems.

【0067】また、請求項2の発明によれば、文字種を
数字に限定して構成したので、文字辞書記憶手段の構成
が容易で、認識速度が速く、誤認識が少なくなる効果が
ある。
According to the second aspect of the invention, since the character type is limited to numbers, the character dictionary storage means can be easily constructed, the recognition speed can be increased, and erroneous recognition can be reduced.

【0068】また、最大2桁の数字の情報が1桁数字で
あっても2桁数字であっても単一の情報として記入でき
るように構成したので、日付、時間等の年、月、日、
時、分、秒、TVチャンネル等の最大2桁の情報を設定
するユーザーが記入方法に戸惑ったり、試行錯誤するこ
となく自然な、人間の思考過程にそった入力が行える効
果がある。
Also, since the maximum two-digit number information can be entered as a single information regardless of whether it is a one-digit number or a two-digit number, the year, month, day such as date, time, etc. can be entered. ,
There is an effect that a user who sets information of maximum two digits such as hour, minute, second, TV channel, etc. can perform natural input according to a human thought process without being confused about the entry method or trial and error.

【0069】また、請求項3の発明によれば、ペンアッ
プ毎に蓄積された座標値系列の認識を行い、ペンアップ
の回数だけ得られる認識結果の中から確度が最も高い認
識結果を採用し、採用した認識結果が最後のペンアップ
までに蓄積された座標値系列から得られている場合は上
記認識結果を1個の文字とし、途中のペンアップまでに
蓄積された座標値系列から得られている場合は上記認識
結果を2個の文字の1文字目とし、残りの座標値系列を
2個の文字の2文字目として認識するように構成したの
で、最大2文字の情報が1文字であっても2文字であっ
ても単一の情報として記入でき、ユーザーが記入方法に
戸惑ったり、試行錯誤することなく自然な、人間の思考
過程にそった入力が行える効果がある。
According to the invention of claim 3, the coordinate value series accumulated for each pen-up is recognized, and the recognition result with the highest accuracy is adopted from the recognition results obtained by the number of pen-ups. , If the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up, the recognition result is taken as one character and obtained from the coordinate value series accumulated up to the pen-up in the middle. In this case, the recognition result is set as the first character of the two characters, and the remaining coordinate value series is recognized as the second character of the two characters. Even if there are two characters, it can be entered as a single piece of information, and there is an effect that the user can perform input according to a natural human thought process without being confused about the entry method or trial and error.

【0070】また、2つの文字間の切り出しを、ペンア
ップ毎に行う認識の確度に基づいて行うように構成した
ので、ペンアップの時間、ペンアップ時のペンの移動方
向、ペンアップ時のペンの移動距離等のパラメータに基
づいて行う方式に較べて、ユーザの書き方の違い等によ
って誤動作する可能性が低くなる効果がある。
Further, since the two characters are cut out based on the accuracy of the recognition performed for each pen-up, the pen-up time, the pen movement direction during pen-up, and the pen-up pen-up are used. Compared to the method based on the parameter such as the moving distance, there is an effect that the possibility of malfunction due to the difference in writing style of the user is reduced.

【0071】また、1つの情報を最大2文字に限定し
て、1文字目の終点の探索にだけストロークの組み合せ
を検証して、以降については探索が不要になるように構
成したので、複数の文字の認識をストロークの全組み合
せを検証して最適な文字の組み合わせを探索して認識結
果とする方式を最大2文字に限定した場合に較べて、個
別の認識処理の回数が少なく、文字組合せの認識距離の
総和計算を行う必要がなく、処理手順をハードウェアで
もソフトウェアでもより小規模に実現しやすく、全体の
認識速度が速くなる効果がある。
Further, since one piece of information is limited to a maximum of two characters, the combination of strokes is verified only in the search for the end point of the first character, and the search is unnecessary after that. The number of individual recognition processes is smaller and the character combination of character combinations is smaller than the case where the character recognition is performed by verifying all combinations of strokes, searching for an optimum character combination and obtaining the recognition result as a maximum of two characters. There is no need to calculate the total sum of recognition distances, and it is easy to implement the processing procedure on a smaller scale in hardware or software, and the overall recognition speed is increased.

【0072】また、文字の切り出しに認識対象文字の最
大画数の情報を使用しないので、通常の筆記に要する画
数より多い画数で筆記しても、かすれ等でストローク数
が多くなっても、何の問題もなく認識できる効果があ
る。
Further, since the information of the maximum stroke number of the recognition target character is not used for cutting out the character, even if the stroke number is larger than the stroke number required for the normal writing, or the stroke number is increased due to the blurring or the like, no matter what. There is an effect that can be recognized without problems.

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

【図1】 この発明の実施例1の文字認識装置のブロッ
ク回路図である。
FIG. 1 is a block circuit diagram of a character recognition device in a first embodiment of the present invention.

【図2】 実施例1の文字認識装置の動作を説明するた
めのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the character recognition device in the first embodiment.

【図3】 実施例1の文字認識装置の動作を説明するた
めの図である。
FIG. 3 is a diagram for explaining the operation of the character recognition device in the first embodiment.

【図4】 実施例1の文字認識装置の動作を説明するた
めの図である。
FIG. 4 is a diagram for explaining the operation of the character recognition device in the first embodiment.

【図5】 実施例1の文字認識装置の動作を説明するた
めの図である。
FIG. 5 is a diagram for explaining the operation of the character recognition device in the first embodiment.

【図6】 実施例1の文字認識装置の動作を説明するた
めの図である。
FIG. 6 is a diagram for explaining the operation of the character recognition device in the first embodiment.

【図7】 従来の文字認識装置の一例を示すブロック回
路図である。
FIG. 7 is a block circuit diagram showing an example of a conventional character recognition device.

【図8】 従来の文字認識装置の認識手段の動作を説明
するためのブロック回路図である。
FIG. 8 is a block circuit diagram for explaining an operation of a recognition unit of a conventional character recognition device.

【図9】 従来の文字認識装置の動作を説明するための
記入例を示す図である。
FIG. 9 is a diagram showing an entry example for explaining the operation of the conventional character recognition device.

【図10】 従来の文字認識装置の動作を説明するため
の記入例を示す図である。
FIG. 10 is a diagram showing an example of entry for explaining the operation of the conventional character recognition device.

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

1 入力媒体、2 座標値検出手段、3 ペン情報抽出
手段、4 座標値蓄積手段、5 座標値抽出手段、6
第1の切換手段、7 認識手段、8 第2の切換手段、
9 確度比較手段、10 記憶手段、11 第3の切換
手段、12 第4の切換手段、13 10の位表示手
段、14 1の位表示手段、15 領域識別手段、16
計時手段、17 入力終了検出手段、18 計数手
段、19 桁数判断手段。
1 input medium, 2 coordinate value detecting means, 3 pen information extracting means, 4 coordinate value accumulating means, 5 coordinate value extracting means, 6
First switching means, 7 recognition means, 8 second switching means,
9 accuracy comparison means, 10 storage means, 11 third switching means, 12 fourth switching means, 13 10 position display means, 14 1 position display means, 15 area identification means, 16
Clocking means, 17 input end detecting means, 18 counting means, 19 digit number judging means.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 筆記手段の位置している座標値を筆記動
作にしたがって順次検出する座標検出手段を備えた平面
入力媒体と、当該領域に対して所定時間以内に筆記され
た座標値系列を順に蓄積する蓄積手段と、座標値系列を
もとに入力媒体に記入された筆記軌跡を認識する認識手
段を備え、ペンアップ(平面入力媒体から上記筆記手段
が離れる)毎に蓄積された座標値系列の認識を行い、ペ
ンアップの回数だけ得られる認識結果の中から確度が最
も高い認識結果を採用し、採用した認識結果が最後のペ
ンアップまでに蓄積された座標値系列から得られている
場合は上記認識結果を1個の文字として出力し、途中の
ペンアップまでに蓄積された座標値系列から得られてい
る場合は上記認識結果を2個の文字の1文字目とし、残
りの座標値系列を2個の文字の2文字目として認識して
出力することを特徴とする文字認識装置。
1. A plane input medium provided with a coordinate detecting means for sequentially detecting coordinate values at which the writing means is located in accordance with a writing operation, and a coordinate value sequence written within a predetermined time with respect to the area in order. Equipped with an accumulating means for accumulating and a recognizing means for recognizing a writing locus written on an input medium based on the coordinate value series, and the coordinate value series accumulated for each pen-up (the writing means is separated from the plane input medium). If the recognition result with the highest accuracy is adopted from the recognition results obtained by the number of pen-ups, and the adopted recognition result is obtained from the coordinate value series accumulated up to the last pen-up. Outputs the recognition result as one character, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, sets the recognition result as the first character of the two characters and the remaining coordinate values. Series 2 A character recognition device characterized by recognizing and outputting as the second character of each character.
【請求項2】 筆記軌跡を認識する認識手段は認識対象
を数字に限定したものであり、採用した認識結果が最後
のペンアップまでに蓄積された座標値系列から得られて
いる場合は上記認識結果を1桁の数字として出力し、途
中のペンアップまでに蓄積された座標値系列から得られ
ている場合は上記認識結果を2桁の数字の10の位と
し、残りの座標値系列を2桁の数字の1の位として認識
して出力することを特徴とする特許請求の範囲第1項記
載の文字認識装置。
2. The recognition means for recognizing a writing trajectory limits the recognition target to numbers, and when the adopted recognition result is obtained from the coordinate value series accumulated until the last pen-up, the recognition is performed. The result is output as a 1-digit number, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, the recognition result is set to the tens digit of the 2-digit number, and the remaining coordinate value series is set to 2 digits. The character recognition device according to claim 1, wherein the character recognition device recognizes and outputs the digit as a ones digit.
【請求項3】 筆記手段の位置している座標値を筆記動
作にしたがって順次検出するステップと、当該領域に対
して所定時間以内に筆記された座標値系列を順に蓄積す
るステップと、ペンアップ毎に蓄積された座標値系列の
認識を行うステップと、ペンアップの回数だけ得られる
認識結果の中から確度が最も高い認識結果を採用するス
テップと、採用した認識結果が最後のペンアップまでに
蓄積された座標値系列から得られている場合は上記認識
結果を1個の文字とするステップと、途中のペンアップ
までに蓄積された座標値系列から得られている場合は上
記認識結果を2個の文字の1文字目とするステップと、
残りの座標値系列を2個の文字の2文字目として認識す
るステップを含んだ文字認識方法。
3. A step of sequentially detecting coordinate values at which the writing means is located in accordance with a writing operation, a step of sequentially accumulating a series of coordinate values written within a predetermined time in the area, and each pen-up. The step of recognizing the coordinate value series accumulated in step 1, the step of adopting the recognition result with the highest accuracy among the recognition results obtained by the number of pen-ups, and the adopted recognition result is accumulated by the last pen-up. If it is obtained from the coordinate value series obtained, the step of making the recognition result one character, and if it is obtained from the coordinate value series accumulated up to the pen-up in the middle, two recognition results are obtained. The step of making the first character of
A character recognition method including the step of recognizing the remaining coordinate value series as the second character of two characters.
JP11100594A 1994-05-25 1994-05-25 Character recognition device and character recognition method Expired - Fee Related JP3560361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11100594A JP3560361B2 (en) 1994-05-25 1994-05-25 Character recognition device and character recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11100594A JP3560361B2 (en) 1994-05-25 1994-05-25 Character recognition device and character recognition method

Publications (2)

Publication Number Publication Date
JPH07319999A true JPH07319999A (en) 1995-12-08
JP3560361B2 JP3560361B2 (en) 2004-09-02

Family

ID=14549997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11100594A Expired - Fee Related JP3560361B2 (en) 1994-05-25 1994-05-25 Character recognition device and character recognition method

Country Status (1)

Country Link
JP (1) JP3560361B2 (en)

Also Published As

Publication number Publication date
JP3560361B2 (en) 2004-09-02

Similar Documents

Publication Publication Date Title
CN107391014B (en) Intelligent touch screen keyboard with finger identification function
US5396566A (en) Estimation of baseline, line spacing and character height for handwriting recognition
CN106575170A (en) Method of performing a touch action in a touch sensitive device
CN102193736A (en) Input method and system supporting multimode automatic switching
CN114730241B (en) Gesture and stroke recognition in touch user interface input
JPH08161429A (en) Method and apparatus for recognition of character
JP3020223B2 (en) Device for positioning a block of handwritten data on a display and method for positioning handwritten data on a display
EP3772015B1 (en) Text line extraction
JP3560361B2 (en) Character recognition device and character recognition method
JP2007220145A (en) Online handwriting recognition apparatus
JP2013084223A (en) Touch detection device, recording display device, and program
JPS60136890A (en) Real-time recognition device of hand-written locus
JP2001357355A (en) Device and method for input of handwritten character and recording medium with program for execution of the method recorded therein
JPH09120433A (en) Character recognizing method and document preparation device
JPH07160828A (en) Character recognizing device
EP4086744B1 (en) Gesture stroke recognition in touch-based user interface input
JPH096897A (en) Handwritten input recognition method
JP3897999B2 (en) Handwritten character recognition method
JPH10162101A (en) Device and method for recognizing handwritten character
JPS63269266A (en) Character recognizing device
JPH02207387A (en) On-line handwritten character input device
JPH0737039A (en) On-line handwritten character recognizing device
JPH0896082A (en) Character recognizing device and character recognizing method
JPH0229885A (en) Character segmenting system
JPH07113950B2 (en) Image recognition method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040525

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040525

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080604

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090604

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100604

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100604

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110604

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120604

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees