JP2000148907A - Handwritten diagram recognition device - Google Patents

Handwritten diagram recognition device

Info

Publication number
JP2000148907A
JP2000148907A JP11351046A JP35104699A JP2000148907A JP 2000148907 A JP2000148907 A JP 2000148907A JP 11351046 A JP11351046 A JP 11351046A JP 35104699 A JP35104699 A JP 35104699A JP 2000148907 A JP2000148907 A JP 2000148907A
Authority
JP
Japan
Prior art keywords
recognition
tablet
handwritten
input
stroke
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
JP11351046A
Other languages
Japanese (ja)
Inventor
Yasushi Ishizuka
康司 石塚
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP11351046A priority Critical patent/JP2000148907A/en
Publication of JP2000148907A publication Critical patent/JP2000148907A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a handwritten diagram recognition device which eliminates the drop of a recognition rate due to a pen fluctuation generated when an input is performed and due to the quantization error of a tablet, is not influ enced by a strode order and also does not make a big difference from an input ted diagram. SOLUTION: This on-line handwritten diagram recognition device consists of a detecting means which detects a pen locus written on a display incorporated tablet, a processing means 3 which produces time sequentially recorded stroke data and performs recognition processing by using the stroke data, a displaying means 7 which shows processed results made by the means 3 on the tablet 1 and a selecting means which selects recognition results. In such a case, the handwritten diagram recognition device has a discriminating means which discriminates between a display request for the next candidate and the next diagram input by tapping the display screen with a pen when the recognition results are shown on the screen.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、手書き図形認識装
置に関し、より詳細には、図形辞書を用いずに認識を行
い、より入力に近い図形を表示し、入力図形の大きさ等
により認識対象図形を限定して実使用に適した手書き図
形認識装置に関する。例えば、タブレットからペンを用
いて入力された図形に対して図形の識別を行い、その結
果を表示するワードプロセッサやパソコン等に適される
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a handwritten figure recognition apparatus, and more particularly, to a recognition apparatus that performs recognition without using a figure dictionary, displays a figure closer to an input, and recognizes a target object based on the size of the input figure. The present invention relates to a handwritten figure recognition device suitable for actual use with limited figures. For example, the present invention is suitable for a word processor, a personal computer, or the like that identifies a graphic input from a tablet using a pen and displays the result.

【0002】[0002]

【従来の技術】タブレット上に記入された図形の認識方
法として入力図形ストロークを、形状の特徴から円弧ま
たは直線による1組の線分要素列データに変換し、あら
かじめ同様の線分要素列データとして定義されている登
録図形とマッチングをとることで認識を行っていた。線
分要素列データに交換する場合に、曖昧さを取り入れた
方法もあるが、図形の登録を必要としていた。また、筆
記方向の角度ヒストグラムの分布をしらべ、この分布状
況により線分の判定を行い、辺の数等を識別する方法が
ある。いずれの方法でも、入力された図形の大きさ、ス
トロークの長さに関わらず一様な処理を行っていた。ま
た、図形認識結果の候補の選択方法として、次の候補を
示すものがある。すなわち、定められた範囲をペンタッ
チすると、次の候補が現われる方法である。また、タッ
プする(ペンでタブレットに軽く触れる)ことで、候補
のリストが現われ、その中から選択する方法もある。さ
らに、入力された図形をキャンセルを行う場合、キャン
セルと定められた範囲をペンタッチすると、入力図形を
キャンセルするなどの方法もある。
2. Description of the Related Art As a method of recognizing a figure entered on a tablet, an input figure stroke is converted from a feature of the shape into a set of line element string data of an arc or a straight line, and is previously converted into similar line element string data. Recognition was performed by matching with defined registration figures. When exchanging data with line segment element data, there is a method that introduces ambiguity, but registration of a figure is required. There is also a method of examining the distribution of the angle histogram in the writing direction, determining the line segment based on the distribution state, and identifying the number of sides and the like. In either method, uniform processing is performed regardless of the size of the input graphic and the length of the stroke. Further, as a method of selecting a candidate of a figure recognition result, there is a method of indicating the following candidate. In other words, this is a method in which the next candidate appears when a predetermined area is touched with a pen. Alternatively, tapping (lightly touching the tablet with a pen) brings up a list of candidates, and you can select from them. Further, there is a method of canceling an input figure when the input figure is canceled by touching a pen in a range determined to be canceled.

【0003】本発明に係る従来技術を記載した公知文献
として、例えば、特開昭63−82584号公報に「パ
ターン認識方法」が提案されている。この公報のもの
は、あいまいさを伴う手書き文字図形の認識装置に好適
で、ストローク形状にあいまいさがあっても、登録図形
との正しいマッチングを可能にするために、入力ストロ
ークを、その形状が明確に円弧である部分と、明確に直
線である部分及び円弧か直線かあいまいな部分とに分離
し、このあいまいな部分が円弧か直線かの解釈を変え
て、入力ストロークの円弧または直線の線分要素による
構造パターンを複数個作り、該構造パターンと各辞書図
形の構造パターンとの構造の比較や、線分要素の円弧ら
しさ、または直線らしさのチェックにより相違度を求
め、該相違度の小さいものを選択するものである。
As a known document describing the prior art according to the present invention, for example, a “pattern recognition method” is proposed in Japanese Patent Application Laid-Open No. 63-82584. This publication is suitable for an apparatus for recognizing a handwritten character figure with ambiguity. Even if the stroke shape has ambiguity, the input stroke is formed into a shape in order to enable correct matching with the registered figure. Separation into distinctly arcuate parts, distinctly straight parts, and arcs or straight lines or ambiguous parts, and changing the interpretation of the ambiguous parts as arcs or straight lines, changing the arc or straight line of the input stroke A plurality of structural patterns based on the segment elements are created, and the degree of difference is obtained by comparing the structure of the structural pattern with the structure pattern of each dictionary graphic, and checking the likelihood of arcs or straight lines of the line segment elements. It is to choose one.

【0004】[0004]

