JPS6068486A - Character recognizer - Google Patents

Character recognizer

Info

Publication number
JPS6068486A
JPS6068486A JP58175219A JP17521983A JPS6068486A JP S6068486 A JPS6068486 A JP S6068486A JP 58175219 A JP58175219 A JP 58175219A JP 17521983 A JP17521983 A JP 17521983A JP S6068486 A JPS6068486 A JP S6068486A
Authority
JP
Japan
Prior art keywords
memory
input
character
stroke
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.)
Granted
Application number
JP58175219A
Other languages
Japanese (ja)
Other versions
JPH0457034B2 (en
Inventor
Hirohisa Sone
広尚 曽根
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP58175219A priority Critical patent/JPS6068486A/en
Publication of JPS6068486A publication Critical patent/JPS6068486A/en
Publication of JPH0457034B2 publication Critical patent/JPH0457034B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To prevent the generation of misrecognition of characters without increasing the memory capacity by writing the final coordinates into the final memory area of a memory in case a character pattern having such a long stroke that exceeds the memory capacity is supplied. CONSTITUTION:A character recognizer is provided with an input part 1, ROM3 and 4, an arithmetic part 6, etc. The part 1 uses a touch switch to detect the input coordinates and to display it to a display part 2. At the same time, plural memory areas are provided to the RAM5 and the coorinates detected by the part 1 are stored successively to the memory areas according to the program of the ROM4. While an operation decoder 7, an address part 8, a timer part 12, etc. are provided to the ROM3. In case a character pattern having such a long stroke that exceeds the memory capacity is supplied, the final coordinates of the pattern are written to the final area of the RAM5. Thus a character pattern having a long stroke can be recognized accurately without increasing the capacity of the RAM5.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は文字認識装置に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to a character recognition device.

〔従来技術〕[Prior art]

近年、タブレット上にペン型治具などを用いて文字、図
形等を手書き入力すると、それが認識されて入力情報と
なる文字認識装置が柚々開発されている。この種の文字
認識装置では、文字・ぞ汐−ンを入力すると、その文字
パターンの座標が検出されると共に、この検出された座
標が順次所定メモリに書き込まれた後、このメモリの内
容に応じて認識するようになっている。而して、この種
のものは、大容量のメモリを使用すると、その制御回路
が複雑化し、コスト高となる為、ある程度メモリ容量を
抑えたものを使用するようにしている。
In recent years, a number of character recognition devices have been developed that recognize characters, figures, etc. that are handwritten and input on a tablet using a pen-shaped jig or the like and convert them into input information. In this type of character recognition device, when a character/zoom is input, the coordinates of the character pattern are detected, and the detected coordinates are sequentially written into a predetermined memory, and then the coordinates are read according to the contents of this memory. It is now recognized as such. In this type of device, if a large capacity memory is used, the control circuit becomes complicated and the cost increases, so it is preferable to use a device whose memory capacity is suppressed to a certain extent.

〔従来技術の問題点〕[Problems with conventional technology]

しかしながら、前記メモリに座標を順次負き込む場合、
例えば、同°じ一画(ストローク)の文字であっても、
ストロークが長い文字が入力されると、書き込み途中で
メモリがオーバーフロー状態となシ、それ以上座標メモ
リに功き込むことかできなくなシ、その結果、誤認識す
ることがあった。
However, when loading coordinates into the memory sequentially,
For example, even if characters have the same stroke,
When a character with a long stroke is input, the memory overflows during the writing process, and the coordinate memory cannot be accessed any further, resulting in erroneous recognition.

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

この発明は、上述した事情整背景になされたもので、そ
の目的とするところは、ストロークの長い文字が入力さ
れた場合、メモリ容筒を増やすことなく、メモリに効果
的に座標k MJき込むことで誤認識の発生を防止する
ようにした文字認識装置を提供することにある。
This invention was made against the background of the above-mentioned circumstances, and its purpose is to effectively write the coordinates k MJ into memory without increasing the memory capacity when characters with long strokes are input. An object of the present invention is to provide a character recognition device which prevents the occurrence of erroneous recognition.

〔発明の要点〕[Key points of the invention]

この発明は、上述した目的を達成するために、入力され
た文字パターンの最初の座標から所定数までの座標を、
順次メモリに書き込む際に、メモリ容量を越えるような
長いストロークを持った文字パターンが入力された場合
には、その最終の座標をメモリの最終の記憶領域に書き
込むようにした点を要旨とするものである。
In order to achieve the above-mentioned object, this invention calculates coordinates from the first coordinate of an input character pattern to a predetermined number.
The gist is that when writing to memory sequentially, if a character pattern with long strokes that exceeds the memory capacity is input, its final coordinates are written to the final storage area of the memory. It is.

〔実施例〕〔Example〕

以下、図面全参照、してこの発明の一実施例を祝明する
。第1図は、例えば、文字認識装置を備えた電子腕時計
の回路構成図である。この場合、入力部1は、時計ケー
スの上面に固定されている透明な表面ガラス上に、更に
透明なタッチ電極を例えば4X4のマトリクス状に配列
して成るものでちゃ、而して前記16枚のタッチ電極は
XY座標系上に配設されていると共に、例えば16X、
16=256の座標位置を電気的な処理によって形成さ
れる。また指などの人体を前記タッチ電極に触れると、
そのときにタッチ電極に発生する接触容量成分が検出さ
れて、座標位置が入力され、こねによって、文字パター
ンの入力か行なわれる。この種の技術は、本出願人が既
に提案した特許出願(特願昭55−35660、発明の
名称:タッチスイッチ装置)を利用すhばよい。そして
、入力された文字パターンによって、例えはアラーム時
刻になると、表示部2にメッセーノが表示されるもので
ある。なお、この表示部2は、液晶表示装置から成シ、
勿論、時刻データも表示される。
Hereinafter, one embodiment of the present invention will be congratulated with full reference to the drawings. FIG. 1 is a circuit diagram of, for example, an electronic wristwatch equipped with a character recognition device. In this case, the input section 1 should consist of transparent touch electrodes arranged in, for example, a 4x4 matrix on a transparent surface glass fixed to the top surface of the watch case. The touch electrodes are arranged on the XY coordinate system, and are arranged on the XY coordinate system, for example, 16X,
16=256 coordinate positions are formed by electrical processing. Also, when a human body such as a finger touches the touch electrode,
At this time, a contact capacitance component generated in the touch electrode is detected, a coordinate position is input, and a character pattern is input by kneading. This type of technology can be achieved by utilizing a patent application already proposed by the applicant (Japanese Patent Application No. 55-35660, title of invention: touch switch device). Then, depending on the input character pattern, Messeno is displayed on the display section 2, for example, when the alarm time comes. Note that this display section 2 is made of a liquid crystal display device.
Of course, time data is also displayed.

ROM(リードオンリメモリ)3は、このγし子腕時u
1のすべての動作を制御するマイクロプログラムを記憶
し、マイクロ命令AD、I)A、OP、NAf:並列的
に出力する。而してマイクロ命令ADld、ROM4、
RAM (ランダムアクセスメモリ)5に夫々アドレス
データとして印加される。
The ROM (read only memory) 3 is
1, and outputs microinstructions AD, I)A, OP, NAf in parallel. Then, the microinstruction ADld, ROM4,
Each of the data is applied to a RAM (random access memory) 5 as address data.

