JPS5975374A - Character recognizer - Google Patents

Character recognizer

Info

Publication number
JPS5975374A
JPS5975374A JP57185837A JP18583782A JPS5975374A JP S5975374 A JPS5975374 A JP S5975374A JP 57185837 A JP57185837 A JP 57185837A JP 18583782 A JP18583782 A JP 18583782A JP S5975374 A JPS5975374 A JP S5975374A
Authority
JP
Japan
Prior art keywords
character
coordinate
circuit
line segment
coordinates
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
JP57185837A
Other languages
Japanese (ja)
Inventor
Kenichi Yoshida
健一 吉田
Koji Sato
浩二 佐藤
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP57185837A priority Critical patent/JPS5975374A/en
Publication of JPS5975374A publication Critical patent/JPS5975374A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To recognize a character in real time and at a high speed, by detecting the writing start and finish of a character and the moving order of a stylus pen within the writing of a character and then extracting and dividing the features of a character segment on the basis of the length and direction of the segment. CONSTITUTION:The paper 2 is put on a tablet 1, and characters are written on the paper 2 with a stylus pen 3. Thus a coordinate reading circuit 4 detects coordinates X, Y and Z of the pen 3 with a fixed time interval. The coordinates X and Y show the position of the pen 3, and the coordinates Z shows 1 and 0 when the pen 3 presses the paper 2 and the pen 3 is detached from the paper 2 respectively. Therefore a character section detecting circuit 5 detects the writing start and finish of a character and store them in a character coordinate memory 6. A normalizing circuit 9 normalizes the size of the character given from the memory 6. A Z coordinate differentiating circuit 12 detects the change of strokes, and then the direction and length of the segment are detected by X and Y coordinate differential circuits 15 and 18, a segment direction detecting circuit 19 and a segment length detecting circuit 21. Then the features of segments are extracted 33 from the emerging order of the segments together with the features of strokes. These features of segments and strokes are combined to recognize characters through a recognizing circuit 30.

Description

【発明の詳細な説明】 +1)背景技術 本発明は規定されたタブレット上でペンを用いて文字を
書く際、ペンの座標を一定時間間隔で、データ処理装置
に取込み文字を認識するオンライン文字認識装置に関す
る。従来のオンライン文字認識装置はそのほとんどがタ
ブレットを汎用コンピュータに接続し、予め用意された
汎用コンピュータのソフトウェアを用いて文字等を認識
するもので、データ処理装置が高価になり、かつ文字認
識に長時間か−るという欠点があった。一方、データ処
理部にマイクロコンピュータを用いたものも考えられる
が、処理能力に問題があるとされていた。
[Detailed Description of the Invention] +1) Background Art The present invention is an online character recognition system in which when characters are written using a pen on a prescribed tablet, the coordinates of the pen are imported into a data processing device at regular time intervals and the characters are recognized. Regarding equipment. Most of the conventional online character recognition devices connect a tablet to a general-purpose computer and use pre-prepared general-purpose computer software to recognize characters, which makes the data processing device expensive and takes a long time to recognize characters. The drawback was that it took time. On the other hand, it is possible to use a microcomputer in the data processing section, but it was thought that there would be problems with processing performance.

(2)発明の開示 本発明による文字認識装置によれば、1文字の書き始め
と書き終りとその間のペンの動く順序を検出すると共に
、文字の線分の長さおよび方向を知り、それに基すいて
線分の特徴を抽出区分することによって、比較的簡単な
データ処理を行うだけで極めて短時間内に、実時間文字
認識が可能となる。
(2) Disclosure of the Invention According to the character recognition device according to the present invention, it is possible to detect the beginning and end of writing a character and the order in which the pen moves between them, and also to know the length and direction of the line segments of the character. By extracting and classifying the features of line segments, real-time character recognition becomes possible within an extremely short time with relatively simple data processing.

(3)発明を実施するための最良の形態第1図は本発明
の構成を示す図である。タブレット1上に用紙2を置き
、スタイラスペン3で文字を書く、座標読取回路4は一
定時間間隔でスタイラスペン3の座標X、Y、Zを検出
する。座標X、Yはスタイラスペン3の位置を示す数値
で、また座標Zは、スクイラスペン3がタブレット1(
あるいは用紙2)上を押しているか否かを区別する信号
で座標を示す。
(3) Best Mode for Carrying Out the Invention FIG. 1 is a diagram showing the configuration of the present invention. A sheet of paper 2 is placed on a tablet 1 and characters are written with a stylus pen 3. A coordinate reading circuit 4 detects the coordinates X, Y, and Z of the stylus pen 3 at regular time intervals. The coordinates X and Y are numerical values indicating the position of the stylus pen 3, and the coordinate Z is the position where the stylus pen 3 is located on the tablet 1 (
Alternatively, the coordinates are indicated by a signal that distinguishes whether or not the top of paper 2) is pressed.

