JPS6329893A - Hand-written character recognizing system - Google Patents

Hand-written character recognizing system

Info

Publication number
JPS6329893A
JPS6329893A JP61174259A JP17425986A JPS6329893A JP S6329893 A JPS6329893 A JP S6329893A JP 61174259 A JP61174259 A JP 61174259A JP 17425986 A JP17425986 A JP 17425986A JP S6329893 A JPS6329893 A JP S6329893A
Authority
JP
Japan
Prior art keywords
virtual frame
pen
input pen
memory
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
JP61174259A
Other languages
Japanese (ja)
Inventor
Akio Kikuchi
菊地 昭雄
Masashi Shimizu
清水 真史
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wacom Co Ltd
Original Assignee
Wacom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wacom Co Ltd filed Critical Wacom Co Ltd
Priority to JP61174259A priority Critical patent/JPS6329893A/en
Publication of JPS6329893A publication Critical patent/JPS6329893A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain sure character recognition even if characters with optional size are entered in optional positions on a tablet by automatically segmenting a character or mark written in an optional area of the tablet with optional size by moving an input pen, and executing character recognizing operation. CONSTITUTION:The coordinate position of an input pen 1 is temporarily stored in a position memory 4, a square virtual frame coordinates of the initial pen- down of the input pen which are drawn around the coordinate axes is stored in a virtual frame coordinate memory 5, and when the input pen position is projected from the virtual frame coordinates by moving the input pen 1, the expansion of the virtual frame coordinates is instructed to the memory 5. When the pen position based on a 2nd pen-down is projected from the virtual frame, the end of a 1st hand-written character is instructed to a CPU by an algorithm instruction memory 6. The CPU compares the 1st hand-written character with a reference character previously stored in a dictionary memory 7 to recognize the hand-written character.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、タブレット上に記入された手書き文字を認
識する手書き文字認識方式に関し、特に詳しく言うと、
タブレット上のいずれの位置でもかつその大きさに影響
されることなく手書き文字を認識することができる文字
認識方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a handwritten character recognition method for recognizing handwritten characters written on a tablet.
The present invention relates to a character recognition method that can recognize handwritten characters at any position on a tablet without being affected by their size.

〔発明の技術的背景〕[Technical background of the invention]

タブレット上を入力ペンで筆記し、この入力ペンの座標
位置を逐次検出することにより、そのストロークや形状
を読取り、文字を認識する方法が提案されている。特に
字種の多い漢字入力においては、入力ペンでタブレット
上を筆記するだけでよいのでこの方法が広く普及してい
る。一方、漢字、平板名、片仮名、英文字そして数字等
の文字や記号において、例えば「犬」、1代」、「う」
、「お」。
A method has been proposed in which characters are recognized by writing on a tablet with an input pen and sequentially detecting the coordinate position of the input pen to read the strokes and shapes. This method is widely used, especially when inputting kanji with many types of characters, because it is sufficient to simply write on the tablet with an input pen. On the other hand, in characters and symbols such as kanji, flat names, katakana, English letters, and numbers, for example, ``dog'', ichidai'', ``u''
,"oh".

「う」、「シJ、riJ、rjJというように、1つの
文字や記号において主体をなす部分とそこかられずかに
離れた部分に点や短い横棒を有する文字がある。このよ
うな文字の場合、点等があまり離れてしまうと、例えば
「う」の場合、「つ」とアポロストロフィの2つに識別
してしまう可能性がある。更に文章中には濁、類、半濁
点、句読点、ピリオドそしてコンマ等も混在している。
There are characters such as ``u'', ``shiJ, riJ, rjJ'' that have a dot or short horizontal bar in the main part of one letter or symbol and in a part slightly away from it.Such characters In the case of , if the dots are too far apart, for example, in the case of ``u'', there is a possibility that it will be identified as ``tsu'' and an apolostrophe. Furthermore, the sentences contain a mixture of muraku, si, semi-voiced marks, punctuation marks, periods, and commas.

これら各種の文字を識別するため、タブレットの表面に
桝目を一体的に印刷したり、あるいはタブレット上に桝
目を有する原稿用紙を当て、それらの桝目内に1文字づ
つ順序よくはみ出さないように記入するようにするとと
もに、平板名や片仮名等を記入するときはキーボードの
ファンクションキーを操作して切替えるようにしている
In order to identify these various characters, grids are printed integrally on the surface of the tablet, or manuscript paper with grids is placed on the tablet, and each character is written in the grid in order so that it does not overflow. In addition, when writing a plain name, katakana, etc., I use the function keys on the keyboard to switch between them.

しかしながら、1文字づつ桝目からはみ出さないように
注意深く記入することは、普段の紙面上に文字を書くよ
うな感触とは異なり、操作者にとっては、きわめて不自
然で使いすらいものであった。
However, writing each letter carefully so that it does not protrude from the grid is different from the feeling of writing on a regular piece of paper, and is extremely unnatural and unusable for the operator.

〔発明の目的〕[Purpose of the invention]

この発明の目的は、タブレット上のいずれの位置に、ど
の様な大きさに文字を記入しても、確実に文字認識する
ことができる手書き文字認識方式を提供することである
An object of the present invention is to provide a handwritten character recognition method that can reliably recognize characters no matter where they are written on a tablet and at what size.

〔発明の構成〕[Structure of the invention]

