JPS6073794A - Character recognition device - Google Patents

Character recognition device

Info

Publication number
JPS6073794A
JPS6073794A JP58182386A JP18238683A JPS6073794A JP S6073794 A JPS6073794 A JP S6073794A JP 58182386 A JP58182386 A JP 58182386A JP 18238683 A JP18238683 A JP 18238683A JP S6073794 A JPS6073794 A JP S6073794A
Authority
JP
Japan
Prior art keywords
line segment
circuit
register
point
length
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
JP58182386A
Other languages
Japanese (ja)
Inventor
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 JP58182386A priority Critical patent/JPS6073794A/en
Publication of JPS6073794A publication Critical patent/JPS6073794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To enable the titled device to extract features easily and correctly by correcting the direction division due to the inclination of plural segments, and adding the length of respective segments corresponding to the plural direction compositions. CONSTITUTION:A segment direction correction circuit 33 and a segment length correction circuit 34 are installed. At the circuit 34, in case of the direction division from point 50 to point 51 is theta=6, the division from point 51 to point 52 is theta=5 and the division from 52 to point 53 is theta=6, these can be regarded as the inclination of same segment. Therefore, theta from point 51 to point 52 is corrected from 5 to 6. By executing such correction in order, all divisions can be treated as theta=6 in the range from point 50 to point 54 and the picture feature is correctly and easily extracted. At the circuit 34, the whole length of the desired segments is obtained by adding the length of the segment corresponding to respective divisions including the corrected divisions in the circuit 33. The recognition is executed from the picture feature obtained in such a way.

Description

【発明の詳細な説明】 ■技術分野 本発明は所定のタブレット上でペンを用いて文字、記号
等(以下文字等という)を記載するとともに、記載され
た文字を読取るオンライン文字読取認識装置に関するも
のである。
[Detailed Description of the Invention] ■Technical Field The present invention relates to an online character reading recognition device that writes characters, symbols, etc. (hereinafter referred to as characters, etc.) using a pen on a predetermined tablet and reads the written characters. It is.

[2]従来技術 所定のタブレットの上でペンによって記される文字等を
オンラインで読み取る際には、手書き図形のパターゾ入
力装置で得られる情報を、上記入力装置に接続された汎
用コンピュータを用いて、そのソフトウェアによって認
識する必要があった。
[2] Prior art When reading characters, etc. written with a pen on a prescribed tablet online, the information obtained from the paterzo input device for handwritten figures is read using a general-purpose computer connected to the input device. , needed to be recognized by its software.

このため複雑な文字等の認識ステップに頼ることとなり
入力から認識結果を得るまでに長い時間が経過し、オン
ライン読み取りの実情に合わないことが多い。
For this reason, it is necessary to rely on complex character recognition steps, and a long time elapses from input to obtaining recognition results, which is often not suitable for the actual situation of online reading.

又タブレット上にペンで記された文字をオンラインで読
取る装置として文字の筆順と各線分の長さ、方向、向き
等からタブレット面に垂直な軸(2軸)の座標変化、つ
まり1文字の字画ごとに57−185839号に開示さ
れており以下に図を用いて説明する。
Also, as an online device for reading characters written with a pen on a tablet, it is possible to detect changes in the coordinates of the axes (two axes) perpendicular to the tablet surface based on the stroke order of the characters and the length, direction, direction, etc. of each line segment, that is, the stroke of one character. No. 57-185839, and will be explained below using figures.

第1図は文字等の線分の方向を簡単に認識する例として
ペン移動角θを8種類に区分したものである。次に略3
図は字の大きさを正規化した数字る。すなわち線分の向
きを前記のコード符号で表わし、線分の長さについては
正規化文字の大きさかつ決められる標準寸度C(例えば
10mm)を4・等分し、1/4以下を0,1/2〜1
/4Iを1.3/4−〜1/2を2.874以上を8と
してlにコード符号を割つけする。第1画の線分はまず
方向〆、θ=5.l=3゜次に方向→、θ−0,1=3
であるから、画特徴をC04゜とする。第2画lはθ−
6.β−2となり画特徴はCOIである。このような画
特徴をその生起順序に従って組合せしてゆけば文字等の
認識をすることができる。
FIG. 1 shows pen movement angles θ divided into eight types as an example for easily recognizing the direction of line segments of characters, etc. Next, about 3
The numbers in the figure are normalized font sizes. In other words, the direction of the line segment is expressed by the above-mentioned code symbol, and the length of the line segment is determined by dividing the normalized character size and standard dimension C (for example, 10 mm) into 4 equal parts, and dividing 1/4 or less into 0. ,1/2~1
/4I is 1.3/4- to 1/2 is 2.874 or more is 8, and a code sign is assigned to l. The line segment of the first stroke is first in the direction 〆, θ=5. l = 3° then direction →, θ-0, 1 = 3
Therefore, the image feature is set to C04°. The second stroke l is θ-
6. β-2, and the image feature is COI. By combining such image features according to their order of occurrence, characters, etc. can be recognized.

[8]従来技術の問題点 筆順認識による文字、記号等(以下文字等という)の実
時間読取装置は優れた装置であるが、一部の文字等につ
いては認識が困難な場合がある。
[8] Problems with the Prior Art Although real-time reading devices for characters, symbols, etc. (hereinafter referred to as characters, etc.) based on stroke order recognition are excellent devices, it may be difficult to recognize some characters, etc.