【発明が解決しようとする課題】前述のように、従来の
図形認識装置において、低価格の装置を作ることや、パ
ーソナル機器に搭載するには、以下のような問題点があ
る。すなわち、線分要素列に変換する方法では、正確な
認識を行うためには、記入されたストロークすべてにつ
いて、座標列を詳細に追跡し、線分と円弧の要素に判定
する必要がある。また、要素列の判定に処理時間がかか
り、CPU(中央処理装置)等の処理能力が低いパーソ
ナル機器では、実時間で処理することができない。処理
能力を高くするには、コストの問題がある。また、角度
とヒストグラムの分布を用いる方法では、タブレットの
解像度などに起因する量子化誤差のため、絶対的に小さ
く記入された図形を正しく認識できない。また、タブレ
ットの解像度を上げることは、製造上の問題やコストの
問題があり、パーソナル機器に採用することはできな
い。
As described above, there are the following problems in making a low-priced apparatus or mounting it in a personal device in the conventional graphic recognition apparatus. That is, in the method of converting into a line segment element sequence, in order to perform accurate recognition, it is necessary to track the coordinate sequence in detail for all the entered strokes and determine the line and arc elements. Also, it takes a long processing time to determine the element sequence, and a personal device such as a CPU (Central Processing Unit) having a low processing capability cannot perform processing in real time. There is a cost issue with increasing throughput. Further, in the method using the distribution of angles and histograms, it is not possible to correctly recognize an absolutely small figure because of a quantization error caused by the resolution of the tablet. In addition, increasing the resolution of a tablet has problems in manufacturing and costs, and cannot be adopted for personal devices.

【0005】さらに、人が手書きでタブレット上にペン
で図形を記入すれば、ペンの揺らぎが発生する。この揺
らぎは、図形が小さい場合に、認識に悪影響を及ぼす場
合がある。例えば、極めて小さく書かれた円は、正6角
形等の辺の数が多い多角形と誤認識される場合などであ
る。一般に、人がある図形を書く場合、一定以下の大き
さになると、変形を伴うのが普通で、正しく書くことが
できない。一方、表示一体型タブレットの場合、表示側
の解像度が低いことが原因で、図形が変形して表示さ
れ、第3者が判断できなくなることがある。例えば、ミ
リ3図形の最大幅が5mmの正6角形を記入するとすれ
ば、タブレット上の筆跡を、第3者が見ると円と見える
ことが多い。このような場合、上記の方法では、認識結
果として6角形などが出力され、記入された筆跡との不
一致が起こることがある。
Furthermore, if a person writes a figure on a tablet with a pen by handwriting, the pen fluctuates. This fluctuation may adversely affect recognition when the figure is small. For example, an extremely small circle is erroneously recognized as a polygon having a large number of sides, such as a regular hexagon. In general, when drawing a figure, if the size of the figure is smaller than a certain value, the drawing is usually accompanied by deformation, and the drawing cannot be performed correctly. On the other hand, in the case of the display-integrated tablet, the graphics may be deformed and displayed due to the low resolution on the display side, and a third party may not be able to determine. For example, if a regular hexagon with a maximum width of 5 mm for a millimeter three figure is to be entered, a handwriting on the tablet is often viewed as a circle by a third party. In such a case, in the above-described method, a hexagon or the like is output as a recognition result, and a mismatch may occur with the written handwriting.

【0006】候補の選択方法は、従来技術では、ペンの
移動量が多く、ペンによる図形入力には時間がかかる。
また、筆記者が図形記入中に意図に反して、ストローク
がタブレットに入力される場合があるが、この場合も、
上記の手法では、誤認識が起こることがある。このよう
に、操作性の問題がある。
In the prior art, the method of selecting a candidate involves a large amount of movement of a pen, and it takes time to input a figure with the pen.
In addition, a writer may inadvertently input a stroke into a tablet while drawing a graphic. In this case,
In the above method, erroneous recognition may occur. Thus, there is a problem of operability.