この発明の手書き文字認識方式は、入力ペンの座標位置
を一時的に位置メモリに記憶し、最初の入力ペンのペン
ダウンの座標軸を中心にした正方形の仮想枠座標を仮想
枠座標メモリに記憶し、入力ペンの移動により仮想枠座
標から外れた時、仮想枠座標を拡大するように仮想枠座
標メモリに指示し、第2回目の入力ペンのペンダウンの
座標位置が仮想枠から外れた時、第1番目の手書き文字
の終了をアルゴリズム命令メモリにより中央演算ユニッ
トに指示し、この中央演算ユニットにおいて前記第1番
目の手書き文字と辞書メモリに予め記憶された標準文字
とを比較照合することにより手書き文字を>−z2する
ものである。
The handwritten character recognition method of the present invention temporarily stores the coordinate position of the input pen in a position memory, stores the coordinates of a virtual frame of a square centered on the pen-down coordinate axis of the first input pen in the virtual frame coordinate memory, When the input pen deviates from the virtual frame coordinates due to movement, the virtual frame coordinate memory is instructed to enlarge the virtual frame coordinates, and when the pen-down coordinate position of the second input pen deviates from the virtual frame, the first The algorithm instruction memory instructs the central processing unit to finish the first handwritten character, and the central processing unit compares and matches the first handwritten character with standard characters prestored in the dictionary memory, thereby completing the handwritten character. >-z2.

〔作  用  〕[For creation]

タブレットの入カニリヤ上に入力ペンにより自由な位置
に自由な大きさで筆記された文字は、まず第1筆目のペ
ンダウン座標を中心に仮想枠を設定しその枠座標位置を
仮想枠座標メモリに記憶する。またペン座標は位置メモ
リに記憶される。次に入力ペンが移動し、仮想枠を越え
たら越えた分だけ仮想枠をアルゴリズム命令メモリによ
り拡大する。ペンアップあるいは第2筆目のペンダウン
がこの仮想枠を賊えた場合はペンアンプ前の筆記は一文
字と見なし、それまでのストロークを辞書メモリに予め
記憶されていた標準文字とのストロークと中央演算ユニ
ットで比較照合する。
For characters written on the input pen of the tablet in any position and in any size using the input pen, first set a virtual frame centered on the pen-down coordinates of the first stroke, and store the frame coordinates in the virtual frame coordinate memory. Remember. The pen coordinates are also stored in position memory. Next, when the input pen moves and exceeds the virtual frame, the virtual frame is enlarged by the amount of the excess by the algorithm command memory. If the pen-up or the second pen-down violates this virtual frame, the writing before the pen amplifier is considered as one character, and the strokes up to that point are compared with the standard characters stored in the dictionary memory in advance and the central processing unit. Compare and match.

〔実 施 例〕〔Example〕

先ず第1図により、この発明の手書き文字認識方式を実
施する装置の一例を説明すると、入力ペン1によるペン
のアップダウン情報およびこの入力ペン1によって支持
された座標位置を読取るタブレット2を有している。こ
のタブレット2はタブレット2により得られた座標位置
情報は主制御部であるマイクロコンピュータ等で構成さ
れた中央処理ユニット3(以下、CPUと称する)に入
力される。CPU3にはまた、座標位置メモリ4、枠座
標メモリ5、命令メモリ6そして辞書メモリ7が接続さ
れている。
First, an example of a device implementing the handwritten character recognition method of the present invention will be described with reference to FIG. ing. In this tablet 2, the coordinate position information obtained by the tablet 2 is input to a central processing unit 3 (hereinafter referred to as CPU), which is a main control section and is composed of a microcomputer or the like. Also connected to the CPU 3 are a coordinate position memory 4, a frame coordinate memory 5, an instruction memory 6, and a dictionary memory 7.

座標位置メモリ4は、入力ペン1により支持された座標
情報を一時的に格納するためのもので、ランダムアクセ
スメモリ(RAM)等で構成されている。枠座標メモリ
5は、最初のペンダウンによる座標を中心に例えば各辺
で511I+11平方の正方形の第1仮想枠とこの第1
仮想枠を取囲むように同心的に位置し各辺が10+nm
平方の正方形の第2仮想枠とを設定するため最低8つの
座標を記憶するためのもので、座標位置メモリ4と同様
にRAM等で構成されている。命令メモリ6は入力ペン
1の位置が第1仮想枠を越えた時、この第1仮想枠およ
び第2仮想枠の大きさを拡大するように枠座標メモリ5
に命令を与えたり、第2回目のペンダウンによる座標位
置が第1回目のペンダウンで作られた第2仮想枠の外側
に位置したら第1筆目で一文字終了と児なし、−文字の
手書き終了をCPU3に伝えるといったアルゴリズムの
命令を記憶しているもので、リードオンリーメモリ(R
OM)等で構成されている。辞書メモリ7は漢字、平仮
名、片仮名、数字、英文字そして記号等を記憶するもの
で、命令メモリ6と同様にROM等で構成されている、 タブレット2は入力ペン1からの信号がある高さく2軸
方向)からでも読取れるものを使用している。このよう
なタブレットの一例を第2図しこより説明する。
The coordinate position memory 4 is for temporarily storing coordinate information supported by the input pen 1, and is composed of a random access memory (RAM) or the like. The frame coordinate memory 5 stores, for example, a first virtual frame of 511I+11 squares on each side and this first virtual frame centered on the coordinates obtained by the first pen down.
Located concentrically surrounding the virtual frame, each side is 10+nm
It is used to store at least eight coordinates for setting a second square virtual frame, and like the coordinate position memory 4, it is composed of a RAM or the like. The command memory 6 stores a frame coordinate memory 5 so as to enlarge the sizes of the first virtual frame and the second virtual frame when the position of the input pen 1 exceeds the first virtual frame.
If the coordinate position of the second pen-down is located outside the second virtual frame created by the first pen-down, the first stroke ends one character, and the handwriting of the character ends. Read-only memory (R
OM), etc. The dictionary memory 7 stores kanji, hiragana, katakana, numbers, alphabetic characters, symbols, etc., and is composed of ROM, etc., like the instruction memory 6. The tablet 2 is located at a height where signals from the input pen 1 are received. We use a device that can be read from both directions (two axial directions). An example of such a tablet will be explained with reference to FIG.

