JPS61182184A - Device for recognizing hand-written character - Google Patents

Device for recognizing hand-written character

Info

Publication number
JPS61182184A
JPS61182184A JP60021429A JP2142985A JPS61182184A JP S61182184 A JPS61182184 A JP S61182184A JP 60021429 A JP60021429 A JP 60021429A JP 2142985 A JP2142985 A JP 2142985A JP S61182184 A JPS61182184 A JP S61182184A
Authority
JP
Japan
Prior art keywords
character
input
character frame
format
frame
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
JP60021429A
Other languages
Japanese (ja)
Inventor
Hirosuke Nakamura
中村 拓介
Osamu Nishiguchi
修 西口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIPPON TSUSHIN KENSETSU KK
Omron Corp
Original Assignee
NIPPON TSUSHIN KENSETSU KK
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIPPON TSUSHIN KENSETSU KK, Omron Tateisi Electronics Co filed Critical NIPPON TSUSHIN KENSETSU KK
Priority to JP60021429A priority Critical patent/JPS61182184A/en
Publication of JPS61182184A publication Critical patent/JPS61182184A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute without fail and easily the positioning of a slip format by positioning a slip format by the contacting operation of the input pen for the input tablet. CONSTITUTION:For the format of a slip 15, for example, a measure-shaped character frame 14 is in a series printed and formed over the plural columns and plural stages, and the character is inputted by the hand-writing up to one character in respective character frames 14. The slip is positioned and fixed on the tablet surface, the slip format for a character input area 10 is set and operated, and thereafter, when the character is written by the hands by using an input pen 13 into character frames 14 of the slip, the character frame loaded to the character input in a hand-writing character recognizing device 1 is cut out, the character in the character frame is recognized, and thereafter, the recognizing result is outputted to a host side device 4 together with the information to specify the character frame. The character frame specifying information may be a series of the character frame number set in accordance with respective character frames 14 and for example the information may be the information to specify the column and stage of the character frames 14.

Description

【発明の詳細な説明】 〈発明の技術分野〉 この発明は、入力タブレットに手書きされた文字入力に
つき、これを取り込み、辞書照合処理を実行して入力文
字を認識する手書き文字認識装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a handwritten character recognition device that receives characters input by hand on an input tablet and performs dictionary matching processing to recognize the input characters.

〈発明の概要〉 この発明の手書き文字認識装置は、入力タブレット上の
帳票へ入力ペンを接触させるだけで、入力タブレットと
帳票との間の位置合わせを可能としたものであり、これ
により、帳票の位置合わせ作業を容易化すると共に、文
字認識処理の正続率を向上させている。
<Summary of the Invention> The handwritten character recognition device of the present invention makes it possible to align the input tablet and the form by simply touching the input pen to the form on the input tablet. This simplifies the alignment work and improves the success rate of character recognition processing.

〈発明の背景〉 従来この種芋書き文字認識装置には、入力タブレット上
に所定の帳票を位置決め固定し、入力ペンを用いてこの
帳票へ文字を手書き入力する方式のものが用いられてい
る。通常この帳票には、複数の文字枠を含む所定のフォ
ーマ、トが印刷されており、例えば各文字枠内に文字が
1文字宛記入される毎に、その枠内の文字が切り出され
て、文字認識処理が実行されるようになっている。かく
て従来の装置では、帳票のフォーマットを固定データと
して装置内部或いはホスト側装置にあらかじめ格納して
おき、入力文字の取り込みに際し、この固定データをロ
ードし、入力タブレットの文字入力エリアに帳票のフォ
ーマットを設定することにより、前記した入力文字の切
り出しを行っている。
<Background of the Invention> Conventionally, this seed potato character recognition device uses a system in which a predetermined form is positioned and fixed on an input tablet, and characters are handwritten into the form using an input pen. Normally, this form is printed in a predetermined format that includes multiple character frames, and for example, each time a character is addressed in each character frame, the characters within that frame are cut out. Character recognition processing is now being executed. Therefore, in conventional devices, the format of the form is stored in advance as fixed data inside the device or in the host device, and when input characters are imported, this fixed data is loaded and the format of the form is stored in the character input area of the input tablet. By setting , the above-mentioned input characters are cut out.

ところがこの方式の場合、入力タブレット上へ帳票が適
正に位置合わせされないと、その帳票のフォーマットに
対し、文字入力エリアに設定された帳票フォーマットが
位置ずれし、これが文字の誤読や不読を招き、正続率を
低下させる要因となる。
However, with this method, if the form is not properly aligned on the input tablet, the form format set in the character input area will be misaligned with respect to the format of the form, leading to misreading or unreadable characters. This becomes a factor that reduces the success rate.

そこで帳票の位置合わせを確実かつ容易となすため、入
力タブレットのタブレット面に帳票位置合わせ用の位置
決め線を印刷したり、位置決め枠を取り付けたりしてい
るが、これら位置決め線や位置決め枠の設定位置も入力
タブレットの製造時のバラツキが影響して、位置ずれす
ることが多く、常に正確な位置合わせを実現することは
困難である。
Therefore, in order to ensure and easily align the forms, positioning lines for form alignment are printed on the tablet surface of the input tablet, and positioning frames are attached. Input tablets are often misaligned due to variations in the manufacturing process, making it difficult to always achieve accurate alignment.

かくして文字記入者は、入力タブレット上に帳票を位置
決めして仮固定した後、帳票フォーマットを構成する文
字枠内に、第21図(1) (2)に示すような態様で
、文字「川」や「三」を記入し、これら文字入力が正し
く認識されるか否かによって、位置合わせが正確か否か
を判断している。
In this way, after positioning and temporarily fixing the form on the input tablet, the person filling in the characters writes the characters "kawa" within the character frame that constitutes the form format in the manner shown in FIGS. 21 (1) and (2). and ``san'' are entered, and whether or not the alignment is accurate is determined based on whether or not these character inputs are correctly recognized.

ところがこの方法の場合、帳票を位置ずれ方向に対応し
て移動させつつ上記の文字記入作業を繰り返す必要があ
り、帳票の位置合わせ作業が煩雑でありかつ時間がかか
り、記入者の作業負担がきわめて大きなものとなってい
る。
However, with this method, it is necessary to repeat the above-mentioned character entry work while moving the form in accordance with the direction of misalignment, making the work of aligning the form complicated and time-consuming, and placing an extremely heavy burden on the person completing the form. It's a big thing.

〈発明の目的〉 この発明は、上記問題を解消するためのちので、入力タ
ブレットと帳票との間での帳票フォーマットの位置合わ
せを確実かつ容易に行い得る手書き文字認識装置を提供
することを目的とする。
<Purpose of the Invention> The purpose of the present invention is to provide a handwritten character recognition device that can reliably and easily align the form format between an input tablet and a form, in order to solve the above problems. do.

〈発明の構成および効果〉 上記目的を達成するため、この発明では、文字入力エリ
ア上に所定のフォーマットを有する帳票が位置決め配置
される入力タブレットと、入力タブレット上の帳票に対
しペン先を接触させて文字を手書きするための入力ペン
と、入力タブレットの前記文字入力エリアより手書き入
力文字を取り込み文字認識を実行する認識処理部とを具
備した手書き文字認識装置において、前記認識処理部に
、文字入力開始前に入力タブレット上の帳票に接触させ
たペン位置座標を基点座標として取り込む手段と、基点
座標を基準として前記文字入力エリアに対し前記帳票の
フォーマットを設定して入力タブレットと帳票との間の
位置合わせを行う手段と、設定された帳票フォーマット
に基づき文字入力エリアより手書き文字を切り出して文
字認識処理を実行する手段とを含ませることにした。
<Structure and Effects of the Invention> In order to achieve the above object, the present invention includes an input tablet on which a form having a predetermined format is positioned on a character input area, and a pen tip brought into contact with the form on the input tablet. In the handwritten character recognition device, the handwritten character recognition device is equipped with an input pen for handwriting characters by hand, and a recognition processing section that takes in handwritten input characters from the character input area of the input tablet and executes character recognition. A means for capturing the coordinates of the pen position brought into contact with the form on the input tablet as the base point coordinates before starting, and a means for setting the format of the form for the character input area based on the base point coordinates to create a link between the input tablet and the form. It was decided to include means for performing position alignment and means for cutting out handwritten characters from the character input area based on the set form format and performing character recognition processing.