タブレット1、スタイラスペン3、座標読取回路4は従
来のと同じであり、例えば市販されているものでは第二
精工金製のDT−4000などがある。
The tablet 1, stylus pen 3, and coordinate reading circuit 4 are the same as conventional ones, and for example, a commercially available one is DT-4000 manufactured by Daini Seikokin.

文字区切検出回路5は座標読取回路4で検出した座標x
、y、zをもとに、1文字の書き始めから書き終りまで
を検出するものである。たとえば、スタイラスペン3が
タブレット1上を押している場合、座標Z’=1とし、
スタイラスペン3がタブレット    ゛   1を押
さない時の座標Z=0として説明する。
The character delimiter detection circuit 5 detects the coordinate x detected by the coordinate reading circuit 4.
, y, and z to detect from the beginning to the end of one character. For example, if the stylus pen 3 is pressing on the tablet 1, the coordinate Z' = 1,
This will be explained assuming that the coordinate Z=0 when the stylus pen 3 does not press the tablet 1.

2=0からZ=1に変化したときを1文字の書き始めと
しており、Z−1からZ二〇に変化し、かつz−00状
態の時間が、あらかじめ定めた時間以上経過したときを
1文字の書き終りとしている。また、別の方法では、文
字の大きさをあらかじめ決めていれば、Z=1のときの
X、Yの座標の値が文字の所定の大きさの範囲以内かど
うかを判断し、範囲以外の場合を1文字の終りとしても
よい。
The time when 2 = 0 changes to Z = 1 is considered as the start of writing one character, and the time when it changes from Z-1 to Z20 and the time in the z-00 state has passed for a predetermined time or more is considered as 1. This marks the end of the writing. Another method is to determine whether the X and Y coordinate values when Z = 1 are within a predetermined size range of the character, if the size of the character is determined in advance. The case may be the end of a character.

文字座標メモリ6は1文字の書き始めから、書き終りま
での座標x、y、zを取込み格納する。
The character coordinate memory 6 captures and stores the coordinates x, y, and z from the start of writing to the end of one character.

x、Y最大・最小検出回路7は文字座標メモリ6に格納
された1文字分の座標からX、Y座標のそれぞれの最大
値および最小値を求め、文字大きさ演算回路8へ送る。
The x, Y maximum/minimum detection circuit 7 determines the maximum and minimum values of the X and Y coordinates from the coordinates of one character stored in the character coordinate memory 6, and sends them to the character size calculation circuit 8.

文字大きさ演算回路8はX座標の最大値−Xmax。The character size calculation circuit 8 calculates the maximum value of the X coordinate -Xmax.

最小値Ymin、Y座標の最大値Y max 、 Y 
min  から文字の大きさを求める。
Minimum value Ymin, maximum value of Y coordinate Ymax, Y
Find the font size from min.

Xmax−Xmin=A  Ymax−Ymin=BA
、BがX、Y方向のそれぞれの文字の大きさとなる。
Xmax-Xmin=A Ymax-Ymin=BA
, B are the respective character sizes in the X and Y directions.

正規化回路9は書いた文字を一定とするために座標を変
換するものである。書く人が異なったり、あるいは同一
人でも書くときにより、文字の太きさは異なるので、文
字の大きさを一定として、認識処理を簡単化する。
The normalization circuit 9 converts the coordinates in order to make the written characters constant. Since the thickness of characters varies depending on whether they are written by different people or even when written by the same person, recognition processing is simplified by keeping the size of the characters constant.

例えば、文字の大きさをx、Y方向ともCの一定大きさ
に変換する、取込んだ文字座標メモリ6の任意の点の座
標をxt、yt、zt  とし、正規化回路9で座標変
換を行なった後の座標をx t’、 y t’ 。
For example, let xt, yt, zt be the coordinates of an arbitrary point in the imported character coordinate memory 6 that converts the character size to a constant size C in both the x and y directions, and then use the normalization circuit 9 to perform the coordinate transformation. The coordinates after this are x t', y t'.

zt’  とすると Xt’ = (Xt −Xmi n ) −。If zt' Xt' = (Xt - Xmi n) -.

となる、これで文字の大きさが異なっても一定の大きさ
に変換される、さらにXt s Yt 亦絶対座標であ
ることに対して正規化回路9で座標変換された座標y!
t、ftはXm1n 、 Yminを原点とした相対座
標となる。
Now, even if the character size is different, it is converted to a constant size. Furthermore, since Xt s Yt is an absolute coordinate, the coordinate y! which has been coordinate-converted by the normalization circuit 9.
t and ft are relative coordinates with Xm1n and Ymin as the origin.

以下正規化回路9で座標変換した後の座標を正規化座標
と呼ぶ。正規化回路9はZ座標レジスタ10、X座標レ
ジスタ13.Y座標レジスタ16に正規化回路9によっ
て変換した正規化座標り。
Hereinafter, the coordinates after coordinate transformation by the normalization circuit 9 will be referred to as normalized coordinates. The normalization circuit 9 includes a Z coordinate register 10, an X coordinate register 13 . The normalized coordinates converted by the normalization circuit 9 are stored in the Y coordinate register 16.