互いにほぼ平行に配列された複数の長尺の磁性体21と
、この複数の磁性体21の周囲にその長手方向と直交す
る方向に所定間隔隔てて配設された複数の励磁線21a
〜22hと、複数の磁性体21及び複数の励磁線22a
〜22hの周囲のほぼ全域に亘って複数回巻回された検
出線23とを備えた位置検出部24と定常的な磁界を発
生する位置指定用磁気発生器、例えば入力ペン1と、所
定周期の交番電流を発生する駆動電流源25と、励磁線
22a〜22hのそれぞれに所定の周期の交番電流を次
々に切替えて加える信号選択回路26と、検出線23に
誘起する誘導電圧を次々に取出しこれらの差分を取り、
この差分電圧が所定の基準電圧と等しくなる位置を算出
し、これより入力ペン1の前記位置検出部24に対する
高さを求める位置検出回路27とから構成されている。
A plurality of elongated magnetic bodies 21 arranged substantially parallel to each other, and a plurality of excitation lines 21a arranged around the plurality of magnetic bodies 21 at predetermined intervals in a direction orthogonal to the longitudinal direction thereof.
~22h, a plurality of magnetic bodies 21 and a plurality of excitation lines 22a
A position detecting unit 24 including a detection wire 23 wound multiple times over almost the entire circumference of ~22h, a position specifying magnetic generator that generates a steady magnetic field, for example, the input pen 1, and a predetermined cycle. a drive current source 25 that generates an alternating current; a signal selection circuit 26 that sequentially switches and applies an alternating current of a predetermined period to each of the excitation lines 22a to 22h; and a signal selection circuit 26 that sequentially extracts the induced voltage induced in the detection line 23. Take these differences,
It is comprised of a position detection circuit 27 that calculates the position where this differential voltage is equal to a predetermined reference voltage, and from this calculates the height of the input pen 1 with respect to the position detection section 24.

入力ペンはその先端に棒磁石11の一方の磁性が露出す
るように設けられている。
The input pen is provided so that one side of the magnetic field of the bar magnet 11 is exposed at its tip.

磁線22a〜22hのいずれか一つに駆if!II電流
源25及び信号選択回路26より交番電流(例えば正弦
波等)を流すと、その周囲に磁束(磁界)が発生し、こ
の磁束による電磁誘導によって検出線23に誘導電圧が
発生する。この電磁誘導は磁性体21を介して行われる
ため、この磁性体21の透磁率μが大きい程、誘導電圧
の電圧値は大きくなる。これを式で表わす、誘導電圧V
は、 V=L(d i/d t)=μ・SN2/Q(d i/
d t)となる(但し、ここで、Sは磁性体、21の断
面積、Nは検出線23の巻回数、aは磁性体21の長さ
である)。
If any one of the magnetic lines 22a to 22h is driven! When an alternating current (such as a sine wave) is passed from the II current source 25 and the signal selection circuit 26, a magnetic flux (magnetic field) is generated around the alternating current, and an induced voltage is generated in the detection line 23 due to electromagnetic induction due to this magnetic flux. Since this electromagnetic induction is performed via the magnetic body 21, the larger the magnetic permeability μ of the magnetic body 21, the greater the voltage value of the induced voltage. This is expressed by the formula, induced voltage V
is, V=L(d i/d t)=μ・SN2/Q(d i/
d t) (where, S is the magnetic material, the cross-sectional area of 21, N is the number of turns of the detection wire 23, and a is the length of the magnetic material 21).

ところで、磁性体21の透磁率μは、外部から加わる定
常的な磁界(以下、磁気バイアスと称す。)によって大
きく変化する。その変化の様子は磁性体の組成、交流電
流の周波数、あるいは磁性体に熱処理、又は、磁場処理
を加えること等によって異なるが、ここでは第3図に示
すように僅かな磁気バイアスを加えた時に最大となり、
それ以上の磁気バイアスを加えれば加える程減少するも
のとする。
By the way, the magnetic permeability μ of the magnetic body 21 changes greatly depending on a steady magnetic field (hereinafter referred to as magnetic bias) applied from the outside. The state of the change varies depending on the composition of the magnetic material, the frequency of the alternating current, or whether the magnetic material is subjected to heat treatment or magnetic field treatment, but here, as shown in Figure 3, when a slight magnetic bias is applied, maximum,
It is assumed that the more magnetic bias is applied, the more the magnetic bias is applied.

したがって棒磁石11を内蔵する入力ペン11の先端1
aを磁性体21の上部に位置させると、第4図に示すよ
うに磁性体21に入力ペン1の先端1aより出た磁束が
交差する。この時、磁束は先端1a直下では磁性体21
にほぼ直交し、また、その両側では除々に磁性体21に
沿うようになる。磁性体21に加えられる磁気バイアス
量は磁束と磁性体21との交差する角度が小さい程大き
くなるため、入力ペン1の先端1a直下で一番小さく、
ここから離れるに従って除々に大きくなる。
Therefore, the tip 1 of the input pen 11 containing the bar magnet 11
When a is located above the magnetic body 21, the magnetic flux emitted from the tip 1a of the input pen 1 crosses the magnetic body 21, as shown in FIG. At this time, the magnetic flux is directly under the tip 1a of the magnetic body 21.
The magnetic material 21 is substantially perpendicular to the magnetic material 21 on both sides thereof. The amount of magnetic bias applied to the magnetic body 21 increases as the angle at which the magnetic flux intersects the magnetic body 21 becomes smaller, so it is smallest immediately below the tip 1a of the input pen 1.
It gradually gets bigger as you move away from here.