また、マイクロ命令DAは、前記RA M 5寸たは演
算部6にデータとして印加される。更に、マイクロ命令
OP Uオペレーションデコーダフに印加され、而して
オペレーションデコーダ7はこ、I″1. vc応じて
制御信号cs、 、 Cs2、x%Y、 Z%R1S、
 G等を出力する。マイクロ命令NAは、アドレス部8
に印加され、これに応じてアドレス部8は、後述する信
号d、c等から次の処理に必要なマイクロ命令AD、D
A、OP、NAを読出すためのアドレスデータを出力し
てROM3に供給する。
Further, the microinstruction DA is applied to the RAM 5 or the arithmetic unit 6 as data. Furthermore, the microinstruction OPU is applied to the operation decoder 7, so that the operation decoder 7 outputs the control signals cs, , Cs2, x%Y, Z%R1S, in response to the I″1.vc.
Output G, etc. The microinstruction NA is in the address section 8.
In response to this, the address section 8 receives micro instructions AD, D necessary for the next processing from signals d, c, etc., which will be described later.
Address data for reading A, OP, and NA is output and supplied to the ROM3.

RO′M4には数字、アルファベットなどの文字に対ス
る各標準文字パターンのベクトル列(後述するンがデー
タとして記憶されており、入力部1から入力された文字
コやターンのベクトル列(後述する)と比較されて文字
の認識が行なわわる。寿お、ROM4は前記制御信号C
8,によってデータの読出しが行なわれる。
RO'M4 stores vector strings of standard character patterns (n to be described later) for characters such as numbers and alphabets, and vector strings of characters C and turns input from the input section 1 (to be described later). Character recognition is performed by comparing the control signal C with the control signal C.
8, the data is read out.

RAM5は後述する各種レジスタを有し、演算部6が行
なう計時処理、文字認識処J!lj等の各種処理時にお
いて利用され、制御信号C81、R/Wの下にデータの
読出し、4H込みが行なわれる。
The RAM 5 has various registers to be described later, and is used for time measurement processing performed by the arithmetic unit 6 and character recognition processing J! It is used in various processes such as lj, and data reading and 4H loading are performed under control signals C81 and R/W.

演算部6は制t11信号Xの下に上体した各種演算ft
′i!を行中スー卆1て一卆の結早−? −4kF大人
11−表示部2、RA M 5に与える。また、ジャッ
ジ演算を火打した際には、その演算結果のデータの有無
全館す信号d、キャリー発生の4]無を・示す(in号
ek、夫々出力し、アドレス部8に供給する。
The calculation unit 6 performs various calculations ft under the control t11 signal X.
'i! Is it fast to finish one volume during the process? -4kF Adult 11 - Give to display section 2, RAM 5. Furthermore, when a judge operation is performed, a signal d indicating the presence or absence of data as a result of the operation, and a signal 4 indicating the absence of a carry (in signal ek, respectively) are output and supplied to the address section 8.

S R型フリップフロップ9は制御イ;i@R,,Sに
よって夫々セットまたはリセットさ1するが、制御信号
Sは、文字)4ターンの各ストロークの入力Di4始に
出力し、また、制伽、信号Rけ、入力終了時に出力する
。そしCぞのセット出力化+3はアンドゲート10に制
御(j8号”として入力する。而してとのアンドゲート
10の他端にU5発振回路1工が出力する所定周波数の
クロックか入力しており、またアンドダート10から出
力したクロック附−、カウンタから成るタイマ部12に
入力してカウントされる。このタイマ部12は各ストロ
ークの入力時間(oNo、5間〕と、各ストロークの入
力終了時から次のストローク入力時1でのOFF貼間色
量f!L@i″時する。而してイ”Jられた0Nlfa
間、opF時向は夫々、制伺、信号Gの出力時にシ()
成するゲート13を介し、RAM5、演算部6へJ−J
λられる。、なお、タイマ部12は制御信号Sによって
クリアされる。
The S R type flip-flop 9 is set or reset by the control signals i; , signal R is output at the end of input. Then, the set output of C number +3 is input to the AND gate 10 as control (j8). Then, to the other end of the AND gate 10, input the clock of a predetermined frequency output by the U5 oscillation circuit 1. In addition, the clock output from the AND-DART 10 is input to a timer unit 12 consisting of a counter and counted. When the next stroke is input, the OFF pasting color amount f!L@i'' is applied.
The timing and opF timing are respectively controlled by the signal () when the signal G is output.
J-J to the RAM 5 and the arithmetic unit 6 through the gate 13
λ is received. Note that the timer unit 12 is cleared by the control signal S.

なお、入力部1、表示部2は夫々、制御信号2、または
YKよってfBIj御される。
Note that the input section 1 and the display section 2 are each controlled fBIj by a control signal 2 or YK.

発振回路11け、例えば、32.7681hの基準周波
数信号を常時発振し、分周回路14に与える。そして、
分周回路14からは、16亀信号が出力され、アドレス
部8に与える。こわに応じて1/16秒ごとに1回ずつ
計時処理が実行される。
An oscillation circuit 11 constantly oscillates a reference frequency signal of, for example, 32.7681h, and supplies it to the frequency dividing circuit 14. and,
The frequency dividing circuit 14 outputs a 16-bit signal and applies it to the address section 8. Timing processing is executed once every 1/16 seconds depending on the stiffness.

次に、ROM4に記憶されている前記標準ベクトル列お
よび入力部1から入力さhた文字ノ4ターyのベクトル
列につき説明する。第2図はストローク数が1の数字「
2」全入力部lから入力したときの状況全館すもので、
第2図(A)l’こ示すように、文字パターン「2」を
入力すると、その座標位置データがRAM5に順次書込
まれる。この場合、RAM5内には1ストロークで最大
32個の座標位置データが省き込まnるようになる。ぞ
して、第2図[B)に示すように、文字パターン「2」
の入力後、指が入力部1のタッチ電極から離れると、R
AM5に書き込まれた座標位置データからそのストロー
ク長が算出され、次いで6等分される。ぞして第2図(
c)に示すように、各等分点が始点側から終点側に向け
て直線近似され、第3図のベクトル(0〜708 Fi
IW+’i )にしたがって各部のベクトルが判断さ−
れ、ベクトル列が谷出される。次いで釣用された前記ベ
クトル列がrLOM4内の標準ベクトル列と比較さ力、
一番卿似している文字パターンが出力される。
Next, the standard vector string stored in the ROM 4 and the vector string of letters 4 and y inputted from the input section 1 will be explained. Figure 2 shows a number with a stroke number of 1.
2" The situation when inputting from all input section l is the whole building,
As shown in FIG. 2(A)l', when the character pattern "2" is input, its coordinate position data is sequentially written into the RAM 5. In this case, a maximum of 32 pieces of coordinate position data can be stored in the RAM 5 in one stroke. Therefore, as shown in Figure 2 [B], the character pattern "2"
After inputting , when the finger leaves the touch electrode of input section 1, R
The stroke length is calculated from the coordinate position data written in AM5, and then divided into six equal parts. Then, Figure 2 (
As shown in c), each equally divided point is approximated by a straight line from the starting point side to the ending point side, and the vector (0 to 708 Fi
The vector of each part is determined according to IW+'i).
The vector sequence is output. The selected vector sequence is then compared with the standard vector sequence in rLOM4;
The most similar character pattern is output.

第4図、第5図、第6図、第7図は夫々、ストローク数
が1.2.3.4の各文字パターンの標準ベクトル列を
示し、前記Lt OM、 4に記mされている。
Figures 4, 5, 6, and 7 respectively show standard vector sequences for each character pattern with a stroke count of 1, 2, 3, and 4, and are described in Lt OM, 4 above. .

次に、RAM5の構成を卯、8図’を参1(りして説明
する。Tレソスクは現在時刻記1危用、TMレジヌタは
タイマ時刻記憶用、ALレノスタi’:tアラーム時刻
記1.α用である。この場合、1゛Δルジヌタには文字
の区切υを検出するための一足B、9曲か設定されてお
シ、タイマ8t112のOF I”特出JがTMレジス
タの一定時間よりも小さけれは、1ストロークの咽き終
シとし、他方、太きけれは、−文字の)4き終シ、すな
わち、文字の区切シとなる。また、FA、F、 、F、
レジスタリ°、フラグ記憶用である。2は、ストローク
数カランクで、−文字のストローク数をカウントするも
のである。また、Yは、アドレスカウンタで、入力Fj
B1からの座標が変化する毎に、32個のメモリ領域M
1〜Mstをi次7ドレス指定するためのアドレスをカ
ウントするものである。更に、メモリ飴域M、〜M。
Next, the configuration of the RAM 5 will be explained with reference to Figure 8'. .α.In this case, the 1゛∆ Luginuta is set to one foot B and 9 songs to detect the character separator υ, and the OF I” special J of the timer 8t112 is set to the constant value of the TM register. If it is smaller than the time, it will be the end of one stroke, and on the other hand, if it is thicker, it will be the ``4'' ending (of the - character), that is, the character separation.Also, FA, F, , F,
The register is for storing flags. 2 is a stroke number rank, which counts the number of strokes of the - character. Moreover, Y is an address counter, and input Fj
Each time the coordinates from B1 change, 32 memory areas M
It counts the addresses for specifying the i-th 7th address from 1 to Mst. Furthermore, memory candy areas M, ~M.

、にけ% 1ストロ一ク最大32個の座標位置データが
順次記憶さhる。また、メモリ領域”1 、m@、mf
i、m、は−文字ρlストローク目、2ストローク目、
3ストロ一ク目% 4ストローク目のベクトル列を記1
意するものであり、したがって、本実施例では一文字最
大4ストロークまで入力可能としたものでちる。
, Nike% Up to 32 coordinate position data are sequentially stored in one stroke. Also, memory area “1, m@, mf
i, m, - letter ρl stroke, 2nd stroke,
3rd stroke 1st% Write down the vector sequence of 4th stroke 1
Therefore, in this embodiment, one character can be input with a maximum of four strokes.

次に、本実施例の動作を第9図〜第11図を参朋して駅
FP4する。
Next, the operation of this embodiment will be explained at station FP4 with reference to FIGS. 9 to 11.

先ず、第9図のジェネラル7o−を参i(i j、て全
体動作の概要を説明する。このジェネラルフローは分周
回路14から信号16&が出力するたひに、即ち、17
16秒ごとに実行開始される。そして先ず、ステップS
、の計時処理が実行さil、演算部6は、RAM5のT
レジスタ内のそれ以前のデータに対し、所定の演算、を
行々つて、J1在時刻データを算出する。そして、この
現在1にr刻デークU表示部2に送出されて、表示され
る。
First, an overview of the overall operation will be explained with reference to general 7o- in FIG.
It starts running every 16 seconds. And first, step S
, the calculation unit 6 executes the time measurement process of T of the RAM 5.
A predetermined operation is performed on the previous data in the register to calculate J1 current time data. Then, this current 1 is sent to the r-time data U display unit 2 and displayed.

次に、ステップS2のタイマ処理か実行される。Next, timer processing in step S2 is executed.

このタイマ処理は後述するフローにおいて一定時間何ら
かの処理を行なう必脚があり、1Mレジ〉りに一定時間
がプリセットされている場合に、この処理の実行ごとに
所定時間がン算きjてゆく。
This timer processing requires some processing to be performed for a certain period of time in the flow described later, and if a certain period of time is preset in the 1M cash register, the predetermined period of time is counted each time this process is executed.

次に、メツセージ設定モー11である力・否かケ牛」断
処理がステップS、において実行される。面してこの判
断処U■1は、メツセージ設定のためのモードスイッチ
(図示略)がオンぜ71だか否かにj、ってそのメソセ
ージ設定モードが罷矩されたか否かに’l’lJ断L、
r Y E S J T ;l ij、 &i、スフ 
7グS、 l/C進行して文学誌d1(処理ルーチンの
方向へゆき、イ11ル方、「No」であtl−はステッ
プS4の刊[)i処理に進む。この判断処理は、へLレ
ジスタに予め酪πされているアラーム時刻に達したが否
がか判断され、[YEsJであれば、ステップS、に進
行し、fjlJEメツセージデータがRAM5がら読出
されて表示され、また一定時間表示されると、そのこと
がステラfSa Kよシ判断され、ステップS、[よシ
メッセージは表示を消去される。・他方、ステツfS4
、S6において倒れも「No」と判断されたときには、
このジェネラルフローの処理は終了し、他の処理(図示
略)が開始さする。
Next, in step S, a message setting mode 11, ie, power/failure/disconnection processing, is executed. On the face of it, this judgment process U1 determines whether the mode switch (not shown) for message setting is on or not, and whether or not the message setting mode is disabled. Cut L,
r Y E S J T ;l ij, &i, Sufu
7, S, 1/C proceeds to the literary magazine d1 (processing routine), and if ``No'' is answered in step S4, tl- proceeds to the publication[)i process of step S4. In this judgment process, it is judged whether or not the alarm time preset in the L register has been reached. If YES, the process proceeds to step S, where the fjlJE message data is read out from the RAM 5 and displayed. When the message is displayed again for a certain period of time, Stella fSa K determines that this is the case, and in step S, the display of the message is deleted.・On the other hand, Stetsu fS4
, When it is determined that the collapse is also "No" in S6,
This general flow process ends, and other processes (not shown) begin.

また、ステップS、においてメツセージ設定モードの設
定が判断さ八てステップs8に進行した場合、このステ
ップsIlでa、RAM5内のフラグFAがrOJが否
かが判断される。而して、文字認識装置を実行していな
い通常はrOJにセットされており、シたがって1次に
ステップS、VC進行し、フラグFAにデータ「1」が
セットサれ、文字認識処理実行中であることが記憶され
る。そして後述するフローにしたがって入力$1のタッ
チ電極から、座標入力される文字・ぐターンの認識処理
が実行され(ステップS+o)、そして入力したメツセ
ージデータがRA M 5 VC’6t l益され(ス
テン7’S、、l、更に、表示部2に表示確認され(ス
テップ5I2)のち、フラグFAがクリア(ステツfS
+s)されて文字8@処理実行状態が解除される。なお
、ステップS、において、フラグFAがrOJで々かっ
たときKは、そt以力)Fに実行中の処理に復帰する。
Further, when the setting of the message setting mode is determined in step S and the process proceeds to step s8, it is determined in step sIl whether or not the flag FA in the RAM 5 is rOJ. Therefore, when the character recognition device is not running, it is normally set in rOJ, and therefore the first step S and VC proceed, data "1" is set in the flag FA, and character recognition processing is being executed. It is remembered that Then, according to the flow described later, the recognition process of the character/gutter whose coordinates are inputted from the touch electrode of input $1 is executed (step S+o), and the inputted message data is processed (step S+o). 7'S,,l, After the display is confirmed on the display unit 2 (step 5I2), the flag FA is cleared (step fS
+s) and the character 8@ processing execution state is canceled. Note that in step S, when the flag FA is equal to rOJ, K returns to the process currently being executed at F.

第10図は、前記ステップ5loVcおける文字認識処
理の具体的内容を示すフローチャートである。即ち、文
字認識処理ステラ7″に入ると、先ず、ステップSAの
イニシャライズ処理が実行される。
FIG. 10 is a flowchart showing the specific contents of the character recognition process in step 5loVc. That is, when entering the character recognition process Stella 7'', first, the initialization process of step SA is executed.

ナなわち、RAM5内のF、レジスタおよびF。Namely, F, register and F in RAM5.

レジスタにフラグ″1nがセラi・され、また、ストロ
ーク数カウンタ2の内容がクリアさシ1、しかも、アド
レスカウンタYVc″1nがセットさり、る。
The flag "1n" is set in the register, the contents of the stroke number counter 2 are cleared, and the address counter YVc"1n is set.

この場合sF1 レジスタは、−文字のvlき始めで0
2、魯き終シで1#がセットされ、また、F、レジスタ
は、1ストロークの■j@始めで0″、書き終シで11
″がセラlれるものである。
In this case, the sF1 register is 0 at the beginning of the - character.
2. 1# is set at the end of the stroke, and the F register is 0'' at the beginning of one stroke, and 11 at the end of the stroke.
'' is what you need to know.

而して、次のステップS、で、入力h1か14標位置デ
ータを読み込む処理を実行したのち、ステツ7″S、に
進行し、入力部lがら文字パターンの入力有無、換言す
れば、タッチ電極へのタッチ有無が判断され、まだ、タ
ッチ入力されていなければ、ステラfS、、に移行して
、Fl レジスタの内容が1#か否かが判断される。最
初は1#であるから、ステップs2に戻って、同様の処
理が繰力返され、タッチ入力があるまで待機状態となる
Then, in the next step S, after executing the process of reading the input h1 or 14 marker position data, the process proceeds to step 7''S, and it is determined whether or not a character pattern is input from the input section l, in other words, the touch It is determined whether the electrode is touched or not, and if there is no touch input yet, the process moves to Stella fS, and it is determined whether the content of the Fl register is 1#.Since it is 1# at first, Returning to step s2, the same process is repeated, and a standby state is entered until a touch input is received.

而して、タッチ入力があると、ステップs4に進行し、
上記ステツで8口と同様の処理が実行される′が、最初
け1#であるから、タイマ部12の内容を、クリアした
のち、上記OFF時間の計時動作を開始させる(ステッ
プ5s)0そして、次のステップS6でF、 レジスタ
の内容をクリアしたのち、次のステップS、に進行し、
F2 レジスタの内容力に′l#か否かが判断される。
Then, when there is a touch input, the process proceeds to step s4,
In the above step, the same process as 8 points is executed. Since the first digit is 1#, after clearing the contents of the timer section 12, the timing operation of the above OFF time is started (step 5s) 0 and , After clearing the contents of register F in the next step S6, proceed to the next step S.
It is determined whether the contents of the F2 register are 'l#' or not.

最初は、l#であるから、ステツ7″s8に進行し、ス
トローク数カウンタZの内容++x’(るインクリメン
ト処理が実行される。この結果、−文字の一画ヲ魯き始
め、ると、ストローク数カウンタ2の内容は「1」とな
L iストローク目のイ的となる。次VC1F、レジス
タの内容がクリア(ステラ7’S9)され7このち、ス
テップS+oに進行し、座標変化の有無が判断される。
At first, since it is l#, the process advances to step 7''s8, and the increment processing of the contents of the stroke number counter Z is executed. The contents of the stroke number counter 2 are "1" and the i-th stroke is the target.Next, the contents of the register in VC1F are cleared (Stella 7'S9), and the process proceeds to step S+o, where the coordinate change is The presence or absence is determined.

この場合、指を動かして文字パターンを書いているとき
には、それに応じて座標が変化するが、屡株の変化がな
けれは、ステップS2に戻る。す々わち、タッチ電極に
触れているだけで指を動かしていないときには、ステラ
fS2、S8、S4、S7、SIoのループを回る待機
状態となる。而して、座標変化があるき、ステラfS1
.に進み、アドレスカウンタYの内容が「32」未満か
否か、すなわち、本実施例では、1ストロ一ク最大32
個の座像′f:&み込み可能としたものでおるから、こ
の判断処理は、1ストロークの最終座標まで読込んだか
否かを検出するものである。最初は、アドレスカウンタ
Yの値は「1」であるから、ステラ7’ S t sに
進み、メモリftt 域ivi r 〜M8.のうち、
アドレスカウンタYの内容に応じて、アドレス指定され
るメモリ領域MY、すなわち、メモリ領域M、には最初
に入力された座標位置データが書き込まれる。而して、
次のステップ814 でアドレスカウンタYの内容を+
1するインクリメント処理を実行したのち、ステラfS
、に戻る。したがって、アドレスカウンタYの値が「3
2」に表るまでは、ステップ81m、S14が繰)返し
実行される結果、1ストロークの入力中においては% 
31個の座標位置データがアドレスカウンタYの内容に
したがって、メモリ領域M、からM、1に順次@き込ま
れてゆく。而して、アドレ?カウンJYの値が「32」
になると、ステップS、1からステップSatに進み、
32個目の座標位置データが最終のメモリ領域M、8に
書き込まれたのち、ステップS、に戻る。この場合、1
ストロークの入力中において、アドレスカウンタYの値
が一旦「32」となると、ステップSi1が繰)返し実
行される結果、32個以上の座標位置データは、メモリ
領域M1.に書き込まれる。
In this case, when the character pattern is written by moving the finger, the coordinates change accordingly, but if there is no significant change, the process returns to step S2. That is, when the touch electrode is merely touched and the finger is not moved, it enters a standby state in which the loop of Stella fS2, S8, S4, S7, and SIo is repeated. Therefore, when there is a coordinate change, Stella fS1
.. , and checks whether the contents of the address counter Y are less than "32", that is, in this embodiment, one stroke has a maximum of 32
This judgment process detects whether or not the final coordinates of one stroke have been read. At first, the value of the address counter Y is "1", so the process proceeds to Stella 7' S t s and the memory ftt area ivir to M8 . Of these,
According to the contents of the address counter Y, the first input coordinate position data is written into the addressed memory area MY, that is, the memory area M. Then,
In the next step 814, the contents of address counter Y are +
After executing the increment process of 1, Stella fS
, return to. Therefore, the value of address counter Y is "3".
As a result of the repeated execution of steps 81m and S14 until %2 is reached, the %
The 31 coordinate position data are sequentially written into memory areas M, M, 1 according to the contents of the address counter Y. So, address? Count JY value is “32”
Then, proceed from step S, 1 to step Sat,
After the 32nd coordinate position data is written into the final memory area M, 8, the process returns to step S. In this case, 1
During stroke input, once the value of the address counter Y reaches "32", step Si1 is repeatedly executed, and 32 or more coordinate position data are stored in the memory area M1. will be written to.

したがって、ストロークが長い文字、例えば、第11図
に示すように、数字「8」を入力いと場合には、ポイン
ト■〜Oまでの座標位置データは、対応するメモリ領域
M、〜M、、、VC順次衣き込まれてゆくが、ポイント
0から[相]捷での庄標位置データは、最終のメモリ領
域M、 2Kmき込まれる。したがって、メモリ領域M
3すの内容は・ポイントOから1−次書き換えられるの
で、最終的には、ポイント■の座標位置データ、す々わ
ち、1ストロークで最終の座標位置データとガる。この
結果1.ポイン)Qと■とのillは、座標的には直線
で近似されたことになる。
Therefore, when inputting a character with a long stroke, for example, the number "8" as shown in FIG. The VC is loaded sequentially, and the landmark position data from point 0 to the [phase] switch is loaded into the final memory area M, 2 km. Therefore, memory area M
Since the contents of 3 are rewritten one-dimensionally starting from point O, the coordinate position data of point 3 is finally obtained, that is, the final coordinate position data in one stroke. This result 1. Point) ill of Q and ■ is approximated by a straight line in terms of coordinates.

他方、 −文字の1ストローク目が書き終り、次のスト
ロークを書き始めるために、または、画数が1の文字で
は、次に入力する文字の1ストローク目を書き始めるた
めに、入力17b1のタッチ電極から指を離すと、ステ
ップS、てこのことか検出されて、ステップ81 s 
vc進むが、今の場合には、Fl レジスタの内容は0
″なので、史にステップS16 に進み% F、レジス
タの内容が60#か否かが判断される。この場合におい
ても0″なので、ステップsit に進行する。ここで
は、RAM:5の各メモリ領域M1〜M8 t に魯き
込寸れた座標付量データからそのストロークの長さくt
)が算出される。ぞして、このようにして算出されたス
トローク長は、次のステップS、8 で6等分されて6
等分点が抽出されたのち、プ3図のベクトルにしたがっ
て、各部のペグトルが判断され、村りトル列が算出され
る(ステップS1.)。そして、このベクトル列がRA
M5のメモリ領域m1〜m4のうち、ストローク数カウ
ンタ2の内容で、アドレス指定されるメモリ領域mzK
書き込まれる(ステップ5z−o )。したがって、1
ストローク目のベクトル列は、メモリ領域m、に摺、き
込洩れる。而して、次のステップS、1では、F、レジ
スタに1″がセットされ、その後、ステラ7’Sttに
進行し、タイマ部12のOFF時間がRA M S内の
TMレジスタに設定されている一定時間に達したか否か
が判断される。ここで、上記OFF時間が上記一定時間
よシも大きければ、−文字入力の書き終シと判断される
が、小さければ、ステップS2に戻って、次のストロー
クの入力を待つ。
On the other hand, - the touch electrode of the input 17b1 is used to start writing the next stroke after the first stroke of a character has been written, or in the case of a character with a stroke count of 1, to start writing the first stroke of the next character to be input. When you release your finger, step S is detected as a lever, and step 81 s
VC advances, but in this case, the contents of the Fl register are 0.
'', the process proceeds to step S16, and it is determined whether the contents of the %F register are 60#.In this case as well, since it is 0'', the process proceeds to step S16. Here, the stroke length t is determined from the coordinate appended data stored in each memory area M1 to M8 t of RAM:5.
) is calculated. Therefore, the stroke length calculated in this way is divided into 6 equal parts in the next step S, 8.
After the equally divided points are extracted, the peg torque of each part is determined according to the vectors in the diagram P3, and the village torque sequence is calculated (step S1). And this vector sequence is RA
Among the memory areas m1 to m4 of M5, the memory area mzK is addressed by the contents of the stroke number counter 2.
is written (step 5z-o). Therefore, 1
The vector sequence of the stroke is written into the memory area m. In the next step S1, 1'' is set in the F register, and then the process proceeds to Stella 7'Stt, where the OFF time of the timer section 12 is set in the TM register in the RAM S. Here, if the above-mentioned OFF time is longer than the above-mentioned fixed time, it is determined that the - character input has finished, but if it is smaller, the process returns to step S2. and wait for the next stroke to be input.

そして、2ストローク目が入力されると、上述と同様に
して座標読込み処理か実行されたのち、ステップS1.
〜Lx が夛こヤ丁される。し/ヒがって、ストローク
数が2.3.4の各文字では、ステップS’2Qの処理
が2回、3回、4回N・シ返されるので、RA M 5
内のメモリ領域m2 、ln3、m4には2ストローク
目、3ストローク目、4ストローク目のベクトル列が書
き込tiる。
When the second stroke is input, the coordinate reading process is executed in the same manner as described above, and then step S1.
~Lx is added. For each character with a stroke count of 2.3.4, the process in step S'2Q is repeated 2, 3, and 4 times, so RAM 5
The vector sequences of the second stroke, third stroke, and fourth stroke are written in the memory areas m2, ln3, and m4 within.

このようにし、て、−文字入力が経ろと、ステップS8
.でこれが検1jさノ′;てステップS2’3に進み%
 Fl レジスタに、”1−’がセットされる。そして
、上述のように、メモリ領域用1〜17+4 に墾)き
込まれたベクトル列がストローク数別VC分類され、ス
トローク数別のベクトル列が]七〇M4内の俤準ベクト
ル列と比較され(ステップS、4 )、その結果、一番
類似している文字パターンか抽出される(ステップS2
.)。この塾)含、文字パターンの入力によってイqら
れたペクトルタqと律準ベクトル列の各ベクトルの方向
差を検出して、それらの和の最小のものが一番類似して
いる文字パターンとして抽出される。而して、上述のよ
うにして抽出された文字パターンは、表示部2に表示(
ステツf82g)に表示される。
In this way, - character input is performed, step S8
.. So this is the test 1j and proceed to step S2'3.%
"1-" is set in the Fl register.Then, as mentioned above, the vector strings written into memory areas 1 to 17+4 are classified into VCs by number of strokes, and the vector strings by number of strokes are ]70 It is compared with the standard vector sequence in M4 (step S, 4), and as a result, the most similar character pattern is extracted (step S2
.. ). Detects the difference in direction between the vector q and each vector in the standard vector sequence, which are equated by inputting a character pattern, and extracts the smallest sum of them as the most similar character pattern. be done. The character pattern extracted as described above is displayed on the display section 2 (
Displayed on STETSU f82g).

