JPH042990B2 - - Google Patents
Info
- Publication number
- JPH042990B2 JPH042990B2 JP59244348A JP24434884A JPH042990B2 JP H042990 B2 JPH042990 B2 JP H042990B2 JP 59244348 A JP59244348 A JP 59244348A JP 24434884 A JP24434884 A JP 24434884A JP H042990 B2 JPH042990 B2 JP H042990B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- stroke
- information
- input
- tablet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
- 238000000034 method Methods 0.000 claims description 7
- 238000000605 extraction Methods 0.000 description 10
- 238000007781 pre-processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 235000016496 Panda oleosa Nutrition 0.000 description 2
- 240000000220 Panda oleosa Species 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、情報処理機の入力装置として用いら
れるオンライン文字認識装置におけるオンライン
文字認識方式に関し、特にタブレツト上に予め設
定された文字枠に関係なく自由位置に筆記するこ
とを可能とするオンライン文字認識方式に関する
ものである
(従来の技術)
従来、オンライン文字認識装置においてタブレ
ツト上に筆記された入力文字を認識処理する場
合、タブレツトより逐次出力される入力文字のス
トローク情報に基づいてどこまでのストロークが
1つの文字を構成するかという情報の検出(以下
文字の切り出し処理という)は、次のような方式
で行なわれてきた。Detailed Description of the Invention (Field of Industrial Application) The present invention relates to an online character recognition method in an online character recognition device used as an input device of an information processing machine, and particularly relates to character frames preset on a tablet. Conventionally, when an online character recognition device recognizes input characters written on a tablet, the characters are sequentially output from the tablet. Detection of information on how many strokes constitute one character based on the stroke information of an input character (hereinafter referred to as character extraction processing) has been performed using the following method.
すなわち、タブレツト上に入力文字が筆記され
ると、ペンオンからペンオフまでのペン移動に伴
つてタブレツトより出力される座標データにより
構成されるストロークが予めタブレツト上に設定
された文字枠のうちどの文字枠に属するかという
情報に基づいて文字の切り出し処理を行なう。こ
の場合、異なる文字枠に属するストロークがタブ
レツトより出力された時点で、そこまでの同一文
字枠に属するストロークを1つの文字を構成する
ストロークとみなして文字の切り出し処理がなさ
れる。 In other words, when an input character is written on the tablet, the stroke made up of the coordinate data output from the tablet as the pen moves from pen-on to pen-off will move into which character frame among the character frames set on the tablet in advance. The character is extracted based on the information as to whether it belongs to the character. In this case, when strokes belonging to different character frames are output from the tablet, the strokes belonging to the same character frame up to that point are regarded as strokes constituting one character, and character extraction processing is performed.
(発明が解決しようとする問題点)
しかしながら、上記従来技術の方式によると、
文字枠をはみ出して筆記された文字は、1文字で
あるにもかかわらず、複数の文字枠にまたがるス
トローク情報としてタブレツトより出力される。
その結果、誤つた文字の切り出し処理が行なわ
れ、筆記された入力文字が複数の文字に分離さ
れ、誤認識になるという重大な欠点があつた。(Problems to be solved by the invention) However, according to the above-mentioned prior art system,
A character written outside the character frame is output from the tablet as stroke information spanning multiple character frames, even though it is only one character.
As a result, there was a serious drawback in that the incorrect character was cut out, and the input character that was written was separated into a plurality of characters, resulting in erroneous recognition.
本発明は上記従来技術の欠点を解消するために
なされたものであつて、文字枠に関係なく自由な
位置に入力文字を筆記しても正しい認識処理を行
なうことのできるオンライン文字認識装置を提供
することを目的とする。 The present invention has been made in order to eliminate the drawbacks of the prior art described above, and provides an online character recognition device that can perform correct recognition processing even when input characters are written at any position regardless of the character frame. The purpose is to
(問題点を解決するための手段)
本発明は、文字を筆記する時の入力文字の位置
情報をX、Y座標点列データで出力するタブレツ
トを有し、該タブレツトから出力されるX、Y座
標点列データに基づいて筆記された入力文字を認
識するオンライン文字認識装置におけるオンライ
ン文字認識方式であつて、予めタブレツトに設定
された文字枠に関係なく筆記された入力文字を認
識処理するもので、ストロークデータ処理部と、
文字幅算出部と、文字切り出し処理部と、文字位
置算出部とを具備する。ストロークデータ処理部
はタブレツトからX、Y座標点列データを入力し
て入力文字の筆記に伴つて逐次ストローク情報を
抽出して文字幅算出部に出力する。文字幅算出部
はストロークデータ処理部からのストローク情報
を入力し、ストローク情報の入力毎に文字幅情報
を算出して算出結果を文字切り出し処理部に出力
する。文字切り出し処理部は文字幅算出部から逐
次出力される文字幅情報と予め定められている入
力文字の文字幅上限値とを比較して文字切り出し
処理を行なう。ここで、文字幅上限値は筆記する
入力文字の許容最大寸法を規定するよう例えばレ
ジスタ等に記憶されたものである。文字位置算出
部は文字切り出し部において切り出された文字の
文字位置情報を算出する。(Means for Solving the Problems) The present invention has a tablet that outputs position information of an input character when writing a character as X, Y coordinate point sequence data, and the X, Y coordinates output from the tablet. This is an online character recognition method for an online character recognition device that recognizes input characters written based on coordinate point sequence data, and recognizes input characters written without regard to the character frame set in advance on the tablet. , a stroke data processing section,
It includes a character width calculation section, a character cutout processing section, and a character position calculation section. The stroke data processing section inputs X and Y coordinate point sequence data from the tablet, sequentially extracts stroke information as input characters are written, and outputs the extracted stroke information to the character width calculation section. The character width calculation section inputs stroke information from the stroke data processing section, calculates character width information for each stroke information input, and outputs the calculation result to the character cutout processing section. The character segmentation processing unit performs character segmentation processing by comparing the character width information sequentially output from the character width calculation unit with a predetermined upper limit value of the character width of the input character. Here, the character width upper limit value is stored, for example, in a register or the like, so as to define the maximum permissible size of an input character to be written. The character position calculating section calculates character position information of the characters cut out by the character cutting section.
(作用)
本発明によれば、以上のようにオンライン文字
認識方式を構成したので各技術手段は次のように
作用する。(Operation) According to the present invention, since the online character recognition system is configured as described above, each technical means operates as follows.
ストロークデータ処理部はタブレツトからの入
力文字のX、Y座標点列データに基づいて例えば
ストロークのX、Y座標の最大値、最小値等のス
トローク情報を抽出する。文字幅算出部は抽出さ
れたストローク情報が送られてくる毎にそれ以前
のストローク情報をも含めたものより文字幅情報
を算出する。文字切り出し処理部は算出された文
字幅と筆記する入力文字の大きさの上限値に対応
する文字幅上限値とを比較し、前者が後者の値を
越えるとその直前のストロークまでのストローク
で構成される文字を1文字とみなして文字の切り
出し処理を行ない、文字位置算出部は切り出され
た文字の位置情報を算出して認識処理を行なえる
ようにする。従つて、タブレツト上に予め設定さ
れた文字枠に依存することなく筆記された入力文
字の認識処理が行なえるようになり、前記従来技
術の問題点を解決することができる。 The stroke data processing section extracts stroke information such as the maximum and minimum values of the X and Y coordinates of the stroke based on the X and Y coordinate point sequence data of the input character from the tablet. Each time the extracted stroke information is sent, the character width calculation section calculates character width information including previous stroke information. The character cutting processing unit compares the calculated character width with the upper limit value of character width corresponding to the upper limit value of the size of the input character to be written, and if the former exceeds the latter value, the character cutout processing unit composes the stroke up to the previous stroke. The character extracted is regarded as one character and the character is extracted, and the character position calculation section calculates the position information of the extracted character so that the recognition process can be performed. Therefore, it is possible to recognize input characters written on the tablet without relying on character frames set in advance, and the problems of the prior art described above can be solved.
(実施例)
第1図は本発明の一実施例を示すブロツク図で
あつて、1は筆記文字のデータを入力するタブレ
ツト、2はタブレツト1からの座標データをとり
込み、ノイズ除去、平滑化、正規化等の処理を施
す前処理部、3は筆記文字のストローク毎にスト
ローク特徴情報、ストローク位置情報等を抽出す
るストロークデータ処理部、4はストロークデー
タ処理部3よりストローク情報が出力される毎に
文字幅の算出を行なう文字幅算出部、5は文字幅
算出部4より出力される文字幅情報を用いて文字
の切り出し処理を行なう文字切り出し処理部、6
は文字切り出し処理部5で切り出された文字の文
字位置情報を算出する文字位置算出部、7は文字
のストローク特徴情報が予め格納されている文字
辞書、8はストロークデータ処理部3より抽出さ
れ、文字切り出し処理部5により切り出された文
字のストローク特徴情報と文字辞書7に格納され
ている文字のストローク情報とを比較照合して認
識処理を行なう認識部である。(Embodiment) Fig. 1 is a block diagram showing an embodiment of the present invention, in which numeral 1 is a tablet for inputting data of written characters, numeral 2 is a tablet for inputting coordinate data from tablet 1, noise removal and smoothing. , a preprocessing unit that performs processing such as normalization, 3 a stroke data processing unit that extracts stroke characteristic information, stroke position information, etc. for each stroke of a written character, 4 outputting stroke information from the stroke data processing unit 3. 5 is a character width calculation unit that calculates the character width for each character width calculation unit; 5 is a character extraction processing unit that performs character extraction processing using the character width information output from the character width calculation unit 4;
is a character position calculation unit that calculates character position information of characters cut out by the character cutout processing unit 5; 7 is a character dictionary in which stroke characteristic information of characters is stored in advance; 8 is extracted from the stroke data processing unit 3; This recognition unit performs recognition processing by comparing and collating the stroke characteristic information of the characters extracted by the character extraction processing unit 5 and the stroke information of the characters stored in the character dictionary 7.
次に、本実施例の動作について説明する。タブ
レツト1より出力される筆記された入力文字の時
系列順のX、Y座標点列データは、前処理部2へ
送られ、ノイズ除去、平滑化、正規化等の公知の
前処理が行なわれた後、ストロークデータ処理部
3へ送られる。ストロークデータ処理部3では、
入力文字の筆記に伴い逐次出されるペンオンから
ペンオフまでのストロークS1(i=1、2…)の
ストローク座標データより、ストロークの形状特
徴情報;ストロークのX、Y座標の最大値、最小
値、xnaxi、ynaxi、xnioi、ynioi(i=1、2…)で
示されるストローク位置情報等を抽出する。文字
幅算出部4では、前記説明のストロークSiの位置
情報がストロークデータ処理部3より出力される
毎に、それ以前のS1からSi-1までのストローク含
んだS1からSiまでの前記ストローク位置情報よ
り、各々xnaxi、ynaxiの最大のものをXnaxi、Ynaxi
とし、またxnioi、ynioiの最小のものをXnioi、Ynioi
として算出するとともに、S1からSiまでのストロ
ークで構成される文字のX、Y方向文字幅MXi、
MYiを次式に従つて算出し、これらの算出結果を
文字切り出し処理部5へ出力する。 Next, the operation of this embodiment will be explained. The X and Y coordinate point sequence data in chronological order of the written input characters output from the tablet 1 is sent to the preprocessing unit 2, where it undergoes known preprocessing such as noise removal, smoothing, and normalization. After that, the data is sent to the stroke data processing section 3. In the stroke data processing section 3,
From the stroke coordinate data of the stroke S 1 (i=1, 2...) from pen-on to pen-off, which is sequentially output as input characters are written, shape characteristic information of the stroke; maximum and minimum values of the X and Y coordinates of the stroke, Stroke position information and the like indicated by x naxi , y naxi , x nioi , y nioi (i=1, 2...) are extracted. In the character width calculation unit 4, each time the position information of the stroke S i described above is output from the stroke data processing unit 3, the character width calculation unit 4 calculates the position information from S 1 to S i including the previous strokes from S 1 to S i -1. From the above stroke position information, the maximum of x naxi and y naxi is determined as X naxi and Y naxi
And the smallest of x nioi and y nioi is X nioi and Y nioi
At the same time, the X and Y direction character width MX i of the character composed of strokes from S 1 to S i ,
MY i is calculated according to the following formula, and the results of these calculations are output to the character segmentation processing section 5.
MXi=Xnaxi−Xnioi
MYnaxi−Ynioi(i=1、2)
文字切り出し処理部5では、前記文字幅MXi、
MYiが出力される毎に、筆記する入力文字の許容
最大寸法を規定する様レジスタ等に予め設定され
ているX、Y方向文字幅上限値Pnx、PnyとMXi、
MYiとを比較し、MXi>Pnx又はMYi>Pnyとな
つた時、直前のストロークSi-1までを1文字と見
なし文字を切り出す処理を行なう。文字位置算出
部6では、文字切り出し処理部5により切り出さ
れた文字の中心座標値を算出し、この中心座標値
に対応する予めタブレツト上に設定されている文
字枠の行、列等の文字位置情報を算出する。認識
処理部8では公知のストロークアナリシス法等の
手法により、前記説明の如く切り出された入力文
字のストローク特徴情報と、予め文字毎のストロ
ーク特徴情報等が格納されている文字辞書7のス
トローク情報とを比較照合し認識処理を行なう。 MX i =X naxi −X nioi MY naxi −Y nioi (i=1, 2) In the character extraction processing unit 5, the character width MX i ,
Every time MY i is output, the X and Y direction character width upper limit values P nx , P ny and MX i , which are preset in registers etc. to define the maximum allowable dimensions of input characters to be written, are
MY i is compared, and when MX i >P nx or MY i >P ny , the previous stroke up to S i-1 is regarded as one character, and the character is extracted. The character position calculation unit 6 calculates the center coordinate value of the character cut out by the character cutout processing unit 5, and calculates the character position in the row, column, etc. of the character frame set in advance on the tablet corresponding to this center coordinate value. Calculate information. The recognition processing unit 8 uses a technique such as a known stroke analysis method to combine the stroke feature information of the input character extracted as described above with the stroke information of the character dictionary 7 in which stroke feature information for each character is stored in advance. Compare and match and perform recognition processing.
次に、第2図にカナ“モ”、“ヤ”を筆記したと
きの例をあげ、この場合における文字切り出し処
理について説明する。同図において、9〜13は
カナ“モ”、“ヤ”と筆記したときのストロークで
あり、この数字の順に筆記されたものとする。ま
た、14はX方向文字幅MX4、15はY方向文
字幅MY4、16はX方向文字幅上限値Pnx、17
はY方向文字幅上限値Pnyである。 Next, an example in which the kana "mo" and "ya" are written is shown in FIG. 2, and character extraction processing in this case will be explained. In the figure, 9 to 13 are the strokes when writing the kana "mo" and "ya", and it is assumed that the strokes are written in the order of these numbers. Also, 14 is the X direction character width MX 4 , 15 is the Y direction character width MY 4 , 16 is the X direction character width upper limit P nx , 17
is the Y-direction character width upper limit value Pny .
9〜13のストロークが筆記されたときの文字
幅MXi、MYi(i=1、2、3)と予め設定され
ている文字幅上限値Pnx、Pnyとの関係はMXi>
Pnx、MYi<Pnyとなつている。“ヤ”の最初のス
トローク12が筆記されたときにはその文字幅
MX4、MY4と文字幅上限値Pnx、Pnyとの関係は
MX4>Pnx、MY4<Pnyとなる。ここでストロー
ク12が筆記される直前のストローク11までが
1文字とみなされ、ストローク9〜11で構成さ
れる文字“モ”が切り出され、ストローク12は
次の文字“ヤ”の最初のストロークとして処理さ
れ、以後上記説明と同様にストロークが入力され
る毎にMXi、MYiとPnx、Pnyとが比較され文字
切り出し処理が行なわれる。 The relationship between the character widths MX i , MY i (i=1, 2, 3) and the preset character width upper limit values P nx , P ny when strokes 9 to 13 are written is MX i >
P nx , MY i < P ny . When the first stroke 12 of “ya” is written, the character width
The relationship between MX 4 , MY 4 and character width upper limit values P nx and P ny is
MX 4 > P nx and MY 4 < P ny . Here, up to stroke 11 immediately before stroke 12 is written is considered as one character, and the character "mo" composed of strokes 9 to 11 is cut out, and stroke 12 is used as the first stroke of the next character "ya". Thereafter, as described above, each time a stroke is input, MX i and MY i are compared with P nx and P ny to perform character extraction processing.
(発明の効果)
本発明は以上説明した様に、予めタブレツト上
に設定された文字枠情報に依存する事なく、入力
文字の文字幅情報を用いる事により、文字の切り
出し処理を行なう為、文字枠よりはみ出して入力
文字を筆記した場合でも、文字切りだし処理を正
しく行なうことができる。従つて本発明によれ
ば、認識率を向上させることができ、さらに筆記
者がタブレツト上に設定された文字枠に捉われる
事なく、自由な位置に入力文字を筆記出来る為筆
記者の負担が大幅に軽減されるばかりでなく装置
の利用効率が大幅に向上する効果を奏する。(Effects of the Invention) As explained above, the present invention uses character width information of input characters without relying on character frame information set on the tablet in advance to perform character cutting processing. Even when input characters are written outside the frame, character extraction processing can be performed correctly. Therefore, according to the present invention, the recognition rate can be improved, and the burden on the scribe is reduced because the scribe can write input characters in any position without being restricted by the character frame set on the tablet. This has the effect of not only significantly reducing the amount of energy used, but also greatly improving the utilization efficiency of the device.
第1図は本発明の実施例のブロツク図、第2図
は入力文字の文字切り出し処理を説明する図であ
る。
1……タブレツト、2……前処理部、3……ス
トロークデータ処理部、4……文字幅算出部、5
……文字切り出し部、6……文字位置算出部、7
……文字辞書、8……認識処理部、9〜13……
入力文字のストローク、14……X方向文字幅
MX4、15……Y方向文字幅MY4、16……X
方向上限値Pnx、17……Y方向上限値Pny。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram illustrating character extraction processing of input characters. 1... Tablet, 2... Preprocessing section, 3... Stroke data processing section, 4... Character width calculation section, 5
...Character cutting section, 6...Character position calculation section, 7
...Character dictionary, 8...Recognition processing unit, 9-13...
Input character stroke, 14...X direction character width
MX 4 , 15...Y direction character width MY 4 , 16...X
Direction upper limit value P nx , 17...Y direction upper limit value P ny .
Claims (1)
X、Y座標点列データで出力するタブレツトを有
し、該タブレツトから出力されるX、Y座標点列
データに基づいて筆記された入力文字を認識する
オンライン文字認識装置におけるオンライン文字
認識方式であつて、前記タブレツトからデータを
受取り、入力文字が筆記されるのに伴い逐次スト
ローク情報を抽出して出力するストロークデータ
処理部と、該ストロークデータ処理部からストロ
ーク情報を受取り、ストローク情報が入力される
毎に文字幅情報を算出する文字幅算出部と、該文
字幅算出部から逐次出力される文字幅情報と筆記
する入力文字の許容最大寸法を規定するため予め
設定されている入力文字の文字幅上限値とを比較
して文字切り出し処理を行なう文字切り出し処理
部と、切り出された文字の文字位置情報を算出す
る文字位置算出部とを有し、予めタブレツトに設
定された文字枠に関係なく筆記された入力文字を
認識処理することを特徴とするオンライン文字認
識方式。1. When writing a character, it has a tablet that outputs the positional information of the input character as X, Y coordinate point sequence data, and recognizes the written input character based on the X, Y coordinate point sequence data output from the tablet. An online character recognition method for an online character recognition device, the stroke data processing unit receiving data from the tablet, sequentially extracting and outputting stroke information as input characters are written, and the stroke data processing unit. A character width calculation unit that receives stroke information from and calculates character width information each time stroke information is input, and specifies the character width information sequentially output from the character width calculation unit and the maximum allowable dimension of input characters to be written. In order to do this, the present invention includes a character cutting processing unit that performs character cutting processing by comparing a character width upper limit value of an input character set in advance, and a character position calculation unit that calculates character position information of the cut out character, An online character recognition method characterized by recognizing input characters written in writing regardless of a character frame set in advance on a tablet.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59244348A JPS61123988A (en) | 1984-11-21 | 1984-11-21 | Online character recognition system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59244348A JPS61123988A (en) | 1984-11-21 | 1984-11-21 | Online character recognition system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61123988A JPS61123988A (en) | 1986-06-11 |
| JPH042990B2 true JPH042990B2 (en) | 1992-01-21 |
Family
ID=17117361
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59244348A Granted JPS61123988A (en) | 1984-11-21 | 1984-11-21 | Online character recognition system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61123988A (en) |
-
1984
- 1984-11-21 JP JP59244348A patent/JPS61123988A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61123988A (en) | 1986-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5802205A (en) | Method and system for lexical processing | |
| JPS60217477A (en) | Handwritten character recognizing device | |
| JPH042990B2 (en) | ||
| JPS58214972A (en) | Online handwritten character recognition device | |
| JP3333362B2 (en) | Character input device | |
| JPS6084684A (en) | Character recognition method | |
| JP3198218B2 (en) | Online handwriting recognition method | |
| JPH0527915B2 (en) | ||
| JPH0442316A (en) | Electronic computer | |
| JP2671984B2 (en) | Information recognition device | |
| JPH0962788A (en) | Online handwriting recognition method | |
| JPH0776980B2 (en) | Character recognition method | |
| JPS60217487A (en) | Character recognition device | |
| JP2976856B2 (en) | Handwritten character input device and character cutout method | |
| JPH0690741B2 (en) | Handwritten character recognition method | |
| JPH01213772A (en) | On-line character recognizing system | |
| JPH049358B2 (en) | ||
| JPH0313630B2 (en) | ||
| JPS63301383A (en) | Handwritten character recognition device | |
| JPH0728951A (en) | Online character recognition system | |
| JPH09161009A (en) | Character recognition method | |
| JPS6327753B2 (en) | ||
| JPH01180083A (en) | Device for recognizing character of plural font | |
| JPS6186881A (en) | Online handwritten character recognition method | |
| JPH063613B2 (en) | Handwriting recognition device |