したがって、第4図に示すように1通常1位置検出部2
4の上部に形成される入力面28に入力ペン11ま先端
1aが当てられた時、その先端直下の磁性体21に加え
られる磁気バイアス量を、透磁率が最大になる僅かな磁
気バイアス量に設定すると、第5図に示すように入力ペ
ン1を置いた位置(指定位置)に最も近い励磁線に交番
電流を加えた際に検出線23に発生する電圧を極太値と
して、交番電流を加えた励磁線の位置が該指定位置から
離れるに従って除々に小さくなる電圧V。−v7が発生
する。第5図において、横軸は磁性体11に沿う方向(
以下、これをX方向とす。)の座標位置を示し、縦軸は
電圧を示している。ここで、座標値X。〜x7は各電圧
V。−v7が発生した時に交番電流を加えた励磁線22
a〜22hの位置を示す。位置検出回路27で各電圧V
。−v7を取出し、これより誘起電圧が極大値となるX
座標値を演算処理して求めれば、入力ペン1の指定位置
の座標値Xsを求めることができる。
Therefore, as shown in FIG.
When the tip 1a of the input pen 11 is placed on the input surface 28 formed on the top of the pen 4, the amount of magnetic bias applied to the magnetic body 21 directly under the tip is set to a slight amount of magnetic bias that maximizes magnetic permeability. When set, as shown in Fig. 5, when an alternating current is applied to the excitation line closest to the position where the input pen 1 is placed (specified position), the voltage generated in the detection line 23 is set to a very thick value, and the alternating current is added. A voltage V that gradually decreases as the position of the excitation line moves away from the specified position. -v7 occurs. In FIG. 5, the horizontal axis is the direction along the magnetic body 11 (
Hereinafter, this will be referred to as the X direction. ), and the vertical axis shows the voltage. Here, the coordinate value X. ~x7 is each voltage V. - Excitation line 22 to which alternating current is applied when v7 occurs
The positions of a to 22h are shown. The position detection circuit 27 detects each voltage V.
. -v7 is taken out, and from this the induced voltage becomes the maximum value
By calculating the coordinate values, the coordinate value Xs of the designated position of the input pen 1 can be determined.

座標値Xsを求める方法として、第5図における極大値
付近の波形を適当な二次函数で近似し、その函数の極大
値のX座標値として求める方法は種々あるが、極大値(
極小値でも同様)においてはその差分がrOJである点
に着目して、函数に対する差分方程式をたて、その差分
「0」となる鎖標位置を算出し、これより極大値の座標
値Xsを求めることができる。
There are various ways to obtain the coordinate value Xs by approximating the waveform near the maximum value in Fig. 5 by an appropriate quadratic function and obtaining the X coordinate value of the maximum value of the function.
(The same applies to the minimum value), focusing on the point that the difference is rOJ, create a difference equation for the function, calculate the chain mark position where the difference is "0", and from this, calculate the coordinate value Xs of the maximum value. You can ask for it.

各検出電圧v0〜v7について、それぞれ差分(電圧値
の差)、即ち(v1〜V、、)、(V、−V工)、(V
、 −V2)、・・・・・・(V7− vs)を算出す
ると、第6図に示すような差分電圧値v0.v2.v、
、・・・・・・v7が得られる。第6図において、横軸
はX方向の座標位置を示し、縦軸は電圧値を示す。但し
For each detection voltage v0 to v7, the difference (difference in voltage value), that is, (v1 to V, ), (V, -V), (V
, -V2), . . . (V7- vs), the differential voltage value v0. as shown in FIG. v2. v,
,...v7 is obtained. In FIG. 6, the horizontal axis shows the coordinate position in the X direction, and the vertical axis shows the voltage value. however.

ここでは差分子OJを正の値の所定の基準レベル■tに
設定している。図中、■、と■4との間で電圧値が基準
vtレベルを交差しており、この間で差分が「0」とな
っていることがわかる。
Here, the difference numerator OJ is set to a predetermined reference level ■t having a positive value. In the figure, it can be seen that the voltage value crosses the reference VT level between ■ and ■4, and the difference between them is "0".

また、入力ペン1の磁性体11に直交する方向に沿って
動かしても、各磁性体に与える磁気バイアス量のX方向
における比率は変わらないので、同一の座標値Xsが得
られる。
Further, even if the input pen 1 is moved along the direction orthogonal to the magnetic body 11, the ratio of the amount of magnetic bias given to each magnetic body in the X direction does not change, so the same coordinate value Xs can be obtained.

また、2つの位置検出部24を互いに直交させて組合せ
れば、X及びY方向のいわゆる2次元座標値を求めるこ
とができる。
Furthermore, by combining the two position detection units 24 so as to be orthogonal to each other, so-called two-dimensional coordinate values in the X and Y directions can be determined.

一方、位置指定するためには磁性体21に局部的膜数○
e程度の磁気バイアスを与えるのみで良いから、入力ペ
ン1を磁性体21より高さくZ)方向に多少離隔させて
用いることもできる。
On the other hand, in order to specify the position, the number of local films ○
Since it is only necessary to apply a magnetic bias of about e, the input pen 1 can be used with the input pen 1 being higher than the magnetic body 21 and somewhat separated from it in the Z) direction.

第4図において破線により示すように、入力ペン1の一
端1aを入力面28より高さhだけ離すと、その一端1
a直下における磁束と磁性体21との作差する角度は変
化せず、磁性体21に与える磁気バイアス量も変化しな
いが、その両側においては磁束と磁性体21との交差す
る角度が大きくなるため、磁気バイアス量も小さくなり
、透磁率、即ち誘導電圧は大きくなる。
As shown by the broken line in FIG. 4, when one end 1a of the input pen 1 is separated from the input surface 28 by a height h,
The angle at which the magnetic flux and the magnetic body 21 intersect directly under a does not change, and the amount of magnetic bias applied to the magnetic body 21 also does not change, but on both sides of that, the angle at which the magnetic flux and the magnetic body 21 intersect increases. , the amount of magnetic bias also decreases, and the magnetic permeability, that is, the induced voltage increases.

第5図において、電圧V 、 /〜v7′は、入力ペン
20の一端20aを前述の位置上でZ方向にわずかの距
離(例えば5m程度)をおいて保持した場合の誘導(検
出)電圧を示す。検出電圧v0〜v7と検出電圧V 、
 l〜v7′とを比較すると、電圧の増加の度合は指定