なお、上記実施例では、XY座標系は、16×16のマ
トリックス状に配列した256個の点により構成したが
、この座標の規模は、上記実施例に限定されない。更に
、上記実施例では、入力する文字のストローク数を最大
4ストロークまでとしたが、その数は任意であり、また
、文字の種類もカタカナ、ヒラ〃す、漢字、−ピ号等で
あってもよい。また、上記実施例は、1ストロ一ク范太
32個の座徐位置データ全読み込むようにしたが、その
数も任意である。
In the above embodiment, the XY coordinate system is composed of 256 points arranged in a 16×16 matrix, but the scale of the coordinates is not limited to the above embodiment. Furthermore, in the above embodiment, the number of strokes of characters to be input is up to 4 strokes, but the number can be arbitrary, and the types of characters can also be katakana, hirasu, kanji, -p, etc. Good too. Furthermore, in the above embodiment, all 32 pieces of seat position data per stroke are read, but the number may be arbitrary.

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

この発明は、以上許al K &明したように、入力さ
れた文字パターンの最初の座標から75r足数までの座
標を順次メモリに魯き込む隙に、メモリ容量を越えるよ
うな艮いストロークを持った文字パターンが入力された
場合には、その最終の座標をメモリの最終の記憶領域に
裂き込むようにしたから、メモリ容量を増やすことなく
、長いストロークの文字パターンでも正確に認識するこ
とができる。
As explained above, this invention prevents the user from making a stroke that exceeds the memory capacity while sequentially loading the coordinates from the first coordinate of the input character pattern to the 75r foot into the memory. When a character pattern is input, its final coordinates are ripped into the final storage area of memory, so even character patterns with long strokes can be recognized accurately without increasing memory capacity. can.

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