この発明によれば、入力タブレットに対する入力ペンの
接触操作をもって帳票フォーマットの位置合わせを行い
得るから、この種位置合わせ作業が簡易化かつ迅速化さ
れ、文字記入者の作業負担が大幅に軽減される。また帳
票フォーマットの位置合わせが完全に行われるから、帳
票フォーマットの位置ずれに起因する入力文字の誤読や
不読が発生せず、装置の正続率が大幅に向上する等、発
明目的を達成した顕著な効果を奏する。
According to this invention, it is possible to align the form format by touching the input pen with the input tablet, which simplifies and speeds up this type of alignment work, and greatly reduces the workload of the person filling out characters. . In addition, since the position of the form format is perfectly aligned, there is no misreading or unreading of input characters due to misalignment of the form format, and the success rate of the device is greatly improved, achieving the purpose of the invention. It has a remarkable effect.

〈実施例の説明〉 第2図はこの発明の手書き文字認識装置1を導入した文
字処理システムの全体概略構成を示す。
<Description of Embodiments> FIG. 2 shows an overall schematic configuration of a character processing system incorporating the handwritten character recognition device 1 of the present invention.

図示例の手書き文字認識装置lは、入力タブレット2と
認識処理部3とから成るもので、これらの各構成はコー
ド線にてホスト側装置4に電気接続されている。ここで
ホスト側装置4とは、例えば銀行用専用端末機に手書き
文字認識装置1を接続する場合に、前記専用端末機、す
すわち「直近上位」を指しており、図示例のホスト側装
置4の場合、CRT (Cathode RayTub
e) 5やキーボード6を具備するホストコンピュータ
本体7に、プリンタ8やフロッピーディスク装置9を接
続して成る。
The illustrated handwritten character recognition device 1 is composed of an input tablet 2 and a recognition processing section 3, and each of these components is electrically connected to a host device 4 via a cord line. Here, the host side device 4 refers to the dedicated terminal, that is, the "immediately higher level" when the handwritten character recognition device 1 is connected to a bank dedicated terminal, for example, and refers to the host side device in the illustrated example. 4, CRT (Cathode RayTub
e) A printer 8 and a floppy disk device 9 are connected to a host computer main body 7 equipped with a printer 5 and a keyboard 6.

前記認識処理部3は、CP U (CentralPr
ocessing  Unit )の他、RAM (R
andamAccess Memory ) 、ROM
 (Read 0nly Memory)等のメモリを
