JPS61180384A - Recognizer of handwritten character - Google Patents

Recognizer of handwritten character

Info

Publication number
JPS61180384A
JPS61180384A JP60020614A JP2061485A JPS61180384A JP S61180384 A JPS61180384 A JP S61180384A JP 60020614 A JP60020614 A JP 60020614A JP 2061485 A JP2061485 A JP 2061485A JP S61180384 A JPS61180384 A JP S61180384A
Authority
JP
Japan
Prior art keywords
character
input
stroke
area
coordinate
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
JP60020614A
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 JP60020614A priority Critical patent/JPS61180384A/en
Publication of JPS61180384A publication Critical patent/JPS61180384A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To secure the complete coincidence between the display data on a slip and the actual input data by setting an area preceding the position of a recognized character within a character input inhibiting range and inhibiting the fetching of character strokes supplied into said inhibiting area. CONSTITUTION:A stage where the first character '1' is written into a character frame 14 is supposed. A coordinate point g1 where the X coordinate value is maximum among those data on the coordinate points which form the character '1' already stored in a coordinate memory area 19. Then the X coordinate value is stored into an inhibiting range memory area 26 every character frame as the data which prescribes a character input inhibiting range G. For instance, if the stroke of the next character '3' enters the range G, the fetching of the relevant character stroke is inhibited. Thus no character is recognized. The intrusion of the character stroke into the range G is checked by comparing the pen position coordinate value and the X coordinate maximum value stored in the area 26. Then the error processing is carried out if the stroke gets inside the range G. In such a way the value of a slip as a document to be preserved is increased. Furthermore the confirmation of the input data is also possible.

Description

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

〈発明の概要〉 この発明は、入力タブレットの文字入力エリアにおいて
、認識済みの文字位置より以前のエリアを文字入力禁止
範囲に設定して、この禁止範囲に入力された文字ストロ
ークの取り込みを禁止するように構成したものであり、
これにより、帳票上の表示データと実際の入力データと
が完全一致するようにしである。
<Summary of the Invention> The present invention sets an area before a recognized character position as a character input prohibited range in the character input area of an input tablet, and prohibits the capture of character strokes input in this prohibited range. It is configured as follows,
This ensures that the data displayed on the form and the actual input data completely match.

〈発明の背景〉 一般に手書き文字認識装置は、入力タブレット上に帳票
を位置決め固定し、この帳票表面に印刷された1乃至複
数の文字枠内へ文字を順次手書き入力するよう構成され
ている。この装置には、例えばひとつの文字枠内に文字
を1文字宛記入させる方式の他、ひとつの文字枠内に1
以上の文字を続けて記入させる方式のもの等が存在する
。後者の方式の装置は、例えば会計処理システムのよう
に数字を扱うシステム等に好適であり、文字記入者はこ
の文字枠内に金額、商品コード等を表わす所定桁数の数
字データを自由なピッチで記入することになる。
<Background of the Invention> In general, a handwritten character recognition device is configured to position and fix a form on an input tablet and sequentially input characters by hand into one or more character frames printed on the surface of the form. For example, this device has a method of writing one character in one character frame, and a method of writing one character in one character frame.
There are methods that allow you to enter the above characters in succession. The latter type of device is suitable for systems that handle numbers, such as accounting processing systems, and the person writing the characters can write numeric data of a predetermined number of digits representing the amount, product code, etc. within the character frame at a free pitch. You will have to fill it out.

またこの方式の装置の場合、一般に数字の記入方向は随
意とされており、例えば3桁の数字「123Jを右から
左へ1.2.3と書くと、帳票上では3,2.1の順で
数字が並ぶが、装置は文字入力された順に1.2.3と
文字認識する。従ってこの方式の装置の場合、文字の重
ね書きや文字の事後書込み等が自在である一方、帳票上
の表示データは実際の入力データ(認識結果)と不一致
となるおそれがあるため、この帳票は保存書類としての
価値を喪失するばかりでなく、事後この帳票をもって入
力データの確認や照合を行うことが困難である。
Additionally, in the case of this type of device, the direction in which numbers are written is generally arbitrary; for example, if the three-digit number "123J" is written from right to left as 1.2.3, it will appear as 3, 2.1 on the form. Although the numbers are lined up in order, the device recognizes the characters as 1, 2, and 3 in the order in which they are input.Therefore, with this type of device, while it is possible to overwrite characters or write characters later, it is possible to Since the displayed data may not match the actual input data (recognition results), this form not only loses its value as an archival document, but also makes it impossible to use this form to confirm or collate input data after the fact. Have difficulty.

〈発明の目的〉 この発明は、帳票上の表示データを実際の入力データと
完全に一致させ、もって保存書類としての帳票の価値を
増すと共に、この帳票をもって入力データの事後確認や
照合を可能とした新規な手書き文字認識装置を提供する
ことを目的とする。
<Purpose of the invention> The present invention makes display data on a form completely match actual input data, thereby increasing the value of the form as an archival document, and making it possible to use this form to confirm and collate input data after the fact. The purpose of this invention is to provide a novel handwritten character recognition device.

〈発明の構成および効果〉 上記目的を達成するため、この発明では、文字を手書き
入力するための文字入力エリアを有する入力タブレット
と、入力タブレットに対しペン先を接触させて文字を手
書きするための入力ペンと、入力タブレノトの前記文字
入力エリアより入力文字の各ストロークを取り込み文字
認識を実行する認識処理部とを具備する手書き文字認識
装置において、前記認識処理部に、文字認識毎に文字入
力エリアにおける認識文字の位置を求める手段と、その
文字位置より以前の文字入力エリアを文字入力禁止範囲
に設定する手段と、文字入力時にペン先が接触する文字
入力エリア内の位置を順次検出する手段と、前記文字入
力禁止範囲へペン先が侵入したときその入力文字のスト
ロークの取り込みを禁止する手段とを含ませるようにし
た。
<Structure and Effects of the Invention> In order to achieve the above object, the present invention provides an input tablet having a character input area for inputting characters by hand, and an input tablet for inputting characters by hand by bringing a pen tip into contact with the input tablet. In a handwritten character recognition device comprising an input pen and a recognition processing unit that captures each stroke of an input character from the character input area of an input tablet and executes character recognition, the recognition processing unit includes a character input area for each character recognition. means for determining the position of a recognized character, means for setting a character input area before the character position as a character input prohibited range, and means for sequentially detecting positions in the character input area that a pen tip contacts when inputting characters. , means for prohibiting the capture of the stroke of the input character when the pen tip enters the character input prohibited range.

この発明によれば、重ね書きされた文字や、文字間へ後
で書き込まれた文字等の取り込みが規制される他、右か
ら左方向への文字入力が禁止されることになるから、帳
票上の表示データは実際の入力データ(認識結果)と完
全に一敗することになる。従ってこの帳票の保存書類と
しての価値が増すばかりでなく、事後この帳票をもって
入力データの確認や照合を行うことができる等、発明目
的を達成した顕著な効果を奏する。
According to this invention, in addition to restricting the incorporation of overwritten characters and characters written later between characters, it also prohibits character input from right to left. The displayed data will be completely different from the actual input data (recognition results). Therefore, not only the value of this form as an archival document increases, but also the input data can be confirmed and collated using this form after the fact, which has a remarkable effect of achieving the purpose of the invention.

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