【0007】本発明は、このような実情に鑑みてなされ
たもので、入力時に生ずるペンの揺らぎやタブレットの
量子化誤差による認識率の低下を除き、筆順に左右され
ず、かつ、入力図形との差異の少ない手書き図形認識装
置を提供することを目的としている。
[0007] The present invention has been made in view of such circumstances, except for the fluctuation of the pen and the reduction of the recognition rate due to the quantization error of the tablet which occur at the time of input. It is an object of the present invention to provide a handwritten figure recognition device having a small difference between the two.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、(1)表示一体型タブレット上に書かれ
たペンの軌跡を検出する検出手段と、時系列に記録した
ストロークデータを作成し、該ストロークデータを用い
て認識処理を行う処理手段と、該処理手段による処理結
果をタブレット上に表示する表示手段と、認識結果を選
択する選択手段とから成るオンライン手書き図形認識装
置において、前記認識結果が画面上に表示されていると
き、ペンで表示画面をタップすることにより、次の候補
の表示の要求と次の図形入力との判別を行う判別手段を
有することを特徴とする手書き図形認識装置を提供す
る。また、(2)候補を選択する機能を有する手書き図
形認識装置において、認識結果が表示されているタブレ
ットにペンでタップされたとき、タブレット上のタップ
された位置と、表示された図形の位置との関係により、
候補の選択や入力のキャンセル等の処理を選択する選択
手段を有することを特徴とする手書き図形認識装置を提
供する。また、(3)候補を選択する機能を有するオン
ライン手書き図形認識装置において、認識結果が表示さ
れているタブレットにペンでタップされたとき、タブレ
ット上のタップされた位置と、表示された図形を形成す
るストローク位置との関係により、誤った認識をしたス
トロークを選択し、その部分のみの候補の選択等の処理
を選択する選択手段を有することを特徴とする手書き図
形認識装置を提供する。また、(4)タブレット上に書
かれたペンの軌跡を検出する検出手段と、時系列に記録
したストロークデータを作成し、該ストロークデータを
用いて認識処理を行う処理手段と、該処理手段による処
理結果をタブレット上に表示する表示手段とから成るオ
ンライン手書き図形認識装置において、前記タブレット
に入力されたストロークの数により、認識結果として出
力する図形のカテゴリに制限を設ける制限手段を有する
ことを特徴とする手書き図形認識装置を提供する。ま
た、(5)上記(1)の判別手段は、前記認識結果の図
形の内部にタップされた場合は次の候補の表示の要求と
判別し、外部にタップされた場合は次の図形入力の要求
と判別することを特徴とする手書き図形認識装置を提供
する。また、(6)上記(1)の判別手段は、ペンで表
示画面がタップされると認識結果の図形を消去すること
を特徴とする手書き図形認識装置を提供する。
In order to achieve the above object, the present invention provides: (1) detecting means for detecting the trajectory of a pen written on a display-integrated tablet, and stroke data recorded in time series. And an on-line handwritten figure recognizing device comprising: a processing unit for performing a recognition process using the stroke data; a display unit for displaying a processing result by the processing unit on a tablet; and a selection unit for selecting a recognition result. When the recognition result is displayed on a screen, the display device includes a determination unit that determines a request for displaying a next candidate and a next graphic input by tapping the display screen with a pen. Provided is a handwritten figure recognition device. (2) In a handwritten figure recognition device having a function of selecting a candidate, when a tablet on which a recognition result is displayed is tapped with a pen, the position of the tapped on the tablet and the position of the displayed figure are displayed. By the relationship
There is provided a handwritten figure recognition apparatus characterized by having a selection means for selecting a process such as selection of a candidate or cancellation of an input. (3) In an online handwritten figure recognition device having a function of selecting a candidate, when a tablet on which a recognition result is displayed is tapped with a pen, a tapped position on the tablet and a displayed figure are formed. The present invention provides a handwritten figure recognition apparatus characterized by having a selection means for selecting a stroke that has been erroneously recognized based on a relationship with a stroke position to be performed, and selecting a process such as selection of a candidate for only that portion. (4) detecting means for detecting the trajectory of the pen written on the tablet, processing means for creating stroke data recorded in time series, and performing recognition processing using the stroke data; An on-line handwritten graphic recognition device comprising display means for displaying a processing result on a tablet, characterized in that it has a restriction means for restricting a category of a graphic to be output as a recognition result according to the number of strokes input to the tablet. And a handwritten figure recognition device. (5) The determination means of (1) determines that a tap is made within the figure of the recognition result as a request for displaying the next candidate, and if the tap is made outside, the determination means of the next figure is input. Provided is a handwritten figure recognition device characterized by determining a request. (6) The handwriting figure recognition device is characterized in that the determination means of (1) deletes a figure as a recognition result when the display screen is tapped with a pen.

【0009】操作性の面から、候補選択時においても、
繁雑な操作を解消し、入力時間を短くすることで、ペン
による図形入力の効率が向上する。このように、小型
で、高性能かつ使いやすい図形認識装置を実現できる。
From the viewpoint of operability, even when selecting a candidate,
Eliminating complicated operations and shortening the input time improves the efficiency of graphic input with the pen. Thus, a small, high-performance, and easy-to-use graphic recognition device can be realized.

【0010】また、操作者は認識結果の図形を修正した
い場合には、ペンで表示画面をタップすることにより、
認識結果の図形は自動的に消去され、次候補の選択が表
示される。
When the operator wants to correct the figure of the recognition result, he taps the display screen with a pen,
The figure of the recognition result is automatically deleted, and the selection of the next candidate is displayed.

【0011】[0011]

【発明の実施の形態】実施例について、図面を参照して
以下に説明する。図1は、本発明による手書き図形認識
装置の一実施例を説明するための構成図で、タブレット
上にペンを回して図形を入力するオンライン図形入力装
置の構成図である。図中、1はタブレット、2はストロ
ーク終了判定部、3はストローク処理部、4は図形終了
判定部、5は図形認識部、6は表示座標生成部、7は表
示部である。なお、以下の実施例の数値は一例であり、
図形認識装置の使用状況等を考慮して適切な設定を行う
ことができる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram for explaining an embodiment of a handwritten graphic recognition device according to the present invention, and is a configuration diagram of an online graphic input device for inputting a graphic by turning a pen on a tablet. In the figure, 1 is a tablet, 2 is a stroke end determination unit, 3 is a stroke processing unit, 4 is a graphic end determination unit, 5 is a graphic recognition unit, 6 is a display coordinate generation unit, and 7 is a display unit. In addition, the numerical value of the following example is an example,
Appropriate settings can be made in consideration of the usage status of the graphic recognition device.

【0012】実施例1 本発明による手書き図形認識装置は、タブレット上にか
書かれたペンの軌跡を検出し、時系列に記録したストロ
ークデータを作り、ストロークデータを用いて認識処理
を行い、その結果をタブレット上に表示するオンライン
手書き図形認識装置に係る。表示一体型タブレット1上
に、筆記者が記入したデータを電気信号で表現される座
標点列のデータに変換し、そのデータをストローク処理
部3に転送する。次に、ストローク終了判定部2におい
て、ストロークの記入の終了が判定されると、前記スト
ローク処理部3においてストローク処理を行う。すなわ
ち、ストロークが入力される毎にストローク毎のデータ
の処理を行い、そのストロークに含まれる辺の数および
弧らしい部分などを求める。次に、図形終了判定部4に
より、図形終了を判定すると、図形認識部5が起動さ
れ、入力されたストロークについて、開図形か閉図形か
の判断を行う。すなわち、図形入力を終了後に、全スト
ロークに形成される特徴を抽出し、閉図形(全ストロー
クでループを形成し、交点を持たない図形)の判断を行
い、ストローク毎の特徴と統合し、筆順や画数に依存せ
ずに図形を認識する。認識処理を行った結果は、表示座
標生成部6に送られ、入力された位置に相当する座標に
計算され、その結果を液晶を用いた表示部7に送って表
示する。
Embodiment 1 A handwritten figure recognition apparatus according to the present invention detects a trajectory of a pen written on a tablet, creates stroke data recorded in time series, performs recognition processing using the stroke data, The present invention relates to an online handwritten figure recognition device that displays results on a tablet. The data written by the writer on the display-integrated tablet 1 is converted into coordinate point sequence data represented by electric signals, and the data is transferred to the stroke processing unit 3. Next, when the stroke end determining unit 2 determines that the entry of the stroke is completed, the stroke processing unit 3 performs a stroke process. That is, every time a stroke is input, data processing is performed for each stroke, and the number of sides and arc-like portions included in the stroke are obtained. Next, when the end of the figure is determined by the figure end determining unit 4, the figure recognizing unit 5 is activated, and determines whether the input stroke is an open figure or a closed figure. That is, after the graphic input is completed, the features formed in all strokes are extracted, a closed graphic (a loop that is formed by all strokes, no intersection) is determined, the stroke is integrated with the features of each stroke, and the stroke order is determined. And recognize figures without depending on the number of strokes. The result of performing the recognition process is sent to the display coordinate generation unit 6, where it is calculated to the coordinates corresponding to the input position, and the result is sent to the display unit 7 using liquid crystal and displayed.