例えば線分の傾きθが第5図(a)の如く垂直線から約
22.5度右に傾斜して数字“1°゛が記された場合子
の動きによっては第5図(b)のようになることがある
。すなわち点50〜51の間の傾きθは22.5度より
も少し小さく方向区分θ−6に属するが点51〜52 
の間ではθ>22.5度、方向区分θ−5となり、さら
に続く線分においてもθの値が異なってくる。
For example, if the inclination θ of the line segment is about 22.5 degrees to the right from the vertical line as shown in Figure 5 (a) and the number "1°" is written, depending on the movement of the child, the slope θ of Figure 5 (b) In other words, the slope θ between points 50 and 51 is a little smaller than 22.5 degrees and belongs to the direction division θ-6, but the slope between points 51 and 52
In between, θ>22.5 degrees and direction division θ-5, and the value of θ also differs in subsequent line segments.

このように同一の筆画中でもまちまちの線分傾斜区分が
検出されると画特徴の抽出ができなくなる。
In this way, if different line segment slope divisions are detected even in the same stroke, it becomes impossible to extract the image features.

(4)発明の目的 本発明は上記従来技術の問題点を解決し、複雑な汎用コ
ンピュータ用文字識別ソフトウェアの手順を経ることな
しにタブレット」−にペンで記された文字、記号等を、
その筆順に基づく線分の画特徴から認識する改良された
文字認識装置を提供することを目的としている。
(4) Purpose of the Invention The present invention solves the above-mentioned problems of the prior art, and allows characters, symbols, etc. written with a pen on a tablet to be recognized without going through the steps of complicated character recognition software for general-purpose computers.
It is an object of the present invention to provide an improved character recognition device that recognizes characters from the image characteristics of line segments based on the order of strokes.

(5)発明の構成 本発明の第1の要件は、複数の線分の傾きによる方向区
分を補正し、両特徴を明確化する手段であり、第2の要
件は前記複数の方向区分に対応するそれぞれの線分の長
さを加算する手段である。
(5) Structure of the Invention The first requirement of the present invention is a means for correcting the directional division based on the slope of a plurality of line segments and clarifying both characteristics, and the second requirement is to correspond to the plurality of directional divisions. This is a means of adding the lengths of each line segment.

第6図を用いてその構成を説明する。The configuration will be explained using FIG. 6.

すなわち本発明においては、線分方向補正回路33およ
び線分長補正回路34・ を設けることによって第5図
(b)のように与えられたθとtとを修正し画特徴を簡
略化するものである。以下に詳述する。
That is, in the present invention, by providing a line segment direction correction circuit 33 and a line segment length correction circuit 34, the given θ and t are corrected as shown in FIG. 5(b), and the image characteristics are simplified. It is. The details are explained below.

線分方向補正回路33は線分方向区分の前後から、同一
の線分の方向とみなし得るかを判断し、もし同一の方向
の場合、線分の方向の補正を行うものであって、例えば
第5図(b)のように点50から点51までの方向区分
θ−61点51から点52までの方向区分θ−52点5
2から点53までの方向区分θ−6の場合、これらは同
一の線分傾斜であるとみなすことができるので、点51
から点52までのθを5から6に補正することによって
点50から点53まではθ−6となる。このような補正
を行うことによって最初の点50から最後の点54.ま
でをすべてθ−6として取扱うことができ、両特徴の抽
出が正確かつ簡単になる。
The line segment direction correction circuit 33 determines whether the directions of the line segment can be considered to be the same from the front and back of the line segment direction division, and if the directions are the same, corrects the direction of the line segment, for example. As shown in Fig. 5(b), the direction division θ-61 from point 50 to point 51, the direction division θ-52 from point 51 to point 52, point 5
In the case of direction segment θ-6 from point 2 to point 53, these can be considered to have the same line segment slope, so point 51
By correcting θ from 5 to 6 to point 52, the value from point 50 to point 53 becomes θ-6. By performing such correction, the first point 50 to the last point 54. can be treated as θ-6, making extraction of both features accurate and easy.

次に線分方向補正回路83および線分長補正回路34に
ついて第6図を用いて説明する。線分方向補正回路38
はレジスタ35と線分方向判定回路5− 36 とから構成される。レジスタ35には線分方向レ
ジスタ20から線分方向区分θが入力されるもので、線
分方向レジスタ20に格納されているθの1回前に区分
されたθが格納されている。
Next, the line segment direction correction circuit 83 and the line segment length correction circuit 34 will be explained using FIG. 6. Line segment direction correction circuit 38
is composed of a register 35 and a line segment direction determination circuit 5-36. The line segment direction classification θ is inputted to the register 35 from the line segment direction register 20, and stores θ that is classified one time before θ stored in the line segment direction register 20.

また線分方向判定回路36には、さらにレジスタ35に
格納されているθよりも1回前のθが格納されているの
で、線分方向判定回路86においては、8回連続して、
区分されたθを照合する。
Furthermore, the line segment direction determination circuit 36 stores θ that is one time before the θ stored in the register 35, so the line segment direction determination circuit 86 stores θ eight times in a row.
Verify the divided θ.

ここでθを補正するには線分方向区分θθ値の近いもの
だけを対象にしている。例えば第2図のように8区分で
あるとすると、θθ値が0と1,0と7.1と0.1と
2.2と1.2と3のように区分が1区分だけ異なるも
のである。さらに補正の対象となるθの前後の値が同じ
ものだけを補正する。第7図(a)はθ−5がθ=6に
補正されるが第7図(b)ではθ=5.第5.(C)で
はθ−6は補正されない。従って補正がθについて行わ
れるのは次の条件に適うときに限定される。
Here, in order to correct θ, only line segment direction divisions having similar θθ values are targeted. For example, if there are 8 categories as shown in Figure 2, the θθ values differ by only one category, such as 0 and 1, 0, 7.1, 0.1, 2.2, 1.2, and 3. It is. Furthermore, only the values that are the same before and after θ to be corrected are corrected. In FIG. 7(a), θ-5 is corrected to θ=6, but in FIG. 7(b), θ=5. Fifth. In (C), θ-6 is not corrected. Therefore, correction is performed on θ only when the following conditions are met.

