JPH096897A - Handwritten input recognition method - Google Patents

Handwritten input recognition method

Info

Publication number
JPH096897A
JPH096897A JP7179586A JP17958695A JPH096897A JP H096897 A JPH096897 A JP H096897A JP 7179586 A JP7179586 A JP 7179586A JP 17958695 A JP17958695 A JP 17958695A JP H096897 A JPH096897 A JP H096897A
Authority
JP
Japan
Prior art keywords
handwriting input
sampling time
sampling
movement amount
speed
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.)
Pending
Application number
JP7179586A
Other languages
Japanese (ja)
Inventor
Nobuhiro Shimizu
信広 清水
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7179586A priority Critical patent/JPH096897A/en
Publication of JPH096897A publication Critical patent/JPH096897A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE: To hold the number of sampling data nearly constant and improve character recognition, etc., without being affected by the speed of handwritten input by making a sampling time short when the speed of the handwritten input is fast and long when slow. CONSTITUTION: At the start of the handwritten input, a CPU 1 inputs coordinate data at initial sampling time intervals and decides whether or not the number of coordinates from the start of the handwritten input up to now reaches three. When the number reaches three, the CPU 1 finds the initial movement quantity ya of the handwritten input and finds the rate P to a reference movement quantity (y), and then refers to a sampling time table 11 according to the rate P to determines the sampling time for inputting the coordinates of the 4th and succeeding points.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は手書き入力パターンか
ら検出された座標列をサンプリングデータとして取り込
み、このサンプリングデータに基づいて手書き文字を認
識する手書き入力認識方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwriting input recognition method in which a coordinate string detected from a handwriting input pattern is taken in as sampling data and a handwritten character is recognized based on this sampling data.

【0002】[0002]

【従来の技術】従来の手書き文字認識装置においては、
タッチパネル上をペンダウンして一筆入力すると、その
入力に追従して一定時間毎に座標データを順次検出し、
検出された各座標データを手書き入力のサンプリングデ
ータとして取り込むようにしている。図6は一筆入力時
のサンプリング動作を説明するための図で、文字を書く
スピードには個人差があり、極端に速く書いた場合のサ
ンプリング動作と、遅く書いた場合のサンプリング動作
を示している。この場合、座標点をサンプリングする時
間は予め固定的に決められた一定時間Tであるため、一
筆の入力スピードが速いと座標数は少なくなり、逆に遅
いと多くなる。
2. Description of the Related Art In a conventional handwritten character recognition device,
When the pen is touched down on the touch panel and one stroke is input, the coordinate data is sequentially detected at fixed time intervals following the input,
Each detected coordinate data is taken in as sampling data for handwriting input. FIG. 6 is a diagram for explaining the sampling operation at the time of single-stroke input, and there are individual differences in the writing speed of characters, and shows the sampling operation when writing extremely fast and the sampling operation when writing slowly. . In this case, since the time for sampling the coordinate points is a fixed time T fixedly fixed in advance, the number of coordinates decreases when the input speed of one stroke is fast, and increases when the input speed of the stroke is slow.

【0003】[0003]

【発明が解決しようとする課題】このように手書き入力
時のスピードが速いと、サンプリングデータが少なくな
り、必要とする特徴点を検出できない確率が高くなるた
め、このサンプリングデータに基づいて文字認識を行う
と、誤認識の確率が高くなるという問題がある。そこ
で、一筆の入力スピードを遅くすると、座標数が多くな
るため、文字認識率を高めることができるはずである。
しかしながら、サンプリングデータを実際に格納するメ
モリには当然制限があるため、従来ではある一定数まで
のサンプリングに留め、それ以降は切り捨てるようにし
ている。すなわち、図6に示すように、サンプリング可
能なデータ数を「20」とすると、それ以降からペンア
ップされるまでの座標が切り捨てられる結果、一筆の最
後までデータを得ることができず、このようなサンプリ
ングデータに基づいて文字認識を行うと、誤認識の確率
が高くなる。この発明の課題は、手書き入力時のスピー
ドが速い場合にはサンプリング時間を短かくし、逆に入
力スピードが遅い場合にはサンプリング時間を長くする
ことにより、手書き入力時のスピードに影響されず、サ
ンプリングデータ数をほぼ一定に保ち、文字認識等の向
上を実現できるようにすることである。
When the handwriting input speed is high, the sampling data becomes small and the probability that the required feature points cannot be detected becomes high. Therefore, the character recognition is performed based on the sampling data. If this is done, there is a problem that the probability of false recognition increases. Therefore, if the input speed of one stroke is slowed down, the number of coordinates increases, so that the character recognition rate should be increased.
However, since the memory for actually storing the sampling data is naturally limited, conventionally, the sampling data is limited to a certain number, and the sampling is discarded thereafter. That is, as shown in FIG. 6, when the number of data that can be sampled is set to “20”, the coordinates from that point until the pen-up is cut off, and as a result, the data cannot be obtained until the end of one stroke. If character recognition is performed based on various sampling data, the probability of erroneous recognition increases. An object of the present invention is to reduce the sampling time when the handwriting input speed is fast, and conversely, to lengthen the sampling time when the input speed is slow, so that the sampling time is not affected by the handwriting input speed. The goal is to keep the number of data almost constant and to improve character recognition.