【0013】図2は、本発明による手書き図形認識装置
の動作を説明するためのフローチャートである。以下、
各ステップに従って順に説明する。まず、ストロークの
入力を行い(Step1)、ストローク処理部において、前
処理として座標点列における同一点及び中間点をデータ
から除去する(Step2)。次にストロークが閾値より短
いかどうかを判断し(Step3)、ストロークが閾値より
短ければストロークをスキップし(Step4)、前記Step
1へ戻る。ストロークが閾値より短くなければ、絶対方
向のヒストグラムを計算し、ストロークの特徴を抽出す
る(Step5)。次に、図形終了判定部において、図形入
力が終了かどうかを判断し(Step6)、図形入力が終了
でなければ、前記Step1へ戻る。図形入力が終了であれ
ば、絶対方向ヒストグラムを計算し、ストロークの特徴
を抽出する(Step7)。次に、図形認識部において、入
力されたストロークについて閉図形であるかどうかを判
断し(Step8),閉図形でなければ、開図形認識処理を
行い(Step10)、図形の特徴量の計算を行う(Step1
1)。前記Step8において、閉図形であれば、閉図形認
識処理を行い(Step9)、図形の特徴量の計算を行って
(Step11)、タブレット上に表示する。(Step1
2)。
FIG. 2 is a flowchart for explaining the operation of the handwritten figure recognition apparatus according to the present invention. Less than,
Each step will be described in order. First, a stroke is input (Step 1), and the stroke processing unit removes the same point and the intermediate point in the coordinate point sequence from the data as preprocessing (Step 2). Next, it is determined whether the stroke is shorter than the threshold (Step 3). If the stroke is shorter than the threshold, the stroke is skipped (Step 4).
Return to 1. If the stroke is not shorter than the threshold, a histogram in the absolute direction is calculated, and the feature of the stroke is extracted (Step 5). Next, the figure end determination unit determines whether the figure input is completed (Step 6). If the figure input is not completed, the process returns to Step 1. If the figure input is completed, the absolute direction histogram is calculated, and the feature of the stroke is extracted (Step 7). Next, the figure recognizing unit determines whether or not the input stroke is a closed figure (Step 8). If the stroke is not a closed figure, an open figure recognition process is performed (Step 10), and the feature amount of the figure is calculated. (Step 1
1). If the figure is a closed figure in Step 8, the closed figure recognition processing is performed (Step 9), and the feature amount of the figure is calculated (Step 11) and displayed on the tablet. (Step 1
2).

【0014】図3(a)〜(d)は、ストローク処理の
例を示す図で、ストローク毎の特徴の例を示したもので
ある。図(a)は入力されたストロークの例で、黒丸は
列処理後の点を示す。図(b)は方向コードの例、図
(c)は角度ヒストグラム(窓掛け列)、図(d)は角
度ヒストグラム(窓掛け後)を各々示す図である。
FIGS. 3A to 3D are diagrams showing examples of stroke processing, showing examples of features for each stroke. FIG. 7A shows an example of an input stroke, and black circles indicate points after the row processing. FIG. 2B is a diagram showing an example of a direction code, FIG. 2C is a diagram showing an angle histogram (windowed column), and FIG. 2D is a diagram showing an angle histogram (after windowing).

【0015】ストローク処理部3において、前処理とし
て座標点列における同一点及び中間点をデータから除去
する。ここでの中間点とは、前後の点の座標を直線で結
んだ時、この線上の点もしくは、線上に点がない場合、
X軸またはY軸と並行に進むと始めて交わる点を意味す
る。図3(a)における黒丸の部分が除去された残りに
あたる。その後、該当ストロークにおいて記入方向にし
たがって連なる座標列の終点を除くすべての点につい
て、その点から次の点への方向と長さを求める。方向
は、図3(b)に示すように、全周360度を32方向
に量子化した値を用いる。これを方向毎に、図3(c)
に示すように、長さを合計した角度ヒストグラムを求め
る。次に、図3(d)に示すように、これに幅3の窓掛
けを行った後、ヒストグラムの最大の値を持つ角度と、
ピークすなわち極大値をもつ角度とを求める。ピークの
最大値が、ヒストグラムの最大値にくらべ極めて小さい
ときは、このピークを無視する。それと同時に、ストロ
ークの外接枠と長さの合計を集計する。以上の処理をス
トローク入力毎に繰り返す。
In the stroke processing unit 3, the same point and the intermediate point in the coordinate point sequence are removed from the data as preprocessing. An intermediate point here is a point on the line when the coordinates of the preceding and following points are connected by a straight line, or when there is no point on the line,
It means the point where it crosses for the first time when it goes in parallel with the X axis or Y axis. The portion indicated by the black circle in FIG. After that, for all points except the end point of the continuous coordinate sequence in the corresponding stroke in the writing direction, the direction and length from that point to the next point are obtained. As the direction, as shown in FIG. 3B, a value obtained by quantizing 360 degrees in all directions in 32 directions is used. This is shown in FIG.
As shown in (1), an angle histogram obtained by summing the lengths is obtained. Next, as shown in FIG. 3 (d), after performing windowing of width 3 on this, an angle having the maximum value of the histogram,
A peak, that is, an angle having a maximum value is obtained. When the maximum value of the peak is extremely smaller than the maximum value of the histogram, this peak is ignored. At the same time, the total of the circumscribed frame and the length of the stroke is totaled. The above processing is repeated for each stroke input.