x’t、Qtを格納する。一定時間間隔で取り込まれた
座標xt 、 yt、 zt  は文字座標メモリ6に
格納されており、この座標は順次、正規化回路9によっ
て正規化座標X’t 、Y′t、 z’tに変換され、
X座標レジスタ13.Y座標レジスタ16z座標レジス
タへ格納される。
x't, Qt are stored. The coordinates xt, yt, zt captured at regular time intervals are stored in the character coordinate memory 6, and these coordinates are sequentially converted into normalized coordinates X't, Y't, z't by the normalization circuit 9. is,
X coordinate register 13. The Y coordinate register 16 is stored in the Z coordinate register.

なお、Z座標レジスタ10.X座標レジスタ13Y座標
レジスタ16は正規化回路9によって変換された正規化
座標を格納する直前に、それぞれの内容を2座標レジス
タ11.X座標レジスタ14゜Y座標レジスタ17に七
ットして、その後正規化座標を格納する。これにより、
z、x、X座標レジスタ11,14.17には、z、x
、X座標しジスタ10.13.16に格納されている正
規化座標よりも直前に取込まれた正規化座標が格納され
ていることになる。
Note that the Z coordinate register 10. Immediately before storing the normalized coordinates converted by the normalization circuit 9, the X-coordinate register 13, Y-coordinate register 16 stores the respective contents in the two coordinate registers 11. The X coordinate register 14 and the Y coordinate register 17 are set to 7, and then the normalized coordinates are stored. This results in
The z, x, X coordinate registers 11, 14.17 contain z, x
, X coordinates, and the normalized coordinates captured immediately before the normalized coordinates stored in the register 10.13.16 are stored.

X座標微分回路12はZ座標レジスタIOおよび11の
内容からX座標の変化を調べる。例えばZ=1からZ−
0あるいはZ=1の連続、あるいはZ=0からZ=1、
あるいはZ=0の連続かを検出する。もし、X座標レジ
スタ11の内容が、1でX座標レジスタ10の内容が0
0場合には、2−1からZ=0に変化したことを表わす
The X coordinate differentiating circuit 12 examines the change in the X coordinate from the contents of the Z coordinate registers IO and 11. For example, from Z=1 to Z−
A series of 0 or Z=1, or from Z=0 to Z=1,
Alternatively, it is detected whether Z=0 is continuous. If the contents of the X coordinate register 11 are 1 and the contents of the X coordinate register 10 are 0,
If it is 0, it means that Z=0 has changed from 2-1.

Z、X、Y座標レジスタ10.13.16と11゜14
、 、 l 7とで表わされる座標の間を2点間として
説明する。
Z, X, Y coordinate registers 10.13.16 and 11°14
The coordinates represented by , , and l7 will be explained as two points.

X座標差分回路15はサンプリングの2点間のX座標の
変化量を求めるものであり、X座標レジスタ13.14
の内容をX’t+ X’t−x  とすると、a−盾−
X′t−1を算出する。
The X-coordinate difference circuit 15 calculates the amount of change in the X-coordinate between two sampling points, and the X-coordinate register 13.14
Let the content of be X't+ X't-x, then a-shield-
Calculate X't-1.

同様にY座標差分回路18は2点間のY座標の変化量を
求めるものであり、Y座標レジスタ16゜17の内容を
Y’t+ Y’t−x  とすると、b = Y’t−
Y’t−1を算出する。
Similarly, the Y-coordinate difference circuit 18 calculates the amount of change in the Y-coordinate between two points, and if the contents of the Y-coordinate register 16 and 17 are Y't+ Y't-x, then b = Y't-
Calculate Y't-1.

上記のα、bからスタイラスペン8の移動方向ふ・よび
2点間の線分の長さを求め、認識するものである。
The moving direction of the stylus pen 8 and the length of the line segment between two points are determined and recognized from the above α and b.

線分方向検出回路19はサンプリングした2点間の線分
の方向すなわちペンの移動方向を求めるものであり、線
分の方向をθとすると、 tづnθ =− でθを・求める。
The line segment direction detection circuit 19 determines the direction of the line segment between the two sampled points, that is, the direction of movement of the pen.If the direction of the line segment is θ, then θ is determined by tznθ=−.

ここで認識方法を簡略化するため、θを例えば第2図に
示すような8種類などに区分する。16種類、32種類
などと多く区分した方が精度よく区分できるが、認識が
複雑となるので、実施例では8種類としている。
Here, in order to simplify the recognition method, θ is divided into eight types as shown in FIG. 2, for example. It would be possible to classify more accurately, such as 16 types, 32 types, etc., but recognition would be complicated, so in the embodiment, 8 types are used.

線分方向検出回路19のθの区分値を線分方向レジスタ
20と、方向微分回路24・へ送り、線分方向レジスタ
20に格納する。
The division value of θ from the line segment direction detection circuit 19 is sent to the line segment direction register 20 and the direction differentiation circuit 24, and is stored in the line segment direction register 20.