【0004】[0004]

【課題を解決するための手段およびその作用】この発明
の手段およびそり作用は次の通りである。手書き入力パ
ターンの座標データを所定のサンプリング時間毎に順次
検出し、検出された各座標データを手書き入力のサンプ
リングデータとして読み取り、このサンプリングデータ
に基づいて手書き入力の文字を認識する文字認識装置に
おいて、手書き入力開始時に、初期サンプリング時間と
して予め決められた所定時間毎に座標データを検出する
と共に、手書き入力の開始時から現在までの座標データ
数を計数し、この計数値が所定数に達したか否かを判別
し、所定数に達したことが判別された際に、手書き入力
の移動量を初期移動量として検出し、この初期移動量に
基づいて手書き入力の速さに応じたサンプリング時間を
決定し、決定されたサンプリング時間毎にそれ以降の座
標データを検出する。ここで、「文字」とは仮名文字、
漢字、数字、アルファベットの他、記号、図形等も含
む。なお、前記手書き入力の速さに応じたサンプリング
時間を決定する際に、前記検出された初期移動量と、手
書き入力の標準的な速さに対応して予め決められている
基準移動量とを比較し、この比較結果に基づいてサンプ
リング時間を決定するようにしてもよい。また、前記手
書き入力に応じたサンプリング時間を決定する際に、前
記検出された初期移動量とこの移動量に応じた時間とに
基づいて手書き入力の速度を求め、この入力速度に基づ
いてサンプリング時間を決定するようにしてもよい。し
たがって、手書き入力時のスピードが速い場合にはサン
プリング時間を短かくし、逆に入力スピードが遅い場合
にはサンプリング時間を長くすることにより、手書き入
力時のスピードに影響されず、サンプリングデータ数を
ほぼ一定に保ち、文字認識等の向上を実現することがで
きる。
Means for Solving the Problem and Its Action The means and sled action of the present invention are as follows. Coordinate data of the handwriting input pattern is sequentially detected at every predetermined sampling time, each detected coordinate data is read as sampling data of the handwriting input, and in the character recognition device for recognizing the characters of the handwriting input based on the sampling data, At the start of handwriting input, the coordinate data is detected at every predetermined time as the initial sampling time, and the number of coordinate data from the start of handwriting input to the present is counted, and whether this count value has reached the predetermined number. When it is determined that the number has reached a predetermined number, the movement amount of the handwriting input is detected as the initial movement amount, and the sampling time corresponding to the speed of the handwriting input is determined based on the initial movement amount. The coordinate data is determined and subsequent coordinate data is detected for each determined sampling time. Here, "character" is a kana character,
Including kanji, numbers, alphabets, symbols, figures, etc. When determining the sampling time according to the speed of the handwriting input, the detected initial movement amount and a reference movement amount that is determined in advance corresponding to the standard speed of the handwriting input are set. You may make it compare and determine the sampling time based on this comparison result. Further, when determining the sampling time according to the handwriting input, the speed of handwriting input is obtained based on the detected initial movement amount and the time corresponding to the movement amount, and the sampling time is calculated based on the input speed. May be determined. Therefore, by shortening the sampling time when the speed of handwriting input is fast, and conversely, by increasing the sampling time when the input speed is slow, the sampling data is almost unaffected without being affected by the speed of handwriting input. It can be kept constant and the improvement of character recognition and the like can be realized.

【0005】[0005]

【実施例】【Example】

