JPH03160581A - Pattern recognition device - Google Patents

Pattern recognition device

Info

Publication number
JPH03160581A
JPH03160581A JP1299734A JP29973489A JPH03160581A JP H03160581 A JPH03160581 A JP H03160581A JP 1299734 A JP1299734 A JP 1299734A JP 29973489 A JP29973489 A JP 29973489A JP H03160581 A JPH03160581 A JP H03160581A
Authority
JP
Japan
Prior art keywords
input
pattern
character
stroke
recognition device
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
JP1299734A
Other languages
Japanese (ja)
Inventor
Tadanori Nakatsuka
忠則 中塚
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1299734A priority Critical patent/JPH03160581A/en
Publication of JPH03160581A publication Critical patent/JPH03160581A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To stably segment a pattern by judging the termination of the input of one pattern by means of a position relation between an input window and an inputted stroke so as to segment the pattern. CONSTITUTION:An input part 2 composed of a tablet and an input pen has plural input windows inputting pattern information, and a character segment part 6 which judges whether the input of the pattern such as one character terminates or not by the position relation between the inputted stroke and the input window and segments the character is provided. Then, the termination of the input of one character is judged, and strokes until the previous one is set to be one character. Then, a recognition part 7 recognizes the character and a recognized result is displayed in a display part 9. Thus, the the pattern can stably be segmented in spite of the habit and errors of a user.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字や図形等のパターンを認識するパターン認
識装置に関するものである.[従来の技術] 従来のパターン認識装置、例えばオンライン文字認識装
置における入力終了の検知は、入力終了を示す部位への
入力指示等により行なう。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a pattern recognition device that recognizes patterns such as characters and figures. [Prior Art] In a conventional pattern recognition device, for example, an online character recognition device, the end of input is detected by inputting an instruction to a portion indicating the end of input, or the like.

しかし、この方法によると使用者の思考を妨げてしまう
.そこで、複数の入力窓を設けて、現在入力中の入力窓
から別の入力窓へ入力が移動した、つまり別の文字ある
いは図形の入力が始まったことを1パターンの終了条件
として、パターンを切出して認識をはじめる方法がある
.また、OCRにおいてもパターンを切り出す入力窓を
複数設けてパターンを切り出し認識する方法がある. [発明が解決しようとしている課題] しかしながら、上記従来例では、ユーザの癖や不注意、
あるいは入力窓が小さい,パターンが複雑等の理由によ
り、入力中にパターンの一部が入力窓からはみ出して別
の入力窓に入力された場合に、正しくパターンの切り出
しが行なえず、認識が不可能になったり誤認識してしま
い、ユーザが再び入力しなおさなければならないという
問題があった. 本発明は、前記従来の欠点を除去し、パターンの切り出
しをユーザの癖やミス等にかかわらず安定に行い、入力
窓が小さい.パターンが複雑等によらずパターン認識の
認識率を高め、操作性を向上するパターン認識装置を提
供する。
However, this method hinders the user's thinking. Therefore, we created multiple input windows and cut out a pattern based on the termination condition of one pattern when the input moves from the input window currently being input to another input window, that is, when the input of another character or figure begins. There is a way to start recognition. Furthermore, in OCR, there is a method of cutting out and recognizing patterns by providing multiple input windows for cutting out patterns. [Problem to be solved by the invention] However, in the above conventional example, the user's habits, carelessness,
Or, if part of the pattern protrudes from the input window during input and is input into another input window due to reasons such as the input window is small or the pattern is complex, the pattern cannot be extracted correctly and recognition is impossible. There was a problem that the user would have to input the information again due to incorrect recognition. The present invention eliminates the above-mentioned drawbacks of the conventional technology, stably cuts out patterns regardless of user's habits or mistakes, and has a small input window. To provide a pattern recognition device that increases the recognition rate of pattern recognition regardless of the complexity of the pattern and improves operability.