線分方向検出レジスタ20は線分方向検出回路19から
θの区分値を格納する前に線分方向検出レジスタ20の
内容を方向微分回路24へ送るようにしているので、方
向微分回路24は線分方向検出回路19と線分方向レジ
スタから送られるそれぞれのθの区分値から、θの区分
値の変化を知ることができる。
The line segment direction detection register 20 sends the contents of the line segment direction detection register 20 to the direction differentiation circuit 24 before storing the segment value of θ from the line segment direction detection circuit 19. Changes in the θ segment values can be known from the θ segment values sent from the segment direction detection circuit 19 and the line segment direction register.

次に2点間の線分の長さlを求める方法について説明す
る。
Next, a method for determining the length l of a line segment between two points will be explained.

線分長検出回路21は2点間の線分の長さlを求めるも
のであり、次式で算出する。
The line segment length detection circuit 21 determines the length l of a line segment between two points, and calculates it using the following equation.

l天7 比較回路22は線分の長さlがあらかじめ決めた定数e
 (eは文字の大きさなどから決定する)以上のものを
有効とし、0未満の場合には無効とする。これは手の振
動などによるスタイラスペン3の微小移動量であり、ノ
イズとみなし、取除くようにしている。このlが0未満
の場合には2座標レジスタ11 、X座標レジスタ14
、Y座標レジスタ17の内容をそのままとし、次のサン
プリング点の正規化座標をX座標レジスタ10、X座標
レジスタ13、Y座標レジスタ16ヘセツトし、1点を
飛びこした点との間のθとlを算出する。
l Heaven 7 The comparator circuit 22 uses the line segment length l as a predetermined constant e.
(e is determined from the font size, etc.) Values above are valid, and values less than 0 are invalid. This is a minute amount of movement of the stylus pen 3 due to hand vibration, etc., and is treated as noise and removed. If this l is less than 0, 2 coordinate register 11, X coordinate register 14
, leave the contents of the Y-coordinate register 17 unchanged, set the normalized coordinates of the next sampling point to the X-coordinate register 10, X-coordinate register 13, and Y-coordinate register 16, and calculate Calculate l.

線分の゛長さlが8以上のときには線分の長さlを距離
加算回路28へ送る。方向微分回路24.は線分方向検
出回路19から送られる線分の方向θの区分値と、その
前のサンプリング点で得られる線分方向θの区分値であ
る線分方向レジスタ20とから線分の方向が同じである
か、異なるかを判断する。もしθの区分値が同じ場合に
は距離加算回路28へ信号を送る。距離加算回路28は
比較回路22から送られる線分の長さlを加算し、距離
加算回路23へ格納しておく。もし、線分方向検出回路
19から送られる線分の方向θの区分値と、線分方向レ
ジスタ20から送られる線分の方向θの区分値が異なる
場合には異なる信号を距離加算回路23へ送り、距離加
算回路28に加算されていた線分の長さlの加算値を線
分長区分回路26へ送るとともに、比較回路22から送
られる線分の長さlを新しく距離加算回路23へ七ッ卜
する。
When the length l of the line segment is 8 or more, the length l of the line segment is sent to the distance addition circuit 28. Directional differentiation circuit 24. indicates that the line segment direction is the same based on the division value of the line segment direction θ sent from the line segment direction detection circuit 19 and the division value of the line segment direction θ obtained at the previous sampling point from the line segment direction register 20. Determine whether it is or is different. If the division values of θ are the same, a signal is sent to the distance addition circuit 28. The distance addition circuit 28 adds the length l of the line segment sent from the comparison circuit 22 and stores it in the distance addition circuit 23. If the division value of the line segment direction θ sent from the line segment direction detection circuit 19 is different from the division value of the line segment direction θ sent from the line segment direction register 20, different signals are sent to the distance addition circuit 23. The added value of the line segment length l that was added to the distance addition circuit 28 is sent to the line segment length classification circuit 26, and the line segment length l sent from the comparison circuit 22 is newly sent to the distance addition circuit 23. Seven times.

これにより、θの区分値の同じものが続いたときには、
線分の長さの合計が得られるので、θの区分値が変化す
るまでの線分の長さを示すことになる。
As a result, when the same division value of θ continues,
Since the total length of the line segments is obtained, it indicates the length of the line segments until the segment value of θ changes.

線分長区分回路26は距離加算回路28から送られる線
分の長さlの加算値を複数に区分し、認識処理を簡単化
する。
The line segment length division circuit 26 classifies the added value of the line segment length l sent from the distance addition circuit 28 into a plurality of values, thereby simplifying the recognition process.

たとえば、実施例では文字の大きさをCに変換している
ので、線分の長さlの加算値が Cの一未満・・・・・・・・・・・区分値 04昔 04種に区分している。
For example, in the example, the font size is converted to C, so the added value of the length l of the line segment is less than one of C. It is divided.