(第1実施例)以下、図1〜図4を参照して第1実施例
を説明する。図1は手書き入力装置付き文字認識装置を
示したブロック構成図である。CPU1はROM2等に
格納されている各種プログラムにしたがってこの文字認
識装置の全体動作を制御する中央演算装置である。手書
き入力装置3はタッチスクリーンによって構成された手
書き入力装置で、液晶表示部4の上に透明タッチパネル
5を積層配置し、このタッチパネル5の上面をペン先で
接触しながら文字(図形、記号等を含む)を手書き入力
すると、座標検出部6はその入力軌跡に追随して座標点
(XY座標点)をそれぞれ検出し、CPU1に与える。
ここで、CPU1は座標検出部6によって得られた座標
列データをビデオRAM(VRAM)7に書き込むと、
表示制御部8はVRAM7をアクセスし、VRAM7内
の画像データを液晶表示部4に表示出力させる。これに
よってタッチパネル5上に描かれた手書き入力パターン
はその入力軌跡通りに液晶表示部4から表示出力され
る。
(First Embodiment) A first embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing a character recognition device with a handwriting input device. The CPU 1 is a central processing unit that controls the overall operation of the character recognition device according to various programs stored in the ROM 2 or the like. The handwriting input device 3 is a handwriting input device composed of a touch screen. A transparent touch panel 5 is laminated on the liquid crystal display unit 4, and characters (figures, symbols, etc. are touched while touching the upper surface of the touch panel 5 with a pen tip. (Including) is handwritten, the coordinate detecting unit 6 detects the coordinate points (XY coordinate points) following the input trajectory and gives them to the CPU 1.
Here, when the CPU 1 writes the coordinate sequence data obtained by the coordinate detection unit 6 in the video RAM (VRAM) 7,
The display control unit 8 accesses the VRAM 7 and causes the liquid crystal display unit 4 to display and output the image data in the VRAM 7. As a result, the handwritten input pattern drawn on the touch panel 5 is displayed and output from the liquid crystal display unit 4 according to the input locus.

【0006】サンプリングデータメモリ9は座標検出部
6によって検出された座標データを手書き入力文字を認
識するためのサンプリングデータとして一時記憶するも
ので、CPU1は座標検出部6によって検出された手書
き入力の座標列の中から所定時間毎に抽出した座標デー
タをサンプリングデータとして読み取り、サンプリング
データメモリ9に格納する。ここで、図中、Y1、Y
2、Y3は手書き入力開始時に初期サンプリング時間と
して予め決められている所定時間毎に抽出された座標デ
ータであり、CPU1は手書き入力の開始時から現在ま
での座標データ数を計数し、この計数値が所定数(本実
施例においては「3」)に達したか否かを判別する。こ
れによって手書き入力の開始時から3点の座標データY
1、Y2、Y3がサンプリングされると、CPU1はこ
れらの座標データに基づいて手書き入力開始時における
初期移動量を求めてワークメモリ10にセットする。
The sampling data memory 9 temporarily stores the coordinate data detected by the coordinate detecting unit 6 as sampling data for recognizing a handwritten input character. The CPU 1 detects the coordinates of the handwriting input detected by the coordinate detecting unit 6. The coordinate data extracted from the column at every predetermined time is read as sampling data and stored in the sampling data memory 9. Here, in the figure, Y1, Y
2 and Y3 are coordinate data extracted every predetermined time which is predetermined as the initial sampling time at the start of handwriting input, and the CPU 1 counts the number of coordinate data from the start of handwriting input to the present, and the counted value Has reached a predetermined number (“3” in this embodiment). This allows coordinate data Y of three points from the start of handwriting input.
When 1, Y2 and Y3 are sampled, the CPU 1 obtains an initial movement amount at the start of handwriting input based on these coordinate data and sets it in the work memory 10.

【0007】ワークメモリ10は手書き入力時における
標準的な速さに対応して予め決められている基準移動量
(固定値)yと、実際の手書き入力時における初期移動
量yaと、基準移動量yに対する初期移動量yaの割合
Pを記憶するもので、CPU1はこの割合Pに基づいて
サンプリング時間テーブル11を参照し、サンプリング
時間を決定する。これによって決定されたサンプリング
時間は、4点目以降の座標データをサンプリングするた
めの時間間隔であり、CPU1はこのサンプリング時間
毎に4点目以降の座標データを読み取ってサンプリング
データメモリ9に格納する。
The work memory 10 has a reference movement amount (fixed value) y which is predetermined corresponding to a standard speed during handwriting input, an initial movement amount ya during actual handwriting input, and a reference movement amount. The ratio P of the initial movement amount ya to y is stored, and the CPU 1 refers to the sampling time table 11 based on this ratio P to determine the sampling time. The sampling time determined by this is a time interval for sampling the coordinate data of the fourth point and thereafter, and the CPU 1 reads the coordinate data of the fourth point and thereafter at every sampling time and stores it in the sampling data memory 9. .

【0008】サンプリング時間テーブル11は基準移動
量に対する初期移動量の割合に対応してサンプリング時
間を記憶するもので、図2に示すように、割合P=1の
ときには初期サンプリング時間T0に対応付けられてい
る。また、割合P=2、4、8……のときにはサンプリ
ング時間Tは1/2T0、1/4T0、1/8T0……
のように初期サンプリング時間T0よりも短かくなり、
逆に、割合P=1/2、1/3、1/4……のときには
サンプリング時間Tは2T0、3T0、4T0……のよ
うに初期サンプリング時間T0よりも長くなる。ここ
で、CPU1はワークメモリ10内の割合Pに基づいて
サンプリング時間テーブル11を参照する際にこの値に
最も近いサンプリング時間テーブル11内のPを検索
し、対応するサンプリング時間Tをサンプリング時間テ
ーブル11から読み出す。
The sampling time table 11 stores the sampling time corresponding to the ratio of the initial movement amount to the reference movement amount. As shown in FIG. 2, when the ratio P = 1, it is associated with the initial sampling time T0. ing. Further, when the ratio P = 2, 4, 8 ..., The sampling time T is 1 / 2T0, 1 / 4T0, 1 / 8T0.
Is shorter than the initial sampling time T0,
On the contrary, when the ratio P = 1/2, 1/3, 1/4, ..., The sampling time T becomes longer than the initial sampling time T0 as in 2T0, 3T0, 4T0. Here, when referring to the sampling time table 11 based on the ratio P in the work memory 10, the CPU 1 searches for P in the sampling time table 11 that is closest to this value and finds the corresponding sampling time T as the sampling time table 11. Read from.

【0009】文字認識部12は手書き入力文字を認識し
て文字コードに変換するもので、CPU1はサンプリン
グデータメモリ9内に蓄えられた1文字分のサンプリン
グデータを取り込んで文字認識部12に与える。ここ
で、文字認識部12は1文字分のサンプリングデータに
基づいて文字認識辞書メモリ13を参照し、文字認識を
行って文字コードに変換する。なお、文字認識辞書メモ
リ13は各種文字、記号、図形等のパターンに対応して
そのコードを記憶するもので、文字認識部12はサンプ
リングデータに近似するパターンを検索し、対応する文
字コードを読み出す。これによって変換された文字コー
ドはCPU1に取り込まれて文書メモリ14に格納され
る。
The character recognition unit 12 recognizes a handwritten input character and converts it into a character code, and the CPU 1 takes in the sampling data for one character stored in the sampling data memory 9 and gives it to the character recognition unit 12. Here, the character recognition unit 12 refers to the character recognition dictionary memory 13 based on the sampling data for one character, performs character recognition, and converts the character code. The character recognition dictionary memory 13 stores codes corresponding to patterns of various characters, symbols, figures, etc., and the character recognition unit 12 searches for a pattern close to the sampling data and reads the corresponding character code. . The character code converted by this is taken in by the CPU 1 and stored in the document memory 14.

【0010】次に、本実施例の動作を図3に示すフロー
チャートにしたがって説明する。図3は一筆入力時にお
けるサンプリング動作を示したフローチャートであり、
タッチパネル5上をペンで接触したペンダウン時に実行
開始される。先ず、CPU1は予め決められている初期
サンプリング時間T0によってサンプリングを開始する
(ステップS1)。そして、ペンダウンから3点の座標
データをサンプリングしたか否かを判別し、3点座標を
取り込むまで初期サンプリング時間T0毎のサンプリン
グ動作を繰り返し、これによって得られた第1点をY
1、第2点をY2、第3点をY3としてサンプリングデ
ータメモリ9に格納する(ステップS2)。次に、この
初期サンプリング時間T0に対するペン移動量を初期移
動量として求める(ステップS3)。すなわち、第3点
の座標Y3から第1点の座標Y1を減算し、第1点から
第3点までの移動量(Y3−Y1)を求め、この移動量
を「2」で除算することにより、初期サンプリング時間
T0に対応する1サンプリング間隔分の移動量yaを求
め、この移動量yaを初期移動量としてワークメモリ1
0にセットする。
Next, the operation of this embodiment will be described with reference to the flow chart shown in FIG. FIG. 3 is a flowchart showing the sampling operation at the time of one-stroke input,
The execution is started when the pen touches the touch panel 5 with the pen. First, the CPU 1 starts sampling at a predetermined initial sampling time T0 (step S1). Then, it is determined whether or not the coordinate data of the three points is sampled from the pen-down, and the sampling operation is repeated every initial sampling time T0 until the coordinates of the three points are fetched, and the first point obtained by this is Y
The first and second points are set to Y2 and the third point is set to Y3 and stored in the sampling data memory 9 (step S2). Next, the pen movement amount with respect to the initial sampling time T0 is obtained as the initial movement amount (step S3). That is, the coordinate Y1 of the first point is subtracted from the coordinate Y3 of the third point to obtain the movement amount (Y3-Y1) from the first point to the third point, and this movement amount is divided by "2". , A movement amount ya corresponding to one sampling interval corresponding to the initial sampling time T0 is obtained, and the movement amount ya is set as the initial movement amount to the work memory 1
Set to 0.

【0011】次に、CPU1はワークメモリ10内に予
め記憶されている基準移動量yを読み出すと共にステッ
プS3で算出された初期移動量yaを読み出し、これら
の値に基づいてy/yaの演算を行い、基準移動量yに
対する初期移動量yaの割合Pを求めてワークメモリ1
0にセットする(ステップS4)。ここで、基準移動量
yは上述したように手書き入力の標準的な速さに対応し
て予め決められた値であり、初期サンプリング時間T0
の間に標準的な速さで手書き入力が行われた場合の1サ
ンプリング間隔当たりの移動量である。
Next, the CPU 1 reads out the reference movement amount y stored in advance in the work memory 10 and the initial movement amount ya calculated in step S3, and calculates y / ya based on these values. Then, the ratio P of the initial movement amount ya to the reference movement amount y is calculated to obtain the work memory 1
It is set to 0 (step S4). Here, the reference movement amount y is a value determined in advance corresponding to the standard speed of handwriting input as described above, and the initial sampling time T0
This is the amount of movement per sampling interval when handwriting is input at a standard speed during the period.

【0012】このようにしてPの値を求めると、CPU
1はこの値に基づいてサンプリング時間テーブル11を
検索し、対応するサンプリング時間Tを選択する(ステ
ップS5)。この場合、Pの値が「2」あるいはそれに
近似する値であれば、サンプリング時間テーブル11か
ら対応するサンプリング時間Tとして1/2T0を読み
出し、このサンプリング時間T毎に4点目以降の座標デ
ータをサンプリングする(ステップS6)。このような
サンプリング動作はペンアップ(一筆入力終了)が検出
されるまで繰り返される(ステップS7)。そして、1
文字分の手書き入力が終了すると、CPU1はサンプリ
ングデータメモリ9内に蓄えられている1文字分のサン
プリングデータを取り込んで、文字認識部12に渡す。
すると、文字認識部12はこのサンプリングデータに基
づいて文字認識を行い、文字コードに変換する。
When the value of P is obtained in this way, the CPU
1 searches the sampling time table 11 based on this value and selects the corresponding sampling time T (step S5). In this case, if the value of P is "2" or a value close thereto, 1 / 2T0 is read as the corresponding sampling time T from the sampling time table 11, and the coordinate data of the fourth point and thereafter is read at each sampling time T. Sampling is performed (step S6). Such sampling operation is repeated until pen-up (end of one-stroke input) is detected (step S7). And 1
When the handwriting input for the characters is completed, the CPU 1 takes in the sampling data for one character stored in the sampling data memory 9 and passes it to the character recognition unit 12.
Then, the character recognition unit 12 performs character recognition based on this sampling data and converts it into a character code.

【0013】以上のように本実施例においては手書き入
力時のスピードが速い場合にはサンプリング時間を短か
くし、逆に入力スピードが遅い場合にはサンプリング時
間を長くすることにより、手書き入力時のスピードに影
響されず、サンプリングデータ数をほぼ一定に保ち、文
字認識等の向上を実現することができる。すなわち、図
4は一筆分のサンプリング動作を示したタイムチャート
で、(A)は標準的な入力スピードよりも速く入力した
場合、(B)は遅く入力した場合である。ここで、ペン
ダウンから3ポイント分の座標を取り込むまでの間は初
期サンプリング時間T0によって動作するが、4点以降
はサンプリング時間テーブル11の内容を参照すること
によって決定されたサンプリング時間Tによってサンプ
リングが行われる。したがって、(A)に示すように入
力スピードが速い場合には、初期移動量yaは基準移動
量yよりも大きくなるため、その割合に応じてサンプリ
ング時間TとしてT0/2が選択され、また(B)に示
すように入力スピードが遅い場合には、初期移動量ya
は基準移動量yよりも小さくなるため、その割合に応じ
てサンプリング時間Tとして2T0が選択される。
As described above, in the present embodiment, when the handwriting input speed is fast, the sampling time is shortened, and conversely, when the handwriting input speed is slow, the sampling time is lengthened to obtain the handwriting input speed. It is possible to improve the character recognition and the like by keeping the number of sampling data substantially constant without being affected by the above. That is, FIG. 4 is a time chart showing the sampling operation for one stroke, (A) shows a case where the input is faster than the standard input speed, and (B) shows a case where the input is slower. Here, the operation is performed by the initial sampling time T0 from the pen-down until the coordinates of three points are fetched, but the sampling is performed by the sampling time T determined by referring to the contents of the sampling time table 11 after four points. Be seen. Therefore, as shown in (A), when the input speed is fast, the initial movement amount ya becomes larger than the reference movement amount y, so T0 / 2 is selected as the sampling time T according to the ratio, and When the input speed is slow as shown in B), the initial movement amount ya
Is smaller than the reference movement amount y, so 2T0 is selected as the sampling time T according to the ratio.