位置付近ではほぼ変わらず、X方向の距離が指定位置か
ら離れれば離れる程大きくなり、その曲線の曲りは緩や
か、即ちその差分が減少しているのがわかる。
In FIG. 5, the voltage V, /~v7' is the induced (detected) voltage when one end 20a of the input pen 20 is held at the above-mentioned position at a short distance (for example, about 5 m) in the Z direction. show. Detection voltages v0 to v7 and detection voltage V,
Comparing l to v7', the degree of increase in voltage remains almost unchanged near the specified position, and increases as the distance in the X direction moves away from the specified position, and the curve of the curve is gentle, that is, the difference decreases. I can see that you are doing it.

検出電圧■。′〜V 、 /について同様にしてそれぞ
れ差分を算出すると、第7図に示すような差分電圧値v
1. v、、 V3・・・・・・v7が得られる。第6
図および第7図かられかるように、差分の減少は基準レ
ベルvtを横切る線の傾きの減少として現れ。
Detection voltage ■. ' ~ V, / When the differences are calculated in the same way, the differential voltage value v as shown in Fig. 7 is obtained.
1. v,, V3...v7 are obtained. 6th
As can be seen from the figure and FIG. 7, a decrease in the difference appears as a decrease in the slope of the line that crosses the reference level vt.

両者はほぼ比例関係にある。即ち、高さhはこの各検出
電圧の差分の傾きに比例することになる。
The two are almost in a proportional relationship. That is, the height h is proportional to the slope of the difference between the detected voltages.

従って、予め高さhと該差分の傾きとの関係を求めてお
き、各電圧■。〜v7より差分を求め、さらにその傾き
を求めれば、入力ペン1の高さhを算出することができ
る。
Therefore, the relationship between the height h and the slope of the difference is determined in advance, and each voltage (■) is determined. The height h of the input pen 1 can be calculated by calculating the difference from ~v7 and further calculating the slope.

また、入力する位置を指定する場合、所定のタイミング
信号を位置検出回路27に入力する必要があるが、入力
ペン1の高さhをパラメータとして、例えば入力ペン1
の先端1aの高さが入力面28に対して0.5nI+以
下となった時、タイミング信号を発生させるようにする
ことができる。
In addition, when specifying the input position, it is necessary to input a predetermined timing signal to the position detection circuit 27. For example, if the height h of the input pen 1 is used as a parameter,
When the height of the tip 1a of the input surface 28 becomes 0.5nI+ or less, a timing signal can be generated.

次に、実際に差分が「O」となるX座標値、例えばx9
、座標値xs、及び2方向の高さhを求める式について
述べる。まず、各検出電圧、例えばV(x)を二次函数
の一般式で表わすと、次式のようになる。
Next, the X coordinate value where the difference is actually “O”, for example x9
, the coordinate value xs, and the formula for determining the height h in two directions will be described. First, each detected voltage, for example, V(x), is expressed by a general formula of a quadratic function as shown in the following formula.

V(x)= a x2+ b x + c      
    ・・・・・・(1)各励磁線22a〜22hの
間隔をdとすると、差分方程式ΔdV(x)は、 Δd V(x)=(V(x+ d)−V(x))/d 
・・・・・12)となる。従って、 ΔdV(x−d)=(V(x)  V(x−d))/d
・・・・・・(3) になる。(3)式に(1)式を代入し整理すると。
V(x)= a x2+ b x + c
(1) If the interval between each excitation line 22a to 22h is d, the difference equation ΔdV(x) is Δd V(x)=(V(x+ d)−V(x))/d
...12). Therefore, ΔdV(x-d) = (V(x) V(x-d))/d
・・・・・・(3) It becomes. Substituting equation (1) into equation (3) and organizing it.

ΔdV(x−d)=a((2X+b/a)−d)・・・
・・・(4) となる。ところで、Δdv(X−d)=Oを満足するX
座標値xqは、(4)式より xq = −b / 2 a + d / 2    
   −−(5)となる。函数の頂点の座標値はxsで
あるがら、δV(xs)/δX=2axs+b=0、’
−xs= −b / 2 a            
−−−(6)となる。(6)式に(5)式に代入し整理
すると、xs= xq −d / 2        
   ・旧=(7)となる。即ち、ΔdV(x−d)が
0となる点のX座標値xqを求め、それよりd/2を引
けば、函数の頂点の座標Xsが求められることになる。
ΔdV(x-d)=a((2X+b/a)-d)...
...(4) becomes. By the way, X that satisfies Δdv(X-d)=O
From equation (4), the coordinate value xq is xq = −b / 2 a + d / 2
--(5). Although the coordinate value of the vertex of the function is xs, δV(xs)/δX=2axs+b=0,'
-xs=-b/2a
---(6). Substituting equation (6) into equation (5) and rearranging, xs = xq - d / 2
・Old = (7). That is, by finding the X coordinate value xq of the point where ΔdV(x-d) is 0 and subtracting d/2 from it, the coordinate Xs of the vertex of the function can be found.

次に座標値Xqについて考える。ΔdV(x−d)がO
となる座標値xqは、第5図において基準レベルVtの
前後の差分電圧値v3と■、との間(座標値X、とx4
との間)であるから、(4)式より、y3=a ((2
X3 + b/ a)  d)     ・・’・・(
”)V4=a((2x4+b/a)−d)     ・
−・19)となり、これを整理して、 V3−v、=2a(X3  X4) y 2 a = (V3  V4)/ (X)  X4
)X、−X、=−dであるから。
Next, consider the coordinate value Xq. ΔdV(x-d) is O
The coordinate value xq is between the differential voltage value v3 before and after the reference level Vt and ■ in FIG.
), so from equation (4), y3=a ((2
X3 + b/ a) d) ・・・・・(
”)V4=a((2x4+b/a)-d) ・
-・19), rearranging this, V3-v, = 2a (X3 X4) y 2 a = (V3 V4) / (X) X4
)X, -X, = -d.

2 a = −(V、 −V、)/ d       
 −−(10)となる。ここで、2aと差分曲線におけ