図面は、この発−明の一実がし例を示し、お)11図は
、文字認W4.装置を俯えた電子時開C回路構成図、第
。 2図(A)〜(C)は、文字パターンとして数字「2」
を入力した場合に、そのベクトル列が待られろ過程を示
した図、第3図は椋準ペク(・ル列を構成する数値とベ
クトルとの関係全数・明1Z・図、第4図、第5図、第
6図′、第7図は、夫々ヌトローク般が1.2.3.4
で構成される文字パターンの柳牟ベクトル列を示ブ[T
hjl、Oi、 8 +ヌ1にICA Mの構成図、第
9図、第10図は、動作を帛竹明°丁不ための7 o 
−f ヤ−)、ZI+111?<1は、1字[−8」を
入力した場合にその座標が取り込首)]−る状輯に示し
た図で七)る。 1・・・・・・人力部、3.4・・・・・・ROM 、
5・・・・・・[LAM、6・・・・・・演算部、M1
〜M6.・・・・・・メモリ領域。 第2図 (イ) CB) (C) 第3図 第6図 第7図 第8図
The drawings show an example of the implementation of this invention; e) Figure 11 shows character recognition W4. Electronic time-opening C circuit configuration diagram looking down on the device, No. Figures 2 (A) to (C) show the number “2” as a character pattern.
Figure 3 is a diagram showing the process by which a vector sequence is expected when inputting . Figures 5, 6', and 7 show Nutrok general 1.2.3.4, respectively.
Indicates the Yanagimu vector sequence of the character pattern consisting of [T
hjl, Oi, 8 + Nu1, ICA M configuration diagram, Figures 9 and 10 are 7 o
-f ya-), ZI+111? <1 is the figure shown in the figure below. 1...Human Resources Department, 3.4...ROM,
5...[LAM, 6... Arithmetic unit, M1
~M6. ...Memory area. Figure 2 (A) CB) (C) Figure 3 Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 文字ノ9ターンの座標を検出する検出手段と、所定数の
メモリ領域を備え前記検出手段で検出された座標を記憶
する第1の記憶手段と、パターンの間に前記所定数以上
の座標が検出された際に該A’ターンの最終座標を記憶
する第2の記憶手段と、前記第1及び第2の記憶手段に
記憶された座標に応じて文字パターンを認識する手段と
を具備して成る文字認識装置。
a detection means for detecting the coordinates of the 9th turn of the character; a first storage means having a predetermined number of memory areas and storing the coordinates detected by the detection means; and a detection means for detecting the predetermined number or more of coordinates between the patterns. and means for recognizing a character pattern according to the coordinates stored in the first and second storage means. Character recognition device.
JP58175219A 1983-09-24 1983-09-24 Character recognizer Granted JPS6068486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58175219A JPS6068486A (en) 1983-09-24 1983-09-24 Character recognizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58175219A JPS6068486A (en) 1983-09-24 1983-09-24 Character recognizer