【0014】(第2実施例)以下、図5を参照して第2
実施例を説明する。上記第1実施例は基準移動量yに対
する初期移動量yaの割合に基づいて4点目以降の座標
データをサンプリングする時間Tを決定するようにした
が、第2実施例においては、初期移動量とこの移動量に
応じた時間とから手書き入力の速度を求め、この入力速
度に基づいて4点目以降のサンプリング時間を決定する
ようにしたものである。
(Second Embodiment) Hereinafter, a second embodiment will be described with reference to FIG.
An embodiment will be described. In the first embodiment, the time T for sampling the coordinate data of the fourth and subsequent points is determined based on the ratio of the initial movement amount ya to the reference movement amount y. However, in the second embodiment, the initial movement amount ya is determined. The speed of handwriting input is calculated from the time and the time corresponding to this movement amount, and the sampling time after the fourth point is determined based on this input speed.

【0015】図5はこの第2実施例に使用されるサンプ
リング時間テーブル11の内容を示し、ペン移動速度P
1、P2、P3……に対応してサンプリング時間T1、
T2、T3……がサンプリング時間テーブル11に設定
されている。ここで、第2実施例におけるサンプリング
動作は図3に示すフローチャートと基本的に略同様であ
るため、図示省略するが、ステップS4の処理におい
て、第2実施例では初期移動量yaを初期サンプリング
時間T0で除算して入力速度を求めてワークメモリ10
にセットし、この入力速度に基づいて図5に示すサンプ
リング時間テーブル11を検索し、対応するサンプリン
グ時間を決定する。このように構成された第2実施例に
おいても上記第1実施例と同様の効果を有する。
FIG. 5 shows the contents of the sampling time table 11 used in the second embodiment, and the pen movement speed P
Sampling time T1, corresponding to 1, P2, P3 ...
T2, T3 ... Are set in the sampling time table 11. Here, since the sampling operation in the second embodiment is basically similar to the flowchart shown in FIG. 3, the illustration is omitted, but in the process of step S4, in the second embodiment, the initial movement amount ya is set to the initial sampling time. Divide by T0 to obtain the input speed and work memory 10
, And the sampling time table 11 shown in FIG. 5 is searched based on this input speed to determine the corresponding sampling time. The second embodiment thus constructed has the same effect as that of the first embodiment.