【0016】図形終了判定部4において、図形終了を判
断すると図形認識部5が起動され、入力されたストロー
クについてまず、閉図形か開図形かの判断を、次のよう
に行う。すなわち、入力された図形が1画の場合、その
始点と終点の距離が3mm以下で、かつ、ストロークを示
す座標を直線で結んだ場合で途中に交点を持たない場合
は閉図形とする。入力された図形か2画以上の場合、各
ストロークの端点をつなぎ、すべてのストロークを含
み、かつ、すべての端点間が3mm以下の場合は閉図形と
判断する。
When the graphic end judging section 4 judges the end of the graphic, the graphic recognizing section 5 is started, and the input stroke is first determined as to whether it is a closed graphic or an open graphic as follows. That is, when the input graphic is one image, the distance between the start point and the end point is 3 mm or less, and when the coordinates indicating the stroke are connected by a straight line and there is no intersection in the middle, the figure is a closed graphic. If the input figure or two or more strokes, the end points of each stroke are connected, and if all the strokes are included and the distance between all the end points is 3 mm or less, it is determined that the figure is a closed figure.

【0017】閉図形と判断された場合、閉図形であれ
ば、直線のみで形作られるならN角形(N>3)である
ことは明らかであるので、ストローク処理部3で検出さ
れたヒストグラムのピークの数により辺の数を推定し、
その辺の数毎に詳細識別を行う。まず、推定された辺の
数の頂点を抽出する。複数ストロークの端点で形成され
る頂点はその中点を採用する。ストローク内に頂点が存
在する場合は、まず、対象となるストロークに含まれる
と推定された辺の数に長さが同じになるように分割す
る。ストロークの始点終点間に、上記の分割点をストロ
ークの記入方向に並べ、以下の処理を行う。まず、分割
点の1番目の点を、前後の点を結んだ直線よりもっとも
離れている点に変更する。2番目以降の点も同様の処理
を繰り返す。分割点がすべて変更されなくなるまでこの
処理を繰り返すことで、推定された頂点の位置を検出す
る。続いて、頂点が抽出された後、下の式で定義される
直線度、 直線度=(頂点間の直線距離)/(ストローク上での道
乗り) および、該当区間の角度ヒストグラムの、頂点間の直線
方向からの分散を基準に、直線であるか否かを判断す
る。判断を行うための閾値は、タブレットの性能等によ
り任意に設定する。以上により、多角形と扇形の判別を
行うことができる。
When it is determined that the figure is a closed figure, if it is a closed figure, it is obvious that if it is formed only by a straight line, it is an N-gon (N> 3). Estimate the number of sides by the number of
Detailed identification is performed for each number of the sides. First, vertices of the estimated number of sides are extracted. The vertex formed by the end points of a plurality of strokes adopts the middle point. If a vertex exists in the stroke, the stroke is first divided so that the length is equal to the number of sides estimated to be included in the target stroke. Between the start point and the end point of the stroke, the above dividing points are arranged in the stroke writing direction, and the following processing is performed. First, the first point of the division point is changed to a point farthest from a straight line connecting the preceding and following points. Similar processing is repeated for the second and subsequent points. By repeating this process until all the division points are not changed, the position of the estimated vertex is detected. Subsequently, after the vertices are extracted, the linearity defined by the following equation, linearity = (linear distance between vertices) / (road ride on stroke) Is determined based on the variance from the straight line direction. The threshold for making the determination is arbitrarily set according to the performance of the tablet and the like. As described above, it is possible to discriminate between a polygon and a sector.

【0018】開図形と判断された場合、ストローク毎に
線分近似を行い、直線または複数の線分と円弧からなる
認識結果を認識結果として出力する。上記のように認識
処理を行った結果を、表示座標生成部6に送り、入力さ
れた位置に相当する表示装置の座標を計算する。その結
果を液晶を使った表示部7に送って表示する。以降、オ
ンライン図形認識を終了するまで同様の処理を繰り返
す。
If it is determined that the figure is an open figure, a line segment approximation is performed for each stroke, and a recognition result including a straight line or a plurality of line segments and an arc is output as a recognition result. The result of performing the recognition processing as described above is sent to the display coordinate generation unit 6, and the coordinates of the display device corresponding to the input position are calculated. The result is sent to a display unit 7 using liquid crystal and displayed. Thereafter, the same processing is repeated until the online graphic recognition ends.

【0019】このように、開図形と閉図形の判断を行
い、閉図形であれば、直線のみで形作られるN角形(N
>3)であることは明らかであるので、ストローク直線
部分を検出し、その位置および長さにより入力された図
形を認識する。また、入力図形の大きさと回転角度を抽
出する時において、N角形の場合、ストローク認識で得
られた回転角度を、ストローク記入時の回転方向を一定
(例えば時計回り)に変換して図形の各辺の角度とす
る。この場合、始点終点の位置と図形の大きさに対する
ストロークの長さと辺の長さにより、他の辺の絶対角度
等の特徴を用いて、図形の認識と整形を行う。開図形で
あれば、区間毎に線分と曲線に近似を行なう。
As described above, the open figure and the closed figure are determined, and if the figure is a closed figure, an N polygon (N
> 3), the stroke straight line portion is detected, and the input figure is recognized based on its position and length. Also, when extracting the size and rotation angle of the input graphic, in the case of an N-gon, the rotation angle obtained by stroke recognition is converted into a fixed rotation direction (for example, clockwise) at the time of stroke entry to convert each figure. It is the angle of the side. In this case, the recognition and shaping of the figure is performed using the features such as the absolute angle of the other side based on the position of the start point and the end point, the length of the stroke and the length of the side with respect to the size of the figure. If it is an open figure, approximation is made to a line segment and a curve for each section.