(1)線分の方向区分が、その前後の区分と1区分だけ
差のあるとき。および −〇− (2)補正すべき線を片分の前と後とが同じ値であると
き。
(1) When the direction division of a line segment differs from the divisions before and after it by one division. and -〇- (2) When the value before and after one half of the line to be corrected is the same.

次に線分回路長補正回路34.は第6図に示すようにレ
ジスタ37と線分長判定回路88と線分長加算回路39
とから構成されている。レジスタ37は距離加算回路2
3から送られる1回前の線分長の値を格納するもので、
レジスタ35に格納されている線分方向区分θに対応す
る線分長が格納されている。θを補正する場合、前述の
ように前後にはさまれた区分θ゛を補正する説明をした
が第8図(a)ではθ−6をθ−5と補正するよりも、
前後のθ−5をθ−6と補正し、全体を傾斜θ−6の直
線と補正した方がよいし、また第8図(1))の例にお
いても二番目のθ−5を補正してθ−6の直線に補正し
た方がよい。このため線分長判定回路38では補正すべ
き区分の中どちらの区分とした方が良いか判定するため
に区分の線分長を比較し、長い方を区分値とし、線分方
向判定回路86へ送る。次に線分方向区分θを補正する
場合、線分長加算回路39では距離加算回路23とレジ
スタ37と、線分長加算回路39の内容を加算すること
により、補正される区分を含めた線分の全長となる。
Next, the line segment circuit length correction circuit 34. As shown in FIG.
It is composed of. Register 37 is distance addition circuit 2
This stores the previous line segment length value sent from 3.
The line segment length corresponding to the line segment direction division θ stored in the register 35 is stored. When correcting θ, as mentioned above, we have explained that the section θ゛ sandwiched between the front and back is corrected, but in Fig. 8(a), rather than correcting θ-6 to θ-5,
It is better to correct the front and rear θ-5 to θ-6 and correct the whole as a straight line with an inclination θ-6. Also, in the example of Fig. 8 (1)), the second θ-5 should be corrected. It is better to correct it to a straight line of θ-6. For this reason, the line segment length determination circuit 38 compares the line segment lengths of the divisions to determine which of the divisions to be corrected is better, and uses the longer one as the division value, and the line segment direction determination circuit 86 send to Next, when correcting the line segment direction division θ, the line segment length addition circuit 39 adds the contents of the distance addition circuit 23, the register 37, and the line segment length addition circuit 39, so that the line including the division to be corrected is The total length is 1 minute.

−文字の中で線分の補正をしない区分や、−画の終了な
どが生じると、線分長加算回路39から線分長区分回路
26に送られ、線分の長さが区分されて画特徴記憶装置
27に送られると共に、線分方向判定回路86から線分
方向の区分θが画特徴記憶装置27へ送られる。もし線
分の方向区分の補正が行われない時には、線分方向判定
回路36及び線分長加算回路39から、補正されずにそ
のまま画特徴記憶装置27に送られる。また線分方向検
出回路19において第9図のように16区分とし、線分
方向補正回路88にて方向区分を補正した後、方向8区
分に変更して画特徴記憶装置27へ送ると、より正確に
なる。
- When a line segment in a character is not corrected or the end of a - stroke occurs, the line segment length addition circuit 39 sends the data to the line segment length division circuit 26, where the length of the line segment is divided and the stroke ends. At the same time, the segment θ of the line segment direction is sent to the image feature storage device 27 from the line segment direction determination circuit 86. If the line segment direction classification is not corrected, the line segment direction determination circuit 36 and line segment length addition circuit 39 send the line segment direction determination circuit 36 and line segment length addition circuit 39 to the image feature storage device 27 without being corrected. Moreover, if the line segment direction detection circuit 19 divides the direction into 16 divisions as shown in FIG. Be accurate.

(6)実施例 第10図を用いて本願の発明の特徴である複数の線分方
向区分の補正ならびに対応する線分長加算による文字線
分の画特徴抽出のため°の改善された手段を有する文字
認識装置の実施例を説明する。
(6) Embodiment Using FIG. 10, an improved means for extracting image features of character line segments by correcting multiple line segment direction divisions and adding corresponding line segment lengths, which is a feature of the invention of the present application, is explained. An example of a character recognition device having the following will be described.

タブレット1、用紙2、スタイラスペン3、座標読取回
路4、文字9区切り、検出回路′57、文字座′ J 標メモリ6、XY最大・最小検出回路7、文字大きさ演
算回路8、正規化回路9.2座標レジスタ(t)10、
Z座標レジスタ(t−1)il、2座標微分回路12、
X座標レジスタ(t)13、X座標レジスタ(t−1)
14、X座標差分回路15、Y座標レジスタ(t)16
、Y座標レジスタ(t−1)17、Y座標差分同相対位
置検出回路25、線分長区分回路26、両特徴記憶回路
27、レジスタ28、アンドゲート29、ROM30、
レジスタ81、及びアンドゲート82等は従来の筆順認
識による文字等の実時間読取装置に用いられている構成
であって、例えば特願昭57−1.85839号の発明
にも用いられているものであるが以下詳述する。
Tablet 1, paper 2, stylus pen 3, coordinate reading circuit 4, character 9 separator, detection circuit '57, character coordinate memory 6, XY maximum/minimum detection circuit 7, character size calculation circuit 8, normalization circuit 9.2 coordinate register (t) 10,
Z coordinate register (t-1)il, 2-coordinate differentiation circuit 12,
X coordinate register (t) 13, X coordinate register (t-1)
14, X coordinate difference circuit 15, Y coordinate register (t) 16
, Y coordinate register (t-1) 17, Y coordinate difference and relative position detection circuit 25, line segment length division circuit 26, both feature storage circuit 27, register 28, AND gate 29, ROM 30,
The register 81, the AND gate 82, etc. have a configuration used in a conventional real-time reading device for characters, etc. based on stroke order recognition, and are also used in the invention of Japanese Patent Application No. 57-1.85839, for example. However, this will be explained in detail below.