【0016】なお、上記各実施例は初期サンプリング時
間T0によってペンダウンから3点座標をサンプリング
するようにしたが、その座標点を5〜6点程度に増して
平均化するようにしてもよく、また1サンプリング間隔
当たりの移動量ではなくペンダウンから所定座標数まで
の移動量を初期移動量としてもよい。また、手書き入力
装置はタッチスクリーン上をペンタッチするものに限ら
ず、透明な抵抗膜あるいは静電被膜をタッチパネルに配
置し、人体が触れることによって生じる電気的な変化を
検出して座標入力を行うようにしてもよく、更にタブレ
ットやライトペン等であってもよい。
In each of the above embodiments, the three-point coordinates are sampled from the pen down at the initial sampling time T0, but the coordinate points may be increased to about 5 to 6 points and averaged. Instead of the movement amount per sampling interval, the movement amount from the pen down to the predetermined coordinate number may be used as the initial movement amount. In addition, the handwriting input device is not limited to a pen touch on the touch screen, but a transparent resistance film or electrostatic film is placed on the touch panel to detect the electrical change caused by the touch of the human body and input coordinates. Alternatively, it may be a tablet or a light pen.

【0017】[0017]

【発明の効果】この発明によれば、手書き入力時のスピ
ードが速い場合にはサンプリング時間を短かくし、逆に
入力スピードが遅い場合にはサンプリング時間を長くす
ることにより、手書き入力時のスピードに影響されず、
サンプリングデータ数をほぼ一定に保ち、文字認識等の
向上を実現することができる。
According to the present invention, when the handwriting input speed is fast, the sampling time is shortened, and conversely, when the handwriting input speed is slow, the sampling time is lengthened to improve the handwriting input speed. Unaffected,
It is possible to keep the number of sampled data substantially constant and improve the character recognition and the like.

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