【0020】閉図形の認識において、ストロークの記入
方法を角度ヒストグラムを用いて分類した後、推定され
る数の頂点等の特徴点を検出し、それを用いて詳細に判
別を行う。さらに、図形の大きさがある大きさ以下にな
ると、認識対象を絞ることで、小さく記入された図形の
誤認識を防ぐ。また、操作性の面で、タブレットに結果
を表示した後の次のペン入力を、次の入力であるかまた
は候補選択であるかを判断する部分を設け、その結果に
より候補を選ぶ等の次の処理を選択する。この処理を選
択する場合、直前の結果の表示位置との関係を用いるこ
とができる。
In recognizing a closed figure, a stroke entry method is classified using an angle histogram, and then feature points such as estimated vertices are detected, and detailed discrimination is performed using the feature points. Further, when the size of the graphic is smaller than a certain size, the recognition target is narrowed, thereby preventing erroneously recognizing a small written graphic. Also, in terms of operability, a part is provided to determine whether the next pen input after displaying the result on the tablet is the next input or a candidate selection, and the next step such as selecting a candidate based on the result. Select the process. When this process is selected, the relationship with the display position of the immediately preceding result can be used.

【0021】実施例2 オンライン図形認識装置において、タブレットより入力
されたすべてのストロークの座標点列について、X軸方
向とY軸方向の最小値及び最大値をそれぞれ求め、X軸
方向とY軸方向それぞれの幅を計算し、大きい方の幅を
図形の最大幅とする。この最大幅が、4mmより小さい場
合は、「円」あるいは「直線」のみを認識対象とし、4
mmより大きく、7mmより小さい場合は、上記の図形に、
「正3角形」「正方形」を加える。さらに7mmより大き
く、10mmより小さい場合は、「直角3角形」「長方
形」を加える。
Embodiment 2 In the online graphic recognition device, the minimum value and the maximum value in the X-axis direction and the Y-axis direction are obtained for the coordinate point sequence of all the strokes input from the tablet, respectively. Each width is calculated, and the larger width is set as the maximum width of the figure. If this maximum width is smaller than 4 mm, only "circles" or "straight lines" will be recognized.
If it is larger than 7mm and smaller than 7mm,
Add “regular triangle” and “square”. If it is larger than 7 mm and smaller than 10 mm, “Right triangle” and “Rectangle” are added.

【0022】実施例3 タブレットより入力されたストローク座標点列につい
て、ストロークの前処理を行った後に、始点−終点間の
距離を求める。ストローク判定部において、認識処理を
行う前に各ストロークの長さを比較して、前最大の長さ
をもつストロークを求める。このストロークの長さを基
準とし、1/10以下の長さしか持たないストロークが
あれば、筆記者が誤って入力したと判断し、このストロ
ークをストロークバッファより消去する。以上の処理を
行った後、認識処理を実行する。
Embodiment 3 After performing stroke preprocessing on a stroke coordinate point sequence input from a tablet, a distance between a start point and an end point is obtained. The stroke determination unit compares the lengths of the strokes before performing the recognition process, and determines the stroke having the previous maximum length. If there is a stroke having a length of 1/10 or less based on the length of this stroke, it is determined that the writer has made an erroneous input, and this stroke is deleted from the stroke buffer. After performing the above processing, the recognition processing is executed.

【0023】実施例4 図4は、オンライン図形認識処理を説明するためのフロ
ーチャートである。以下各ステップに従って順に説明す
る。上記入力装置は、キーボード等による操作でオンラ
イン図形認識が開始される。オンライン図形認識モード
に入ると、まず、ペン入力待ちの状態に入る(step
1)。図形の入力でユーザがペンを用いて図形を入力す
る(step2)。入力終了後、図形認識処理を行い(step
3)、その認識結果の第1位候補を表示する(step
4)。表示後、ペン入力待ちとなる(step5)。ペンで
何らかの入力がされると、タップであるかどうかのの判
断を行う(step6)。タップであれば、次の候補要求さ
れたと解釈し、現在の結果の図形を消去し、次の候補で
表示を行い(step7)、入力待ちの状態になる(step
5)。タップでなければ、次の図形の入力が開始された
と判断し、図形入力の処理を行う(step2)。以降、オ
ンライン図形認識を終了するまで同様の処理を繰り返
す。
Embodiment 4 FIG. 4 is a flowchart for explaining the online graphic recognition processing. The description will be made in order according to each step. In the input device, online graphic recognition is started by an operation using a keyboard or the like. When entering the online graphic recognition mode, first, it enters the state of waiting for pen input (step
1). In inputting a figure, the user inputs a figure using a pen (step 2). After input is completed, perform figure recognition processing (step
3) Display the first candidate of the recognition result (step
4). After the display, it waits for pen input (step 5). When any input is made with the pen, it is determined whether the input is a tap (step 6). If it is a tap, it is interpreted that the next candidate has been requested, the figure of the current result is deleted, and the next candidate is displayed (step 7), and a state of waiting for input (step 7)
5). If it is not a tap, it is determined that the input of the next figure has been started, and a figure input process is performed (step 2). Thereafter, the same processing is repeated until the online graphic recognition ends.

【0024】実施例5 図5は、オンライン図形認識処理を説明するための他の
フローチャートである。以下、各ステップに従って順に
説明する。オンライン図形認識モードに入ると、まず、
ペン入力待ちの状態に入る(step1)。図形の入力でユ
ーザがペンを用いて図形を入力する(step2)。入力終
了後、図形認識処理を行い(step3)、その認識結果の
第1位候補を表示する(step4)。表示後、ペン入力待
ちとなる(step5)。ペンで何らかの入力がされると、
タップであるかどうかの判断を行う(step6)。タップ
であると判断されると、表示されている認識結果の図形
位置と、タップされた位置を比較し(step7)、タップ
された位置が、図形の内部かまたは近い位置(例えば、
直線距離で3mm以内)にあれば、認識結果の現在の結果
の図形を消去し、次の候補を表示する(step8)。図形
の外部であれば、キャンセルと入力されたと判断し、認
識結果の図形を消し(step9)、入力待ちの状態となる
(step1)。以降、オンライン図形認識を終了するまで
同様の処理を繰り返す。
Embodiment 5 FIG. 5 is another flowchart for explaining the online graphic recognition processing. Hereinafter, the steps will be sequentially described. When you enter online shape recognition mode,
The process enters a state of waiting for pen input (step 1). In inputting a figure, the user inputs a figure using a pen (step 2). After the input is completed, a figure recognition process is performed (step 3), and the first candidate of the recognition result is displayed (step 4). After the display, it waits for pen input (step 5). When something is input with the pen,
It is determined whether it is a tap (step 6). If it is determined that the tap is a tap, the figure position of the displayed recognition result is compared with the tapped position (step 7), and the tapped position is inside or close to the figure (for example,
If it is within 3 mm of the straight line distance), the figure of the current result of the recognition result is deleted, and the next candidate is displayed (step 8). If the figure is outside the figure, it is determined that cancel has been input, and the figure as the recognition result is erased (step 9), and the state is awaiting input (step 1). Thereafter, the same processing is repeated until the online graphic recognition ends.