タブレット1の上に用紙2を置き、スタイラスペン3を
用いて文字等を記す。1個の文字の書きはじめにふ・い
ては、ペンの初期位置を座標読取部9− 4・を用いてX、Yおよび2の3つの座標軸について検
出しておく。
A sheet of paper 2 is placed on a tablet 1 and characters are written using a stylus pen 3. Before starting to write one character, the initial position of the pen is detected on three coordinate axes, X, Y, and 2, using the coordinate reading section 9-4.

1文字の区切りを検出する文字区切検出回路5は、該1
文字の書き始め、すなわちペン3が用紙2に接触しZ=
1となった時点から、1文字をペンが書き終って用紙か
ら離れて2=0となった時点までのペンの座標値をx、
y、z の3軸について検出し、この値を座標メモリ6
に記憶させる。次にX、Y軸上のどちらかの座標がZ=
1、すなわち紙面上で今までの座標から成る値以上離れ
ていることを検出したときに、1文字を書き終ったもの
とする。例えば文字の大きさを10mmとすると15m
m以上離れたX軸、あるいはY軸に対する座標が検出さ
れたときに該文字の記載の終りとなる。
The character delimiter detection circuit 5 detects the delimitation of one character.
When the character begins to be written, that is, the pen 3 touches the paper 2 and Z=
The coordinate value of the pen from the time it becomes 1 to the time when the pen finishes writing one character and leaves the paper and becomes 2 = 0 is x,
The three axes of y and z are detected and this value is stored in the coordinate memory 6.
to be memorized. Next, the coordinate on either the X or Y axis is Z=
1, that is, when it is detected that the distance on the paper is greater than the value consisting of the previous coordinates, it is assumed that one character has been written. For example, if the character size is 10mm, it will be 15m.
The writing of the character ends when a coordinate with respect to the X-axis or Y-axis that is more than m away is detected.

前記のとおり文字座標メモリ6は1文字の始まりから終
りまでのX、YおよびZ軸の座標をとり込み、格納する
。x、y最大、最小検出回路7は文字座標メモリ6に格
納された1文字の座標からX軸、Y軸のそれぞれの最大
値および最小値をめ文字大きさ演算回路8へ送る。文字
大きさ演算回10− 路8はX軸の最大値Xmax、最小値Xm1n、Y軸の
最大値Ymax、最小値Yminから文字の大きさをめ
る。すなわちXmax−Xmin=AおよびYma x
−Ym i n −Bとおけば、A、BはそれぞれX軸
方向およびY軸方向の文字の大きさとなる。
As described above, the character coordinate memory 6 takes in and stores the coordinates of the X, Y, and Z axes from the beginning to the end of one character. The x, y maximum and minimum detection circuit 7 calculates the maximum and minimum values of the X and Y axes from the coordinates of one character stored in the character coordinate memory 6 and sends them to the character size calculation circuit 8. Character size calculation circuit 10-8 calculates the character size from the maximum value Xmax and minimum value Xm1n on the X axis, and the maximum value Ymax and minimum value Ymin on the Y axis. That is, Xmax-Xmin=A and Ymax
If -Ymin -B is set, A and B are the character sizes in the X-axis direction and the Y-axis direction, respectively.