【図1】手書き入力装置付き文字認識装置を示したブロ
ック構成図。
FIG. 1 is a block configuration diagram showing a character recognition device with a handwriting input device.

【図2】第1実施例に係るサンプリング時間テーブル1
1の内容を示した図。
FIG. 2 is a sampling time table 1 according to the first embodiment.
The figure which showed the content of 1.

【図3】第1実施例に係るサンプリング動作を示したフ
ローチャート。
FIG. 3 is a flowchart showing a sampling operation according to the first embodiment.

【図4】手書き入力が速い場合と遅い場合のサンプリン
グ動作を示したタイムチャート。
FIG. 4 is a time chart showing sampling operations when handwriting input is fast and slow.

【図5】第2実施例に係るサンプリング時間テーブル1
1の内容を示した図。
FIG. 5 is a sampling time table 1 according to the second embodiment.
The figure which showed the content of 1.

【図6】従来において、手書き入力が速い場合と遅い場
合のサンプリング動作を示したタイムチャート。
FIG. 6 is a time chart showing a sampling operation when handwriting input is fast and when it is slow.

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

1 CPU 2 ROM 3 手書き入力装置 4 液晶表示部 5 タッチパネル 6 座標検出部 9 サンプリングデータメモリ 10 ワークメモリ 11 サンプリング時間テーブル 12 文字認識部 13 文字認識辞書メモリ 1 CPU 2 ROM 3 Handwriting input device 4 Liquid crystal display unit 5 Touch panel 6 Coordinate detection unit 9 Sampling data memory 10 Work memory 11 Sampling time table 12 Character recognition unit 13 Character recognition dictionary memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】手書き入力パターンの座標データを所定の
サンプリング時間毎に順次検出し、検出された各座標デ
ータを手書き入力のサンプリングデータとして読み取
り、このサンプリングデータに基づいて手書き入力の文
字を認識する文字認識装置において、 手書き入力開始時に、初期サンプリング時間として予め
決められた所定時間毎に座標データを検出すると共に、
手書き入力の開始時から現在までの座標データ数を計数
し、この計数値が所定数に達したか否かを判別し、 所定数に達したことが判別された際に、手書き入力の移
動量を初期移動量として検出し、この初期移動量に基づ
いて手書き入力の速さに応じたサンプリング時間を決定
し、 決定されたサンプリング時間毎にそれ以降の座標データ
を検出するようにしたことを特徴とする手書き入力認識
方法。
1. The coordinate data of a handwriting input pattern is sequentially detected at every predetermined sampling time, each detected coordinate data is read as sampling data of the handwriting input, and the character of the handwriting input is recognized based on the sampling data. In the character recognition device, when the handwriting input is started, the coordinate data is detected every predetermined time which is predetermined as the initial sampling time, and
The number of coordinate data from the start of handwriting input to the present is counted, it is determined whether or not this count value has reached a predetermined number, and when it is determined that it has reached the predetermined number, the amount of movement of handwriting input Is detected as the initial movement amount, the sampling time according to the speed of handwriting input is determined based on this initial movement amount, and the coordinate data after that is detected at each determined sampling time. And handwriting input recognition method.
【請求項2】前記手書き入力の速さに応じたサンプリン
グ時間を決定する際に、前記検出された初期移動量と、
手書き入力の標準的な速さに対応して予め決められてい
る基準移動量とを比較し、この比較結果に基づいてサン
プリング時間を決定するようにしたことを特徴とする請
求項(1)記載の手書き入力認識方法。
2. The detected initial movement amount when determining the sampling time according to the speed of the handwriting input,
The sampling time is determined based on a result of comparison by comparing with a predetermined reference movement amount corresponding to a standard speed of handwriting input. Handwriting input recognition method.
【請求項3】前記手書き入力に応じたサンプリング時間
を決定する際に、前記検出された初期移動量とこの移動
量に応じた時間とに基づいて手書き入力の速度を求め、
この入力速度に基づいてサンプリング時間を決定するよ
うにしたことを特徴とする請求項(1)記載の手書き入
力認識方法。
3. When determining a sampling time according to the handwriting input, a speed of handwriting input is obtained based on the detected initial movement amount and time corresponding to the movement amount,
The handwriting input recognition method according to claim 1, wherein the sampling time is determined based on the input speed.
JP7179586A 1995-06-23 1995-06-23 Handwritten input recognition method Pending JPH096897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7179586A JPH096897A (en) 1995-06-23 1995-06-23 Handwritten input recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7179586A JPH096897A (en) 1995-06-23 1995-06-23 Handwritten input recognition method