【0025】実施例6 図5に示すフローチャートに従って説明する。なお、st
ep1〜step6までの処理は実施例5と同様である。step
6でタップであると判断されると、表示されている認識
結果の図形を形成するストローク位置と、タップされた
位置を比較し(step7)、タップされた位置が、図形の
内部かまたは近い位置(例えば、直線距離で3mm以内)
にあれば、認識結果の現在の結果の図形を消去し、タッ
プされたストロークの認識結果を変えた次の候補を表示
する(step7)。図形の外部であれば、キャンセルと入
力されたと判断し、認識結果の図形を消去し(step
9)、入力待ちの状態となる(step1)。以降、オンラ
イン図形認識を終了するまで同様の処理を繰り返す。
Embodiment 6 This will be described with reference to the flowchart shown in FIG. Note that st
The processing from ep1 to step6 is the same as in the fifth embodiment. step
If it is determined in step 6 that the tap is a tap, the stroke position forming the displayed graphic of the recognition result is compared with the tapped position (step 7), and the tapped position is within or close to the figure. (For example, within 3 mm in a straight line distance)
If so, the figure of the current recognition result is erased, and the next candidate having changed the recognition result of the tapped stroke is displayed (step 7). If it is outside the shape, it is determined that cancel has been entered, and the recognized shape is erased (step
9), and enters an input waiting state (step 1). Thereafter, the same processing is repeated until the online graphic recognition ends.

【0026】実施例7 実施例1と同様に認識を行う。図形認識部5において、
閉図形と判断された場合は、入力された画数を1画がす
くなくとも1辺を形成するものとして、多角形の認識を
行う。
Embodiment 7 Recognition is performed in the same manner as in Embodiment 1. In the figure recognition unit 5,
When it is determined that the figure is a closed figure, polygon recognition is performed on the assumption that one stroke forms at least one side.

【0027】[0027]

【発明の効果】以上の説明から明らかなように、容易に
候補の選択を行うことができ、再記入の選択を行うこと
ができる。
As is clear from the above description, it is possible to easily select a candidate and to select re-entry.

【0028】また、操作者は認識結果の図形を修正した
い場合には、ペンで表示画面をタップすることにより、
認識結果の図形は自動的に消去され、次候補の選択が表
示されるため、操作が簡略化される。
When the operator wants to correct the figure of the recognition result, he or she taps the display screen with a pen,
The figure as a recognition result is automatically erased, and the selection of the next candidate is displayed, so that the operation is simplified.

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

【図1】本発明による手書き図形認識装置の一実施例を
説明するための構成図である。
FIG. 1 is a configuration diagram for explaining an embodiment of a handwritten figure recognition device according to the present invention.

【図2】本発明による手書き認識の動作を説明するため
のフローチャートである。
FIG. 2 is a flowchart illustrating an operation of handwriting recognition according to the present invention.

【図3】本発明におけるストローク毎の特徴の例を示す
図である。
FIG. 3 is a diagram showing an example of a feature for each stroke in the present invention.

【図4】本発明におけるオンライン図形認識処理を説明
するためのフローチャートである。
FIG. 4 is a flowchart illustrating an online graphic recognition process according to the present invention.

【図5】本発明におけるオンライン図形認識処理を説明
するための他のフローチャートである。
FIG. 5 is another flowchart for explaining the online graphic recognition processing in the present invention.

【符号の説明】[Explanation of symbols]