線分特徴抽出回路33は線分方向レジスタ2oから送ら
れる線分の方向θの区分値と、線分長区分回路26から
送られる線分の長さlの加算値の区分値とから線分の特
徴を抽出する。
The line segment feature extraction circuit 33 extracts a line segment from the segment value of the line segment direction θ sent from the line segment direction register 2o and the segment value of the added value of the line segment length l sent from the line segment length segment circuit 26. Extract the features of

線分方向θの区分値をθ4.線分の長さlの加算値の区
分値をla  とする。区分数はθα が第2図に示す
ように8区分、la は前述のように4・区分として説
明する。
The division value of the line segment direction θ is θ4. Let la be the division value of the added value of the length l of the line segment. As for the number of divisions, θα is 8 divisions as shown in FIG. 2, and la is 4 divisions as described above.

例えば第8図に示すような数字「5」を第1画に「5」
、第2画に「−」の順序で書いたとする。
For example, the number "5" as shown in Figure 8 is "5" on the first stroke.
, and the second stroke in the order of "-".

第4図は、第3図のように文字を書いたときのスタイラ
スペン3の座標を変換し、正規化座標からθ、lを求め
、さらに区分値θa、lαに区分したときの文字パター
ンを示している。
Figure 4 shows the character pattern obtained by converting the coordinates of the stylus pen 3 when writing characters as shown in Figure 3, determining θ and l from the normalized coordinates, and dividing them into segment values θa and lα. It shows.

第4図(a)は第1両目の「5」の部分であり、(b)
は第2両目の「−」の部分である。第1両目と第2両目
の区切りは次のように行なっている。Z=1から2=0
に変化したと癖、第1両目が終了したとみなし、次にZ
=OからZ=1に変化したときに第2両目が始まったと
している。同様に第2両目と第3両目、第8両目と第4
両目との区切るもので以後も同様である。
Figure 4 (a) is the "5" part of the first car, and (b)
is the "-" part of the second car. The separation between the first car and the second car is done as follows. Z=1 to 2=0
When it changes to Z, it is considered that the first car has finished, and then Z
It is assumed that the second car starts when Z = O changes to Z = 1. Similarly, the second car and the third car, the eighth car and the fourth car
This is what separates the eyes from each other, and the same applies hereafter.

各画ごとに区分値θaおよびlaの出現順序から各画の
特徴を求め、この特徴を組合せてスタイラスペン3で書
かれた文字を認識するものである。
Characteristics of each stroke are determined from the appearance order of segment values θa and la for each stroke, and characters written with the stylus pen 3 are recognized by combining these characteristics.

しかし、区分値θαおよびlaの出現順序から各画ごと
の特徴を求める場合、文字が直線だけで構成されるもの
では問題ないが、しかし第8、第4図に示すような曲線
を含む文字のときには、区分値θαおよびlaの組合が
非常に多くなり、容易に各面ごとの特徴を抽出できない
。数字「5」の第1両目「5」の部分でも、書く人によ
っては第5図(a) 、 (b)に示すようなθα、l
αが出現し、第4図の場合と異なっているので第1両目
の特徴を抽出す乃場合に非常に複雑となる。このため本
発明では線分特徴抽出回路38によりθa+laをもと
に直線、曲線を検出しに後、画の特徴を抽出するように
しているので、画の特徴が容易に抽出できるようになる
。実施例では第2図に示す直線8種類と第6図に示す曲
線8種類に区分している。
However, when determining the characteristics of each stroke from the order of appearance of the segment values θα and la, there is no problem if the character consists of only straight lines, but if the character consists of curved lines as shown in Figures 8 and 4, Sometimes, there are so many combinations of segmentation values θα and la that it is not possible to easily extract features for each surface. Even in the first car of the number "5", depending on the person writing it, θα, l as shown in Figure 5 (a) or (b).
Since α appears and is different from the case shown in FIG. 4, it becomes very complicated when extracting the features of the first two eyes. Therefore, in the present invention, the line segment feature extraction circuit 38 detects straight lines and curves based on θa+la and then extracts the features of the image, so that the features of the image can be easily extracted. In the embodiment, the lines are divided into 8 types of straight lines shown in FIG. 2 and 8 types of curves shown in FIG. 6.