る傾きを示すものであるから、2方向の高さhは、h 
= A I 2 a l            −・
=(11)なる式より求められる。なお、Aは比例定数
であり、実験的に求められる。第8図はaと入力ペン1
の2方向の高さhとの関係を示すもので、h=0 (m
m)の時のaを1とした場合のhに対するaの変化を示
す。
2 a = −(V, −V,)/d
--(10). Here, since it indicates the slope of 2a and the difference curve, the height h in the two directions is h
= A I 2 a l −・
= (11). Note that A is a proportionality constant and is determined experimentally. Figure 8 shows a and input pen 1.
This shows the relationship between the height h in two directions of h=0 (m
The change in a with respect to h is shown when a is set to 1 in m).

また、検出電圧の(6)式より b / a −d = 2 xq          
−(12)であるから、これを(8) 、 (9)式に
代入すると。
Also, from the detection voltage equation (6), b / a − d = 2 xq
-(12), so by substituting this into equations (8) and (9).

V3= 2 a (x、 + xq)        
 −(13)V、= 2 a (x、+ xq)   
      ・・・・・・(14)となる。さらにこれ
ら(13) 、 (14)式の両辺をそれぞれ割ると、 vi/vn=(x3−xq)/(xx−xq)となる。
V3= 2 a (x, + xq)
−(13)V, = 2 a (x, + xq)
...(14). Furthermore, by dividing both sides of equations (13) and (14), vi/vn=(x3-xq)/(xx-xq).

v 、 / v 、 = Bと置き、整理すると、xq
=(x、−BX4)/(I  B)     −−(1
5)となる。座標x3. x4は既知であるから、Xq
は■3と■4との比より求めることができ、さらに(7
)式より頂点の座標XSを求めることができる。
Putting v, / v, = B and rearranging, xq
=(x, -BX4)/(I B) --(1
5). Coordinates x3. Since x4 is known, Xq
can be found from the ratio of ■3 and ■4, and furthermore, (7
) can determine the coordinates XS of the vertex.

タブレット2は上述の形式に限定されるものではなく、
その他の電磁誘導式あるいは磁歪式のものでも、入力ペ
ンからの信号がある高さからでも読取れるものであれば
よい。
Tablet 2 is not limited to the above format;
Other electromagnetic induction type or magnetostrictive type may be used as long as the signal from the input pen can be read from a certain height.

次に手書き文字の認識の動作手順について第1図そして
第9図により説明する。まず第1筆目の入力ペン1によ
る最初のペンダウン座標31を中心に上下2.5mmづ
つ離れた所にX軸、y軸に平行な正方形の第1仮想枠3
2を、また同じく最初のペンダウン座標31を中心に上
下5 、 Ommづつ離れた所に同様に正方形の第2仮
想枠33を、枠座標メモリ5により設定する。一方、最
初のペンダウン座標31であるXよ、y工は座標位置メ
モリ4にそして第1および第2仮想枠32.33の座標
値を枠座標メモリ5に一時的に格納する。
Next, the operating procedure for recognizing handwritten characters will be explained with reference to FIGS. 1 and 9. First, a square first virtual frame 3 parallel to the X-axis and the y-axis is placed at a distance of 2.5 mm above and below, centering on the first pen-down coordinate 31 of the first input pen 1.
2, and a square second virtual frame 33 is similarly set in the frame coordinate memory 5 at a distance of 50 mm above and below the initial pen-down coordinate 31. On the other hand, the first pen-down coordinates 31, ie, X and Y, are temporarily stored in the coordinate position memory 4, and the coordinate values of the first and second virtual frames 32 and 33 are temporarily stored in the frame coordinate memory 5.

最初のペンダウンから最初のペンアップまではCPU3
により入力ペン1に軌跡に沿ってその筆座標を追跡して
いき、それらの座標が第1仮想枠32内にあるならば、
その座標位置は座標位置メモリ4に一時的に格納される
。筆座標が第1仮想枠32を越えると、命令メモリ6は
第1および第2仮想枠32.33を拡大するように枠座
標メモリ5に命令し、これら仮想枠を拡大し、その座標
値を座標位置メモリ4に格納゛する。これにより実質上
文字の入カニリアが大きくなったことになり、文字の大
小には全く左右されない。
From the first pen down to the first pen up, CPU3
The stroke coordinates of the input pen 1 are traced along the trajectory, and if these coordinates are within the first virtual frame 32,
The coordinate position is temporarily stored in the coordinate position memory 4. When the stroke coordinates exceed the first virtual frame 32, the command memory 6 instructs the frame coordinate memory 5 to enlarge the first and second virtual frames 32, 33, enlarges these virtual frames, and stores their coordinate values. It is stored in the coordinate position memory 4. This essentially means that the space for entering characters has become larger, and is completely unaffected by the size of the characters.

ペンアップの後のつぎのペンダウン座標が上述の最終仮
想枠座標、すなわち最大に拡大された第2仮想枠33の
外側に位置した場合は、それまでの入力ペン1の軌跡で
一文字とみなして、CPU3は辞書メモリ6内の辞書と
座標位置メモリ4内の手書き文字との照合動作に入り、
マツチングするものがあれば、辞書メモリ6より抽出す
る6−文字の終了はまた、入力ペン1がタブレット2の
面から2軸方向すなわちある高さ以上に高くなると、上
述したようにタブレット2は、座標位置情報の入力が無
いと判断して、それまでの入力ペン1の軌跡に基づく手
書き文字を認識する。したがって、手書き文字の筆記の
終了を改めて指示する必要はない。
If the next pen-down coordinate after pen-up is located outside the above-mentioned final virtual frame coordinates, that is, the second virtual frame 33 that has been expanded to the maximum, it is regarded as one character in the trajectory of the input pen 1 up to that point, The CPU 3 enters an operation of comparing the dictionary in the dictionary memory 6 with the handwritten characters in the coordinate position memory 4.
If there is a match, the end of the 6-character extracted from the dictionary memory 6 will also be determined when the input pen 1 becomes higher than the surface of the tablet 2 in two axial directions, that is, above a certain height, as described above, the tablet 2 It is determined that no coordinate position information has been input, and handwritten characters are recognized based on the trajectory of the input pen 1 up to that point. Therefore, there is no need to give a new instruction to finish writing handwritten characters.