[課題を解決するための手段] この課題を解決するために、本発明のパターン認識装置
は、文字や図形等のパター゛ン認識を行なうパターン認
識装置であって、 パターン情報を入力する複数の入力窓を持つ入力手段と
、前記入力窓と入力されたストロークとの位置関係に基
づいて、1つのパターンの入力終了を判定してパターン
を切り出すパターン切出し手段とを備える. ここで、前記パターン切出し手段は、現在入力中のスト
ロークが複数の入力窓に属した場合に、前のストローク
が属した入力窓と現在入力中のストロークの位置関係に
基づいて、一つのパターンの入力が終了したか否かを判
定する.又、文字や図形等のパターン認識を行なうパタ
ーン認識装置であって、 パターン情報を入力する複数の入力窓を持つ入力手段と
、入力されたパターンが複数の入力窓に属している場合
に、入力窓と入力されたパターンとの位置関係に基づい
て、該入力されたパターンの属する入力窓を判別してパ
ターンを切り出すパターン切出し手段とを備える.[作
用] かかる構成において、入力窓と入力されたストロークの
位置関係によって、1パターンの入力の終了あるいは入
力窓のいずれに属するかを判定してパターンを切出しす
ことにより、安定したパターンの切出しを可能とする. [実施例] 以下、添付図面を参照して本発明にかかる好適な実施例
を詳細に説明する.尚、本実施例ではパターンの代表と
して文字を例に説明する。
[Means for Solving the Problem] In order to solve this problem, the pattern recognition device of the present invention is a pattern recognition device that recognizes patterns such as characters and figures, and includes a plurality of The apparatus includes an input means having an input window, and a pattern cutting means for determining the end of input of one pattern and cutting out the pattern based on the positional relationship between the input window and the input stroke. Here, when the stroke currently being input belongs to a plurality of input windows, the pattern cutting means extracts one pattern based on the positional relationship between the input window to which the previous stroke belonged and the stroke currently being input. Determine whether the input is finished. Moreover, the pattern recognition device recognizes patterns of characters, figures, etc., and includes an input means having multiple input windows for inputting pattern information, and when the input pattern belongs to multiple input windows. The apparatus includes pattern cutting means for determining the input window to which the input pattern belongs based on the positional relationship between the window and the input pattern and cutting out the pattern. [Operation] In this configuration, by determining whether the input of one pattern ends or belongs to the input window based on the positional relationship between the input window and the input stroke and cutting out the pattern, stable pattern cutting is achieved. Make it possible. [Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this embodiment, characters will be explained as an example of a pattern.

第1図は本実施例の文字認識装置の構成を示すブロック
図である.1は本実施例の文字認識部を示している.2
はタブレット及び入力ペンにより構成される入力部であ
り、0.02秒ごとにペン先のup/down情報.X
座標.y座標を検出する.3は装置全体を制御する演算
処理用の中央処理装置(以下CPU),4はCPU3の
処理プログラム、即ち制御プログラム.エラー処理プロ
グラム、そして後述の第5図に示すフローチャートに従
ったプログラム等を格納しているROM,5はROM4
に格納されている各種プログラムのワークエリア及びエ
ラー処理時の一時退避エリアとして用いるRAMであり
、入力部2から得た入力点のX座標,y座標を順次記憶
する座標メモリ5a、座標メモリ5aに記憶されている
ストロークの始点と終点から求めた中点を格納する中点
メモリ5b、座標メモリ5aに格納された入力点の座標
から抽出した始点・終点・尖点などの特徴点を記憶する
特徴メモリ5 c s文字認識結果などの表示データを
格納する表示用メモリ5d、そして文字認識などを実行
する際に必要なワークメモリ5eを有している。
FIG. 1 is a block diagram showing the configuration of the character recognition device of this embodiment. 1 shows the character recognition unit of this embodiment. 2
is an input unit consisting of a tablet and an input pen, and the up/down information of the pen tip is sent every 0.02 seconds. X
Coordinate. Detect the y-coordinate. 3 is a central processing unit (hereinafter referred to as CPU) for arithmetic processing that controls the entire device, and 4 is a processing program for CPU 3, that is, a control program. ROM 4 stores an error processing program and a program according to the flowchart shown in FIG. 5, which will be described later.
This RAM is used as a work area for various programs stored in the computer and as a temporary save area during error processing. A midpoint memory 5b that stores the midpoint found from the stored start and end points of the stroke, and a feature that stores feature points such as the start point, end point, and cusp extracted from the coordinates of the input point stored in the coordinate memory 5a. Memory 5 cs It has a display memory 5d for storing display data such as character recognition results, and a work memory 5e necessary for executing character recognition and the like.

また、6は入力されたストロークと入力窓との位置関係
により一文字の入力が終了したか否かを判定して文字切
出しする文字切出し部、7は文字等の認識を行なう認識
部、8は認識部7で用いる認識用辞書で、文字コード.
総画数.特徴点座標等が記述されている。9は認識結果
等を表示する表示部、10はメモリアドレスやデータ転
送等に用いるバスライン、11は外部の出力装置、即ち
プリンタ12とのインタフェースを行うインタフェース
部である。
Further, 6 is a character cutting unit that determines whether input of one character is completed based on the positional relationship between the input stroke and the input window and cuts out the character, 7 is a recognition unit that recognizes characters, etc., and 8 is a recognition unit. The recognition dictionary used in Section 7 contains character codes.
Total number of strokes. Feature point coordinates, etc. are described. Reference numeral 9 denotes a display section for displaying recognition results, etc., 10 a bus line used for memory addresses, data transfer, etc., and 11 an interface section for interfacing with an external output device, that is, a printer 12.

第2図は本実施例の文字認識装置の構成を示す外観斜視
図である.20は入力部2を構成する入力ベンを示す.
21は透明のタブレットで、下部には液晶ディスプレイ
が設置されている.22は訂正,編集などの指示を与え
る時に用いるメニュー領域、23は文字入力に用いる文
字入力領域を示している.上記のメニュー領域22及び
文字入力量23は液晶ディスプレイによって表示される
. 第3図は本実施例の認識用辞書8に記述されている文字
情報の一部分を示す図である.第3図の如く、認識用辞
書8には文字の画数.文字コード,特徴点座標等が記憶
されており、入力部2から入力された文字と切り出し部
6で切り出してパターンと比較して文字認識を行う. 第4図は本実施例の文字認識装置の外観斜視図の文字入
力領域23の一部を拡大した図である。
FIG. 2 is an external perspective view showing the configuration of the character recognition device of this embodiment. 20 indicates an input vent that constitutes the input section 2.
21 is a transparent tablet with a liquid crystal display installed at the bottom. Reference numeral 22 indicates a menu area used for giving instructions for correction, editing, etc., and 23 indicates a character input area used for inputting characters. The above menu area 22 and character input amount 23 are displayed on a liquid crystal display. FIG. 3 is a diagram showing part of the character information described in the recognition dictionary 8 of this embodiment. As shown in Figure 3, the recognition dictionary 8 contains the number of strokes of a character. Character codes, feature point coordinates, etc. are stored, and characters input from the input section 2 are cut out by the cutout section 6 and compared with patterns to perform character recognition. FIG. 4 is an enlarged view of a part of the character input area 23 in an external perspective view of the character recognition device of this embodiment.

4lは現在入力している入力窓、42は隣の入力窓であ
り、43.44.45はそれぞれ入力された文字の第1
.第2.第3ストローク、46,47.48は第2スト
ローク44の始点.中点.終点、49は第1ストローク
43と第2ストローク44との重心である.この図にお
いて、第2ストローク44は入力窓4lと42との2つ
の入力窓に属している.従来の方法では、第2ストロー
ク44により別の入力窓42に入力が行なわれたので、
一文字の入力が終了したと判定されて、文字認識が行わ
れるため御認識になってしまった. 本実施例によれば、まずはじめに第2ストローク44の
始点46及び終点48より中点47を求め、中点47が
現在入力している入力窓41に属していることから、第
2ストローク44は別の文字の入力ではない、つまり一
文字の入力が終了したのではないと判定される.これに
より、不注意等で文字枠をはみ出してしまったことによ
る誤った文字の切り出しを回避することが可能になった
. 第5図は本実施例のCPU3の動作手順を示すフローチ
ャートである. まず、操作者によりタブレット21に入力ベン20によ
る座標点の入力があると、ステップSlでメニュー領域
22からの入力か文字入力エリア23から入力かを判定
する.判定結果がメニュー領域22での入力であれば、
ステップS8に進んで表示部9に表示されている文字の
訂正,編集などの処理を行う.一方、ステップS1での
判定結果が文字入力領域23での入力であれば、ステッ
プS2で文字を構成するストロークとじて座標データを
座標メモリ5aに記憶する.1ストロークを入力し終え
ると、ステップS3で文字切出し部6において入力スト
ロークが前のストロークと同じ入力窓か否かが判定され
る.同じ入力窓の場合は一文字の入力終了ではないので
、ステップS2に戻って次のストロークの入力を繰り返
す.同じ入力窓でない場合はステップS4で入力された
ストロークが異なる2つ以上の入力窓への入力か否かを
判定する.この判定結果が異なる2つ以上の入力窓への
入力であれば、ステップS5で座標メモリ5aに格納さ
れているストロークの始点及び終点から中点を求めて中
点メモリ5 b.に格納し、中点メモリ5bに格納され
た中点が前のストロークと同じ入力窓内か否か判定する
.この判断結果が前ストロークと同じ入力窓内であれば
、一文字の入力は終了していないと判定してステップS
2へ戻り、次のストロークの入力を繰り返す. 一方、ステップS4の判定結果で入力ストロークの全て
が前のストロークと異なる入力窓にある場合及びステッ
プS5の判定結果で前のストロークと入力ストロークの
中点とが異なる入力窓内であれば、一文字の入力が終了
したと判定して、ステップS6で前のストロークまでを
一文字として認識部7により文字認識を行ない、ステッ
プS9で表示部9に認識結果を表示して終了する。
4l is the input window that is currently being input, 42 is the adjacent input window, and 43, 44, and 45 are the first characters of each input character.
.. Second. The third stroke 46, 47.48 is the starting point of the second stroke 44. Midpoint. The end point 49 is the center of gravity of the first stroke 43 and the second stroke 44. In this figure, the second stroke 44 belongs to two input windows 4l and 42. In the conventional method, input was made to another input window 42 by the second stroke 44;
It was determined that one character had been input, and character recognition was performed, resulting in recognition. According to this embodiment, first, the middle point 47 is found from the starting point 46 and the ending point 48 of the second stroke 44, and since the middle point 47 belongs to the input window 41 where input is currently being made, the second stroke 44 is It is determined that the input is not another character, that is, the input of one character has not been completed. This makes it possible to avoid cutting out incorrect characters due to inadvertent text that extends beyond the character frame. FIG. 5 is a flowchart showing the operating procedure of the CPU 3 of this embodiment. First, when an operator inputs a coordinate point to the tablet 21 using the input bench 20, it is determined in step Sl whether the input is from the menu area 22 or the character input area 23. If the judgment result is input in the menu area 22,
Proceeding to step S8, the characters displayed on the display section 9 are corrected, edited, etc. On the other hand, if the determination result in step S1 is that the input is in the character input area 23, coordinate data is stored in the coordinate memory 5a as strokes forming a character in step S2. When one stroke has been inputted, in step S3, the character cutting section 6 determines whether the input stroke is in the same input window as the previous stroke. In the case of the same input window, the input of one character is not completed, so the process returns to step S2 and the input of the next stroke is repeated. If the input windows are not the same, it is determined in step S4 whether the input strokes are input to two or more different input windows. If the determination result is input to two or more different input windows, in step S5, a midpoint is determined from the start and end points of the stroke stored in the coordinate memory 5a, and the midpoint is stored in the midpoint memory 5b. It is determined whether the midpoint stored in the midpoint memory 5b is within the same input window as the previous stroke. If this judgment result is within the same input window as the previous stroke, it is judged that the input of one character has not been completed, and step S
Return to step 2 and repeat inputting the next stroke. On the other hand, if the determination result in step S4 is that all of the input strokes are in a different input window from the previous stroke, and the determination result in step S5 is that the midpoints of the previous stroke and the input stroke are in different input windows, then one character It is determined that the input has been completed, and in step S6, the recognition section 7 performs character recognition using the previous stroke as one character, and in step S9, the recognition result is displayed on the display section 9, and the process ends.

尚、第5図のフローチャートは概略の流れを示しており
、プリンタl2より文字を出力する処理等については示
されていない. 以上の説明により、本実施例によれば、ユーザが不注意
等により入力窓からはみ出して入力した場合にも、正し
く文字の切り出しを行なうことができるので、ユーザの
使いやすさを向上させ、認識率を高めた文字認識装置を
実現することができる. 尚、本実施例の文字切出し部6では、ストロークの始点
と終点とから中点を求めて文字入力終了判定を行なって
いるが、中点のかわりにストロークの重心を求めて判定
を行なっても良い。
Note that the flowchart in FIG. 5 shows the general flow and does not show the process of outputting characters from the printer l2. As described above, according to this embodiment, even if the user inputs the input outside the input window due to carelessness, it is possible to correctly cut out the characters, thereby improving the user's ease of use and recognizing the characters. It is possible to realize a character recognition device with improved performance. Although the character cutting section 6 of this embodiment determines the end of character input by finding the midpoint from the start and end points of the stroke, it is also possible to determine the end of character input by finding the center of gravity of the stroke instead of the midpoint. good.

この場合の本実施例の文字認識装置の構或は、第1図の
中点メモリ5bを第6図に示すRAM5の構成のように
、重心メモリ5b’に置き代えればよい.又、第5図の
フローチャートのステップS5を第7図のステップS5
’に置き代えるだけ.で他の動作は第5図と同様である
.以上の重心による判定では、前述の実施例と同様の作
用.効果を得ることができると共に、例えば曲線を含み
ストロークの中点部分が入力窓からはみ出しやすいよう
な文字についても、安定した文字の切り出し及び認識が
可能となる。
In this case, the structure of the character recognition device of this embodiment may be changed by replacing the center point memory 5b in FIG. 1 with the center of gravity memory 5b' as in the structure of the RAM 5 shown in FIG. Also, step S5 in the flowchart in FIG. 5 is replaced with step S5 in FIG.
' Just replace it with '. The other operations are the same as in Figure 5. The above determination based on the center of gravity has the same effect as the previous embodiment. In addition, it is possible to stably cut out and recognize characters, even for characters that include curves and whose strokes tend to extend beyond the input window, for example.

更に、中点や重心のかわりに、文字あるいはストローク
の特徴を示すと考えられる点の情報、例えばストローク
の始点からストローク長さのHにあたる点を求める等を
キーボード等の入力手段より入力して、この入力に従っ
た処理によって、判定を行なっても良い. この場合の本実施例の文字認識装置の構或は第1図の中
点メモリ5bを第8図に示すRAM5の構成のように%
点メモリ5b″に置き代えるればよい.又第5図のフロ
ーチャートのステップS5を第9図のステップ85″に
置き代えるだけで他の動作は以外は第5図と同様である
.以上の始点よりA点による判定は、使用者の文字の入
力が入力窓の中を始点とする傾向があることをも考慮に
入れたものであり、前述の実施例と同様の作用.効果を
得ることができると共に、入力窓からのはみ出しが著し
いものも安定して切り出して認識できる. [他の実施例コ 前述の実施例の入力部はタブレットにより構成されてい
たが、次にスキャナによって構成されるOCRによる入
力の場合を説明する.本実施例の文字認識装置の構成は
第6図のRAM5を用いる以外は第1図の構成と同様で
ある. 本実施例では、まずスキャナにより取り込まれた文字を
形成する連続する黒画素を1ブロックとして抽出する.
この場合第4図の入力例では、ブロックの中で第1スト
ローク43と第2ストローク44とからなるブロックが
、異なる2つの入力窓41と42とに属していることか
わかる。
Furthermore, instead of the midpoint or center of gravity, information on points that are considered to indicate the characteristics of the character or stroke, such as finding the point corresponding to the stroke length H from the starting point of the stroke, is input using an input means such as a keyboard. Judgment may be made by processing according to this input. In this case, the structure of the character recognition device of this embodiment or the middle point memory 5b in FIG. 1 is changed to the structure of the RAM 5 shown in FIG.
It is only necessary to replace step S5 in the flowchart of FIG. 5 with step 85" in FIG. 9, and the other operations are the same as in FIG. 5. The above determination based on point A from the starting point also takes into consideration the fact that the user's character input tends to start within the input window, and has the same effect as the above-mentioned embodiment. Not only can you obtain this effect, but you can also stably extract and recognize objects that protrude significantly from the input window. [Other Embodiments] Although the input unit in the above-mentioned embodiment was composed of a tablet, next we will explain the case of input using OCR composed of a scanner. The structure of the character recognition device of this embodiment is the same as that shown in FIG. 1 except that the RAM 5 shown in FIG. 6 is used. In this embodiment, first, consecutive black pixels forming a character captured by a scanner are extracted as one block.
In this case, in the input example shown in FIG. 4, it can be seen that the block consisting of the first stroke 43 and the second stroke 44 belongs to two different input windows 41 and 42.

そこで、このブロックがいずれの入力窓に属するかを、
重心49を求めて重心メモリ5b’に格納し、重心49
が属する入力窓をブロックの入力窓とする.第4図の例
では重心49が入力窓41に属することから、上記黒画
素部分のブロックは入力窓4lに属するものとして判定
され、第3ストローク45以降のブロックと共に、文字
切出し部6で一文字として文字切出しされる.第10図
は本実施例でのCP.U3の動作手順を示すフローチャ
ートである。
Therefore, to determine which input window this block belongs to,
The center of gravity 49 is determined and stored in the center of gravity memory 5b'.
Let the input window to which belongs be the input window of the block. In the example shown in FIG. 4, since the center of gravity 49 belongs to the input window 41, the block of the black pixel portion is determined to belong to the input window 4l, and is treated as one character by the character cutting unit 6 along with the blocks after the third stroke 45. Characters are extracted. FIG. 10 shows the CP in this embodiment. It is a flowchart which shows the operation procedure of U3.

まず、ステップS21で操作者によりスキャナを用いて
入力されたイメージの情報を座標点メモリ5aに記憶す
る.ステップS22で座標点メモリ5aに記憶された情
報から連続する黒画素を抽出して、それぞれをブロック
とする.文字切出し部6においては、ステップS23で
複数の入力窓に属するブロックがあるか否かを判定する
.複数の入力窓に属するブロックがあれば、ステップS
24でその重心を求めて、重心に位置によりブロックが
どの入力窓に属するかを決定する.複数の入力窓に属し
ているブロックがなくなるまでステップS23,S24
を繰り返し、全てのブロックの入力窓への帰属が決定し
たら、ステップS25に進んで文字の切出しを行ない、
ステップS26で認識部7で認識し、ステップS27で
認識結果を表示部9に表示して終了する. 以上の説明により、スキャナよりの入力を行う本実施例
においても、前述の実施例と同様にユーザの不注意等に
より文字が入力窓からはみ出している場合にも、正しく
文字の切り出しを行なうことができるので、ユーザの使
いやすさを向上させ、認識率を高めた文字認識装置を実
現することができる. 尚、以上述べた実施例は本発明を具体化した例であって
、入力窓への帰属を判定する点は中点.重心.1Aの点
以外にも、文字の種類あるいは他の図形等のパターンに
対応して種々のものが考えられる. 以上説明したように本実施例によれば、入力された文字
・図形が複数の入力窓に属しても、正しく文字の切出し
を行なう文字切出し部を設けることにより、ユーザの使
いやすさを向上させ、認識率を高める効果がある. [発明の効果] 本発明により、パターンの切り出しをユーザの癖やミス
等にかかわらず安定に行い、入力窓が小さい.パターン
が複雑等によらずパターン認識の認識率を高め、操作性
を向上するパターン認識装置を提供できる.
First, in step S21, image information input by an operator using a scanner is stored in the coordinate point memory 5a. In step S22, consecutive black pixels are extracted from the information stored in the coordinate point memory 5a, and each is defined as a block. In step S23, the character segmentation unit 6 determines whether there are blocks belonging to a plurality of input windows. If there are blocks that belong to multiple input windows, step S
In step 24, the center of gravity is determined, and it is determined to which input window the block belongs based on the position of the center of gravity. Steps S23 and S24 until there are no more blocks belonging to multiple input windows.
is repeated, and when it is determined that all blocks belong to the input window, the process proceeds to step S25 to cut out characters,
In step S26, the recognition unit 7 performs recognition, and in step S27, the recognition result is displayed on the display unit 9, and the process ends. As described above, even in this embodiment in which input is performed using a scanner, even if characters protrude from the input window due to the user's carelessness, as in the previous embodiment, characters can be correctly extracted. As a result, it is possible to realize a character recognition device that is easier to use for users and has a higher recognition rate. The embodiment described above is an example embodying the present invention, and the point at which belonging to the input window is determined is the midpoint. Center of gravity. In addition to the point 1A, various other points can be considered depending on the type of characters or patterns of other figures. As explained above, according to this embodiment, even if the input characters/figures belong to multiple input windows, the user's ease of use is improved by providing a character cutting section that correctly cuts out the characters. , which has the effect of increasing the recognition rate. [Effects of the Invention] According to the present invention, patterns can be cut out stably regardless of the user's habits or mistakes, and the input window is small. It is possible to provide a pattern recognition device that increases the recognition rate of pattern recognition regardless of the complexity of the pattern and improves operability.

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

第1図は本実施例の文字認識装置の構成を示すブロック
図、 第2図は本実施例の文字認識装置の外観斜視図、 第3図は認識用辞書8に記述されている文字情報の一部
分を示す図、 第4図は文字入力領域23の一部分を示す図、第5図は
本実施例の動作手順を示すフローチャート、 第6図は重心による文字切り出しの場合のRAMの構成
を示す図、 第7図は重心により文字切り出しの場合のステップを示
す図、 第8図はH点により文字切り出しの場合のRAM5の構
成を示図、 第9図はH点により文字切り出しの場合のステップを示
す図、 第10図は他の実施例の動作手順を示すフローチャート
である. 図中、1・・・文字認識装置、2・・・入力部、3・・
・CPU,4・・・ROM,5”−RAM,5a・・・
座標メモリ、5b−・・中点メモリ、5b’ ・・・重
心メモリ、5b″・・・%点メモリ、5c・・・特徴メ
モリ、5d・・・表示用メモリ、5e・・・ワークメモ
リ、6・・・文字切出し部、7・・・認識部、8・・・
認識用辞書、9・・・表示部、10・・・パスライン、
11・・・インタフェース部である。
FIG. 1 is a block diagram showing the configuration of the character recognition device of this embodiment, FIG. 2 is an external perspective view of the character recognition device of this embodiment, and FIG. 3 is a block diagram showing character information written in the recognition dictionary 8. 4 is a diagram showing a part of the character input area 23, FIG. 5 is a flowchart showing the operating procedure of this embodiment, and FIG. 6 is a diagram showing the configuration of the RAM in the case of character extraction based on the center of gravity. , Figure 7 shows the steps for character extraction using the center of gravity, Figure 8 shows the configuration of the RAM 5 when character extraction is performed using the H point, and Figure 9 shows the steps for character extraction using the H point. Figure 10 is a flowchart showing the operating procedure of another embodiment. In the figure, 1... character recognition device, 2... input section, 3...
・CPU, 4...ROM, 5"-RAM, 5a...
Coordinate memory, 5b--Midpoint memory, 5b'...Gravity center memory, 5b''...% point memory, 5c...Characteristic memory, 5d...Display memory, 5e...Work memory, 6... Character cutting section, 7... Recognition section, 8...
recognition dictionary, 9...display section, 10...pass line,
11... Interface section.

Claims (3)

【特許請求の範囲】[Claims] (1)文字や図形等のパターン認識を行なうパターン認
識装置であつて、 パターン情報を入力する複数の入力窓を持つ入力手段と
、 前記入力窓と入力されたストロークとの位置関係に基づ
いて、1つのパターンの入力終了を判定してパターンを
切り出すパターン切出し手段とを備えることを特徴とす
るパターン認識装置。
(1) A pattern recognition device that recognizes patterns of characters, figures, etc., which includes an input means having a plurality of input windows for inputting pattern information, and based on the positional relationship between the input windows and input strokes, 1. A pattern recognition device comprising: pattern cutting means for determining the end of input of one pattern and cutting out a pattern.
(2)前記パターン切出し手段は、現在入力中のストロ
ークが複数の入力窓に属した場合に、前のストロークが
属した入力窓と現在入力中のストロークの位置関係に基
づいて、一つのパターンの入力が終了したか否かを判定
することを特徴とする請求項第1項記載のパターン認識
装置。
(2) When the stroke currently being input belongs to a plurality of input windows, the pattern cutting means extracts one pattern based on the positional relationship between the input window to which the previous stroke belonged and the stroke currently being input. 2. The pattern recognition device according to claim 1, further comprising determining whether or not input has been completed.
(3)文字や図形等のパターン認識を行なうパターン認
識装置であって、 パターン情報を入力する複数の入力窓を持つ入力手段と
、 入力されたパターンが複数の入力窓に属している場合に
、入力窓と入力されたパターンとの位置関係に基づいて
、該入力されたパターンの属する入力窓を判別してパタ
ーンを切り出すパターン切出し手段とを備えることを特
徴とするパターン認識装置。
(3) A pattern recognition device that recognizes patterns such as characters and figures, which includes an input means having multiple input windows for inputting pattern information, and when the input pattern belongs to multiple input windows, 1. A pattern recognition device comprising: a pattern cutting means for determining the input window to which the input pattern belongs based on the positional relationship between the input window and the input pattern and cutting out the pattern.
JP1299734A 1989-11-20 1989-11-20 Pattern recognition device Pending JPH03160581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1299734A JPH03160581A (en) 1989-11-20 1989-11-20 Pattern recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1299734A JPH03160581A (en) 1989-11-20 1989-11-20 Pattern recognition device

Publications (1)

Publication Number Publication Date
JPH03160581A true JPH03160581A (en) 1991-07-10

Family

ID=17876319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1299734A Pending JPH03160581A (en) 1989-11-20 1989-11-20 Pattern recognition device

Country Status (1)

Country Link
JP (1) JPH03160581A (en)

Similar Documents

Publication Publication Date Title
EP1683075B1 (en) Boxed and lined input panel
KR100233193B1 (en) Handwritten character recognition apparatus with an improved feature of correction to stroke segmentation and method for correction to stroke segmentation for recognition of handwritten character
JP2651009B2 (en) Information recognition device
JP2001005599A (en) Information processor and information processing method an d recording medium recording information processing program
US6282316B1 (en) Image processing method and apparatus that use handwritten gestures for editing
JPH06176188A (en) Method and device for preparing information on recognized characters
EP0531060A2 (en) Image processing method and apparatus
JP3353954B2 (en) Handwriting input display method and handwriting input display device
JP2000112599A (en) Device and method for processing document image
US6504540B1 (en) Method and apparatus for altering one or more attributes of one or more blocks of image data in a document
JP3113747B2 (en) Character recognition device and character recognition method
JP3422634B2 (en) Handwritten character recognition method and apparatus
JPH03160581A (en) Pattern recognition device
JP3085552B2 (en) Character input / cursor instruction determination method in online handwriting input device
JP2004272377A (en) Device of character editing, character input/display device, method of character editing, program of character editing, and storage medium
JPH1115918A (en) Handwriting character recognizing device
JP3526479B2 (en) Online handwritten character input method and device
EP0585610B1 (en) Method and apparatus for inputting handwritten alphanumeric characters and for displaying the input character
JPH09237321A (en) Device for recognizing handwritten character
JP2994176B2 (en) Ruled line input device
JPH08137987A (en) Optical character reader
JPH09161089A (en) Handwritten data editing device and its method
JPH08339417A (en) Device and method for recognition of european and american character
JPH0721311A (en) On-line character segmenting device
JPH0816571A (en) Kanji input device