図示例の手書き文字認識装置lは、入力タブレット2と
認識処理部3とから成るもので、これらの各構成はコー
ド線にてホスト側の装置4に電気接続されている。ここ
でホスト側装置4とは、例えば銀行用専用端末機に手書
き文字認識装置lを接続する場合に、前記専用端末機、
すなわち「直近上位」を指しており、図示例のホスト側
装置4の場合、CRT (Cathode Ray T
ube) 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-side device 4 via a cord line. Here, the host side device 4 refers to, for example, when connecting the handwritten character recognition device l to a dedicated bank terminal, the dedicated terminal,
In other words, it refers to the "immediately higher level", and in the case of the host-side device 4 in the illustrated example, it refers to the CRT (Cathode Ray T
A host computer body 7 is equipped with a printer 8 and a floppy disk device 9.
It consists of connecting

前記認識処理部3は、CP U (CentralPr
ocessing Unit)の他、RA M (Ra
ndom AccessMemory) 、ROM (
Read 0n1y Memory)等のメモリを含む
コンピュータ回路をもって構成され、この認識処理部3
にて、手書き文字の入力処理、辞書照合を含む一連の文
字認識処理、更には認識結果の出力処理がそれぞれ制御
される。
The recognition processing unit 3 includes a CPU (CentralPr
In addition to RAM (Ra
ndom AccessMemory), ROM (
This recognition processing unit 3 is configured with a computer circuit including a memory such as
, the input processing of handwritten characters, a series of character recognition processing including dictionary matching, and further the output processing of recognition results are controlled.

前記入力タブレット2は、タブレット面に文字入力エリ
アlO、タッチキーエリア11およびエラーランプ12
が設けてあり、前記各エリア10゜11は専用の入力ペ
ン13のペン先の接触が感知可能に形成されている。タ
ッチキーエリア11は、入力ペン13のペン先で選択操
作され、各種コマンド等をキー入力するための複数のフ
ァンクションキーが配列しである。文字入力エリア10
は、入力ペン13のペン先をタブレット面上の帳票表面
に接触させ且つ移動させて、所望の文字を手書き入力す
るためのもので、前記タブレット面の内側に、文字入力
エリア10に対応してマトリクス回路より成る座標検出
回路を組み込み、これにより文字入力エリア10に接触
位置するペン先のX座標およびY座標を検出する。
The input tablet 2 has a character input area lO, a touch key area 11, and an error lamp 12 on the tablet surface.
Each of the areas 10 and 11 is formed so as to be able to sense the touch of the pen tip of a dedicated input pen 13. The touch key area 11 is arranged with a plurality of function keys that are selectively operated with the tip of the input pen 13 and are used to input various commands. Character input area 10
is for inputting desired characters by hand by bringing the pen tip of the input pen 13 into contact with the form surface on the tablet surface and moving it. A coordinate detection circuit consisting of a matrix circuit is incorporated, thereby detecting the X and Y coordinates of the pen tip in contact with the character input area 10.

上記文字入力エリアlOには、横長矩形の文字枠14が
複数段にわたり一連に設定されている。
In the character input area 1O, horizontally long rectangular character frames 14 are set in series over multiple stages.

これら文字枠14の各枠内には、任意個数の文字(此の
実施例では数字)が手書き入力できるようになっており
、同じ文字枠が印刷された帳票をタブレット面上に位置
決めした後、その文字枠内へ入力ペン13を用いて数字
を次々に手書きすると、各数字は順次文字認識され、そ
の認識文字コードと、その文字の文字入力エリア10に
おける位置座標とが一対でホスト側装置4へ出力される
。この場合、前記認識処理部3は、手書き入力文字の構
成ストロークをストローク入力がある毎に認識処理し、
各ストローク入力の相互位置関係をチェックして、その
入力文字が複数ストロークで構成される数字か否かを判
別した後、その判別結果に応じて文字の切り出しを行う
In each of these character frames 14, an arbitrary number of characters (numbers in this embodiment) can be input by hand, and after positioning a form with the same character frame printed on the tablet surface, When numbers are handwritten one after another into the character frame using the input pen 13, each number is sequentially recognized as a character, and the recognized character code and the position coordinates of the character in the character input area 10 are paired with the host device 4. Output to. In this case, the recognition processing unit 3 recognizes the constituent strokes of the handwritten input character every time there is a stroke input,
After checking the mutual positional relationship of each stroke input and determining whether the input character is a number made up of multiple strokes, the character is cut out according to the determination result.

第5図(a)〜(dlは、複数ストロークで構成される
文字「4」の切り出し例を示し、1ストローク目と2ス
トローク目とが所定の位置関係を有する第5図(al 
(b)の場合は、文字「4」と認識されて切り出される
が、1ストローク目と2ストローク目とが所定の位置関
係を有しない第5図((り (d)の場合は、入力エラ
ーとして取り扱われる。なお第5図(b)では、1スト
ローク目の時点でまず「1」と認識された後、2ストロ
ーク目の時点で「4」と認識が変更される。また第5図
(C1では、1ストローク目はエラー扱いされるが、2
ストローク目は文字rlJと認識されて処理される。
FIGS. 5(a) to (dl) show examples of cutting out the character "4" composed of multiple strokes, and the first stroke and second stroke have a predetermined positional relationship.
In the case of (b), the character "4" is recognized and cut out, but in the case of (d), the first stroke and the second stroke do not have the prescribed positional relationship, an input error occurs. In FIG. 5(b), it is first recognized as "1" at the time of the first stroke, and then the recognition is changed to "4" at the time of the second stroke. In C1, the first stroke is treated as an error, but the second stroke
The stroke number is recognized as the character rlJ and processed.

前記入力ペン13は、入力タブレット2上にペン先が触
れ且つ所定筆圧が加わったとき、例えばペン先部に磁力
線が発生する構造となっており、従って入力タブレット
2においてこの磁力線の移動軌跡を検出することによっ
て、着筆から離筆に至る入力文字の各ストロークをデー
タとして得るものである。
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 each stroke of the input character, from writing to writing, each stroke of the input character is obtained as data.

第3図は、前記認識処理部3におけるメモリの内容を示
し、図中プログラムエリア15には、文字認識処理用の
一連のプログラムが格納される。
FIG. 3 shows the contents of the memory in the recognition processing section 3, and a program area 15 in the figure stores a series of programs for character recognition processing.

ワークエリア16は、文字枠番号記憶エリア17、座標
カウンタ18、座標記憶エリア19、サブストロークカ
ウンタ20、方向コード記憶エリア21、ストロークコ
ード記憶エリア22、座標カウンタ退避エリア23、ス
トロークコード退避エリア24等を有し、文字枠番号記
憶エリア17には文字入力にかかる文字枠の番号が、座
標カウンタ18には入力タブレット2上を入力ペン13
が通過した座標点の個数が、座標記憶エリアエ9には入
力タブレット2上を移動する入力ペン13の各ペン位置
座標が、サブストロークカウンタ20には文字ストロー
クが含む8方向コード(第4図に示す)の個数が、方向
コード記憶エリア21には文字ストロークを構成する各
サブストローク(後述する)の8方向コードが、ストロ
ークコード記憶エリア22にはストローク入力の種別を
特定するコードが、座標カウンタ退避エリア23やスト
ロークコード退避エリア24には所定段階における座標
カウンタ18およびストロークコード記憶エリア22の
各内容がそれぞれセットされる。
The work area 16 includes a character frame number storage area 17, a coordinate counter 18, a coordinate storage area 19, a sub-stroke counter 20, a direction code storage area 21, a stroke code storage area 22, a coordinate counter save area 23, a stroke code save area 24, etc. The character frame number storage area 17 contains the number of the character frame for inputting characters, and the coordinate counter 18 stores the number of the character frame used for inputting characters.
The number of coordinate points passed through is stored in the coordinate storage area 9, the coordinates of each pen position of the input pen 13 moving on the input tablet 2 are stored, and the substroke counter 20 stores the 8-direction code (see FIG. The direction code storage area 21 contains an 8-direction code for each sub-stroke (described later) that makes up a character stroke, and the stroke code storage area 22 contains a code specifying the type of stroke input. The contents of the coordinate counter 18 and the stroke code storage area 22 at a predetermined stage are set in the save area 23 and the stroke code save area 24, respectively.

また文字枠記憶エリア25には、前記文字入力エリア1
0における各段の文字枠位置を規定するデータ、すなわ
ち第6図に示す各文字枠14の左右隅部位置s、、sz
、°・・・・・・およびTt 、 Tt、・・・・・・
の座標が格納され、さらに禁止範囲記憶エリア26には
、この発明の特徴をなす文字入力禁止範囲を規定するデ
ータ(詳細は後述する)が格納される。
In addition, the character input area 1 is stored in the character frame storage area 25.
Data defining the character frame position of each column in 0, that is, the left and right corner positions s, sz of each character frame 14 shown in FIG.
, °...and Tt, Tt,...
Further, the prohibited range storage area 26 stores data (details will be described later) defining a character input prohibited range, which is a feature of the present invention.

またストローク認識用辞書エリア27には、数字を構成
する各ストロークについての照合用標準データや1スト
ロークより成る数字(例えば「2」)についての照合用
標準データが格納され、さらに数字認識用辞書エリア2
8には、複数ストロークより成る数字(例えば「4」)
についての照合用標準データが格納される。
In addition, the stroke recognition dictionary area 27 stores standard collation data for each stroke that makes up a number and standard data for collation for a number that consists of one stroke (for example, "2"). 2
8 is a number consisting of multiple strokes (e.g. "4")
Standard data for verification is stored.

第1図は、前記認識処理部3の制御動作をしめし、まず
ステップ31で認識処理部3が初期設定される。つぎの
ステップ32は、入力タブレット2の夕・ノチキーエリ
ア11からコマンド入力があったか否かを判定しており
、今、タブレット入力を要求するキーが押されたとき、
ステップ32の「コマンド入力有か?」の判定および、
ステップ33の「入力開始コマンドか?」の判定が共に
“YES”となって、ステップ34へ進み、メモリのワ
ークエリア16および禁止範囲記憶エリア26の各内容
がクリアされる。もし他のコマンド入カキ−が押された
ときは、ステップ33が“No”となってステップ35
へ進み、そのコマンドコードがホスト側装置4へ送信さ
れる。
FIG. 1 shows the control operation of the recognition processing section 3. First, in step 31, the recognition processing section 3 is initialized. In the next step 32, it is determined whether or not there is a command input from the evening/nochi key area 11 of the input tablet 2, and now when a key requesting tablet input is pressed,
Determination of “Is there a command input?” in step 32, and
The determination of "Is this an input start command?" in step 33 is both "YES", and the process proceeds to step 34, where the contents of the work area 16 and prohibited range storage area 26 of the memory are cleared. If another command input key is pressed, step 33 becomes "No" and step 35
The command code is sent to the host device 4.

かくて入力タブレット2の文字入力エリアIOに帳票を
介して入力ペン13が接触して所定筆圧が加わると、ス
テップ36の「コマンド入力有か?」の判定が“No″
、ステップ37の「着筆か?」の判定が“YES″とな
り、つぎのステップ3Bにおいて第7図に示すストロー
ク入力処理用のサブルーチンが呼び出される。
In this way, when the input pen 13 contacts the character input area IO of the input tablet 2 via the form and a predetermined writing pressure is applied, the determination of "Is there a command input?" in step 36 is "No".
, the determination in step 37 "Is it written?" becomes "YES", and in the next step 3B, the subroutine for stroke input processing shown in FIG. 7 is called.

まず第7図のステップ70において、前記ステップ37
の着筆点の座標が入力タブレット2内の座標検出回路に
より検出され、しかる後、その座標がいずれの文字枠1
4内に含まれるかが文字枠範囲記憶エリア25内のデー
タを参照して算出されると共に、その算出結果(文字枠
番号)がワークエリア16内の文字枠番号記憶エリア1
7に格納される。そしてこの文字枠番号が算出されると
、つぎのステップ71の「文字枠存在するか?」の判定
は“YES”となり、つぎのステップ72で座標カウン
タ18の内容が1加算されると共に、ステップ73でペ
ン位置座標(この場合着筆点の座標)が座標カウンタ1
8の内容に対応する座標記憶エリア19の番地に格納さ
れる。
First, in step 70 of FIG.
The coordinates of the writing point are detected by the coordinate detection circuit in the input tablet 2, and then the coordinates are set in any character frame 1.
4 is calculated by referring to the data in the character frame range storage area 25, and the calculation result (character frame number) is stored in the character frame number storage area 1 in the work area 16.
7 is stored. When this character frame number is calculated, the next step 71 determines "Does a character frame exist?" becomes "YES", and the content of the coordinate counter 18 is incremented by 1 in the next step 72, and the step 73, the pen position coordinates (in this case, the coordinates of the writing point) are the coordinate counter 1.
8 is stored at an address in the coordinate storage area 19 corresponding to the contents of 8.

一方前記ステップ70の文字枠番号算出演算において、
該当文字枠が存在しなかったとき(例えばペン位置座標
が文字枠外のとき)、ステップ71の判定力びNO”と
なり、ステップ83でエラー音が発生し、またステップ
84で入力タブレット2上のエラーランプ12が点灯す
る。
On the other hand, in the character frame number calculation operation in step 70,
When the corresponding character frame does not exist (for example, when the pen position coordinates are outside the character frame), the judgment in step 71 is "NO", an error sound is generated in step 83, and an error on the input tablet 2 is detected in step 84. Lamp 12 lights up.

つぎにペン先が移動して同一文字枠14内に文字ストロ
ークが画かれると、ステップ74の「蛇篭か?」の判定
が′″NO”、ステップ81へ進んで「該当する文字枠
内か?」の判定が“YES”となって、ステップ82へ
進む。このステップ82では、ペン先の移動先が文字入
力禁止範囲内であるか否かを判定しており、この段階で
は文字入力禁止範囲の設定は行われていないから、ステ
ップ82の判定は“NO”となり、前記同様、座標カウ
ンタ18が加算され、且つペン位置座標が記憶される(
ステップ72.73)。
Next, when the pen tip moves and a character stroke is drawn within the same character frame 14, the determination of ``Is it a gabion?'' in step 74 is ``NO'', and the process proceeds to step 81, which asks ``Is it within the corresponding character frame?'' ” becomes “YES” and the process proceeds to step 82. In this step 82, it is determined whether the destination of the pen tip is within the character input prohibited range, and since the character input prohibited range has not been set at this stage, the determination in step 82 is "NO". ”, and as before, the coordinate counter 18 is incremented and the pen position coordinates are stored (
Steps 72.73).

この処理動作は、ペン先位置が座標点を通過する毎に繰
り返し実行され、1ストロークの入力完了によりペン先
が入力タブレット2から離れた時点でステップ74の判
定がYES’となり、ステップ75へ進む。
This processing operation is repeatedly executed every time the pen tip position passes a coordinate point, and when the pen tip leaves the input tablet 2 upon completion of inputting one stroke, the determination in step 74 becomes YES', and the process proceeds to step 75. .

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

第8図(1)(2)は、文字r2J  r5Jについて
のサブストローク分割例を示すものであり、図中、黒点
86は着筆点、黒点87は蛇篭点、白点88は変化点、
直線89はサブストロークをそれぞれ示す。
FIGS. 8(1) and 8(2) show examples of substroke division for characters r2J r5J. In the figures, black dots 86 are writing points, black dots 87 are gabion points, white dots 88 are change points,
Straight lines 89 each indicate a substroke.

上記の各サブストロークは、その方向に応じて第4図中
、数字1〜8で示す方向コードに変換されるもので、ス
テップ76で文字ストロークを構成するサブストローク
の数がサブストロークカウンタ20にセットされ、続く
ステップ77で各サブストロークの方向コードがサブス
トロークカウンタ20の内容に対応する方向コード記憶
エリア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 address of the direction code storage area 21 corresponding to the contents of the substroke counter 20.

第9図は、文字「5」の1ストローク目についての方向
コード変換例を示し、図中、■■■■■■■■は各サブ
ストロークの方向コードを示す。
FIG. 9 shows an example of direction code conversion for the first stroke of the character "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.

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

つぎに上記ストローク入力は、ステップ78においてス
トローク認識用辞書エリア27の内容と照合され、スト
ローク入力の方向コード列と一致する方向コード列をも
つ標準データが存在するか否かがチェックされる。そし
て一致するデータが存在するとき、ステップ79の「一
致か?」の判定が“YES”となり、ステップ80で、
その標準データにかかる文字ストロークを特定するコー
ド(以下、「ストロークコード」という)をストローク
コード記憶エリア22にセットして、メインルーチンへ
戻る。一方辞書エリア27に一致する標準データが存在
しないとき、ステップ79が“NO”となり、この場合
は入力エラーとして同様にメインルーチンへ戻ル。
Next, the stroke input is compared with the contents of the stroke recognition dictionary area 27 in step 78, and it is checked whether there is standard data having a direction code string that matches the direction code string of the stroke input. Then, when matching data exists, the determination of "Does it match?" in step 79 becomes "YES", and in step 80,
A code that specifies the character stroke related to the standard data (hereinafter referred to as "stroke code") is set in the stroke code storage area 22, and the process returns to the main routine. On the other hand, if there is no matching standard data in the dictionary area 27, the answer in step 79 is "NO", and in this case, the process returns to the main routine as an input error.

なお文字ストロークを画く過程でペン先が文字枠14外
へとび出た場合、前記のステップ81の判定が“No”
となり、ステップ83でエラー音が発生すると共に、ス
テップ84で入力タブレット2上のエラーランプ12が
点灯するもので、この場合入力タブレット2からのペン
先の乱筆によって、つぎのステップ85がYES”とな
り、入力エラーとしてメインルーチンへ戻る。
Note that if the pen tip protrudes outside the character frame 14 during the process of drawing a character stroke, the determination in step 81 above is "No".
In step 83, an error sound is generated, and in step 84, the error lamp 12 on the input tablet 2 lights up.In this case, due to the incorrect writing of the pen tip from the input tablet 2, the next step 85 becomes ``YES''. , returns to the main routine as an input error.

かくて前記ステップ79.85より入力エラーとしてリ
ターンした場合は、第1図のステップ39が“YES”
となり、ステップ40,41でエラー音の発生およびエ
ラーランプ12の点灯があり、更にステップ42で座標
カウンタ退避エリア23の値(この場合、初期値でゼロ
)が座標カウンタ18にセントされる。
Thus, if the step 79.85 returns as an input error, step 39 in FIG. 1 returns "YES".
Then, in steps 40 and 41, an error sound is generated and the error lamp 12 is turned on, and further, in step 42, the value of the coordinate counter save area 23 (in this case, the initial value is zero) is entered in the coordinate counter 18.

これに対し入力完了によりメインルーチンへリターンし
た場合は、ステップ39の判定は“NO”であり、つぎ
にステップ43へ進んで、ストロークコード退避エリア
24の内容がゼロか否かがチェックされる。この場合、
この退避エリア24は初期状態でゼロであるから、ステ
ップ43は“YES”となる。つぎにステップ44は、
前記照合一致にかかるストローク入力が対をなすストロ
ークであるか否か、すなわちこのストローク入力が複数
ストロークで構成される数字r4J  r5J「7」の
文字ストロークであるか否かを判定する。
On the other hand, when the input is completed and the process returns to the main routine, the determination in step 39 is "NO", and the process then proceeds to step 43, where it is checked whether the contents of the stroke code save area 24 are zero. in this case,
Since this save area 24 is initially zero, step 43 becomes "YES". Next, step 44 is
It is determined whether the stroke input related to the verification match is a pair of strokes, that is, whether this stroke input is a character stroke of the number r4J r5J "7" composed of a plurality of strokes.

そしてステップ44の判定が“NO”のとき、すなわち
このストローク入力は1ストロークで構成される数字r
OJ  r2J  r3J  r6J  r8J  r
9J(但し「1」を除く)の文字ストロークであると判
断されたとき、ステップ45でその文字が位置する文字
入力エリア10の座標(この実施例では着筆点の座標)
と、その文字のストロークコードとが一対でホスト側装
置4へ送信された後、つぎのステップ46で文字入力禁
止範囲の設定処理が実行される。
When the determination in step 44 is "NO", that is, this stroke input is a number r made up of one stroke.
OJ r2J r3J r6J r8J r
When it is determined that the character stroke is 9J (excluding "1"), the coordinates of the character input area 10 where the character is located (in this embodiment, the coordinates of the writing point) are determined in step 45.
After this and the stroke code of the character are sent as a pair to the host device 4, in the next step 46, a character input prohibited range setting process is executed.

第11図(1)はこの実施例における文字入力禁止範囲
の設定例を示す。同図において、今仮に文字枠14内へ
最初の文字「1」が記入された段階を想定すると、まず
座標記憶エリア19に格納済の文字「1」を形成する座
標点のデータのうち、X座標値が最大となる座標点が検
索され、ついで前記のX座標値が文字入力禁止範囲を規
定するデータとして禁止範囲記憶エリア26へ文字枠毎
に格納される。図中、g、はX座標値が最大となる座標
点を、またGは文字入力禁止範囲を、それぞれ示してお
り、例えばつぎの文字「3」のストロークが禁止範囲G
外に画かれたときは、その文字ストロークは取り込まれ
て文字認識されるが、文字「3」のストロ−フカ°(、
図中破線で示す如く、文字入力禁止範囲Gに侵入したと
きは、その文字ストロークの取込みが禁止されて文字認
識は実行されない。この文字ストロークの禁止範囲Gへ
の侵入有無は、前記第7図のステップ82において、ペ
ン位置座標と禁止範囲記憶エリア26に格納済のX座標
最大値との大小を比較することによりチェックされるも
ので、ステップ82の判定が“YES″のときは、ステ
ップ83以下のエラー処理へ進むことになる。
FIG. 11(1) shows an example of setting the character input prohibited range in this embodiment. In the figure, assuming that the first character "1" has been written in the character frame 14, first, among the data of the coordinate points forming the character "1" stored in the coordinate storage area 19, The coordinate point with the maximum coordinate value is searched, and then the X coordinate value is stored for each character frame in the prohibited range storage area 26 as data defining the character input prohibited range. In the figure, g indicates the coordinate point where the X coordinate value is maximum, and G indicates the prohibited range for character input. For example, the stroke of the next character "3" is within the prohibited range G.
When drawn outside, the character stroke is captured and recognized, but the stroke of the character "3" (,
As shown by the broken line in the figure, when the character enters the prohibited character input range G, the capture of the character stroke is prohibited and character recognition is not performed. Whether or not this character stroke enters the prohibited range G is checked in step 82 of FIG. 7 by comparing the pen position coordinates with the maximum value of the X coordinate stored in the prohibited range storage area 26. If the determination at step 82 is "YES", the process proceeds to step 83 and subsequent error processing.

第11図(2)は、文字入力禁止範囲の他の設定方式を
示す。この方式は、着筆点g2のX座標値を文字入力禁
止範囲Gを規定するデータとして用いると共に、つぎの
文字ストロークの着筆点g、が文字入力禁止範囲Gに含
まれるか否かによってその文字ストロークを取り込むか
否かを決するものである。従って同図に示す2番目の文
字「3」の場合、その文字ストロークの一部が禁止範囲
Gに含まれているが、着筆点g3は禁止範囲G外にある
から、この文字ストロークは取り込まれて認識されるこ
とになる。
FIG. 11(2) shows another method for setting the character input prohibited range. This method uses the X coordinate value of the writing point g2 as data that defines the character input prohibited range G, and also determines whether or not the next character stroke writing point g is included in the character input prohibited range G. This determines whether or not to import character strokes. Therefore, in the case of the second character "3" shown in the figure, part of the character stroke is included in the prohibited range G, but since the writing point g3 is outside the prohibited range G, this character stroke is not included. It will be recognized as such.

上記文字入力禁止範囲の設定処理が完了すると、つぎの
ステップ46.47で座標カウンタ18および両退避エ
リア23.24の内容をクリアして、つぎのストローク
入力に待機する(ステップ37)。
When the character input prohibited range setting process is completed, the contents of the coordinate counter 18 and both retreat areas 23 and 24 are cleared in the next step 46 and 47, and the process waits for the next stroke input (step 37).

一方ストローク入力が複数ストロークで構成される数字
r4J  r5J  r7Jの文字ストロークであるよ
うな場合は、ステップ44の判定が“YES”となって
ステップ49へ進み、その文字ストロークが例えば数字
「1」の如く、それ自体、文字を構成するか否かがチェ
ックされる。もしステップ49の判定力< ” YES
”のとき、ステップ50でそのストロークの着筆点の座
標と、そのストロークコードとが一対でホスト側装置4
へ送信され、つぎのステップ51で座標カウンタ18の
値を一方の退避エリア23に、ストロークコード記憶エ
リア22の内容をストロークコード退避エリア24にそ
れぞれセットして、っぎのストローク入力に待機する(
ステップ37)。
On the other hand, if the stroke input is a character stroke of the number r4J r5J r7J composed of multiple strokes, the determination in step 44 is "YES" and the process proceeds to step 49, where the character stroke is, for example, the number "1". , it is checked whether or not it itself constitutes a character. If the judgment power of step 49 is <” YES
”, in step 50, the coordinates of the writing point of the stroke and the stroke code are stored in the host device 4 as a pair.
In the next step 51, the value of the coordinate counter 18 is set in one of the save areas 23, the contents of the stroke code storage area 22 are set in the stroke code save area 24, and the next stroke input is waited (
Step 37).

これに対し文字ストロークがそれ自体、文字を構成しな
いときは、ステップ49は“NO”であり、ステップ5
2で座標カウンタ18の値を一方の退避エリア23に、
ストロークコード記憶エリア22の内容を他方の退避エ
リア24にそれぞれセントして、つぎのストローク入力
に待機する(ステップ53)。そしてつぎのストローク
入力があれば、ステップ53が“YES”となってステ
ップ38でストローク入力処理が実行され、一方所定時
間内にストローク入力がなければ、ステップ52が“N
O″、ステップ54の「タイムオーバか?」の判定が“
YES”となり、ステップ40以下のエラー処理へ移行
する。
On the other hand, if the character stroke itself does not constitute a character, step 49 is "NO" and step 5
2, the value of the coordinate counter 18 is transferred to one evacuation area 23,
The contents of the stroke code storage area 22 are stored in the other save area 24, and the process waits for the next stroke input (step 53). If there is the next stroke input, step 53 becomes "YES" and the stroke input process is executed in step 38. On the other hand, if there is no stroke input within the predetermined time, step 52 becomes "N".
O", the determination of "Is it time over?" in step 54 is "
YES”, and the process moves to the error processing from step 40 onwards.

合板りに数字「4」を手書き入力する場合にあって、第
5図(a)に示す1ストローク目の入力完了時点を規定
すると、この1ストローク目のストロークの入力はそれ
自体が文字を構成していない。従って前記のステップ4
9の判定は“NO”であり、各退避エリア23.24に
このストローク入力についての座標カウンタ18の内容
およびストロークコード記憶エリア22の内容がセント
される(ステップ52)。そして引き続き文字「4」の
2ストローク目の文字ストロークが手書き入力されると
、ステップ53が“YHS”となり、ステップ38で前
記と同様、第7図のサブルーチンによるストローク入力
処理が実行されるもので、この場合、メインルーチンに
戻ってステップ39が“NO″、ステップ43がNo″
となってステップ55へ進む。このステップ55は、ス
トローク入力が対をなすストロークであるか否かを判定
するものであり、この場合、ステップ55の判定は“Y
ES”であり、ステップ56へ進む。ステップ56では
、1ストローク目および2ストローク目の両ストローク
入力の組合わせにつき数字認識用辞書エリア28の内容
との照合が行われ、同じストロークコードをもつ標準デ
ータが存在するか否かがチェックされる。そして一致デ
ータが存在するとき、ステップ57の「照合一致か?」
の判定が“YES”となり、つぎのステップ58で対を
なすストロークの相対位置をチェックするサブルーチン
(図示せず)が呼び出される。
When inputting the number "4" by hand on plywood, if we define the point at which the input of the first stroke is completed as shown in Fig. 5(a), the input of the first stroke itself constitutes a character. I haven't. Therefore step 4 above
9 is "NO", and the contents of the coordinate counter 18 and the contents of the stroke code storage area 22 for this stroke input are stored in each retreat area 23, 24 (step 52). Then, when the second stroke of the character "4" is input by hand, step 53 becomes "YHS", and step 38 executes the stroke input process according to the subroutine shown in FIG. 7, as described above. , in this case, return to the main routine, step 39 is "NO", step 43 is "No"
The process then proceeds to step 55. This step 55 is for determining whether or not the stroke input is a pair of strokes. In this case, the determination at step 55 is "Y".
ES", and the process proceeds to step 56. In step 56, the combination of both stroke inputs of the first stroke and the second stroke is compared with the contents of the number recognition dictionary area 28, and the standard with the same stroke code is checked. It is checked whether the data exists or not. If matching data exists, check "Verification match?" in step 57.
The determination is "YES", and in the next step 58, a subroutine (not shown) is called to check the relative positions of the paired strokes.

このサブルーチンでは、対をなす前記ストローク入力が
文字r4J  r5J  r7Jのいずれの構成ストロ
ークであるか否かをチェックし、ついで各ストローク入
力の相互位置関係が所定の条件に合致するか否かをチェ
ックするものである。
In this subroutine, it is checked whether the paired stroke inputs are constituent strokes of the characters r4J r5J r7J, and then it is checked whether the mutual positional relationship of each stroke input matches a predetermined condition. It is something.

第12図は、文字「4」の構成ストロークについての着
筆点a、c、蛇篭点す、dおよび、変化点eの各座標位
置を示しており、例えば、点Cのy座標値ycが点e、
bのy座標値の平均値(y、 +3’b )/2より大
きいか否か、点dのy座標値y4が点e、bのy座標値
の平均値(y。
FIG. 12 shows the coordinate positions of writing points a, c, gabion points S, d, and change point e for the constituent strokes of the character "4". For example, the y-coordinate value yc of point C is Point e,
Whether the y-coordinate value y4 of point d is greater than the average value (y, +3'b)/2 of the y-coordinate values of point b is the average value of the y-coordinate values of points e and b (y.

”)’c ) /2より小さいか否か、点eのX座標値
x0が点c、dのX座標値の平均値(X+:+Xd)/
2より小さいか否か、点すのX座標値xbが点c、  
dのX座標値の平均値(Xc+Xd)/2より大きいか
否か等の各条件をそれぞれチェックする。そしていずれ
の条件も満足するとき、対をなす各ストローク入力は文
字「4」の構成ストロークであると判断されてメインル
ーチンへ戻り、一方いずれか条件を満たさないとき、対
をなす各ストローク入力は文字「4」の構成ストローク
でないと判断されてメインルーチンへ戻る。
”)'c) Whether or not the X coordinate value x0 of point e is smaller than /2, the average value of the X coordinate values of points c and d (X+: +Xd)/
Whether the X coordinate value xb of point C is smaller than 2,
Each condition, such as whether the average value of the X coordinate value of d is larger than (Xc+Xd)/2, is checked. When either condition is satisfied, each stroke input in the pair is determined to be a constituent stroke of the character "4" and the process returns to the main routine; on the other hand, if any condition is not satisfied, each stroke input in the pair is It is determined that the stroke is not a constituent stroke of the character "4" and the process returns to the main routine.

文字r5J  r7Jについても独自の条件が設定して
あり、上記と同様の条件チェックが実施される。
Unique conditions are also set for the characters r5J and r7J, and the same condition check as above is performed.

かくして文字「4」 「5」 「7」のいずれか構成ス
トロークと判断されたときは、ステップ58の「相互位
置関係の条件合致か?」の判定は“YES“となり、ス
テップ59でその文字が位置する文字入力エリア10の
座標(この実施例では、1ストローク目の着筆点の座標
)とその文字ストロークコードとが一対でホスト側装置
4へ送信される。しかる後ステップ46で前記した方法
で文字入力禁止範囲の設定を行った後、ステップ46゜
47で座標カウンタ17や各退避エリア22.23の内
容がクリアして、つぎの文字入力に待機する(ステップ
 37)。
In this way, when it is determined that the stroke is one of the constituent strokes of the characters "4", "5", and "7", the determination of "Does the mutual positional relationship condition match?" in step 58 is "YES", and in step 59, the character is The coordinates of the located character input area 10 (in this embodiment, the coordinates of the writing point of the first stroke) and the character stroke code are transmitted as a pair to the host device 4. After that, in step 46, the character input prohibited range is set using the method described above, and in steps 46 and 47, the contents of the coordinate counter 17 and each save area 22, 23 are cleared, and the process waits for the next character input ( Step 37).

これに対し前記ステップ57、或いはステップ58の判
定が1NO″のとき、ステップ60へ移行し、1ストロ
ーク目のストローク入力がそれ自体、文字を構成するか
否かがチェックされる。そしてその判定が“YES”の
ときは、ステップ45へ戻り、2ストローク目の着筆点
の座標およびそのストロークコードがホスト側へ送信さ
れる。もしステップ60の判定が“NO”のときは、ス
テップ40へ戻り、そのストロークはエラーであるとし
て処理される。
On the other hand, when the determination in step 57 or step 58 is 1NO'', the process moves to step 60, where it is checked whether the first stroke input itself constitutes a character. If "YES", the process returns to step 45, and the coordinates of the writing point of the second stroke and its stroke code are sent to the host side.If the determination in step 60 is "NO", the process returns to step 40. , the stroke is treated as an error.

第13図はホスト側装置4におけるメモリの内容を示し
ている。図中、プログラムエリア120には、手書き文
字認識装置1から送られてくるコマンドや文字認識デー
タを受信処理するプログラムの他、システム処理に関連
する一連のプログラムが格納され、また帳票フォーマッ
ト情報記載エリア121には、前記入力タブレット2上
に設置される帳票のフォーマット(文字枠の個数や文字
枠の位置座標等)が格納される。
FIG. 13 shows the contents of the memory in the host device 4. In the figure, a program area 120 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. 121 stores the format of the form placed on the input tablet 2 (the number of character frames, position coordinates of the character frames, etc.).

ワークエリア122は、受信文字数記憶エリア123、
受信文字記憶エリア124、文字枠番号記憶エリア12
5、受信座標値退避エリア126等を有し、受信文字数
記憶エリア123には1文字枠についての受信した文字
数が、受信文字記憶エリア124には手書き文字認識装
置1より送られてきた認識文字コードやその座標情報が
、文字枠番号記憶エリア125には受信文字にかかる文
字枠の番号が、受信座標値退避エリア126には所定9
段階における受信文字記憶エリア124にセット済の座
標情報がそれぞれセットされる。
The work area 122 includes a received character number storage area 123,
Received character storage area 124, character frame number storage area 12
5. It has a received coordinate value save area 126, etc., the number of received characters storage area 123 stores the number of characters received for one character frame, and the received character storage area 124 stores the recognized character code sent from the handwritten character recognition device 1. The character frame number storage area 125 contains the number of the character frame surrounding the received character, and the received coordinate value save area 126 contains the predetermined number 9.
The coordinate information that has already been set is set in the received character storage area 124 at each step.

更にホスト側装置4は、受信情報を文字枠毎に記憶させ
るエリアを有しており、その各エリアには最大桁数記憶
エリア127、文字カウンタ128および文字記憶エリ
ア129が設けられている。
Furthermore, the host device 4 has an area for storing received information for each character frame, and each area is provided with a maximum number of digits storage area 127, a character counter 128, and a character storage area 129.

最大桁数記憶エリア127は記憶する数字の最大桁数が
セットされる。文字カウンタ128は記憶する文字の個
数を計数する。文字記憶エリア129は文字カウンタ1
28の値に対応する番地へ受信文字がつぎつぎに格納さ
れる。
The maximum number of digits to be stored is set in the maximum number of digits storage area 127. Character counter 128 counts the number of characters to be stored. Character storage area 129 is character counter 1
The received characters are stored one after another at the address corresponding to the value of 28.

第14図はホスト側装置4の制御動作を示すもので、ま
ずステップ91で初期化が行われ、上記メモリのワーク
エリア122の内容がクリアされ    =る。つぎに
帳票フォーマット情報記憶エリア121の内容が読み出
されて、CRT5の画面に帳票のフォーマットが表示さ
れた後、端末(手書き文字認識装置1を含む)からの情
報の受信が許可される  (ステップ92.93)。
FIG. 14 shows the control operation of the host device 4. First, initialization is performed in step 91, and the contents of the work area 122 of the memory are cleared. Next, the contents of the form format information storage area 121 are read out and the form format is displayed on the screen of the CRT 5, after which information reception from the terminal (including the handwritten character recognition device 1) is permitted (step 92.93).

この段階で手書き文字認識装置1が認識文字コ−ドとそ
の文字の座標情報とを一対で送信し、これをホスト側袋
W4において受信した場合、ステップ94「受信有か?
」の判定が“YES”、ステップ95の「受信内容はコ
マンドか?」の判定が“NO”となり、その受信情報は
受信文字記憶エリア124に格納され且つ受信文字数「
1」が受信文字数記憶エリア123にセットされると共
に、つぎのステップ96で受信した座標情報に基づき、
その受信情報がいずれの文字枠にかかるものであるかが
検索される。
At this stage, the handwritten character recognition device 1 transmits the recognized character code and the coordinate information of the character as a pair, and if this is received by the host bag W4, step 94 "Received?"
” is determined as “YES”, and the determination as to “Is the received content a command?” in step 95 is “NO”, and the received information is stored in the received character storage area 124 and the number of received characters is “YES”.
1'' is set in the number of received characters storage area 123, and based on the coordinate information received in the next step 96,
A search is made to find out which character frame the received information falls under.

なお前記受信受付状態下でコマンドを受信したとき、ス
テップ95が“YES”となり、ステップ97で端末か
らの受信を禁止した後、つぎのステップ98でそのコマ
ンドに対応する処理が実行される。
Note that when a command is received in the reception acceptance state, step 95 becomes "YES", reception from the terminal is prohibited in step 97, and then the process corresponding to the command is executed in step 98.

つぎにステップ99では、受信文字が最初の文字か否か
をチェックしており、この場合その判定は“YES”で
あるから、ステップ100へ進む。ステップ100では
、前記検索にかかる文字枠の番号が文字枠番号記憶エリ
ア125にセットされ、続くステップ101で該当する
文字枠の文字カウンタ128および文字記憶エリア12
9の内容がクリアされると共に、ステップ102でCR
T5に表示された該当文字枠内の文字表示もクリアされ
る。しかる後受信情報のうち座標情報を受信座標値退避
エリア126へ記憶させ(ステップ103)、ついでC
RT5に表示されている該当文字枠内の先頭位置に受信
した最初の文字を表示する(ステップ104)。更にス
テップ105で前記の文字カウンタ128の内容に1加
算し、つぎのステップ106でこの文字カウンタ128
の値を相対番地として受信文字のコードを文字記憶エリ
ア129に格納し、しかる後前記ステップ94に戻って
つぎの情報の受信に待機する。
Next, in step 99, it is checked whether the received character is the first character, and in this case, since the determination is "YES", the process advances to step 100. In step 100, the number of the character frame to be searched is set in the character frame number storage area 125, and in the subsequent step 101, the character counter 128 and character storage area 12 of the corresponding character frame are set.
The contents of 9 are cleared and the CR is cleared in step 102.
The character display within the corresponding character frame displayed at T5 is also cleared. After that, coordinate information among the received information is stored in the received coordinate value save area 126 (step 103), and then C
The first character received is displayed at the head position within the corresponding character frame displayed on RT5 (step 104). Furthermore, in step 105, 1 is added to the contents of the character counter 128, and in the next step 106, this character counter 128 is
The code of the received character is stored in the character storage area 129 using the value of as a relative address, and then the process returns to step 94 to wait for the next information to be received.

つぎに同じ文字枠に含まれる2番目の文字についての情
報を受信すると、ステップ99の「最初の文字か?」の
判定は、“No”、ステップ107の「同じ文字枠か?
」の判定は“YES”となってステップ108へ進む。
Next, when information about the second character included in the same character frame is received, the determination of "Is it the first character?" in step 99 is "No", and the determination of "Is it the same character frame?" in step 107 is "No".
” is determined as “YES” and the process proceeds to step 108.

ステップ108は、前記文字カウンタ128の内容が最
大桁数記憶エリア127の内容より小さいか否かを判定
するものであり、もしステップ10Bの判定が“YES
”であれば、つぎのステップ109で今受信した文字の
座標情報と受信座標値退避エリア126の記憶内容とが
一致するか否かがチェックされる。すなわちこのステッ
プ109は、最初の受信文字が1番目の受信文字におけ
る1ストローク目に相当するのか否かをチェックするも
のであり、その判定が“No” (両文字は別個の文字
)のとき、ステップ110で2番目の受信文字の座標情
報を退避エリア126にセットしつぎのステップ111
でその受信文字をCRT5に表示した後、前記ステップ
105へ移って文字カウンタ128の加算、続くステッ
プ106で文字記憶エリア129への記憶がそれぞれ行
われる。
In step 108, it is determined whether the content of the character counter 128 is smaller than the content of the maximum number of digits storage area 127, and if the determination in step 10B is "YES".
”, in the next step 109 it is checked whether or not the coordinate information of the character just received matches the stored contents of the reception coordinate value save area 126.In other words, in step 109, it is checked whether the coordinate information of the character just received matches This is to check whether it corresponds to the first stroke of the first received character, and if the determination is "No" (both characters are separate characters), the coordinate information of the second received character is checked in step 110. is set in the evacuation area 126 and the next step 111
After displaying the received characters on the CRT 5, the process moves to step 105 where the character counter 128 is incremented, and then stored in the character storage area 129 at step 106.

一方ステップ109の判定が“YES”(両文字は一体
のもの)のときは、ステップ112で退避エリア126
に記憶させた前回の座標情報をクリアし、ステップ11
3でCRT5に表示中の直前文字(この場合、最初の文
字)を消去し、これに変わってステップ114で今受信
した文字をCRT5に新たに表示した後、前記のステッ
プ106へ移って文字記憶エリア129の記憶内容を書
き換える。
On the other hand, if the determination in step 109 is "YES" (both characters are one), in step 112 the evacuation area 12
Clear the previous coordinate information stored in , and proceed to step 11.
In step 3, the immediately preceding character (in this case, the first character) currently being displayed on the CRT 5 is erased, and in its place, in step 114, the character just received is newly displayed on the CRT 5, and then the process moves to step 106, where the character is memorized. The memory contents of area 129 are rewritten.

上記一連の処理は文字の受信がある毎に繰り返し実行さ
れるもので、これによりCRT5には受信文字がつぎつ
ぎに表示されてゆくと共に、文字カウンタ128が加算
され、また文字記憶エリア129に受信情報が貯えられ
てゆく (ステップ111 105.106)。そして
文字カウンタ128の計数値が最大桁数に達したとき、
ステップ108の判定がNO″となり、この場合は文字
カウンタ128の計数値が最大桁数と一致しくステップ
115が“YES”)且つ受信文字の座標情報と退避エ
リア126に記憶された直前文字の座標情報とが一致(
ステップ116が“YES”)する場合に限り、ステッ
プ112に戻って受信文字の表示が実施される。これに
対しステップ115゜116のいずれか判定が“No”
の場合は、入力オーバとなってステップ117に進み、
CRT5の画面にエラー表示が行われると共にエラー音
が発生し、更につぎのステップ118で文字カウンタ1
28を1加算する。
The above series of processing is repeatedly executed each time a character is received, and as a result, the received characters are displayed one after another on the CRT 5, the character counter 128 is incremented, and the received information is stored in the character storage area 129. are stored (steps 111, 105, and 106). When the count value of the character counter 128 reaches the maximum number of digits,
In this case, the count value of the character counter 128 matches the maximum number of digits and the step 115 is "YES"), and the coordinate information of the received character and the coordinates of the immediately preceding character stored in the save area 126 The information matches (
Only when step 116 is "YES"), the process returns to step 112 and the received characters are displayed. On the other hand, the judgment in either step 115 or 116 is “No”.
In this case, the input is over and the process proceeds to step 117.
An error message is displayed on the screen of the CRT 5, an error sound is generated, and in the next step 118, the character counter 1 is
Add 1 to 28.

かくてひとつ文字枠についての受信処理が終了し、つぎ
の文字枠の文字情報が受信されると、その座標情報から
該当する文字枠が検索される(ステップ96)。この場
合、検索された文字枠の番号と文字枠番号記憶エリア1
25にセット済の文字枠番号とは不一致であるから、ス
テップ107の「同じ文字枠か?」の判定が“No”と
なり、ステップ100で新たな文字枠番号がセットされ
た後、ステップ101以下の処理が実行されるものであ
る。
When the reception process for one character frame is thus completed and the character information of the next character frame is received, the corresponding character frame is searched from the coordinate information (step 96). In this case, the searched character frame number and character frame number storage area 1
Since it does not match the character frame number set in 25, the determination of "Is it the same character frame?" in step 107 is "No", and after a new character frame number is set in step 100, steps 101 and subsequent steps are performed. The following processing is executed.

第15図は、前記第11図(2)に示した第2実施例の
方法で文字入力禁止範囲を設定する場合の認識処理部3
の制御フローを示し、また第16図は第15図のステッ
プ38で呼び出されるサブルーチンのふフローチャート
を示す。
FIG. 15 shows the recognition processing unit 3 when setting a character input prohibited range using the method of the second embodiment shown in FIG. 11 (2).
FIG. 16 shows a flowchart of the subroutine called in step 38 of FIG. 15.

この実施例の場合、ステップ46での文字入力禁止範囲
の設定処理は、座標記憶エリア19に格納済の座標点デ
ータのうち、先頭の座標点(すなわち着筆点)のX座標
値が文字入力禁止範囲を規定するデータとして禁止範囲
記憶エリア26に格納されることになる。またこの方式
の場合、ストローク入力処理のサブルーチン(第16図
)においては、ステップ130で着筆点の座標より文字
枠番号を求め、ステップ131で文字枠存在有無をチェ
ックした後に、ステップ132で着筆点が既設定の文字
入力禁止範囲に含まれるか否かがチェックされることに
なる。さらにこの方式の場合、メインル−チンのステッ
プ60で1ストローク目のストローク入力が、それ自体
文字を構成すると判断されたときは、ステップ61で1
ストローク目のストローク入力の着筆点に基づき、文字
入力禁止範囲の設定処理を行い、しかる後にステップ6
2で2ストローク目の着筆点がステップ61で設定され
た禁止範囲に含まれるか否かがチェックされる。そして
ステップ61の判定が” YES’のときはステップ4
0へ進んでエラー処理が行われ、ステップ61の判定が
“No”のときはステップ45へすすんで2ストローク
目の着筆点の座標およびそのストロークコードがホスト
側へ送信される。
In the case of this embodiment, the character input prohibited range setting process in step 46 is performed when the X coordinate value of the first coordinate point (i.e., writing point) of the coordinate point data stored in the coordinate storage area 19 is used for character input. This will be stored in the prohibited range storage area 26 as data defining the prohibited range. In addition, in the case of this method, in the stroke input processing subroutine (Fig. 16), the character frame number is obtained from the coordinates of the writing point in step 130, the presence or absence of the character frame is checked in step 131, and then the character frame number is checked in step 132. It is checked whether the pen point is included in the preset character input prohibited range. Furthermore, in this method, if it is determined in step 60 of the main routine that the first stroke input itself constitutes a character, then in step 61
Based on the writing point of the stroke input of the stroke, the character input prohibited range is set, and then step 6
In step 2, it is checked whether the writing point of the second stroke is included in the prohibited range set in step 61. If the judgment in step 61 is "YES", proceed to step 4.
0, error processing is performed, and if the determination in step 61 is "No", the process advances to step 45, where the coordinates of the writing point of the second stroke and its stroke code are transmitted to the host side.

なお第15図および第16図における他のステップは、
ここでは対応するステップに同じ符号を付して、その説
明を省略する。
The other steps in FIGS. 15 and 16 are as follows:
Here, corresponding steps are given the same reference numerals and their explanations are omitted.

上記の如くこの発明によれば、例えば第17図(1)に
示す如く、文字枠14内に数字3,1.5を順に記入し
た後に数字間の空白部へ、図中破線で示す数字「2」を
記入しても、この入力文字はその取込みが禁止されるこ
とになる。
As described above, according to the present invention, for example, as shown in FIG. 17(1), after sequentially writing the numbers 3 and 1.5 in the character frame 14, the numbers shown by the broken lines in the figure " Even if ``2'' is entered, importing this input character will be prohibited.

なおこの発明は、1個の文字枠内へ複数の文字を記入す
る上記方式の装置にも適用実施できる。
Note that the present invention can also be applied to an apparatus of the above-mentioned type in which a plurality of characters are written in one character frame.

この方式の場合は、例えば第17図(2)に示す如く、
各文字枠14に対し数字3.1.4を順に記入した後に
、図中破線で示すストロークを付加して、数字「1」を
数字「4」に変更しようとしても、このストロークの取
り込みは禁止されることになる。
In the case of this method, for example, as shown in FIG. 17 (2),
Even if you try to change the number ``1'' to the number ``4'' by adding the stroke indicated by the broken line in the figure after writing the numbers 3, 1, and 4 in order in each character frame 14, the import of this stroke will be prohibited. will be done.

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

第1図はこの発明にかかる手書き文字認識装置の制御動
作を示すフローチャート、第2図は手書き文字認識装置
の全体構成を示す外観図、第3図は手書き文字認識装置
のメモリマツプを示す図、第4図は8方向コードを説明
するための図、第5図は複数ストロークで構成される文
字の切出し例を示す図、第6図は文字枠規定データを与
える点を示す図、第7図はストローク入力処理のサブル
ーチンを示すフローチャート、第8図(1) (21は
文字r2J  r5Jについてのサブストローク分割例
を示す図、第9図は文字「5」の1ストローク目の方向
コード変換例を示す図、第10図は丸め処理後の文字「
5」の方向コード列を示す図、第11図は禁止範囲設定
方法を説明するための図、第12図は文字「4」におけ
る構成ストローク上の点の各座標位置を示す図、第13
図はホスト側装置のメモリマツプを示す図、第14図は
ホスト側装置の制御動作を示すフローチャート、第15
図は他の実施例にかかる手書き文字認識装置の制御動作
を示すフローチャート、第16図は第15図の実施例に
ついてのストローク入力処理のサブルーチンを示すフロ
ーチャート、第17図はストローク入力の取込み禁止例
を説明するための図である。 1・・・・・・手書き文字認識装置 2・・・・・・入力タブレット 3・・・・・・認識処理部 10・・・・・・文字入力エリア 13・・・・・・入力ペン 14・・・・・・文字枠 特 許 出 願 人  日本通信建設株式会社特許出 
願人 立石電機株式会社 →2Z /37.李↓支字1.C!有5A九L     2.、
、入力、ア、7□s、 、  前二tkJIJLti専
p/θ 、、”4人fiJc97t3...入力へ・ノ
     L、、土客jや表示″rロ ーA、5フ t7JZトO−り分宝゛1イti *ホオ図恍//図 背止:ht圀ILL力艷、it州図 (13(2〕 一!+lq図
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, Figure 5 is a diagram showing an example of cutting out a character composed of multiple strokes, Figure 6 is a diagram showing points for providing character frame regulation data, and Figure 7 is a diagram showing an example of cutting out a character composed of multiple strokes. Flowchart showing the subroutine of stroke input processing, Fig. 8 (1) (21 is a diagram showing an example of substroke division for characters r2J r5J, Fig. 9 shows an example of direction code conversion of the first stroke of character "5" Figure 10 shows the characters after rounding
FIG. 11 is a diagram for explaining the prohibited range setting method, FIG. 12 is a diagram showing the coordinate positions of points on the constituent strokes of the character "4", and FIG.
14 is a flowchart showing the control operation of the host side device, and FIG. 15 is a diagram showing the memory map of the host side device.
16 is a flowchart showing a control operation of a handwritten character recognition device according to another embodiment, FIG. 16 is a flowchart showing a stroke input processing subroutine for the embodiment shown in FIG. 15, and FIG. 17 is an example of prohibiting the import of stroke inputs. FIG. 1...Handwritten character recognition device 2...Input tablet 3...Recognition processing unit 10...Character input area 13...Input pen 14 ...Character frame patent application person Nippon Telecommunications Construction Co., Ltd. Patent application
Applicant Tateishi Electric Co., Ltd. → 2Z /37. Lee↓Subscript 1. C! Yes 5A9L 2. ,
, Input, A, 7□s, , Previous two tkJIJLti exclusive p/θ ,, ``4 people fiJc97t3... To input・ノ L,, Earth customer j and display ``r Low A, 5 feet 7 JZ to O-ri Bunpo ゛1 Iti *Hoo Zukan//Picture back: h 圀ILL 力艷, IT州 zu (13(2) 1!+lq zu

Claims (3)

【特許請求の範囲】[Claims] (1)文字を手書き入力するための文字入力エリアを有
する入力タブレットと、入力タブレットに対しペン先を
接触させて文字を手書きするための入力ペンと、入力タ
ブレットの前記文字入力エリアより入力文字の各ストロ
ークを取り込み文字認識を実行する認識処理部とを具備
し、前記認識処理部は、文字認識毎に文字入力エリアに
おける認識文字の位置を求める手段と、その文字位置よ
り以前の文字入力エリアを文字入力禁止範囲に設定する
手段と、文字入力時にペン先が接触する文字入力エリア
内の位置を順次検出する手段と、前記文字入力禁止範囲
へペン先が侵入したときその入力文字のストロークの取
り込みを禁止する手段とを含んで成る手書き文字認識装
置。
(1) An input tablet having a character input area for handwriting inputting characters, an input pen for handwriting characters by touching the pen tip to the input tablet, and inputting characters from the character input area of the input tablet. a recognition processing unit that takes in each stroke and executes character recognition; the recognition processing unit includes means for determining the position of a recognized character in a character input area for each character recognition; means for setting a character input prohibited area; means for sequentially detecting positions in the character input area that a pen tip contacts when inputting characters; and capturing the stroke of an input character when the pen tip enters the character input prohibited area. and means for inhibiting handwritten character recognition.
(2)前記入力タブレットは、文字入力エリア内に1以
上の文字の手書き入力が可能な文字枠が設定されると共
に、前記認識処理部は、その文字枠内において前記文字
入力禁止範囲を設定するよう構成した特許請求の範囲第
1項記載の手書き文字認識装置。
(2) In the input tablet, a character frame in which one or more characters can be handwritten input is set in the character input area, and the recognition processing unit sets the character input prohibited range within the character frame. A handwritten character recognition device according to claim 1, configured as follows.
(3)前記認識処理部は、CPUやメモリを含むコンピ
ュータをもって構成されている特許請求の範囲第1項記
載の手書き文字認識装置。
(3) The handwritten character recognition device according to claim 1, wherein the recognition processing section includes a computer including a CPU and a memory.
JP60020614A 1985-02-04 1985-02-04 Recognizer of handwritten character Pending JPS61180384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60020614A JPS61180384A (en) 1985-02-04 1985-02-04 Recognizer of handwritten character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60020614A JPS61180384A (en) 1985-02-04 1985-02-04 Recognizer of handwritten character

Publications (1)

Publication Number Publication Date
JPS61180384A true JPS61180384A (en) 1986-08-13

Family

ID=12032130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60020614A Pending JPS61180384A (en) 1985-02-04 1985-02-04 Recognizer of handwritten character

Country Status (1)

Country Link
JP (1) JPS61180384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS641099A (en) * 1987-03-16 1989-01-05 Tokyo Electric Co Ltd Commodity information reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS641099A (en) * 1987-03-16 1989-01-05 Tokyo Electric Co Ltd Commodity information reader

Similar Documents

Publication Publication Date Title
US5265174A (en) Pattern recognition apparatus
US6282316B1 (en) Image processing method and apparatus that use handwritten gestures for editing
JPS6175981A (en) Recognizer of handwritten character
JPS61180384A (en) Recognizer of handwritten character
JPS61160181A (en) Recognizing device of handwritten character
JP3167800B2 (en) Online character input device
JPS60238988A (en) Data processor equipped with character recognition device
JP2578747B2 (en) Handwritten information processing method
JPS61272882A (en) Information recognizing device
JPS61156382A (en) Device for recognizing hand written character
JPS61170877A (en) Recognizing device of hand-written character
JP2922900B2 (en) Handwritten character recognition device
JPH069064B2 (en) Handwriting recognition device
JPS61182185A (en) Device for recognizing hand-written character
JPS61190684A (en) Handwritten character recognizing device
JPS61182184A (en) Device for recognizing hand-written character
JPS61169975A (en) Recognizing device of hand-written character
JPS61163476A (en) Hand-written character recognition device
JPS61139893A (en) Recognizing device for handwritten character
JPH0634258B2 (en) Handwritten character recognition device with personal dictionary creation function
JP3365538B2 (en) Online character recognition method and apparatus
JPH08147096A (en) Handwriting input method and device
JP2922512B2 (en) Character recognition device
JPS61120286A (en) Recognizer for handwritten character
JPH055145B2 (en)