第2筆目の最初のペンダウンが第2仮想枠33内であれ
ば、−文字の筆記途中とみなして更に筆跡を追及する。
If the first pen-down of the second stroke is within the second virtual frame 33, it is assumed that the - character is in the middle of being written, and the handwriting is further traced.

これは例えば平板名や片仮名の濁点や半濁点、あるいは
英文字の「i」や「j」の場合である。すなわち文字の
主要部が第1仮想枠32内に収まり、「〃」や「・」が
その外側の第2仮想枠33内に収まっていれば、この点
も一文字を構成している部分と判定するので、誤認識す
ることはない。
This is the case, for example, with dakuten and handakuten in flat names and katakana, or with the English letters "i" and "j." In other words, if the main part of the character falls within the first virtual frame 32, and "〃" or "." falls within the second virtual frame 33 outside of it, this point is also determined to be part of one character. Therefore, there will be no misunderstanding.

更に1例えば平板名の「う」のように最初の点が小さい
と仮想枠は拡大されなかったり、あるいは僅かに拡大さ
れても、第2筆目が少し離れた場所から運ばれると、最
初の点だけを認識してしまい、最終的には「、つ」と認
識し、2筆連続の「う」を認識できなくなることがある
。このような誤認識を第2仮想枠33により防止してい
る。
Furthermore, if the first dot is small, as in the case of ``u'' in a flat name, the virtual frame may not be enlarged, or even if it is slightly enlarged, if the second stroke is brought from a slightly distant place, the first dot may not be enlarged. It may end up recognizing only the dot, and eventually recognize it as ",tsu" and not being able to recognize two consecutive "u" strokes. Such misrecognition is prevented by the second virtual frame 33.

上述した動作の手順は、第10図のフローチャートを参
照すれば、−層明瞭になるであろう6なお、第2仮想枠
33は第1仮想枠32が大きく拡大される場合は、その
外側に設定する意味がなくなるので、ある程度になった
ら、2つの仮想枠を一体化してもよい。
The procedure of the above-mentioned operation will become clearer if you refer to the flowchart in FIG. Since there is no point in setting them, the two virtual frames may be integrated once they reach a certain point.

また上述実施例においては、第1および第2仮想枠32
.33の各辺の長がさを5および10mmとしたが、こ
の数値に限定されることはないことは勿論である。
Further, in the above embodiment, the first and second virtual frames 32
.. Although the length of each side of 33 was set to 5 and 10 mm, it is needless to say that the length is not limited to these values.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明の手書き文字認識方式は、タブレ
ット上に自由なエリアに自由な大きさで描かれた文字や
記号を、入力ペンの運びによって自動的に切り出して文
字認識操作に入るので、従来のように決められた位置に
決められた大きさで書かなければならないといった不自
然な拘束から解放されて、普段紙上にペンで字を書くよ
うな自然な感覚で手書き文字を識別することができる。
As described above, the handwritten character recognition method of the present invention automatically cuts out characters and symbols drawn in any size on a tablet in a free area according to the movement of the input pen, and enters the character recognition operation. Freed from the unnatural constraint of having to write in a predetermined size in a predetermined position as in the past, it is now possible to recognize handwritten characters with the natural feeling of writing with a pen on paper. can.

また、英数字はもとより、平板名や片仮名等点が文字の
一部を構成するような文字も正確に認識できる。更に、
辞書メモリには比較的メモリ数が少なくてすむ文字のベ
クトル成分によりマツチングを行う方式の辞書を用いる
ことにより、装置全体としてほんの数チップで構成でき
、極めて小型、安価かつ製造の工程の簡単な手書き文字
認識装置を構成することができる。
In addition to alphanumeric characters, it is also possible to accurately recognize characters in which flat names and katakana dots form part of the character. Furthermore,
By using a dictionary that performs matching using vector components of characters, which requires a relatively small amount of memory, the entire device can be constructed with just a few chips, making it extremely compact, inexpensive, and easy to manufacture. A character recognition device can be configured.

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

第1図はこの発明の一実施例を概略的に示すブロック線
図、第2図はそのタブレットの一例を説明する説明図、
第3図は磁気バイアス対透磁率の特性図、第4図は入力
ペンより磁性体に印加される磁束の様子を示す図、第5
図は検出線に発生する誘導電圧の一例を示すグラフ、第
6図は差分電圧値の一例を示すグラフ、第7図は差分電
圧値の他の例を示すグラフ、第8図は差分電圧値と入力
ペンのZ方向の高さとの関係の一例を示すグラフ、第9
図は、第1および第2仮想枠の関係を示す説明図、第1
0図はこの方式の動作手順を説明するためのフローチャ
ートである鳴 図面において、1は入力ペン、2はタブレット、3はC
PU、4は座標位置メモリ、5は枠座標メモリ、6は命
令メモリ、7は辞書メモリである。
FIG. 1 is a block diagram schematically showing an embodiment of the present invention, FIG. 2 is an explanatory diagram illustrating an example of the tablet,
Figure 3 is a characteristic diagram of magnetic bias versus magnetic permeability, Figure 4 is a diagram showing the state of magnetic flux applied to a magnetic material from an input pen, and Figure 5 is a diagram showing the magnetic flux applied to a magnetic material from an input pen.
The figure is a graph showing an example of the induced voltage generated in the detection line, Fig. 6 is a graph showing an example of the differential voltage value, Fig. 7 is a graph showing another example of the differential voltage value, and Fig. 8 is the differential voltage value. Graph showing an example of the relationship between and the height of the input pen in the Z direction, No. 9
The figure is an explanatory diagram showing the relationship between the first and second virtual frames;
Figure 0 is a flowchart for explaining the operating procedure of this method, in which 1 is an input pen, 2 is a tablet, and 3 is a C
PU, 4 is a coordinate position memory, 5 is a frame coordinate memory, 6 is an instruction memory, and 7 is a dictionary memory.