含むコンピュータ回路をもって構成され、この認識処理
部3にて、手書き文字の入力処理、辞書照合を含む一連
の文字認識処理、更には認識結果の出力処理がそれぞれ
制御される。
The recognition processing unit 3 includes a CPU (CentralPr
RAM (R
andamAccess Memory), ROM
The recognition processing unit 3 controls input processing of handwritten characters, a series of character recognition processing including dictionary matching, and output processing of recognition results. be done.

前記入力タブレット2は、タブレット面に文字入力エリ
ア10.タッチキーエリア11およびエラーランプ12
が設けてあり、前記各エリア10.11は専用の入力ペ
ン13のペン先の接触が感知可能に形成されている。文
字入力エリア10は、 帳票15を介して、入力ペン1
3のペン先をタブレット面に接触させ且つ移動させて、
所望の文字を手書き入力するためのもので、前記タブレ
ット面の内側に、文字入力エリア10に対応してマトリ
クス回路より成る座標検出回路を組み込み、これにより
文字入力エリア10に接触位置するペン先のX座標およ
びY座標を検出する。
The input tablet 2 has a character input area 10 on the tablet surface. Touch key area 11 and error lamp 12
Each of the areas 10.11 is formed so as to be able to sense the touch of the pen tip of the dedicated input pen 13. The character input area 10 is connected to the input pen 1 via the form 15.
Touch the pen tip in step 3 to the tablet surface and move it,
This is for inputting desired characters by hand, and a coordinate detection circuit consisting of a matrix circuit is built into the inside of the tablet surface corresponding to the character input area 10, thereby detecting the position of the pen tip in contact with the character input area 10. Detect the X and Y coordinates.

上記入力タブレット2のタブレット面上には、文字入力
エリア10に対応して、帳票位置決め手段が施こしてあ
り、この位置決め手段に合わせて所定のフォーマットを
有する帳票が、位置決め配置される。なおこの位置決め
手段は、タブレット面上に印刷された位置決め線であっ
てもよく、またタブレット面上に貼設された位置決め枠
であってもよい。
Form positioning means is provided on the tablet surface of the input tablet 2 in correspondence with the character input area 10, and a form having a predetermined format is positioned and arranged in accordance with this positioning means. Note that this positioning means may be a positioning line printed on the tablet surface, or may be a positioning frame pasted on the tablet surface.

前記帳票15のフォーマットは、図示例の場合、升目状
の文字枠14を複数列、複数段にわたり一連に印刷して
形成され、各文字枠14内に文字を1文字宛手書き入力
するようになっている。この実施例の場合、文字枠14
の大きさを縦横各5 〔鶴〕に設定した第1の帳票と、
縦横各10(fl)に設定した第2の帳票と、縦横各2
0(m)に設定した第3の帳票とがあらかじめ準備して
あり、文字記入者が自らの意思でいずれか帳票を自由に
選択して使用する構成となっている。
In the case of the illustrated example, the format of the form 15 is formed by printing a series of square-shaped character frames 14 in multiple rows and multiple stages, and characters are input by hand in each character frame 14 one by one. ing. In this embodiment, the character frame 14
A first form whose size is set to 5 [crane] in length and width,
The second form is set to 10 (fl) each in the vertical and horizontal directions, and
A third form set to 0(m) is prepared in advance, and the person filling in the characters can freely select and use any of the forms at his or her own will.

かくていずれか帳票をタブレット面上に位置決め固定し
、後述する方法で文字入力エリア10に対する帳票フォ
ーマットの設定操作を行なった後、その帳票の文字枠1
4内へ入力ペン13を用いて文字を手書きすると、手書
き文字認識装置1において文字入力にかかる文字枠の切
り出しを行って、その文字枠内の文字を認識した後、そ
の認識結果を文字枠を特定する情報と共にホスト側装置
4へ出力する。この文字枠特定情報は、各文字枠14に
対応して設定された一連の文字枠番号であってよく、ま
た例えば文字枠14の列および段を特定する情報であっ
ても良い。
After positioning and fixing one of the forms on the tablet surface and setting the form format for the character input area 10 using the method described later, the character frame 1 of that form is
4. When a character is handwritten using the input pen 13 in the input pen 13, the handwritten character recognition device 1 cuts out the character frame for inputting the character, recognizes the character within the character frame, and then converts the recognition result into the character frame. It is output to the host device 4 along with the identifying information. This character frame specifying information may be a series of character frame numbers set corresponding to each character frame 14, or may be information that specifies, for example, the column and column of the character frame 14.

前記タッチキーエリア11は、入力ペン13のペン先で
選択操作されるもので、各種コマンドをキー入力するた
めの複数のファンクションキーが配列しである。なおこ
のタッチキーエリア11中に、文字認識処理に際し、切
り出すべき文字枠サイズを大、中、小指定するための文
字枠指定キーを設けることもできるが、この実施例の場
合、この種文字枠指定キーはホスト側装置4における前
記キーボード6中に配設されると共に、前記第1.第2
.第3の帳票のうち、使用する帳票に応じていずれかキ
ーが選択操作されるようになっている。
The touch key area 11 is selected and operated with the tip of the input pen 13, and has a plurality of function keys arranged therein for inputting various commands. Note that a character frame specification key can be provided in this touch key area 11 for specifying the character frame size to be cut out (large, medium, or small) during character recognition processing, but in the case of this embodiment, this type of character frame The designated key is arranged in the keyboard 6 of the host device 4, and the designated key is located in the first . Second
.. Among the third forms, one of the keys is selectively operated depending on the form to be used.

入力ペン13は、入力タブレット2上にペン先が触れ且
つ所定筆圧が加わったとき、例えばペン先部に磁力線が
発生する構造となっており°、従って入力タブレット2
の文字入力エリア10においてこの磁力線の移動軌跡を
検出することによって、着筆から離筆に至る入力文字の
各ストロークをデータとして得るものである。
The input pen 13 has a structure in which, for example, magnetic lines of force are generated at the pen tip when the pen tip touches the input tablet 2 and a predetermined writing pressure is applied.
By detecting the moving locus of the lines of magnetic force in the character input area 10, each stroke of the input character from writing to writing is obtained as data.

第3図は、前記認識処理部3におけるメモリの内容を示
し、図中プログラムエリア16には、文字認識処理用の
一連のプログラム・が格納される。ワークエリア17は
座標カウンタ18、座標記憶エリア19、サブストロー
クカウンタ20、方向コード記憶エリア21、ストロー
クカウンタ22、ストロークコード記憶エリア23、文
字枠番号記憶エリア24、文字枠境界値記憶エリア25
、フラグ設定エリア26等ををする。
FIG. 3 shows the contents of the memory in the recognition processing section 3, and a program area 16 in the figure stores a series of programs for character recognition processing. The work area 17 includes a coordinate counter 18, a coordinate storage area 19, a substroke counter 20, a direction code storage area 21, a stroke counter 22, a stroke code storage area 23, a character frame number storage area 24, and a character frame boundary value storage area 25.
, the flag setting area 26, etc.

このうち座標カウンタ18には入力タブレット2上を入
力ペン13が通過した座標点の個数が、座標記憶エリア
19には入力タブレット2上を移動する入力ペン13の
各ペン位置座標が、サブストロークカウンタ20には文
字ストロークが含む8方向コード(第6図に示す)の個
数が、方向コード記憶エリア21には文字ストロークを
構成する各サブストローク(後述する)の8方向コード
が、ストロークカウンタ22には文字を構成する文字ス
トロークの個数が、ストロークコード記憶エリア23に
はストローク入力の種別を特定するコードが、文字枠番
号記憶エリア24には文字入力にかかる文字枠の番号デ
ータが、文字枠境界値記憶エリア25には文字入力にか
かる文字枠の境界値を示す座標データXMA31 + 
XNIN + YMAX 、 YMIMが、フラグ設定
エリア26にはホスト側装置4へ文字認識結果を出力し
たか否かを表すフラグ(以下、「文字出力フラグ」とい
う)がそれぞれ格納される。
Among these, the coordinate counter 18 stores the number of coordinate points that the input pen 13 has passed on the input tablet 2, and the coordinate storage area 19 stores the coordinates of each pen position of the input pen 13 as it moves on the input tablet 2. The number of 8-direction codes (shown in FIG. 6) included in a character stroke is stored in the direction code storage area 20, and the 8-direction code of each sub-stroke (described later) that constitutes the character stroke is stored in the stroke counter 22. indicates the number of character strokes that make up a character, the stroke code storage area 23 contains a code that specifies the type of stroke input, and the character frame number storage area 24 contains the number data of the character frame involved in character input, and the character frame boundary. The value storage area 25 contains coordinate data XMA31 + indicating the boundary value of the character frame for character input.
The flag setting area 26 stores flags (hereinafter referred to as "character output flags") indicating whether or not a character recognition result has been output to the host device 4.

また文字枠種別記憶エリア27には前記第1〜第3の帳
票にそれぞれ設定されたいずれか文字枠のサイズを規定
する文字枠データが格納され、基点座標記憶エリア28
には文字入力エリア10に設定される帳票フォーマット
の基点座標(後述する)が格納される。さらにストロー
ク認識用辞書エリア29には、文字を構成する全てのス
トロークについての照合用標準データや1ストロークで
構成される文字(例えば数字の「2」)についての照合
用標準データが、また文字認識用辞書エリア30には、
2以上のストロークで構成される文字(例えば数字の「
5」)についての照合用標準データがそれぞれ格納され
る。
Further, the character frame type storage area 27 stores character frame data that defines the size of any character frame set in each of the first to third forms, and the base point coordinate storage area 28
The base point coordinates (described later) of the form format set in the character input area 10 are stored in . Furthermore, in the stroke recognition dictionary area 29, standard data for comparison of all the strokes that make up a character, standard data for comparison of a character made up of one stroke (for example, the number "2"), and character recognition In the dictionary area 30,
Characters composed of two or more strokes (for example, the number “
5") are respectively stored.

第1図は、前記認識処理部3の制御動作を示すもので、
まずステップ31で認識処理部3が初期化され、つぎの
ステップ32でホスト側装置4からの受信が許可される
FIG. 1 shows the control operation of the recognition processing section 3.
First, in step 31, the recognition processing unit 3 is initialized, and in the next step 32, reception from the host device 4 is permitted.

今ホスト側装置4において、キーボード6中のいずれか
文字枠指定キーが押操作されると、この文字枠指定情報
が認識処理部3で受信されて、ステップ33の判定が“
YES”となる。これによりステップ34において、ホ
スト側装置4からの受信が禁止されると共に、つぎのス
テップ35で文字枠指定情報が文字枠種別エリア27に
格納される。
Now, in the host device 4, when any character frame designation key on the keyboard 6 is pressed, this character frame designation information is received by the recognition processing unit 3, and the determination in step 33 is "
YES". Thereby, in step 34, reception from the host device 4 is prohibited, and in the next step 35, the character frame designation information is stored in the character frame type area 27.

つぎのステップ36は、入力タブレット2の文字入力エ
リア10に対する帳票フォーマットを設定するための操
作、具体的にはその@票フォーマットの基準となる点(
以下、これを「基点」という)を設定するための操作が
あったか否かを判定する。
The next step 36 is the operation for setting the form format for the character input area 10 of the input tablet 2, specifically, the point ( which becomes the standard of the @ form format).
Hereinafter, it is determined whether or not there has been an operation for setting a base point (hereinafter referred to as a "base point").

第5図〜第8図は種々の帳票フォーマットにおける基点
位置設定例を示している。第5図は9列、3段の文字枠
14を有するフォーマットであって、1段目の左端に位
置する1番目の文字枠14Aに基点Qを設定した例であ
る。第6図は7列、3段(ただし1段目は4列)の文字
枠14を有するフォーマットであって、1段目中央に位
置する1番目の文字枠14Bに基点Qを設定した例であ
る。第7図は7列、2段の文字枠を有するフォーマット
であって、2段目の右端に位置する最後の文字枠14C
に基点Qを設定した例である。第8図は8列、2段の文
字枠が2ブロツク存在するフォーマットであって、各ブ
ロックの1段目の左端に位置する1番目の文字枠14D
+ 、14Dtにそれぞれ基点Ql 。
FIGS. 5 to 8 show examples of base point position settings in various document formats. FIG. 5 shows an example of a format having nine columns and three columns of character frames 14, in which the base point Q is set in the first character frame 14A located at the left end of the first column. FIG. 6 shows an example of a format having character frames 14 in seven columns and three columns (however, the first column is four columns), and the base point Q is set in the first character frame 14B located in the center of the first column. be. Figure 7 shows a format with 7 columns and 2 columns of character frames, and the last character frame 14C located at the right end of the second column.
This is an example in which the base point Q is set at . Figure 8 shows a format in which there are two blocks of 8-column, two-column character frames, and the first character frame 14D is located at the left end of the first column of each block.
+ and base point Ql at 14Dt, respectively.

Q2を設定した例である。This is an example in which Q2 is set.

この基点設定操作は、第9図に示す如く、入力タブレッ
ト2上に位置決め配置した帳票15に対し、入力ペン1
3を垂直に立てた状態で、ペン先を基点Qの位置に接触
することにより行われるが、これに限らず、第10図に
示す如く、一定の傾きQx、Qy (ただしQxは左右
方向の傾き、Qyは前後方向の傾き)を有する自然の筆
記姿勢で入力ペン13を持ち、この状態のままペン先を
基点Qの位置に接触させてもよい。
In this base point setting operation, as shown in FIG.
3 is held vertically and the pen tip touches the base point Q, but the method is not limited to this, as shown in Fig. The input pen 13 may be held in a natural writing posture with an inclination (Qy is an inclination in the front-back direction), and the pen tip may be brought into contact with the position of the base point Q in this state.

ただし後者の方法では、第11図に示す如く、帳票のフ
ォーマットf+に対し、文字入力エリア10に設定され
るフォーマットf2は前記傾きQx、Qyに応じて右下
方向へずれる傾向にある。
However, in the latter method, as shown in FIG. 11, the format f2 set in the character input area 10 tends to shift toward the lower right direction in accordance with the inclinations Qx and Qy with respect to the format f+ of the form.

かくて第1図に戻って、上記基点設定のための着筆動作
があると、ステップ36の「着筆か?」の判定が“YE
S”となり、その着筆点(基点)の座標が前記座標検出
回路により検出された後、その基点座標データがメモリ
の基点座標記憶エリア28に格納される(ステップ37
)。そしてつぎのステップ38で基点設定動作の完了を
知らせる確認音が発せられた後、ステップ38でこの基
点座標データはホスト側装置4へ送信される。
Thus, returning to FIG. 1, when there is a writing motion for setting the base point, the determination of "Drawing?" in step 36 is "YE".
S'', and after the coordinates of the writing point (base point) are detected by the coordinate detection circuit, the base point coordinate data is stored in the base point coordinate storage area 28 of the memory (step 37
). Then, in the next step 38, a confirmation sound indicating the completion of the base point setting operation is emitted, and then, in step 38, this base point coordinate data is transmitted to the host side device 4.

つぎのステップ40は、入力タブレット2のタッチキー
エリア11からコマンドが入力されたか否かを判定して
おり、“YES”の判定で、そのコマンドコードがホス
ト側装置4へ送信される(ステップ41)。そしてもし
前記のコマンド入力がタブレット入力を要求する入力開
始コマンドであるときは、ステップ42の判定が“YH
3″となり、つぎのステップ43でメモリのワークエリ
ア17の内容がクリアされる。
In the next step 40, it is determined whether a command has been input from the touch key area 11 of the input tablet 2. If the determination is "YES", the command code is transmitted to the host device 4 (step 41). ). If the command input is an input start command that requests tablet input, the determination in step 42 is "YH
3'', and in the next step 43, the contents of the work area 17 of the memory are cleared.

かくして入カタブレソト2の文字入力エリア10に帳票
15を介して入力ペン13のペン先が接触して所定筆圧
が加わると、ステップ44の「コマンド入力有か?」の
判定がNO”、ステップ45の「着筆か?」の判定が“
YES”となってつぎのステップ46へ進む。このステ
ップ46では、着筆点の座標が前記座標検出回路により
検出された後、その座標データおよび前記基点座標デー
タを用いて文字枠の切出しおよび、文字枠番号の算出が
実行される。
In this way, when the pen tip of the input pen 13 comes into contact with the character input area 10 of the input booklet 2 via the form 15 and a predetermined writing pressure is applied, the determination of "Is there a command input?" in step 44 is NO", and step 45 The judgment of “Is it painted?” is “
YES" and the process proceeds to the next step 46. In this step 46, after the coordinates of the writing point are detected by the coordinate detection circuit, the coordinate data and the base point coordinate data are used to cut out a character frame and, Calculation of character frame number is executed.

第12図はステップ46に付随して呼び出されるサブル
ーチンを示しており、まず第12図のステップ110に
おいて認識処理部3は文字枠種別記憶エリア27にセッ
トされた文字枠データDに、Dy(第13図に示す)を
読み出し、これをCPU内のレジスタにセットする。
FIG. 12 shows a subroutine called in conjunction with step 46. First, in step 110 of FIG. (shown in Figure 13) and set it in a register in the CPU.

今仮に、文字枠データDx、Dyをそれぞれ15〔鶴〕
、前記着筆点Pの座標(X、Y)を(100,160)
(ただし座標の単位は(n)とする)、基点Qの座標(
Xo 、  Yo )を(50゜230)とすると、つ
ゲのステップ111゜112において、各座標の差(x
−xo )。
Now, suppose the character frame data Dx and Dy are each 15 [Tsuru]
, the coordinates (X, Y) of the writing point P are (100, 160)
(However, the unit of coordinates is (n)), the coordinates of base point Q (
If Xo, Yo) is (50°230), then at boxwood steps 111°112, the difference in each coordinate (x
-xo).

(Ya  Y)をデータDx、Dvで割り、その解を切
り上げることによって、着筆点Pにかかる文字枠14の
列および段の番号n、m(この場合、列番号nが「4」
、段番号mが「5」)を求める(下記の00式参照)。
By dividing (Ya Y) by the data Dx, Dv and rounding up the solution, the column and column numbers n and m of the character frame 14 related to the writing point P (in this case, the column number n is "4")
, stage number m is "5") (see formula 00 below).