Publications (1)

Publication Number Publication Date
JPH096897A true JPH096897A (en) 1997-01-10

Family

ID=16068325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7179586A Pending JPH096897A (en) 1995-06-23 1995-06-23 Handwritten input recognition method

Country Status (1)

Country Link
JP (1) JPH096897A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100553878B1 (en) * 1999-05-27 2006-02-24 삼성전자주식회사 apparatus for reforming object state in computing apparatus for touch pannel and method therefor
KR100788446B1 (en) * 2005-05-31 2007-12-24 후지쓰 텐 가부시키가이샤 Map display apparatus and method for map display
KR101209343B1 (en) * 2005-10-07 2012-12-06 엘지전자 주식회사 Apparatus with a Function of Adjusting the Sampling Rate and Method of Controlling the Same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100553878B1 (en) * 1999-05-27 2006-02-24 삼성전자주식회사 apparatus for reforming object state in computing apparatus for touch pannel and method therefor
KR100788446B1 (en) * 2005-05-31 2007-12-24 후지쓰 텐 가부시키가이샤 Map display apparatus and method for map display
KR101209343B1 (en) * 2005-10-07 2012-12-06 엘지전자 주식회사 Apparatus with a Function of Adjusting the Sampling Rate and Method of Controlling the Same

Similar Documents