1…タブレット、2…ストローク終了判定部、3…スト
ローク処理部、4…図形終了判定部、5…図形認識部、
6…表示座標生成部、7…表示部。
DESCRIPTION OF SYMBOLS 1 ... Tablet, 2 ... Stroke end determination part, 3 ... Stroke processing part, 4 ... Graphic end determination part, 5 ... Graphic recognition part,
6: display coordinate generation unit, 7: display unit.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 表示一体型タブレット上に書かれたペン
の軌跡を検出する検出手段と、時系列に記録したストロ
ークデータを作成し、該ストロークデータを用いて認識
処理を行う処理手段と、該処理手段による処理結果をタ
ブレット上に表示する表示手段と、認識結果を選択する
選択手段とから成るオンライン手書き図形認識装置にお
いて、前記認識結果が画面上に表示されているとき、ペ
ンで表示画面をタップすることにより、次の候補の表示
の要求と次の図形入力との判別を行う判別手段を有する
ことを特徴とする手書き図形認識装置。
1. A detecting means for detecting a trajectory of a pen written on a display-integrated tablet, a processing means for creating stroke data recorded in time series and performing a recognition process using the stroke data; In an online handwritten figure recognizing device comprising a display unit for displaying a processing result by a processing unit on a tablet and a selecting unit for selecting a recognition result, when the recognition result is displayed on a screen, a display screen is displayed with a pen. A handwritten figure recognizing apparatus, comprising: a tapping means for discriminating between a next candidate display request and a next figure input.
【請求項2】 候補を選択する機能を有する手書き図形
認識装置において、認識結果が表示されているタブレッ
トにペンでタップされたとき、タブレット上のタップさ
れた位置と、表示された図形の位置との関係により、候
補の選択や入力のキャンセル等の処理を選択する選択手
段を有することを特徴とする手書き図形認識装置。
2. A handwritten figure recognizing device having a function of selecting a candidate, wherein when a tablet on which a recognition result is displayed is tapped with a pen, a tapped position on the tablet, a position of the displayed figure, A handwriting figure recognition device characterized by having a selection means for selecting a process such as selection of a candidate or cancellation of an input in accordance with the relationship.
【請求項3】 候補を選択する機能を有するオンライン
手書き図形認識装置において、認識結果が表示されてい
るタブレットにペンでタップされたとき、タブレット上
のタップされた位置と、表示された図形を形成するスト
ローク位置との関係により、誤った認識をしたストロー
クを選択し、その部分のみの候補の選択等の処理を選択
する選択手段を有することを特徴とする手書き図形認識
装置。
3. An on-line handwritten figure recognition device having a function of selecting a candidate, wherein when a tablet on which a recognition result is displayed is tapped with a pen, a tapped position on the tablet and a displayed figure are formed. A handwritten figure recognizing device, comprising: a selection unit that selects a stroke that is erroneously recognized based on a relationship with a stroke position to be performed, and selects a process such as selection of a candidate for only that portion.
【請求項4】 タブレット上に書かれたペンの軌跡を検
出する検出手段と、時系列に記録したストロークデータ
を作成し、該ストロークデータを用いて認識処理を行う
処理手段と、該処理手段による処理結果をタブレット上
に表示する表示手段とから成るオンライン手書き図形認
識装置において、前記タブレットに入力されたストロー
クの数により、認識結果として出力する図形のカテゴリ
に制限を設ける制限手段を有することを特徴とする手書
き図形認識装置。
4. A detecting means for detecting a trajectory of a pen written on a tablet, a processing means for creating stroke data recorded in time series and performing a recognition process using the stroke data, and An on-line handwritten figure recognition apparatus comprising: a display unit for displaying a processing result on a tablet, characterized in that there is provided a limiting unit for limiting a category of a figure to be output as a recognition result according to the number of strokes input to the tablet. Handwritten figure recognition device.
【請求項5】 前記判別手段は、前記認識結果の図形の
内部にタップされた場合は次候補の表示要求と判別し、
外部にタップされた場合は次の図形入力の要求と判別す
ることを特徴とする請求項1記載の手書き図形認識装
置。
5. The method according to claim 1, wherein the determining unit determines that the next candidate is requested to be displayed when the tap is performed inside the figure of the recognition result.
2. The handwritten figure recognition apparatus according to claim 1, wherein when the tap is made outside, it is determined that the next figure input request is made.
【請求項6】 前記判別手段は、ペンで表示画面がタッ
プされると認識結果の図形を消去することを特徴とする
請求項1記載の手書き図形認識装置。
6. The handwritten figure recognition apparatus according to claim 1, wherein said determination means erases a figure as a recognition result when the display screen is tapped with a pen.
JP11351046A 1999-01-01 1999-12-10 Handwritten diagram recognition device Pending JP2000148907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11351046A JP2000148907A (en) 1999-01-01 1999-12-10 Handwritten diagram recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11351046A JP2000148907A (en) 1999-01-01 1999-12-10 Handwritten diagram recognition device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5171466A Division JP3046472B2 (en) 1993-07-12 1993-07-12 Handwritten figure recognition device

Publications (1)

Publication Number Publication Date
JP2000148907A true JP2000148907A (en) 2000-05-30

Family

ID=18414683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11351046A Pending JP2000148907A (en) 1999-01-01 1999-12-10 Handwritten diagram recognition device

Country Status (1)

Country Link
JP (1) JP2000148907A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236926A (en) * 2001-02-08 2002-08-23 Sony Corp Characteristic calculating method for coordinate sequence, control method for image special effect device and control system for image special effect device
JP2012208602A (en) * 2011-03-29 2012-10-25 Kyocera Corp Information recognition device
JP5342052B1 (en) * 2012-10-17 2013-11-13 株式会社東芝 Electronic apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002236926A (en) * 2001-02-08 2002-08-23 Sony Corp Characteristic calculating method for coordinate sequence, control method for image special effect device and control system for image special effect device
JP4665317B2 (en) * 2001-02-08 2011-04-06 ソニー株式会社 Coordinate sequence feature calculation method, video special effect device control method, and video special effect device control system
JP2012208602A (en) * 2011-03-29 2012-10-25 Kyocera Corp Information recognition device
JP5342052B1 (en) * 2012-10-17 2013-11-13 株式会社東芝 Electronic apparatus and method

Similar Documents

Publication Publication Date Title
US7302099B2 (en) Stroke segmentation for template-based cursive handwriting recognition
US10007859B2 (en) System and method for superimposed handwriting recognition technology
US5481278A (en) Information processing apparatus
EP1507192B1 (en) Detection of a dwell gesture by examining parameters associated with pen motion
TWI435276B (en) A method and apparatus for recognition of handwritten symbols
US6938220B1 (en) Information processing apparatus
KR100593993B1 (en) Apparatus and method for recognizing the character
US7369702B2 (en) Template-based cursive handwriting recognition
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
JP3046472B2 (en) Handwritten figure recognition device
JP2000148907A (en) Handwritten diagram recognition device
US20240134507A1 (en) Modifying digital content including typed and handwritten text
EP3295292B1 (en) System and method for superimposed handwriting recognition technology
JP4148867B2 (en) Handwriting processor
KR100506231B1 (en) Apparatus and method for inputting character in terminal having touch screen
JPH06111073A (en) Handwritten information recognizing device
JP3977473B2 (en) Handwritten character recognition method and handwritten character recognition apparatus
JP2003141448A (en) Method and device for character recognition, computer program, and portable terminal
JPH10214312A (en) Online hand-written character recognition device
WO2024110354A1 (en) Setting font size in an unconstrained canvas
JPH11126236A (en) Device and method for on-line handwritten character recognition, and recording medium where the same method is recorded
JPH08339417A (en) Device and method for recognition of european and american character
JPH0646419B2 (en) Method of distinguishing between uppercase and lowercase in handwritten character recognition
JPH04353964A (en) Document generation device