Publications (2)

Publication Number Publication Date
JPS6068486A true JPS6068486A (en) 1985-04-19
JPH0457034B2 JPH0457034B2 (en) 1992-09-10

Family

ID=15992368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58175219A Granted JPS6068486A (en) 1983-09-24 1983-09-24 Character recognizer

Country Status (1)

Country Link
JP (1) JPS6068486A (en)

Also Published As

Publication number Publication date
JPH0457034B2 (en) 1992-09-10

Similar Documents

Publication Publication Date Title
US6694056B1 (en) Character input apparatus/method and computer-readable storage medium
US4771268A (en) Character recognition device
JPH0533422B2 (en)
JPS6068486A (en) Character recognizer
KR950009271B1 (en) Information processing system
JPS59121484A (en) Coordinate input device
JPH0430071B2 (en)
JPS59121480A (en) Character recognizing device
JPS6258325A (en) Character recognizing device
JPS6068481A (en) Character recognizer
JPS58202476A (en) Word learning apparatus
JPH03245218A (en) Push down position detecting system for digital touch panel
JP2815911B2 (en) Electronic dictionary
JP5061786B2 (en) Candidate word display device and candidate word display program
JPH0758337B2 (en) Small electronic device with data storage device
JPS59183434A (en) Prefetch control system of instruction
JP3255477B2 (en) Character input device and character input method
JPS59121481A (en) Character recognizing device
RU2042189C1 (en) Device for microprogram control
JP3560361B2 (en) Character recognition device and character recognition method
JP4269357B2 (en) Handwritten character recognition device, handwritten character recognition method, and storage medium storing handwritten character recognition program
JPS62219089A (en) Stroke feature point extraction system in on-line hand-written character recognition
JPS6128134A (en) Symbol string collecting device and its control system
JPH0724057B2 (en) Electronics
JPH07325888A (en) Dictionary registering method, character recognizing method and character recognizing device