この文字枠14の列および段の番号データは、そのまま
或いは一連の文字枠番号データに変換した後、文字枠番
号記憶エリア25に格納される。
The column and column number data of the character frame 14 are stored in the character frame number storage area 25 either as they are or after being converted into a series of character frame number data.

つぎにステップ113においては、文字枠データDXに
列番号を掛けかつ基点座標X0を加えて、文字枠境界値
データ XM□を求め、更にこれから文字枠データDX
を減じて文字境界値データX14INを求める(下記の
00式参照)。
Next, in step 113, the character frame data DX is multiplied by the column number and the base point coordinate X0 is added to obtain character frame boundary value data XM□.
is subtracted to obtain character boundary value data X14IN (see formula 00 below).

XIIAX = Dx X n + XO=15X 4
 +50=110  (鶴〕 ・・・・・・■ XMIN = XMAX  DX =110 15=9
0 (m)・・・・・・■ さらにつぎのステップ114において、同様に、下記の
演算(下記の00式参照)を実行して、文字枠境界値デ
ータYMAX *  YMINを求める。
XIIAX = Dx X n + XO=15X 4
+50=110 (Tsuru) ......■ XMIN = XMAX DX =110 15=9
0 (m)...■ Further, in the next step 114, the following calculation (see formula 00 below) is similarly executed to obtain character frame boundary value data YMAX*YMIN.

Yxax=Yo   D、xm=230 15X5=1
55  (tm)・・・・・・■ YMIN = YMAX −Dv =155−15=1
70  (鶴〕・・・■かくてこれら境界値データXM
 A M +  Xl、lI N +YMAX 、  
YMINは文字枠境界値記憶エリア25に格納された後
、第12図のサブルーチンを完了し、第1図のメインル
ーチンへ戻る。
Yxax=Yo D, xm=230 15X5=1
55 (tm)...■ YMIN = YMAX -Dv =155-15=1
70 (Tsuru)...■Thus, these boundary value data XM
A M + Xl, lI N + YMAX,
After YMIN is stored in the character frame boundary value storage area 25, the subroutine of FIG. 12 is completed and the process returns to the main routine of FIG.

第1図のメインルーチンへ戻るとまずステップ47で、
ワークエリア17内の座標カウンタ19およびストロー
クカウンタ22の各内容がクリアされた後、つぎにステ
ップ48において、第14図に示すストローク入力処理
用のサブルーチンが呼び出されて実行される。
Returning to the main routine in FIG. 1, first at step 47,
After the contents of the coordinate counter 19 and the stroke counter 22 in the work area 17 are cleared, in step 48, the subroutine for stroke input processing shown in FIG. 14 is called and executed.

今仮に、第1、第2の文字ストロークより成る文字(例
えば数字「4」)の第1ストローク目が文字枠14内に
記入される場合を想定すると、まず第14図のステップ
71において、前記ステップ45の着筆点が文字枠14
内か否かが判定され、“YES”の判定で、座標カウン
タ18の内容が1加算されると共に、入力タブレット2
内の座標検出回路により検出されたペン位置座標が、座
標カウンタ18の内容に対応する座標記憶エリア19の
所定番地に格納される(ステップ72.73)。 そし
てペン先が移動して同一文字枠14内に文字ストローク
が画かれると、ステップ74の「離筆か?」の判定が“
NO”、ステップ71に戻って「同一文字枠内か?」の
判定が“YES”となり、前記同様、座標カウンタ18
が加算され且つペン位置座標が記憶される(ステップ7
2.73)。
Assuming that the first stroke of a character (for example, the number "4") consisting of the first and second character strokes is written in the character frame 14, first, in step 71 of FIG. The writing point in step 45 is character frame 14
It is determined whether or not it is within the range, and if the determination is "YES", the contents of the coordinate counter 18 are incremented by 1, and the input tablet 2 is
The pen position coordinates detected by the coordinate detection circuit in the pen are stored at a predetermined location in the coordinate storage area 19 corresponding to the contents of the coordinate counter 18 (steps 72 and 73). Then, when the pen tip moves and a character stroke is drawn within the same character frame 14, the determination of "Is it a separation of strokes?" in step 74 is "
NO", the process returns to step 71, and the determination of "Are they in the same character frame?" becomes "YES", and as before, the coordinate counter 18
is added and the pen position coordinates are stored (step 7).
2.73).

なお前記ステップ71の判定は、ペン位置座標(X、Y
)の各値と前記文字枠境界値記憶エリア25にセットさ
れた境界値データXMAXIXMIN、 YMAX 、
  YMINとを比較することにより行われ、X、Yの
各値がつぎの00式を充足するとき、ステップ71の判
定が“YES″となる。
Note that the determination in step 71 is based on the pen position coordinates (X, Y
) and the boundary value data set in the character frame boundary value storage area 25, XMAXIXMIN, YMAX,
This is done by comparing YMIN, and when each value of X and Y satisfies the following formula 00, the determination in step 71 becomes "YES".

XMIN≦X≦X、AX・・・・・・■Y旧、≦Y≦Y
イ□・・・・・・■ 上記ステップ71〜73の処理動作は、ペン先位置が座
標点を通過する毎に繰り返し実行され、第1ストローク
目の入力完了によりペン先が入カタプレソト2から離れ
た時点でステップ74の判定が“YES“となり、ステ
ップ75へ進む。
XMIN≦X≦X, AX・・・・・・■Y old, ≦Y≦Y
I□・・・・・・■ The processing operations in steps 71 to 73 above are repeatedly executed every time the pen tip position passes a coordinate point, and the pen tip separates from the input point press 2 when the input of the first stroke is completed. At this point, the determination in step 74 becomes "YES", and the process advances to step 75.

″ステップ75では、上記ストローク入力の座標が急峻
に変化する点(例えば90度変化する点)を変化点とし
て検出し、各変化点でこの文字ストロークを区切って複
数のサブストロークに分割する。
``In step 75, points where the coordinates of the stroke input abruptly change (for example, points where they change by 90 degrees) are detected as changing points, and the character stroke is divided into a plurality of sub-strokes at each changing point.

第】5図(1)(2)は、文字r2J  r5Jについ
てのサブストローク分割例を示すものであり、図中、黒
点67は着筆点、黒点68は離筆点、白点69は変化点
、直線7oはサブストロークをそれぞれ示す。
Figures 5 (1) and (2) show examples of substroke division for characters r2J r5J. In the figures, black dots 67 are writing points, black dots 68 are writing separation points, and white dots 69 are changing points. , straight line 7o indicate sub-strokes, respectively.

上記の各サブストロークは、その方向に応じて第4図中
、数字1〜8で示す方向コードに変換されるもので、ス
テップ76でストロークを構成するサブストロークの数
がサブストロークカウンタ20にセントされ、続くステ
ップ77で各サブストロークの方向コードが方向コード
記憶エリア21に格納される。
Each of the above-mentioned substrokes is converted into a direction code shown by numbers 1 to 8 in FIG. Then, in the following step 77, the direction code of each substroke is stored in the direction code storage area 21.

第16図は、数字「5」の第1ストローク目についての
方向コード変換例を示し、図中、■■■■■■■■は各
サブストロークの方向コードを示す。なおこのコード変
換に際し、隣合う方向コードが連なるとき(図示例では
、■〜■の部分)、長いストロークにかかる方向コード
■■■を代表させる所謂丸め処理が施される。
FIG. 16 shows an example of direction code conversion for the first stroke of the number "5", and in the figure, ■■■■■■■■ indicates the direction code of each sub-stroke. In this code conversion, when adjacent direction codes are continuous (in the illustrated example, the portions ``■'' to ``■''), a so-called rounding process is performed to make the direction code ``■■■'' associated with a long stroke representative.

第17図は丸め処理後の数字「5」の方向コード列を示
し、第1ストローク目は■■■■の各方向コードをもっ
て、第2ストローク目は■の方向コードをもって、それ
ぞれ構成されている。
Figure 17 shows the direction code string of the number "5" after rounding, where the first stroke has a direction code of ■■■■, and the second stroke has a direction code of ■. .

つぎに数字「4」の実施例に戻って、その第1ストロー
ク入力は、ステップ78においてストローク認識用辞書
エリア29の内容と照合され、第1ストローク入力の方
向コード列と一致する方向コード列をもつ標準データが
存在するか否かがチェックされる。そして一致するデー
タが存在するとき、ステップ79の「一致か?」の判定
が@YES”となり、ステップ80でストロークカウン
タ22を1加算した後、っぎのステップ81で、その標
準データにかかる文字ストローフを特定するコード(以
下、「ストロークコード」という)をストロークカウン
タ22の内容に応じたストロークコード記憶エリア23
の所定番地にセットして、メインルーチンへ戻る。一方
辞書エリア29に−・致にかかる標準データが存在しな
いとき、ステップ79が“No”となり、この場合は入
力エラーとして同様にメインルーチンへ戻る。
Next, returning to the example of number "4", the first stroke input is checked against the contents of the stroke recognition dictionary area 29 in step 78, and a direction code string matching the direction code string of the first stroke input is determined. It is checked whether there is standard data with When matching data exists, the judgment of "Is it a match?" in step 79 becomes @YES", and after incrementing the stroke counter 22 by 1 in step 80, in step 81, the character stroke related to the standard data is A code for specifying a stroke (hereinafter referred to as a "stroke code") is stored in the stroke code storage area 23 according to the contents of the stroke counter 22.
Set to the specified location and return to the main routine. On the other hand, if the standard data related to -.does not exist in the dictionary area 29, the result in step 79 is "No", and in this case, the process returns to the main routine as an input error.

なお文字ストロークを画く過程でペン先が文字枠14外
へとび出た場合、前記のステップ71の「同一文字枠内
か?」の判定が“NO”なり、ステップ82でエラー音
が発生するもので、この場合入力タブレント2からのペ
ン先の乱筆によって、つぎのステップ83が“YES″
となり、入力エラーとしてメインルーチンへ戻る。
If the pen tip protrudes outside the character frame 14 during the process of drawing a character stroke, the determination of "Are they in the same character frame?" in step 71 will be "NO" and an error sound will be generated in step 82. , in this case, due to the irregular writing of the pen tip from the input tablet 2, the next step 83 is "YES".
This results in an input error and the process returns to the main routine.

かくて前記ステップ79.83より入力エラーとしてリ
ターンした場合は、第1図のステップ49の判定が“Y
ES”となり、ステップ50゜51でエラー音が発生し
かつエラーランプ12が点灯する。
In this way, if the step 79.83 returns as an input error, the determination in step 49 in FIG. 1 is "Y".
ES'', an error sound is generated in steps 50 and 51, and the error lamp 12 is lit.

これに対し入力完了によりメインルーチンへリターンし
た場合は、ステップ49の判定はNθ″であり、つぎに
ステップ52において、これまで入力されたストローク
(数字「4」の実施例では第1ストロークのみ入力完了
)で構成される文字と一致する標準データが辞書エリア
29.30に存在するか否かがチェックされる。数字「
4」の場合、第1ストロークのみでは文字を構成しない
から、ステップ53の「照合一致か?」の判定は “N
O”となり、つぎのステップ54で文字枠番号記憶エリ
ア24にセット済みの文字枠番号と、照合不一致を意味
するエラーコードとが一対でホスト側装置4へ送信され
た後、ステップ55でフラグ設定エリア26の内容がク
リアされる。
On the other hand, when returning to the main routine due to completion of input, the determination in step 49 is Nθ'', and then in step 52, the stroke input so far (in the example with the number "4", only the first stroke is input) It is checked whether standard data matching the character consisting of "Complete" exists in the dictionary area 29.30. Number "
4", the first stroke alone does not constitute a character, so the determination of "Is it a match?" in step 53 is "N
O'', and in the next step 54, the character frame number set in the character frame number storage area 24 and an error code indicating a matching mismatch are sent as a pair to the host device 4, and then a flag is set in step 55. The contents of area 26 are cleared.

もし仮に、入力文字が第1ストロークのみで文字を構成
するような場合(例えば数字「2」)、この段階でステ
ップ53の判定が“YES”となり、ステップ56にお
いて文字枠番号とその認識文字コードとが一対でホスト
側装置4へ送信された後、ステップ57でフラグ設定エ
リア26に文字出力フラグ「1」がセットされる。
If the input character consists of only the first stroke (for example, the number "2"), the determination in step 53 becomes "YES", and the character frame number and its recognized character code are determined in step 56. are sent as a pair to the host device 4, and then a character output flag "1" is set in the flag setting area 26 in step 57.

つぎのステップ58.59は、一定時間(例えばCPU
内のタイマに2〜5秒程度の時間を設定する)内に、文
字入力エリア10へ入力ペン13の着筆があるか否かを
チェックする。数字「4」の実施例の場合、同一文字枠
14内へ第2ストローク目を続けて記入するから、ステ
ップ58の「タイムオーバーか?」の判定がNO″、ス
テップ59の「着筆か?」の判定が“YES”、ステッ
プ60の「同一文字枠内か?」の判定がYES”となっ
てステップ48へ進み、第2ストローク目について前記
第14図のサブルーチンが実行される。
The next steps 58 and 59 are for a certain period of time (e.g. CPU
It is checked whether or not there is writing with the input pen 13 in the character input area 10 within a period of time (about 2 to 5 seconds is set in the timer). In the case of the example with the number "4", the second stroke is written in the same character frame 14 in succession, so the determination in step 58 "Is it time over?" is NO'', and the determination in step 59 "Is it written?" The determination in step 60 is "YES", and the determination in step 60 is "YES" in step 48, and the process proceeds to step 48, where the subroutine shown in FIG. 14 is executed for the second stroke.

もし前記ステップ58.59の待機状態において、設定
時間内に第2ストローク目の入力を行わないときは、ス
テップ58の「タイムオーバーか?」の判定が“YES
”となってステップ61へ進み、つぎにホスト側装置4
へ認識文字コードを出力したか否か、すなわちフラグ設
定エリア26に文字出力フラグ「1」がセット済みか否
かがチェックされる。この場合、ステップ61の判定は
“NO”であるから、ステップ62.63でエラー音を
発生しかつエラーランプ12を点灯して第1ストローク
目の入力が無効である旨を文字記入者へ知らせた後、つ
ぎの文字入力に待機する(ステップ45)。なお文字を
構成する全ストロークの入力が完了しておれば、前記ス
テップ62.63は実行されずに、ステップ45の入力
待機状態となる。
If the second stroke is not input within the set time in the standby state of steps 58 and 59, the determination of "Is it time over?" in step 58 is "YES".
”, the process advances to step 61, and then the host side device 4
It is checked whether or not the recognized character code has been output to, that is, whether the character output flag "1" has been set in the flag setting area 26. In this case, since the determination in step 61 is "NO", in steps 62 and 63 an error sound is generated and the error lamp 12 is lit to inform the character entry person that the input of the first stroke is invalid. After that, it waits for the next character input (step 45). Note that if input of all strokes constituting a character has been completed, steps 62 and 63 are not executed and the input standby state of step 45 is entered.

かくして数字「4」の第2ストローク目の入力処理にお
いては、ステップ48の「照合一致か?」の判定が“Y
ES”となり、この段階で認識文字コードが文字枠番号
と共にホスト側装置4へ送信されることになる(ステッ
プ56)。
Thus, in the input process for the second stroke of the number "4", the determination of "Verification match?" in step 48 is "Y".
ES'', and at this stage the recognized character code is sent to the host device 4 together with the character frame number (step 56).

なお文字入力過程において、認識処理済の入力文字を修
正する場合は、その修正すべき文字が記入されている文
字枠14内にペン先を着筆して新たな文字を重ねて手書
きすればよい。この場合、1文字若しくは1ストローク
入力完了直後に文字修正処理へ移行したときは、ステッ
プ58が“No”、ステップ59がYES”、ステップ
60が“NO″となってステップ64へ進み、もし文字
出力フラグが未設定の状態であれば、ステ、プロ5,6
6でエラー音を発生しかつエラーランプ12を点灯して
第1ストローク目の入力が無効である旨を文字記入者へ
知らせた後、ステップ46へ進んで第14図のサブルー
チンに基づく文字修正処理が実行される。
In the character input process, if you want to modify the input characters that have been recognized, you can place the pen tip in the character frame 14 in which the character to be modified is written, and write a new character by hand. . In this case, when proceeding to the character correction process immediately after completing input of one character or one stroke, step 58 becomes "No", step 59 becomes "YES", step 60 becomes "NO", and the process proceeds to step 64. If the output flag is not set, ST, PRO 5, 6
6, an error sound is generated and the error lamp 12 is lit to inform the character entry person that the input of the first stroke is invalid, and then the process proceeds to step 46, where character correction processing is performed based on the subroutine of FIG. 14. is executed.

第18図はホスト側装置4におけるメモリの内容を示し
ている。図中、プログラムエリア141には、手書き文
字認識装置1から送られてくるコマンドや文字認識デー
タを受信処理するプログラムの他、システム処理に関連
する一連のプログラムが格納され、また帳票フォーマッ
ト情報記載エリア142には、前記入カタブレソト2上
に設置される帳票15のフォーマットが格納される。
FIG. 18 shows the contents of the memory in the host device 4. In the figure, a program area 141 stores a program for receiving and processing commands and character recognition data sent from the handwritten character recognition device 1, as well as a series of programs related to system processing, and a form format information writing area. In 142, the format of the form 15 to be placed on the entry form 2 is stored.

ワークエリア143は、受信文字記憶エリア144、文
字枠番号記憶エリア145、文字枠種別記憶エリア14
6等を有し、受信文字記憶エリア143には手書き文字
認識装置1より送られてきた認識文字コードが、文字枠
番号記憶エリア145には受信文字にかかる文字枠番号
が、文字枠種別記憶エリア146には文字枠サイズの指
定情報がそれぞれセットされる。また文字記憶エリア1
47は文字枠番号の値に対応する番地へ受信文字をつぎ
つぎに格納するためのものである。
The work area 143 includes a received character storage area 144, a character frame number storage area 145, and a character frame type storage area 14.
6 etc., the received character storage area 143 contains the recognized character code sent from the handwritten character recognition device 1, and the character frame number storage area 145 contains the character frame number associated with the received character, and the character frame type storage area In 146, character frame size designation information is set. Also character storage area 1
Reference numeral 47 is for storing received characters one after another at addresses corresponding to the value of the character frame number.

第19図はホスト側装置4の制御動作を示すもので、ま
ずステップ91で初期化が行われ、上記メモリのワーク
エリア143の内容がクリアされる。つぎにステップ9
2において、第20図に示すサブルーチンが呼び出され
て、帳票フォーマットの設定に関連する処理が実行され
る。
FIG. 19 shows the control operation of the host side device 4. First, initialization is performed in step 91, and the contents of the work area 143 of the memory are cleared. Next step 9
2, the subroutine shown in FIG. 20 is called to execute processing related to setting the form format.

(詳細は後述する)。その結果CRT5の画面には、所
定の帳票のフォーマットが表示され、しかる後、端末(
手書き文字認識装置1を含む)からの情報の受信が許可
される(ステップ93゜94)。
(Details will be explained later). As a result, the predetermined form format is displayed on the screen of the CRT5, and then the terminal (
(including the handwritten character recognition device 1) is permitted (steps 93 and 94).

この段階で手書き文字認識装置1が認識文字コードまた
はエラーコードとその文字枠番号情報とを一対で送信し
、これをホスト側装置4において受信した場合、ステッ
プ94「受信有か?」の判定が“YES”、ステップ9
5の「受信内容はコマンドか?」の判定が“NO”とな
り、その受信情報は受信文字記憶エリア144および文
字枠番号記憶エリア145にそれぞれ格納される。
At this stage, if the handwritten character recognition device 1 transmits a recognized character code or error code and its character frame number information as a pair, and this is received by the host device 4, the determination in step 94 "Received?" “YES”, step 9
5, "Is the received content a command?" is determined as "NO", and the received information is stored in the received character storage area 144 and the character frame number storage area 145, respectively.

なおもし前記受信受付状態下でコマンドを受信したとき
は、ステップ95が” YES“となり、ステップ96
で端末からの受信を禁止する。そしてもし前記コマンド
が文字枠サイズを指定するコマンドであるときは、ステ
ップ97が“YES”となり、ステップ98で文字枠サ
イズの指定情報が文字枠種別記憶エリア146に格納さ
れ、もしそれ以外のコマンドであるときは、ステップ9
9でそのコマンドに対応する処理が実行される。
If a command is received under the reception acceptance state, step 95 becomes "YES" and step 96
to prohibit reception from the terminal. If the command is a command that specifies the character frame size, step 97 becomes "YES", and in step 98, the character frame size designation information is stored in the character frame type storage area 146; If so, step 9
At step 9, the process corresponding to the command is executed.

つぎのステップ100は、受信した文字枠番号が後記す
る帳票フォーマットの規定値(第20図のステップ12
5において設定される)内か否かを判定するものであり
、もしその判定が“NO″のときは、ステップ101で
CRT5に入力エラーである旨を表す文字が表示され、
またステップ102でエラー音が発せられる。
In the next step 100, the received character frame number is set to the specified value of the form format to be described later (step 12 in Fig. 20).
If the determination is "NO", a character indicating an input error is displayed on the CRT 5 in step 101.
Also, in step 102, an error tone is emitted.

これに対しステップ100の判定が” YES’のとき
は、つぎにステップ103において、受信情報がエラー
コードであるか否かが判定される。
On the other hand, if the determination in step 100 is "YES", then in step 103 it is determined whether or not the received information is an error code.

前記前記数字「4」の実施例においては、その第1スト
ローク目の認識終了時点ではエラーコードがホスト側装
置4へ送信されることはすでに述べたとおりである(第
1図のステップ54)。
As mentioned above, in the embodiment of the number "4", an error code is sent to the host device 4 at the end of the recognition of the first stroke (step 54 in FIG. 1).

従ってこの場合は、ステップ103の判定は“YES”
であり、ステップ104で受信した文字。
Therefore, in this case, the determination in step 103 is "YES"
and the characters received in step 104.

枠番号に対応するCRT5の表示位置がクリアされると
共に、つぎのステップ105で文字枠番号に応じた文字
記憶エリア147の番地がクリアされる。
The display position of the CRT 5 corresponding to the frame number is cleared, and in the next step 105, the address of the character storage area 147 corresponding to the character frame number is cleared.

これに対し数字「4」の第2ストローク目の認識終了時
点では、認識文字コードが文字枠番号と共にホスト側装
置4へ送信されるから(第1図のステップ56)、この
場合はステップ103の判定は6NO′であり、ステッ
プ106において、受信した文字枠番号に対応するCR
T5の表示位置に認識文字コードに対応する文字(この
場合は、数字「4」)が表示されると共に、ステップ1
07において、文字枠番号に応じた文字記憶エリア14
7の番地に受信文字コードが格納される。
On the other hand, at the end of the recognition of the second stroke of the number "4", the recognized character code is sent to the host device 4 together with the character frame number (step 56 in FIG. 1), so in this case step 103 The determination is 6NO', and in step 106, the CR corresponding to the received character frame number is
The character corresponding to the recognized character code (in this case, the number "4") is displayed at the display position of T5, and the step 1
07, the character storage area 14 according to the character frame number
The received character code is stored at address 7.

上記一連の処理は受信がある毎に繰り返し実行されるも
ので、これによりCRT5には受信文字がつぎつぎに表
示されてゆくと共に、文字記憶エリア147には受信情
報が貯えられてゆく (ステップ106.107)。
The above-mentioned series of processes is repeatedly executed every time there is a reception, and as a result, the received characters are displayed one after another on the CRT 5, and the received information is stored in the character storage area 147 (step 106. 107).

また上記のことは、新たな文字入力の場合だけでなく、
文字修正の場合も同様であり、この場合も修正文字が修
正にかかる文字枠番号と共にホスト側装置4へ送信され
てくるから、CRT5における文字修正位置に修正文字
が正しく表示されるものである。
Also, the above applies not only when inputting new characters, but also when inputting new characters.
The same applies to character correction; in this case as well, the corrected character is sent to the host device 4 together with the character frame number involved in the correction, so that the corrected character is correctly displayed at the character correction position on the CRT 5.

第20図は、前記第19図のステップ92で呼び出され
て実行されるサブルーチンを示す。
FIG. 20 shows a subroutine called and executed in step 92 of FIG. 19.

まずステップ120では、ホスト側装置4におけるCR
T5の画面に、文字枠サイズの選択を促す案内文字が表
示される。この実施例の場合、文字枠サイズに応じて第
1.第2.第3の帳票を用意しであることはすでに述べ
たとおりであり、まずこの最初の段階で、使用する帳票
に応じて、キーボード6中のいずれか文字枠指定キーを
選択操作して、文字枠の大きさを指定しておく。この文
字枠指定があると、ステップ121の「入力有りか?」
の判定は“YES”となり、つぎのステップ122で指
定された文字枠の大きさが文字枠種別記憶エリア146
に記憶される。
First, in step 120, the CR in the host side device 4 is
Guidance characters prompting the user to select a character frame size are displayed on the screen of T5. In this embodiment, the first . Second. As already mentioned, the third form is prepared, and at this first stage, depending on the form to be used, select one of the character frame designation keys on the keyboard 6 to select the character frame. Specify the size of . If this character frame is specified, step 121 "Is there input?"
The determination is "YES", and the size of the character frame specified in the next step 122 is stored in the character frame type storage area 146.
is memorized.

つぎにCRT5の画面には、帳票フォーマットを規定す
るためのデータ、すなわち文字枠の列数および段数の入
力を促す案内文字が表示される(ステップ123)。そ
して文字枠の列数および段数がキーボード6により入力
されると、ステップ124の「入力有りか?」の判定が
“YES”となり、このキー入力データは帳票フォーマ
ットの規定値として帳票フォーマット情報記憶エリア1
42に格納される(ステップ125)。
Next, guide characters are displayed on the screen of the CRT 5 to prompt the user to input data for defining the form format, that is, the number of columns and columns of character frames (step 123). When the number of columns and columns of the character frame are input using the keyboard 6, the determination of "Is there an input?" in step 124 becomes "YES", and this key input data is stored in the form format information storage area as the specified value of the form format. 1
42 (step 125).

つぎにステップ126において、CRT5の画面に、前
記した帳票フォーマットの基点設定操作を促す案内文字
が表示され、つぎのステップ127で、前記文字枠の大
きさを示す文字枠指定情報が端末(手書き文字認識装置
1)へ送信されると共に、ステップ12Bで、端末から
の受信が許可される。これを受けて手書き文字認識装置
lでは、文字枠指定情報を記憶し、基点設定操作を実施
して、基点座標データをホスト側装置4へ送信すること
はすでに述べたとおりである(第1図のステップ32〜
39)。かくてホスト側装置4において、基点座標デー
タを受信すると、ステップ129の「受信有りか?」の
判定が“YES”となり、ステップ130で端末からの
受信が禁止された後、ステップ131で受信データ(基
点座標)をCRT5の画面に表示し、さらにステップ1
31で帳票フォーマット情報記憶エリア142に格納さ
れたデータに基づきCRT5の画面に帳票フォーマット
が表示されて、第20図のサブルーチンを完了する。
Next, in step 126, guidance characters are displayed on the screen of the CRT 5 to prompt the base point setting operation of the form format described above, and in the next step 127, character frame designation information indicating the size of the character frame is displayed on the screen of the CRT 5 (handwritten characters). The information is transmitted to the recognition device 1), and reception from the terminal is permitted in step 12B. In response to this, the handwritten character recognition device 1 stores the character frame designation information, performs the base point setting operation, and transmits the base point coordinate data to the host side device 4, as described above (see Fig. 1). Step 32~
39). In this way, when the host side device 4 receives the base point coordinate data, the determination of "Received?" in step 129 becomes "YES", and after reception from the terminal is prohibited in step 130, the received data is processed in step 131. Display (base point coordinates) on the CRT5 screen, and then step 1
At step 31, the form format is displayed on the screen of the CRT 5 based on the data stored in the form format information storage area 142, and the subroutine shown in FIG. 20 is completed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明にかかる手書き文字認識装置の制御動
作を示すフローチャート、第2図は手書き文字認識装置
の全体構成を示す外観図、第3図は手書き文字認識装置
のメモリマツプを示す図、第4図は8方向コードを説明
するための図、第5図〜第8図は基点設定例を示す図、
第9図および第10図は基点設定操作を示す図、第11
図は第10図の操作例に起因する帳票フォーマットの位
置ずれ状態を説明するための図、第12図は文字枠の切
出しおよび文字枠番号算出処理のサブルーチンを示すフ
ローチャート、第13図は文字枠切出しおよび文字枠番
号算出方法を説明するための図、第14図はストローり
入力処理のサブルーチンを示すフローチャート、第15
図(11(2)は文字r2J  r5Jについてのサブ
ストローク分割例を示す図、第16図は文字「5」の1
ストローク目の方向コード変換例を示す図、第17図は
丸め処理後の文字「5」の方向コード列を示す図、第1
8図はホスト側装置のメモリマツプを示す図、第19図
はホスト側装置の制御動作を示すフローチャート、第2
0図は帳票フォーマットの設定に関連するサブルーチン
のフローチャート、第21図は従来例における位置合わ
せの正確性を判断する方法を説明するための図である。 l・・・・・・手書き文字認識装置 2・・・・・・入力タブレット 3・・・・・・認識処理部 10・・・・・・文字入力エリア 13・・・・・・入力ペン 14・・・・・・文字枠 15・・・・・・帳票 研2回 4−4−文nこ熾翌IE含。 ノスチム仝イ本の才A、Qi12! 2  入力り2レツト 3  ゑ、こ9代メ(1里−1L戸 )θ  支゛ン入カニy7    /3/4   女客
 1卆 /j −東り中 研3し +1=♀”’WINA、@のノ訃ノア・ツノ・入力へ0
7 ”A9=石  基燕畝嵐1ぐ件と示す一叫6フ 茎、?鯰走イ月と、〒、′v図 /ltA ザ;+−/7 ’;う1   4良店設jこイタ・hr
F;−v遥4」欠塾上冴・す司 597回 ?E句コートーtt’ti駈コ ピッ+/(−71’Zla        ホストイ9
・11.工i’I <紳動イγ遥示寸フロー+ヤード 究/l肩 ヮフ゛ストローク分111例み示ス葎コど9 →2C図 番/d図
FIG. 1 is a flowchart showing the control operation of the handwritten character recognition device according to the present invention, FIG. 2 is an external view showing the overall configuration of the handwritten character recognition device, FIG. 3 is a diagram showing the memory map of the handwritten character recognition device, and FIG. Figure 4 is a diagram for explaining the 8-direction code, Figures 5 to 8 are diagrams showing base point setting examples,
Figures 9 and 10 are diagrams showing the base point setting operation;
The figure is a diagram for explaining the misaligned state of the form format caused by the operation example in Figure 10, Figure 12 is a flowchart showing the subroutine of character frame cutting and character frame number calculation processing, and Figure 13 is a character frame FIG. 14 is a flowchart showing a subroutine for stroke input processing; FIG.
Figure (11(2) is a diagram showing an example of substroke division for characters r2J r5J, Figure 16 is 1 of character "5"
A diagram showing an example of the direction code conversion for the stroke.
8 is a diagram showing the memory map of the host side device, FIG. 19 is a flowchart showing the control operation of the host side device, and FIG.
FIG. 0 is a flowchart of a subroutine related to setting a form format, and FIG. 21 is a diagram for explaining a method of determining accuracy of alignment in a conventional example. l...Handwritten character recognition device 2...Input tablet 3...Recognition processing unit 10...Character input area 13...Input pen 14・・・・・・Character frame 15・・・・・・Includes IE for 2nd time 4-4-Bun nko. Nostim's real talent A, Qi12! 2 input 2 let 3 ゑ, this 9th generation (1ri - 1L door) θ support entry crab y7 /3/4 Female customer 1 volume / j - East Chuken 3 + 1 = ♀”'WINA, @ To the death of Noah Horn input 0
7 ``A9=Shi Ki Yanen Arashi 1 matter and one shout 6 fu stems, ?Namazu run I month and 〒,'v figure/ltA the;+-/7';U1 4 good store establishment jko Ita・hr
F;-v Haruka 4” Kajuku Kamisae/Sushi 597 times? E-phrase court tt'ti cane kopic +/(-71'Zla host toi 9
・11. Work i'I < Gen motion I γ Distance flow + Yard study / l Shoulder stroke 111 examples are shown here. 9 → 2C drawing number/d drawing

Claims (2)

【特許請求の範囲】[Claims] (1)文字入力エリア上に所定のフォーマットを有する
帳票が位置決め配置される入力タブレットと、入力タブ
レット上の帳票に対しペン先を接触させて文字を手書き
するための入力ペンと、入力タブレットの前記文字入力
エリアより手書き入力文字を取り込み文字認識を実行す
る認識処理部とを具備し、 前記認識処理部は、文字入力開始前に入力タブレット上
の帳票に接触させたペン位置座標を基点座標として取り
込む手段と、基点座標を基準として前記文字入力エリア
に対し前記帳票のフォーマットを設定して入力タブレッ
トと帳票との間の位置合わせを行う手段と、設定された
帳票フォーマットに基づき文字入力エリアより手書き文
字を切り出して文字認識処理を実行する手段とを含んで
成る手書き文字認識装置。
(1) An input tablet on which a form having a predetermined format is positioned and arranged on a character input area, an input pen for handwriting characters by bringing the pen tip into contact with the form on the input tablet, and the input tablet. and a recognition processing unit that takes in handwritten input characters from the character input area and executes character recognition, and the recognition processing unit takes in the coordinates of the pen position that is brought into contact with the form on the input tablet as the base point coordinates before starting character input. means for aligning the input tablet and the form by setting the format of the form for the character input area based on the base point coordinates; A handwritten character recognition device comprising means for extracting a character and performing character recognition processing.
(2)前記認識処理部は、CPUやメモリを含むコンピ
ュータ回路をもって構成されている特許請求の範囲第1
項記載の手書き文字認識装置。
(2) The recognition processing unit is configured with a computer circuit including a CPU and memory.
The handwritten character recognition device described in Section 1.
JP60021429A 1985-02-06 1985-02-06 Device for recognizing hand-written character Pending JPS61182184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60021429A JPS61182184A (en) 1985-02-06 1985-02-06 Device for recognizing hand-written character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60021429A JPS61182184A (en) 1985-02-06 1985-02-06 Device for recognizing hand-written character

Publications (1)

Publication Number Publication Date
JPS61182184A true JPS61182184A (en) 1986-08-14

Family

ID=12054742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60021429A Pending JPS61182184A (en) 1985-02-06 1985-02-06 Device for recognizing hand-written character

Country Status (1)

Country Link
JP (1) JPS61182184A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62147581A (en) * 1985-12-20 1987-07-01 Sanyo Electric Co Ltd Image input device and image entry form used for same
US6618504B1 (en) 1996-11-15 2003-09-09 Toho Business Management Center Business management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62147581A (en) * 1985-12-20 1987-07-01 Sanyo Electric Co Ltd Image input device and image entry form used for same
US6618504B1 (en) 1996-11-15 2003-09-09 Toho Business Management Center Business management system

Similar Documents

Publication Publication Date Title
JPS61182184A (en) Device for recognizing hand-written character
JPS62159291A (en) Sentence input device
JP3217084B2 (en) Handwritten character recognition device
JPS61170877A (en) Recognizing device of hand-written character
JPH04290184A (en) Handwritten document creation device
JPS63136290A (en) Hand-written character input device
JP2578747B2 (en) Handwritten information processing method
KR20010001460A (en) Apparatus and method for recognizing some hand-writing
JPS61180384A (en) Recognizer of handwritten character
JPH04313175A (en) Handwrinting input information processor
JPH08137381A (en) Mehtod and device for handwriting character practice
JPS60238988A (en) Data processor equipped with character recognition device
JPS61160181A (en) Recognizing device of handwritten character
JP2902817B2 (en) Handwritten character input device
JP2731394B2 (en) Character input device
JPS61169975A (en) Recognizing device of hand-written character
JPH09185679A (en) Method and device for character recognition
JPH08212306A (en) Handwriting data thinning-out method, dictionary generating method, and character recognition device
JPS61163476A (en) Hand-written character recognition device
JPH0877297A (en) Portable terminal equipment
JPH06266886A (en) Character recognizing processor for hand-written character inputting device and its method
JPS61138383A (en) Recognizer of hand-written character
JPH055145B2 (en)
JPS62118490A (en) Correction system for erroneous input character for character recognition device
JPH05143780A (en) Character recognizing device