線分特徴抽出回路88により出力される直線、曲線の区
分(以下線分の特徴区分と呼ぶンをP (IJ)で表わ
す。
The division of straight lines and curves (hereinafter referred to as feature division of line segments) output by the line segment feature extraction circuit 88 is represented by P (IJ).

■は直線の方向の区分θα(第2図)および曲線の区分
(第6図参照)を示し、Jは線分の長さの区分h を示
す。曲線の場合では、曲線の大きさで区分してJを表わ
してもよいが実施例では区分しないでJ=0として簡単
化している。
(2) indicates the division θα of the straight line direction (FIG. 2) and the division of the curve (see FIG. 6), and J indicates the division h of the length of the line segment. In the case of a curve, J may be expressed by dividing it by the size of the curve, but in the embodiment, J is simplified by not dividing it and J=0.

例えば第4図(a)のP (IJ)の抽出はP(62)
 、P(80)。
For example, the extraction of P (IJ) in Figure 4 (a) is P (62)
, P (80).

P(90)となり、第4図(b)はP(O8)となる。The value becomes P(90), and the value shown in FIG. 4(b) becomes P(O8).

また第5図(a)はP(62) 、 P’(80) 、
 P(90) 、  (b)はP(62) 、 p(s
O) 、 P(90) 、P(AO)となり、第4図(
α)、第5図(a) 、 (b)の数字「5」の第1両
目「5」は非常に似たものが抽出でき、次の各画ごとの
特徴抽出が容易である。
Also, Fig. 5(a) shows P(62), P'(80),
P(90), (b) is P(62), p(s
O), P(90), P(AO), and Fig. 4(
α), the first two eyes "5" of the number "5" in FIGS. 5(a) and (b) can be extracted as being very similar, making it easy to extract features for each subsequent stroke.

以下各画ごとの特徴抽出を画特徴抽出として説明する。Feature extraction for each image will be described below as image feature extraction.

次に画特徴抽出について説明する。Next, image feature extraction will be explained.

Z=1からZ−0までを1画とし、1画ごとに特徴を抽
出する。
One stroke is from Z=1 to Z-0, and features are extracted for each stroke.

読出専用記憶装置27とレジスタ28とからなり、レジ
スタ28の内容と線分特徴抽出回路33から出力される
線分の特徴区分P(IJ)の内容IJ をアドレス(番
地)として、読出専用記憶装置27がら読出して、レジ
スタ28ヘセツトするものである。線分の特徴が変化し
たときに出力される線分特徴抽出回路33の出力信号と
、タイミング信号CKIとのアンドゲート29からの出
力信号のタイミングで読出専用記憶装置27から読出し
て、レジスタ28へセットしているので、線分の方向が
変化したときに読出すことになる。さらにレジスタ28
の内容もアドレスとして読出専用記憶装置27から読出
しているので、レジスタ28には、線分方向の変化した
状態がセットされることになる。
The read-only storage device consists of a read-only storage device 27 and a register 28, and uses the contents of the register 28 and the contents IJ of the line segment feature classification P(IJ) output from the line segment feature extraction circuit 33 as an address. The data is read from 27 and set in register 28. It is read out from the read-only storage device 27 and sent to the register 28 at the timing of the output signal from the AND gate 29 between the output signal of the line segment feature extraction circuit 33, which is output when the feature of the line segment changes, and the timing signal CKI. Since it is set, it will be read when the direction of the line segment changes. Furthermore, register 28
Since the content of is also read from the read-only storage device 27 as an address, the state in which the line segment direction has changed is set in the register 28.

例えば第8図のような数字「5」を書いた場合、第4図
(α) 、 (b)で示すような線分の方向区分θα、
線分の長さ区分lα が第1画、第2画でそれぞれ得ら
れたとし、前述のように線分の特徴区分(IJ)が第1
画でP(62) 、 P(80) 、 P(90)およ
び第2画でP(O3)  が得られたとする。
For example, if you write the number ``5'' as shown in Figure 8, the direction segment θα of the line segment as shown in Figure 4 (α), (b),
Suppose that the line segment length division lα is obtained in the first stroke and the second stroke, and as mentioned above, the line segment feature division (IJ) is obtained in the first stroke.
Suppose that P(62), P(80), P(90) are obtained in the first picture, and P(O3) is obtained in the second picture.

第7図は読出専用記憶装置27とレジスタ28とからな
る画特徴抽出の状態遷移図の一部を示すものである。
FIG. 7 shows a part of a state transition diagram for image feature extraction, which consists of the read-only storage device 27 and the register 28.

円内のSOO〜S20は状態SOO〜S20を意味する
もので、読出専用記憶装置27から00〜20が読出さ
れ、レジスタ28に格納される。また矢印の近くのP(
00)などのP(IJ)  は線分特徴抽出回路83か
ら出力される線分の特徴区分P(IJ)を示す。
SOO-S20 in the circle means states SOO-S20, and 00-20 are read from the read-only storage device 27 and stored in the register 28. Also, P near the arrow (
P(IJ) such as 00) indicates the feature classification P(IJ) of the line segment output from the line segment feature extraction circuit 83.

例えば、初期状態である初SOOのとき、線分の特徴区
分P(62)が抽出された場合、SO2の状態に変化す
ることを意味する。つまり、レジスタ28は00の内容
で、P(62)  が抽出されたとき−100と62と
で示される数値をアドレスとして、読出専用記憶装置2
7から読出される内容はSO2の状態に対応する02で
あり、02がレジスタ28に格納される。次に線分の特
徴区分p(so)が抽出されると、レジスタ28の内容
02と80とで示される数値をアドレスとして、読出専
用記憶装置27を読出すと、808の状態に対応する0
8が読出されて、08がレジスタ28に格納される。同
様に線分の特徴区分P(:90)が抽出されると、読出
専用記憶装置27から状態S15に対応する15が読出
され、レジスタ28に格納する。これで第1画が終了す
ると、第1画の特徴はレジスタ28に格納されている1
5に対応する515である。
For example, when the feature segment P(62) of the line segment is extracted in the initial state SOO, this means that the state changes to SO2. In other words, the register 28 has the content 00, and when P(62) is extracted, the read-only storage device 28 uses the numbers indicated by -100 and 62 as addresses.
The content read from 7 is 02 corresponding to the state of SO2, and 02 is stored in register 28. Next, when the feature segment p(so) of the line segment is extracted, the read-only storage device 27 is read using the numerical values indicated by the contents 02 and 80 of the register 28 as addresses.
8 is read and 08 is stored in register 28. Similarly, when the feature segment P(:90) of the line segment is extracted, 15 corresponding to the state S15 is read from the read-only storage device 27 and stored in the register 28. When the first stroke is completed, the feature of the first stroke is 1 stored in the register 28.
It is 515 corresponding to 5.

次に第2画は第4・図(b)のようなθα−0.lα=
3が得られたとすると、線分の特徴区分P’(IJ) 
 はP(O3)が抽出されて、第2画の特徴はS20と
なる。
Next, the second stroke is θα-0 as shown in the fourth figure (b). lα=
3 is obtained, the feature classification P'(IJ) of the line segment
P(O3) is extracted, and the feature of the second image is S20.

なお第7図の円内の図は、状態Sに対応する線分の構成
の略図を示しているものであり、S15は「5」の形状
を意味している。またSO6は「2」の形状であり、S
12は「2」の形状である。
Note that the diagram inside the circle in FIG. 7 shows a schematic diagram of the configuration of line segments corresponding to state S, and S15 means the shape of "5". Also, SO6 has a “2” shape, and S
12 is in the shape of a "2".

さらにこの各画の特徴を組合せて書いた文字を認識する
。第1図の認識回路80は、相対位置検出回路25から
送られる各画の線の書き始めの点あるいは書き終りの点
の座標の相対的な位置と、画特徴との組合せで認識する
Furthermore, the characters written by combining the characteristics of each stroke are recognized. The recognition circuit 80 in FIG. 1 recognizes the relative position of the coordinates of the starting point or ending point of each line sent from the relative position detection circuit 25 in combination with the image characteristics.

Z座標微分回路12から、座標Zの変化つまりZ=1か
ら2=0あるいはZ=OからZ=1のときに送られる信
号をタイミングとして、認識回路30は1画ごとに画特
徴を組合せる。例えば、前述の第4図(α)(b)の場
合、S15と520が組合されて数字「5」の認識結果
となり、信号CHを出力する。もし8画の文字の場合に
は、1画と2画の組合せの結果に3画の特iを組合せて
、その結果が認識結果となる。
The recognition circuit 30 combines image features for each stroke using a signal sent from the Z coordinate differentiating circuit 12 when the coordinate Z changes, that is, from Z=1 to 2=0 or from Z=O to Z=1. . For example, in the case of FIG. 4(α)(b) described above, S15 and 520 are combined to result in the recognition of the number "5", and the signal CH is output. If it is a character with 8 strokes, the result of the combination of 1 stroke and 2 strokes is combined with the special i of 3 strokes, and the result becomes the recognition result.

(4、図面の簡単な説明 第1図は本発明の構成を示す図、第2図は線分の方向区
分例、第8図は被認識文字の例、第4図(α)、(b)
ならびに第5図(a) 、 (b)は文字パターンの各
画ごとの区分値を、その出現順に示す図、第6図は文字
等の曲線の区分を示す図であり、第7図は画特徴抽出の
状態遷移を示す図である。
(4. Brief explanation of the drawings) Figure 1 shows the configuration of the present invention, Figure 2 shows an example of line segment direction division, Figure 8 shows an example of characters to be recognized, Figures 4 (α), (b )
5(a) and 5(b) are diagrams showing the division values for each stroke of a character pattern in the order of their appearance, FIG. 6 is a diagram showing divisions of curved lines of characters, etc., and FIG. FIG. 3 is a diagram showing state transition of feature extraction.

lはタブレット 2は用紙 8はスタイラスペン 4は座標読取回路 5は文字区切検出回路 6は文字座標メモリ 7はXY最最大最小検出回路 8は文字大きさ演算回路 9は正規化回路 10は2座標レジスタ 11は2座標レジスタ 12はZ座標微分回路 13はX座標レジスタ ■4はX座標レジスタ 15はX座標差分回路 16はY座標レジスタ 17はY座標レジスタ 18はY座標差分回路 19は線分方向検出回路 20は線分方向レジスタ 21は線分長検出回路 22は比較回路 23は距離加算回路 24は方向微分回路 25は相対位置検出回路 26は線分長区分回路 27は読出専用記憶装置 28はレジスタ 29はアンドゲート 30は認識回路l is tablet 2 is paper 8 is a stylus pen 4 is the coordinate reading circuit 5 is character delimiter detection circuit 6 is character coordinate memory 7 is the XY maximum maximum minimum detection circuit 8 is a character size calculation circuit 9 is a normalization circuit 10 is 2 coordinate register 11 is 2 coordinate register 12 is the Z coordinate differential circuit 13 is the X coordinate register ■4 is the X coordinate register 15 is the X coordinate difference circuit 16 is the Y coordinate register 17 is the Y coordinate register 18 is the Y coordinate difference circuit 19 is a line segment direction detection circuit 20 is the line segment direction register 21 is a line segment length detection circuit 22 is a comparison circuit 23 is a distance addition circuit 24 is a directional differentiation circuit 25 is a relative position detection circuit 26 is a line segment length division circuit 27 is a read-only storage device 28 is a register 29 is and gate 30 is recognition circuit

Claims (2)

【特許請求の範囲】[Claims] (1)ペンの座標X、Y、およびZを一定の時間間隔で
取込むことにより、ペンで記載された文字、記号等を認
識する文字認識装置において、1文字の書き始め及び書
き終りを検出する手段と、文字の大きさを正規化する手
段と、座標2の変化から、画の変化を検出する手段と、
座標X、Yから線分の方向及び長さを検出する手段と、
線分の方向および長さの出現順序から線分の特徴を抽出
する手段と、線分の特徴の出現順序から各画ごとの特徴
を抽出する手段と、画の特徴の組合せから文字等を認識
する手段から構成されたことを特徴とする文字認識装置
(1) By capturing the coordinates X, Y, and Z of the pen at regular intervals, a character recognition device that recognizes characters, symbols, etc. written with a pen detects the beginning and end of writing one character. means for normalizing the size of characters; means for detecting changes in stroke from changes in coordinate 2;
means for detecting the direction and length of a line segment from coordinates X and Y;
A means for extracting line segment features from the order of appearance of line segment directions and lengths, a means for extracting features for each stroke from the appearance order of line segment features, and recognition of characters, etc. from a combination of stroke features. A character recognition device characterized by comprising means for:
(2)座標Xふ・よびYから線分の長さおよび方向を検
出し、それらを区分する手段と、前記線分の方向および
長さの区分から直線や曲線等の文字、記号等の線分の特
徴を抽出し区分する手段から構成されたことを特徴とす
る特許請求の範囲第1項記載の文字認識装置。
(2) A means for detecting the length and direction of a line segment from the coordinates 2. The character recognition device according to claim 1, further comprising means for extracting and classifying minute features.
JP57185837A 1982-10-21 1982-10-21 Character recognizer Pending JPS5975374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57185837A JPS5975374A (en) 1982-10-21 1982-10-21 Character recognizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57185837A JPS5975374A (en) 1982-10-21 1982-10-21 Character recognizer

Publications (1)

Publication Number Publication Date
JPS5975374A true JPS5975374A (en) 1984-04-28

Family

ID=16177741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57185837A Pending JPS5975374A (en) 1982-10-21 1982-10-21 Character recognizer

Country Status (1)

Country Link
JP (1) JPS5975374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62177687A (en) * 1986-01-30 1987-08-04 Nec Corp Inclination detecting circuit for pattern outline

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62177687A (en) * 1986-01-30 1987-08-04 Nec Corp Inclination detecting circuit for pattern outline

Similar Documents

Publication Publication Date Title
US4542526A (en) Character recognition apparatus
JPS6079485A (en) Handwriting character recognition processing device
JP3335538B2 (en) Method and apparatus for collating a handwritten character string
CN112749646A (en) Interactive point-reading system based on gesture recognition
JPH08305797A (en) Dynamic verification method of handwriting based on reference handwriting
JPS5975374A (en) Character recognizer
JP2734245B2 (en) Image feature extraction method and apparatus
JPH09319828A (en) On-line character recognition device
JPH045231B2 (en)
JPS5835674A (en) Extracting method for feature of online hand-written character
JPH0432431B2 (en)
JP3066530B2 (en) Online handwriting recognition device
JP3574246B2 (en) Pattern recognition device
JPH10187886A (en) Character recognizing device and method
JPS5840787B2 (en) Character recognition processing method
JPH0357509B2 (en)
JP2633523B2 (en) Handwriting input device
Subha Rajam et al. Design and development of tamil sign alphabets using image processing with right hand palm to aid deaf-dumb people
JPS6068484A (en) On-line handwritten character recognizing system
JPS5929246Y2 (en) Online recognition processing device for handwritten characters
JPH05143738A (en) On-line graphic recognizing device
JP2638003B2 (en) Image processing device
CN112183538A (en) Manchu recognition method and system
JPH0475554B2 (en)
JPS622382A (en) Feature extracting devie for pattern