Claims (4)

【特許請求の範囲】[Claims] (1)入力ペンでタブレット上に記載された手書き文字
を前記タブレットの座標位置を検出することによりその
文字を認識する手書き文字認識方式であって、前記入力
ペンの座標位置を一時的に位置メモリに記憶し、最初の
前記入力ペンのペンダウンの座標軸を中心にした正方形
の仮想枠座標を仮想枠座標メモリに記憶し、前記入力ペ
ンの移動により前記仮想枠座標から外れた時、前記仮想
枠座標を拡大するように前記仮想枠座標メモリに指示し
、第2回目の前記入力ペンのペンダウンの座標位置が前
記仮想枠から外れた時、第1番目の手書き文字の終了を
アルゴリズム命令メモリにより中央演算ユニットに指示
し、この中央演算ユニットにおいて前記第1番目の手書
き文字と辞書メモリに予め記憶された標準文字とを比較
照合することにより手書き文字を認識する手書き文字認
識方式。
(1) A handwritten character recognition method that recognizes handwritten characters written on a tablet with an input pen by detecting the coordinate position of the tablet, and the coordinate position of the input pen is temporarily stored in a position memory. The virtual frame coordinates of a square centered on the pen-down coordinate axis of the first input pen are stored in the virtual frame coordinate memory, and when the input pen deviates from the virtual frame coordinates due to the movement of the input pen, the virtual frame coordinates When the second pen-down coordinate position of the input pen deviates from the virtual frame, the end of the first handwritten character is centrally calculated using the algorithm instruction memory. A handwritten character recognition method in which a handwritten character is recognized by instructing a unit to compare and match the first handwritten character with standard characters stored in advance in a dictionary memory in this central processing unit.
(2)特許請求の範囲第1項において、前記仮想枠座標
は大小2つの正方形から構成された第1および第2仮想
枠座標とで構成され、これら2つの第1および第2仮想
枠座標は前記アルゴリズム命令メモリにより拡大可能で
あり、前記第1および第2仮想枠座標によりアルファベ
ット、平板名、片仮名等の文字そして記号中、点や濁点
を識別する手書き文字を認識する手書き文字認識方式。
(2) In claim 1, the virtual frame coordinates are composed of first and second virtual frame coordinates made up of two large and small squares, and these two first and second virtual frame coordinates are A handwritten character recognition method which is expandable by the algorithm command memory and which recognizes handwritten characters by identifying characters such as alphabets, flat names, katakana, symbols, dots and voiced marks using the first and second virtual frame coordinates.
(3)特許請求の範囲第1項において、前記タブレット
はその面から前記入力ペンが所定の高さに位置すること
により、前記第1番目の手書き文字の終了の前記ペンア
ップとして認識するようになっている手書き文字認識方
式。
(3) In claim 1, the tablet recognizes the end of the first handwritten character as the pen-up when the input pen is positioned at a predetermined height from the surface of the tablet. Handwritten character recognition method.
(4)特許請求の範囲第1項において、前記大小2つの
正方形はその面積比が4:1になっている手書き文字認
識方式。
(4) The handwritten character recognition method according to claim 1, wherein the two large and small squares have an area ratio of 4:1.
JP61174259A 1986-07-24 1986-07-24 Hand-written character recognizing system Pending JPS6329893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61174259A JPS6329893A (en) 1986-07-24 1986-07-24 Hand-written character recognizing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61174259A JPS6329893A (en) 1986-07-24 1986-07-24 Hand-written character recognizing system

Publications (1)

Publication Number Publication Date
JPS6329893A true JPS6329893A (en) 1988-02-08

Family

ID=15975505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61174259A Pending JPS6329893A (en) 1986-07-24 1986-07-24 Hand-written character recognizing system

Country Status (1)

Country Link
JP (1) JPS6329893A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60217485A (en) * 1984-04-12 1985-10-31 Sharp Corp Recognizer of hand-written character
JPS6175981A (en) * 1984-09-21 1986-04-18 Nippon Tsushin Kensetsu Kk Recognizer of handwritten character

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60217485A (en) * 1984-04-12 1985-10-31 Sharp Corp Recognizer of hand-written character
JPS6175981A (en) * 1984-09-21 1986-04-18 Nippon Tsushin Kensetsu Kk Recognizer of handwritten character

Similar Documents

Publication Publication Date Title
US20040136591A1 (en) Method and device for recognition of a handwritten pattern
KR860006742A (en) Character recognition device
JPS6329893A (en) Hand-written character recognizing system
JPS62159291A (en) Sentence input device
JPH0150954B2 (en)
JP3422634B2 (en) Handwritten character recognition method and apparatus
JPS621086A (en) Character input device
JPH05225399A (en) Document processor
JPS58159106A (en) Processing device
JPH05298490A (en) Device for recognizing on-line handwriting character
JP2698338B2 (en) Feature point detection method for handwritten character recognition
JP2956094B2 (en) Handwritten character recognition device
KR100254659B1 (en) Character forming apparatus
JPS60247793A (en) On-line recognition device for handwritten character
JPS60217483A (en) Recognizer of character
JPH01265377A (en) Segmenting system for handwritten character
JP2664624B2 (en) Feature point detection method for handwritten character recognition
JP2984315B2 (en) Recognition device
JP2740506B2 (en) Image recognition method
JP3051628B2 (en) Character recognition method and device
JP2962911B2 (en) Character recognition device
JPH0827819B2 (en) Handwritten character recognition method for handwritten character recognition and handwritten character recognition apparatus using the same
JP2018106592A (en) Carved character reading device and carved character reading method
JPH07182455A (en) Character recognition device/method
JPS61153787A (en) Information processing device