Publication Publication Date Title
JP2001005599A (en) Information processor and information processing method an d recording medium recording information processing program
US11402923B2 (en) Input method, apparatus based on visual recognition, and electronic device
JPH096897A (en) Handwritten input recognition method
JPH07114621A (en) Gesture recognizing method and device using same
JP2004246607A (en) Handwritten character recognizing device and method and program
JPH09120433A (en) Character recognizing method and document preparation device
JPH06251198A (en) Character input device
JPH08190603A (en) Character recognition device and its candidate character display method
JP2708441B2 (en) Handwritten character recognition device with input procedure teaching function
JP2994176B2 (en) Ruled line input device
JPH08212306A (en) Handwriting data thinning-out method, dictionary generating method, and character recognition device
JPH06337957A (en) Handwritten character input device and correction code recognizing method
JPS61153787A (en) Information processing device
JPH08292942A (en) Character string predicting method and document reparation device
JP3255477B2 (en) Character input device and character input method
JPH08115378A (en) Character recognition device
JPH06150066A (en) Handwritten character recognizing device
JPH05298491A (en) Device for recognizing on-line handwriting character
JPH087044A (en) Character recognition method and handwritten character input device applying the method
JPH0229885A (en) Character segmenting system
JP2000132638A (en) Online character recognition method
JPH0644411A (en) Handwritten character input device
JPS63282896A (en) On-line hand-written character recognizing device
JPH0792726B2 (en) Information processing method
JP2005018682A (en) Character input method and character input device