正規化回路9は座標変換を行って、書いた文字の大きさ
を一定の大きさにするもので、例えば、文字の大きさを
X軸方向にc、y軸方向にそれぞれCの正方形の大きさ
に変換する場合には、文字座標メモリ6の座標をXt、
Yt、正規化回路9により正規化された対応する座標を
x、、ytとすると’x ’、=(Xt −Xmin 
)%、 YI/−(YtYmin 4となる。このよう
な処理を行うことによって、書かれた文字の大きさがま
ちまちであっても、一定の大きさに変換され、さらに絶
対座標が一文字ごとの相対座標に変換される。2座標レ
ジスタ10.X座標レジスタ13.Y座標レジスタ16
は正規化回路9によって正規化されたz、x、y座標を
格納するものである。上記3個のレジスタ10,18.
および16は時刻tにおける正規化座標を格納する直前
に、その内容すなわち時間t−1における正規化座標を
11.14.、および17 の3個のレジスタに送出し
ておく。
The normalization circuit 9 performs coordinate transformation to make the size of the written character constant. For example, the size of the character is changed to the size of a square c in the X-axis direction and C in the y-axis direction. When converting to Xt, the coordinates of the character coordinate memory 6 are
Yt, and the corresponding coordinates normalized by the normalization circuit 9 are x, yt, 'x', = (Xt - Xmin
)%, YI/-(YtYmin 4. By performing such processing, even if the sizes of written characters vary, they are converted to a constant size, and the absolute coordinates of each character are Converted to relative coordinates.2 coordinate register 10.X coordinate register 13.Y coordinate register 16
stores the z, x, and y coordinates normalized by the normalization circuit 9. The three registers 10, 18 .
and 16 immediately before storing the normalized coordinates at time t, the contents, that is, the normalized coordinates at time t-1, are stored in 11.14. , and 17.

2座標機分回路12はZ座標レジスタ10.11の内容
からZ軸が変化したかどうかを調べる。例えばZ=1か
ら2=0に、あるいは2=0からZ=1に変化している
かどうか、またはZ−0のまま変っていないかどうかを
検出するための回路である。
The two-coordinate machine circuit 12 checks whether the Z-axis has changed from the contents of the Z-coordinate register 10.11. For example, this is a circuit for detecting whether Z=1 changes to 2=0, or from 2=0 to Z=1, or whether Z=0 remains unchanged.

X座標差分回路15はサンプリングされた2点間のX座
標の変化量aをめるものであり、X座標レジスタ13 
、14.の内容をXl、X′L−、とすると次式で表わ
される。
The X coordinate difference circuit 15 calculates the amount of change a in the X coordinate between two sampled points, and the X coordinate register 13
, 14. Letting the contents of Xl and X'L- be expressed by the following equation.

a = X’(X′t−1を算出する。a = X' (Calculate X't-1.

同様にY座標差分回路18はY座標レジスタ16゜17
の内容をY′L、Y′t−tとすると、Y軸方向の変化
量すを次式で算出する。
Similarly, the Y coordinate difference circuit 18 is the Y coordinate register 16°17.
Letting the contents of Y'L and Y't-t, the amount of change in the Y-axis direction is calculated by the following equation.

b =y′t−y′t−1 線分方向検出回路19はサンプリングした2点間の線分
の方向、すなわちペンの移動方向をめるものであり、 tan θ −− 〕 からθをめる。
b = y't-y't-1 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, and calculates θ from tan θ −− ]. Ru.

ここで認識方法を簡略化するためペン移動角θを例えば
第2図に示すような8種類に区分するものとする。この
際16種類、32種類などと多く区分した方が精度よく
区分できるが、実施例では以下に8種類の場合について
説明する。
Here, in order to simplify the recognition method, it is assumed that the pen movement angle θ is divided into eight types as shown in FIG. 2, for example. At this time, it is possible to classify more accurately, such as 16 types, 32 types, etc., but in the embodiment, a case of 8 types will be described below.

次に線分方向検出回路19のθの区分値を線分方向レジ
スタ20へ送る。
Next, the division value of θ from the line segment direction detection circuit 19 is sent to the line segment direction register 20.

線分方向検出レジスタ20は線分方向検出回路19から
θの区分値を取込む前にそれまでの線分方向検出レジス
タ20の内容を方向微分回路24 へ送るようにしてい
るので、θの区分値の変化状態を知ることができる。
Before the line segment direction detection register 20 receives the division value of θ from the line segment direction detection circuit 19, the contents of the line segment direction detection register 20 up to that point are sent to the direction differentiation circuit 24. You can know the change state of the value.

線分長検出回路21は2点間の線分の長さtを次のよう
に算出する。
The line segment length detection circuit 21 calculates the length t of a line segment between two points as follows.

一18= 、=(777 比較回路22は線分の長さtがある値e(eは文字の大
きさCから決まる定数)未満のときは手のふれなどによ
る微小移動量と判断し無視する。この場合には2座標レ
ジスタ11.X座標レジスタ14、Y座標レジスタ17
の内容をそのままとし次のサンプリング点の正規化座標
を2座標レジスタ10.X座標レジスタ18.Y座標レ
ジスタ16ヘセツトする。
-18 = , = (777 When the length t of the line segment is less than a certain value e (e is a constant determined from the character size C), the comparator circuit 22 determines that it is a minute movement due to hand movement, etc., and ignores it. In this case, there are two coordinate registers 11, X coordinate register 14, and Y coordinate register 17.
Leave the contents as they are and set the normalized coordinates of the next sampling point in the 2-coordinate register 10. X coordinate register 18. Set the Y coordinate register 16.

・線分の長さtが0以上のときには、線分の長さtを距
離加算回路23へ送る。方向微分回路24は線分方向検
出回路19から送られる線分の方向θの区分と、その前
のサンプリング点で得られる線分方向θの区分値である
線分方向レジスタ20とから、線分の方向が同じである
か、異なるかを判断する。もしθの区分値が同じ場合に
は距離加算回路23へ信号を送り、比較回路22から送
られる線分の長さtを加算する。もしθの区分値が異な
る場合には、異なる信号を距離加算回路23へ送り、距
離加算回路23に加算されていた線分の14− 長さtの加算値を線分長区分回路26へ送るとともに、
比較回路22から送られる線分の長さtを新しく距離加
算回路22ヘセツトする。
- When the length t of the line segment is 0 or more, the length t of the line segment is sent to the distance addition circuit 23. The direction differentiation circuit 24 calculates the line segment based on the segment direction θ divisions sent from the line segment direction detection circuit 19 and the segment direction register 20 which is the division value of the line segment direction θ obtained at the previous sampling point. Determine whether the directions are the same or different. If the division values of θ are the same, a signal is sent to the distance addition circuit 23, and the length t of the line segment sent from the comparison circuit 22 is added. If the division values of θ are different, a different signal is sent to the distance addition circuit 23, and the added value of the line segment 14-length t added to the distance addition circuit 23 is sent to the line segment length division circuit 26. With,
The length t of the line segment sent from the comparison circuit 22 is newly set in the distance addition circuit 22.

これにより、θの区分値の同じものが続いたときには、
線分の長さの合計が得られるので、θの区分値が変化す
るまでの線分の長さを示すことになる。線分長区分回路
26は距離加算回路23 から送られる線分の長さtの
加算値を複数に区分する。
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. The line segment length dividing circuit 26 divides the added value of the line segment length t sent from the distance adding circuit 23 into a plurality of values.

たとえば、正規化文字の大きさCの土づつの4・種4゜ 類に区分し、後の処理を簡単化する。For example, the normalized character size C is 4 and 4 degrees. to simplify subsequent processing.

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

Z=1からz−0までを1両とし、1画ごとに特徴を抽
出する読出専用記憶装置27とレジスタ28とからなり
、レジスタ28の内容と線分方向レジスタ20の内容と
、線分長区分回路26から出力される内容をアドレス(
番地)として、読出専用記憶装置27から読出して、レ
ジスタ28ヘセツトするものである。線分の方向が変化
したときに出力される方向微分回路24・の出力信号と
、タイミング信号CKIとのアンドゲート29からの出
力信号のタイミングで読出専用記憶装置(ROM)27
から読出して、レジスタ28 ヘセットしているので、
線分の方向が変化したときに読出すことになる。さらに
レジスタ28 の内容もアドレスとして読出専用記憶装
置27から読出しているのでレジスタ28には、線分方
向の変化した状態がセットされることになる。またz−
Oのとき、レジスタ28の内容を認識へ送った後、レジ
スタ28の内容をクリアする。
One car is from Z=1 to z-0, and consists of a read-only storage device 27 that extracts features for each stroke and a register 28, and stores the contents of the register 28, the contents of the line segment direction register 20, and the line segment length. The content output from the division circuit 26 is set to an address (
The address is read from the read-only storage device 27 and set in the register 28. A read-only memory (ROM) 27 is generated at the timing of the output signal from the AND gate 29 between the output signal of the direction differentiating circuit 24 and the timing signal CKI, which is output when the direction of the line segment changes.
Since it is read from and set to register 28,
It is read when the direction of the line segment changes. Further, since the contents of the register 28 are also read out 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. Also z-
When the value is O, the contents of the register 28 are sent to recognition, and then the contents of the register 28 are cleared.

例えば、第8図に示すように数字114.11を書いた
場合について説明する。
For example, the case where the number 114.11 is written as shown in FIG. 8 will be explained.

線分の方向を第2図の8種に区分してθで示し、線分の
長さについては文字の大きさCを4等分し1 11 3
1 3 −以下をOl−〜−を1、−〜−を2.7以上を4 2
 4、 4 2 3としてtで示す。
The direction of the line segment is divided into 8 types in Fig. 2 and indicated by θ, and the length of the line segment is determined by dividing the character size C into 4 equal parts: 1 11 3
1 3 - - - - - 1 - - - - - 2.7 or more - 4 2
4, denoted by t as 4 2 3.

第4・図に、この場合の説明を示しており、第1画はし
て1度2=0となり第2画が1となっている。
Fig. 4 shows an explanation of this case, in which the first stroke becomes 2=0 once, and the second stroke becomes 1.

第1画では、線はまず1(方向/θ−5、長さt=3)
で、次に−(方向→θ−O,Z=a)となりして1画を
終了。
In the first stroke, the line is 1 (direction/θ-5, length t=3)
Then, it becomes -(direction → θ-O, Z=a) and one stroke is completed.

このLの特徴分類を004・とじている。The feature classification of this L is 004.

第2画では1(〜−6、t−2)だけであり、同様にC
oIO画特徴となる。
In the second stroke, there is only 1 (~-6, t-2), and similarly C
oIO image features.

さらに両特徴から認識を行なう。Furthermore, recognition is performed based on both features.

認識は読取専用記憶装置30とレジスタ81とからなり
、Z=1から2=0に変化したときに出力するZ座標微
分回路12の出力信号とクロック信号CK2とのアンド
ゲート32の出力のタイミングで読出専用記憶装置30
から読出しレジスタ31ヘセツトする。第3図の例では
、第1画の両特徴CO4を読出専用記憶装置30へ入力
し読出してレジスタ31へセットする。次に第2画の画
特徴COI とレジスタ31にセットされている第1画
で読出した内容とから、さらに読出すとC04,とCO
Iとの組合せた結果のものが読出され、これが認識結界
となる。
Recognition consists of a read-only storage device 30 and a register 81, and is performed at the timing of the output of the AND gate 32 between the output signal of the Z coordinate differentiating circuit 12 and the clock signal CK2, which is output when Z=1 changes to 2=0. Read-only storage device 30
The read register 31 is set from. In the example of FIG. 3, both features CO4 of the first image are input to the read-only storage device 30, read out, and set in the register 31. Next, from the image feature COI of the second image and the content read out for the first image set in the register 31, further reading is performed, and COI becomes C04.
The result of the combination with I is read out, and this becomes the recognition barrier.

本発明の特徴は線分方向補正回路88および線分長区分
補正回路34・であって、前者はレジスタ35と線分方
向判定回路36とからなり、後者はレジスタ37と線分
長判定回路38とから構成さ17− れている。このような構成をとる事によって例えば第5
図(b)のように複数に区分されているθとtとを修正
して文字線分の画特徴を簡単に抽出すると共に、ノイズ
を減少することによって認識の精度を向上させることが
できる。
The features of the present invention are a line segment direction correction circuit 88 and a line segment length division correction circuit 34, the former consisting of a register 35 and a line segment direction determination circuit 36, and the latter consisting of a register 37 and a line segment length determination circuit 38. It consists of 17- By adopting such a configuration, for example, the fifth
By correcting θ and t, which are divided into a plurality of sections as shown in FIG. 3B, image features of character line segments can be easily extracted, and recognition accuracy can be improved by reducing noise.

次に両特徴の抽出と認識の手順について述べる喝−れら
は従来技術を応用して全く問題ない。すなわちZ=1か
ら2=0までを1画とし、1画ごとに特徴を抽出する読
出専用記憶装置27 とレジスタ28とからなり、レジ
スタ28の内容と線分方向レジスタ20の内容と、線分
長区分回路26から出力される内容をアドレス(番地)
として、読出専用記憶装置27から読出して、レジスタ
28ヘセツトするものである。線分の方向が変化したと
きに出力される方向微分回路24 の出力信号と、タイ
ミング信号CKIとのアンドゲート29からの出力信号
のタイミングで読出専用記憶装置(ROM)27から読
出して、レジスタ28へナツトしているので、線分の方
向が変化したときに読出すことになる。さらにレジスタ
28の内容もアドレスと18− して読出専用記憶装置27から読出しているのでレジス
タ28には、線分方向の変化した状態がセットされるこ
とになる。またz−0のとき、レジスタ28の内容を認
識へ送った後、レジスタ28の内容をクリアする。
Next, the procedures for extracting and recognizing both features will be described, and there will be no problem in applying the conventional techniques. In other words, one stroke is from Z=1 to 2=0, and it consists of a read-only storage device 27 that extracts features for each stroke, and a register 28, and the contents of the register 28, the contents of the line segment direction register 20, and the line segment The content output from the long division circuit 26 is an address (address).
As such, the data is read from the read-only storage device 27 and set in the register 28. The output signal from the direction differentiating circuit 24, which is output when the direction of the line segment changes, and the output signal from the AND gate 29 with the timing signal CKI are read out from the read-only memory (ROM) 27 and stored in the register 28. Since the line segment is twisted, it is read when the direction of the line segment changes. Further, since the contents of the register 28 are read from the read-only storage device 27 using the address 18-, the state in which the line segment direction has changed is set in the register 28. When z-0, the contents of the register 28 are sent to recognition, and then the contents of the register 28 are cleared.

例えば、第3図に示すように数字++ 4. ++を書
いた場合について説明する。
For example, as shown in FIG. 3, the number ++4. The case where ++ is written will be explained.

線分の方向を第2図の8種に区分してθで示し、線分の
長さについては文字の大きさCを4・等分し一以下を0
、−〜−を1、主〜↓を2.1以上を1 11 4 2 4、 4. 2 4゜ 3としてlで示す。
The direction of the line segment is divided into 8 types as shown in Figure 2 and indicated by θ, and the length of the line segment is determined by dividing the character size C into 4 equal parts, and 0 for less than 1.
, -~- is 1, main~↓ is 2.1 or more is 1 11 4 2 4, 4. 2 4°3 and denoted by l.

第4図に、この場合の説明を示しており、第1画はして
1度z−0となり第2画が1となっている。
FIG. 4 shows an explanation of this case, where the first stroke is 1 degree z-0 and the second stroke is 1 degree.

第1画では、線はまず】(方向〆θ−5、長さt−3)
で、次に−(方向→θ−0,t=8)となりして1画を
終了しこのLの特徴分類をCO4,とじている。
In the first stroke, the line is first] (direction θ-5, length t-3)
Then, -(direction→θ-0, t=8) is set, one stroke is completed, and the feature classification of this L is ended as CO4.

第2画ではl(θ−6、t−2)だけであり、同様にC
OIの画特徴となる。
In the second stroke, there is only l(θ-6, t-2), and similarly C
This is an image characteristic of OI.

さらに両特徴から認識を行なう。Furthermore, recognition is performed based on both features.

認識は読出専用記憶装置30とレジスタ31とからなり
、Z=1から2=0に変化したときに出力するZ座標微
分回路12の出力信号とクロック信号CK2とのアンド
ゲート82の出力のタイミングで読出専用記憶装置30
から読出しレジスタ31へセットする。第3図の例では
、第1画の両特徴CO4・を読出専用記憶装置30へ入
力し読出してレジスタ31ヘセツトする。次に第2画の
画特徴COIとレジスタ81にセットされている第1画
で読出した内容とから、さらに読出すとC04,とCO
Iとの組合せた結果のものが読出され、これが認識結果
となる。
Recognition consists of a read-only storage device 30 and a register 31, and is performed at the timing of the output of the AND gate 82 between the output signal of the Z coordinate differentiating circuit 12 and the clock signal CK2, which is output when Z=1 changes to 2=0. Read-only storage device 30
and set it in the read register 31. In the example of FIG. 3, both features CO4 of the first image are input to the read-only storage device 30, read out, and set in the register 31. Next, from the image feature COI of the second image and the content read out for the first image set in the register 81, further reading is performed, resulting in COI, COI, and COI.
The result of the combination with I is read out, and this becomes the recognition result.

■効果 タブレット上で文字を書きオンライン文字を認識する文
字認識において、手のブレなどによりペンが上下左右に
動くので、従来特徴描出が非常に大変であったが、本発
明の補正手段により簡単に正確に特徴描出が可能となり
、安価で高性能な文字認識装置を実施することができる
■Effects When writing characters on a tablet and recognizing online characters, it was previously very difficult to draw features because the pen moved up, down, left and right due to hand shake, etc., but the correction method of the present invention has made it easier. Accurate feature delineation becomes possible, and an inexpensive and high-performance character recognition device can be implemented.

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

第1図は従来の文字認識装置の構成を示すブロック図で
ある。第2図は線分の方向区分を示す図である。第3図
はタブレット上の記された文字を例示する図である。第
4・図(a)は第1両、(1))は第2画における画特
徴抽出の説明図、第5図は従来の問題点を示す図である
。第6図は本発明の線分方向補正回路及び線分長区分補
正回路の構成を示す図発明の文字認識装置の実施例を示
す図である。 1、 タブレット 2、用 紙 3、 スタイラスペン 4、 座標読取回路 5、 文字区切り検出回路 6、 文字座標メモリ 7、X、Y最大・最小検出回路 8、 文字の大きさ演算回路 9、正規化回路 10、z座標レジスタ(1) 21− 11.2座標レジスタ(1−1,) 12、 2座標機分回路 13、X座標レジスタ(1) 14、、X座標レジスタ(t −1) 15、X座標差分回路 16、Y座標レジスタ(1) 17、Y座標レジスタ(t−1) 18、Y座標差分回路 19、線分方向検出回路 20、線分方向レジスタ 21、線分長検出回路 22、比較回路 23、距離加算回路 24、方向微分回路 25、相対位置検出回路 26、線分長区分回路 27、画特徴記憶回路 28、 し ジ ス タ 29、アンドゲート 30、読出専用記憶装置 22− 31、 し ジ ス タ ロ2.アンドゲート 33、線分方向補正回路 34、線分長補正回路 35、 し ジ ス タ 86、線分方向判定回路 87、 し ジ ス タ 38、線分長判定回路 39、線分長加算回路 23− 527一 才 才 (の 7図 8図 530− 2 /1 一伽一〇 \F ′E
FIG. 1 is a block diagram showing the configuration of a conventional character recognition device. FIG. 2 is a diagram showing directional divisions of line segments. FIG. 3 is a diagram illustrating characters written on the tablet. FIG. 4 (a) is an explanatory diagram of image feature extraction in the first image, (1)) is an explanatory diagram of image feature extraction in the second image, and FIG. 5 is a diagram showing problems in the conventional technique. FIG. 6 is a diagram showing an embodiment of the character recognition device of the invention, showing the configuration of a line segment direction correction circuit and a line segment length division correction circuit of the invention. 1. Tablet 2, Paper 3, Stylus pen 4, Coordinate reading circuit 5, Character delimiter detection circuit 6, Character coordinate memory 7, X, Y maximum/minimum detection circuit 8, Character size calculation circuit 9, Normalization circuit 10, Z coordinate register (1) 21- 11.2 Coordinate register (1-1,) 12, 2-coordinate machine division circuit 13, X-coordinate register (1) 14, X-coordinate register (t-1) 15, X Coordinate difference circuit 16, Y coordinate register (1) 17, Y coordinate register (t-1) 18, Y coordinate difference circuit 19, line segment direction detection circuit 20, line segment direction register 21, line segment length detection circuit 22, comparison circuit 23, distance addition circuit 24, direction differentiation circuit 25, relative position detection circuit 26, line segment length classification circuit 27, image feature storage circuit 28, register 29, AND gate 30, read-only storage devices 22-31, Shi Ji Staro 2. AND gate 33, line segment direction correction circuit 34, line segment length correction circuit 35, register 86, line segment direction determination circuit 87, register 38, line segment length determination circuit 39, line segment length addition circuit 23 - 527 1 year old

Claims (1)

【特許請求の範囲】[Claims] (1)ペンのXYz座標を一定時間隔で取込み、XY座
標から線分の方向及び長さを検出してそれぞれ複数に区
分し、線分の方向及び長さの区分の生起順序から特徴を
描出し、認識する文字認識装置において線分の方向区分
の前後から、複数の線分の方向区分を代表する1個の線
分の方向区分に補正する手段と、前記複数の線分の方向
区分に対応する線分の長さを加算する手段を備えたこと
を特徴とする文字認識装置。
(1) Capture the XYz coordinates of the pen at regular intervals, detect the direction and length of the line segment from the XY coordinates, divide each line segment into multiple parts, and depict the characteristics from the order of occurrence of the direction and length divisions of the line segment. and a means for correcting the direction division of the line segment into one line segment direction division representing the direction division of the plurality of line segments from before and after the direction division of the line segment in the character recognition device; A character recognition device characterized by comprising means for adding the lengths of corresponding line segments.
JP58182386A 1983-09-29 1983-09-29 Character recognition device Pending JPS6073794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58182386A JPS6073794A (en) 1983-09-29 1983-09-29 Character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58182386A JPS6073794A (en) 1983-09-29 1983-09-29 Character recognition device

Publications (1)

Publication Number Publication Date
JPS6073794A true JPS6073794A (en) 1985-04-25

Family

ID=16117401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58182386A Pending JPS6073794A (en) 1983-09-29 1983-09-29 Character recognition device

Country Status (1)

Country Link
JP (1) JPS6073794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002357054A (en) * 2001-05-30 2002-12-13 Okamura Corp Shielding structure for mobile panel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002357054A (en) * 2001-05-30 2002-12-13 Okamura Corp Shielding structure for mobile panel

Similar Documents

Publication Publication Date Title
JPS5975375A (en) Character recognizer
TWI435276B (en) A method and apparatus for recognition of handwritten symbols
US11823474B2 (en) Handwritten text recognition method, apparatus and system, handwritten text search method and system, and computer-readable storage medium
WO2022222096A1 (en) Hand-drawn graph recognition method, apparatus and system, and computer readable storage medium
WO2021196013A1 (en) Word recognition method and device, and storage medium
GB1480066A (en) Apparatus for recognising handwriting
CN111553345B (en) Method for realizing meter pointer reading identification processing based on Mask RCNN and orthogonal linear regression
CN101364271B (en) Method for recognizing hand-written Chinese character strokes and recognition device
JPS6073794A (en) Character recognition device
JP3046472B2 (en) Handwritten figure recognition device
JPH0150954B2 (en)
Boubaker et al. GLoBD: geometric and learned logic algorithm for straight or curved handwriting baseline detection.
JPH07146944A (en) Graphic recognition device
JP3977473B2 (en) Handwritten character recognition method and handwritten character recognition apparatus
JPH045231B2 (en)
JP3365538B2 (en) Online character recognition method and apparatus
JPH06150067A (en) On-line handwritten character recognizing method
KR100290606B1 (en) Method for recognizing cursive of hangul in online system
CN112183538A (en) Manchu recognition method and system
JPS6073795A (en) Character recognition device
JPH10187886A (en) Character recognizing device and method
JPS6327753B2 (en)
JP3115369B2 (en) Online scribble character recognition system considering local glyph variation
JPH10214312A (en) Online hand-written character recognition device
JPS5975374A (en) Character recognizer