JPH0465786A - Method for recognizing hand-written character in drawing reader - Google Patents

Method for recognizing hand-written character in drawing reader

Info

Publication number
JPH0465786A
JPH0465786A JP2178177A JP17817790A JPH0465786A JP H0465786 A JPH0465786 A JP H0465786A JP 2178177 A JP2178177 A JP 2178177A JP 17817790 A JP17817790 A JP 17817790A JP H0465786 A JPH0465786 A JP H0465786A
Authority
JP
Japan
Prior art keywords
normalization
character
character string
deformation
recognition method
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
JP2178177A
Other languages
Japanese (ja)
Other versions
JP2561969B2 (en
Inventor
Eiji Takahashi
英治 高橋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2178177A priority Critical patent/JP2561969B2/en
Publication of JPH0465786A publication Critical patent/JPH0465786A/en
Application granted granted Critical
Publication of JP2561969B2 publication Critical patent/JP2561969B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)
  • Character Input (AREA)

Abstract

PURPOSE:To improve the recognition rate of an inclined character string having character skew by finding out the existence of oblique deformation from the size relation of respective totals of character string thinning vectors before and after normalization, removing skew due to the oblique deformation and recognizing each normalized character. CONSTITUTION:A hand-written character string in a read drawing is extracted and the sum of thinned vector lengths of each character is calculated. The coordinate transformation of the thinned vector of each character is executed by a prescribed normalizing transformation method for removing oblique deformation skew, the sum of thinned vector lengths of each character which consist of coordinate transformed vectors is calculated, the total vector length before normalization is compared with that after normalization, and when the total vector length is shortened by the normalization, the existence of oblique deformation is decided and skew due to the oblique deformation is removed to normalize each character. Then, respective characters in the normalized character string are recognized. Consequently, an inclined character string having character skew can be surely recognized.

Description

【発明の詳細な説明】 [概要] 読取図面中に書かれた手書き文字列を認識する図面読取
装置の手書き文字認識方法に関し、文字歪みを持った斜
め文字列の認識率を向上することを目的とし、 読取図面中から抽出された文字列の斜め変形の有無を検
出し、斜め変形による歪みを除去して各文字を正規化し
た後に各文字を認識するように構成する。また斜め変形
の有無は、正規化前と正規化後の文字列細線化ベクトル
の総和の大小関係から求める。
[Detailed Description of the Invention] [Summary] The purpose of the present invention is to improve the recognition rate of diagonal character strings with character distortion in a handwritten character recognition method for a drawing reading device that recognizes handwritten character strings written in reading drawings. The present invention is configured to detect the presence or absence of diagonal deformation in a character string extracted from a read drawing, remove distortion due to diagonal deformation, normalize each character, and then recognize each character. Further, the presence or absence of diagonal deformation is determined from the magnitude relationship between the sums of character string thinning vectors before and after normalization.

[産業上の利用分野] 本発明は、読取図面中に書かれた手書き文字列を認識す
る図面読取装置の手書き文字認識方法に関し、特に読取
図面のイメージデータからベクトルデータを生成して文
字列を認識する図面読取装置の手書き文字認識方法に関
する。
[Industrial Application Field] The present invention relates to a handwritten character recognition method for a drawing reading device that recognizes handwritten character strings written in a read drawing, and in particular, to a method for recognizing handwritten characters written in a read drawing by generating vector data from image data of a read drawing. The present invention relates to a handwritten character recognition method for a drawing reading device.

近年、プラント設計、電気設計などの分野ではCADシ
ステムへ手書きされた図面の読取データを自動入力する
システムが実用化されつつあるが、図面に記載された手
書き文字列の認識は、0度及び90度方向に並んだ文字
列のみに限定されており、0度、90度以外の傾いた文
字列に対しては認識率が低いため、文字認識の確認修正
処理もしくはCADシステムで再入力が必要であった。
In recent years, in fields such as plant design and electrical design, systems that automatically input reading data of handwritten drawings into CAD systems are being put into practical use. It is limited to character strings aligned in the degree direction, and the recognition rate is low for character strings tilted at angles other than 0 degrees and 90 degrees, so character recognition confirmation and correction processing or re-input in the CAD system is required. there were.

このため、傾きのある文字列を確実に認識する必要があ
る。
Therefore, it is necessary to reliably recognize slanted character strings.

[従来の技術] 従来、0度、90度以外の傾いた文字列の認識方法とし
ては、15度刻みの傾きのある文字列を対象とした認識
方法が知られている(「図面内の傾いた文字列抽出」情
報処理学会第37回(昭和63年度後期)全国大会講演
論文集2W−2,1988,pp1608−1609参
照)。
[Prior Art] Conventionally, as a recognition method for character strings tilted at angles other than 0 degrees and 90 degrees, there is a known recognition method for character strings tilted in 15-degree increments ("Identification of tilt in drawings"). (See Proceedings of the 37th National Conference of the Information Processing Society of Japan, 2W-2, 1988, pp. 1608-1609).

[発明が解決しようとする課題] しかしながら、このような従来の15度刻みの傾いた文
字列を対象とした文字認識方法にあっては、文字列を構
成する各文字が文字列の傾きに対して斜めの変形が無い
ものに対して有効であるが、文字列の傾きに対して正立
てなく斜めの変形があると、この斜め変形歪みにより正
しく文字認識できない。
[Problems to be Solved by the Invention] However, in such conventional character recognition methods that target character strings tilted in 15-degree increments, each character constituting the character string is This method is effective for characters with no diagonal deformation, but if the character string is not erected and has diagonal deformation, characters cannot be recognized correctly due to this diagonal deformation distortion.

例えば、プラント設計のアイツメ図(配管図)を作成す
る際には、一つの図面に対し複数の人間により文字列が
記入されるが、文字列を構成する文字の文字列の傾きに
対する斜め歪みがあるか否かは個人により異なり、個人
差を考慮して文字列を構成する文字の斜め歪みを検出す
る必要があり、現在までのところ有効な解決策は見い出
されていない。
For example, when creating a piping diagram for plant design, character strings are entered by multiple people on one drawing, but the characters that make up the character string may be distorted due to the inclination of the character string. The presence or absence of such distortion differs from person to person, and it is necessary to detect diagonal distortion of characters forming a character string by taking individual differences into account.No effective solution has been found to date.

本発明は、このような従来の問題点に鑑みてなされたも
ので、文字歪みを持った斜めに傾いた文字列を確実に認
識して認識率を向上できる図面読取装置の文字列認識方
法を提供することを目的とする。
The present invention has been made in view of these conventional problems, and provides a character string recognition method for a drawing reading device that can reliably recognize diagonally tilted character strings with character distortion and improve the recognition rate. The purpose is to provide.

[課題を解決するための手段] 第1図は、本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

まず本発明は、読取図面中に書かれた手書き文字列を認
識する図面読取装置の手書き文字認識方法を対象とする
。このような手書き文字認識方法につき第1図(a)に
示すように、 読取図面中の手書き文字列を抽出する第1過程10と; 第1過程16で抽出された文字列の斜め変形の有無を検
出する第2過程12と; 第2過程12で斜め変形が検出された際に、斜め変形に
よる歪みを除去して各文字を正規化する第3過程14と
; 第3過程14で正規化された文字列或いは前記第2過程
12で斜め変形なしと判定された文字列の各文字を認識
する第4過程16と; を備えたことを特徴とする。
First, the present invention is directed to a handwritten character recognition method for a drawing reading device that recognizes a handwritten character string written in a read drawing. As shown in FIG. 1(a), such a handwritten character recognition method includes a first step 10 of extracting a handwritten character string from a scanned drawing; a second process 12 for detecting; a third process 14 for normalizing each character by removing the distortion caused by the diagonal deformation when a diagonal deformation is detected in the second process 12; and a fourth step 16 for recognizing each character of the character string that has been deformed or that has been determined to have no oblique deformation in the second step 12.

ここで第2過程における文字列の斜め変形の検出方法と
しては、 文字列を構成する各文字の細線化ベクトル長を算出する
第1過程と; 該第1過程で算出された細線化ベクトル長の総和を算出
する第2過程と; 斜め変形歪みを除去する所定の正規化変換式により各文
字の細線化ベクトルを座標変換し、該座標変換ベクトル
でなる各文字の細線化ベクトル長を算出する第3過程と
; 該第3過程で算出された正規化文字の細線化ベクトル長
の総和を算出する第4過程と;前記第2過程で算出され
た正規化前の総ベクトル長と前記第4過程で得られた正
規化後の総ベクトル長とを比較し、 ■正規化により総ベクトル長が短くなった時には斜め変
形ありと判定し、 ■正規化によりベクトル長が長くなった時には斜め変形
なしと判定する 第5過程と; を備えたことを特徴とする。
Here, the method for detecting diagonal deformation of a character string in the second process is as follows: A first process of calculating the thinning vector length of each character constituting the character string; a second step of calculating the sum; and a second step of coordinately transforming the thinning vector of each character using a predetermined normalization transformation formula for removing oblique deformation distortion, and calculating the length of the thinning vector of each character formed by the coordinate transformation vector. 3 steps; A fourth step of calculating the sum of the thinning vector lengths of the normalized characters calculated in the third step; and the total vector length before normalization calculated in the second step and the fourth step. Compare the total vector length after normalization obtained in , ■ If the total vector length becomes shorter due to normalization, it is determined that there is diagonal deformation, and ■ If the vector length becomes longer due to normalization, it is determined that there is no diagonal deformation. It is characterized by comprising a fifth step of determining; and;

この斜め変形検出方法の第3過程で使用する正規化変換
式は、文字列の傾き角度をα、文字列の開始点を(xo
 3’o ) 、正規化する任意のベクトル座標値を(
x、  y)とした時、 ■=x−cos  (α)XhXK+  (α)y=y
−sin  (α)xhxK+  (a)で与えられる
The normalization conversion formula used in the third step of this oblique deformation detection method is that the inclination angle of the character string is α, the starting point of the character string is (xo
3'o), any vector coordinate value to be normalized as (
x, y), ■=x-cos (α)XhXK+ (α)y=y
−sin (α)xhxK+ (a).

また正規化変換式に使用する係数りは文字列の開始点(
x0、y0)を通る傾きαの直線への垂線の長さであり
、 h=l −sin  (a) X (x−x0) +C
O8(α)×(yy0) で与えられ、且つ正規化変換式に使用する係数K(α)
は、経験により設定した1〜0の範囲の値とする。
Also, the coefficient used in the normalization conversion formula is the starting point of the string (
x0, y0) is the length of the perpendicular to the straight line with slope α, h=l −sin (a) X (x−x0) +C
Coefficient K(α) given by O8(α)×(yy0) and used in the normalization conversion formula
is a value in the range of 1 to 0 set based on experience.

更に文字列の斜め変形検出方法に使用する正規化変換式
の係数Kl  (α)は経験により、0<|α|≦π/
4 の時、K1(α)=1.0π/4〈1α1≦3π/
8の時、K1(α)=0.73π/8<|α|≦π/2
 の時、K1(α)=0.0とする。
Furthermore, the coefficient Kl (α) of the normalization conversion formula used in the method for detecting diagonal deformation of character strings is 0<|α|≦π/
4, K1(α)=1.0π/4〈1α1≦3π/
8, K1(α)=0.73π/8<|α|≦π/2
When , K1(α)=0.0.

更に又、文字列の斜め変形検出方法における第5過程の
斜め変形の判定きして、正規化前の総ベクトル長に重み
係数に2(α)を乗算した値と正規化後の総ベクトル長
とを比較し、 ■正規化により総ベクトル長が等しいか短くなった時に
は斜め変形ありと判定し; ■正規化により総ベクトル長が長くなった時には斜め変
形なしと判定する; ことを特徴とする。
Furthermore, after determining the diagonal deformation in the fifth step of the method for detecting diagonal deformation of a character string, the total vector length before normalization multiplied by the weighting coefficient by 2 (α) and the total vector length after normalization are determined. and ■When the total vector length is equal or shorter due to normalization, it is determined that there is diagonal deformation; ■When the total vector length is longer due to normalization, it is determined that there is no diagonal deformation; .

この場合の重み係数に2(α)の値は、経験により、 0<|α|<=π/4の時、 k ((2)=1.0+CO1(α/2)π/4〈1α
1〈=3π/8の時、 k (a) =0. 7+cos  (π/8)3π/
8<|α|<=π/2の時、 k(α)=0.0 とする。
The value of 2(α) for the weighting coefficient in this case is determined from experience as follows: when 0<|α|<=π/4, k ((2)=1.0+CO1(α/2)π/4<1α
When 1〈=3π/8, k (a) = 0. 7+cos (π/8)3π/
When 8<|α|<=π/2, k(α)=0.0.

[作用] このような構成を備えた本発明による図面読取装置の手
書き文字認識方法によれば、第1図(b)に示すように
、斜め変形のある文字列が検出された場合には、斜め変
形による文字の歪みを取り除く正規化変換式に従って正
規化された文字列を生成し、変形歪みのない正規化文字
列に対し認識処理が行われることで、斜め方向に傾いて
書かれた文字列の認識率を大幅に向上することができる
[Operation] According to the handwritten character recognition method of the drawing reading device according to the present invention having such a configuration, as shown in FIG. 1(b), when a character string with an oblique deformation is detected, A normalized character string is generated according to a normalization conversion formula that removes character distortion due to diagonal deformation, and recognition processing is performed on the normalized character string without deformation distortion. The column recognition rate can be greatly improved.

その結果、プラント設計等で用いられるアイツメ図は3
0度、60度の傾きに並んだ文字列を含むアイツメ図中
の文字列を正確に認識でき、CADシステムに対する自
動入力を実用化できるに十分な認識率を得ることができ
る。
As a result, the number of eyepiece diagrams used in plant design, etc. is 3.
It is possible to accurately recognize character strings in an eyelid diagram, including character strings arranged at an inclination of 0 degrees and 60 degrees, and to obtain a recognition rate sufficient to put automatic input into a CAD system into practical use.

[実施例] 第2図は本発明の手書き文字認識方法が実施される図面
読取装置の実施例構成図である。
[Embodiment] FIG. 2 is a block diagram of an embodiment of a drawing reading device in which the handwritten character recognition method of the present invention is implemented.

第2図において、18は図面読取部であり、例えばイメ
ージスキャナを使用してプラント設計等の手書きされた
アイツメ図を読取ってイメージデータに変換する。20
は文字列抽出部であり、図面読取部18で読取られた図
面のイメージデータの中から傾きを持って書かれた文字
列を切り出し、文字列の傾きα、平行四辺形として設定
された切り出し領域、切り出された各文字に対する輪郭
ベクトル、各文字の輪郭ベクトルの細線化処理により得
られた細線化ベクトルを出力する。22は斜め変形検出
部であり、後の説明で明らかにする正規化前の細線化ベ
クトル長の総和と正規化後の細線化ベクトル長との総和
との大小比較により斜め変形の有無を検出する。24は
文字正規化部であり、斜め変形検出部22で斜め変形有
りと判定された文字列を対象として所定の正規化変換式
を使用した各文字の正規化変換、具体的には各文字を構
成する細線化ベクトル座標の正規化変換を行なう。26
は文字認識部であり辞書を参照して斜め変形の無い文字
を対象に文字認識を行なう。
In FIG. 2, reference numeral 18 denotes a drawing reading unit, which reads hand-drawn drawings of plant designs and the like using, for example, an image scanner and converts them into image data. 20
is a character string extracting unit, which cuts out a character string written with an inclination from the image data of the drawing read by the drawing reading unit 18, and extracts a character string written with an inclination α and a cutting area set as a parallelogram. , a contour vector for each extracted character, and a thinning vector obtained by thinning the contour vector of each character. Reference numeral 22 denotes a diagonal deformation detection unit, which detects the presence or absence of diagonal deformation by comparing the sum of the thinning vector lengths before normalization and the sum of the thinning vector lengths after normalization, which will be explained later. . Reference numeral 24 denotes a character normalization unit, which normalizes each character using a predetermined normalization conversion formula for a character string determined to have a skew deformation by the skew deformation detection unit 22, specifically converts each character. Perform normalization transformation of the constituent thinning vector coordinates. 26
is a character recognition unit that refers to a dictionary and performs character recognition for characters without oblique deformation.

第3図は第2図の実施例における文字認識処理フロー図
である。
FIG. 3 is a flowchart of character recognition processing in the embodiment of FIG. 2.

第3図において、まず読取図面のイメージデータを対象
としてSlで文字列抽出、即ち読取図面中に存在する文
字列の切出しを行ない、文字列の傾きα、平行四辺形の
切出し領域、各文字に対する輪郭ベクトルと細線化ベク
トルを生成する。
In Fig. 3, character strings are first extracted using Sl from the image data of the reading drawing, that is, character strings existing in the reading drawing are extracted, and the slope α of the character string, the parallelogram cutting area, and each character are Generate contour vectors and thinning vectors.

続いてS2で81で抽出した文字列の傾きαが0°、あ
るいは90°以外の傾きか否か判定する。
Next, in S2, it is determined whether the inclination α of the character string extracted in 81 is 0° or other than 90°.

文字列の傾きαが0°または90°以外の場合にはS3
に進み、斜め変形があるか否かの検出処理を行ない、斜
め変形が判定された文字列についてのみS4で斜め変形
による歪みを除去するための文字正規化処理を行ない、
最終的に85で斜め変形の無い文字を対象とした文字認
識を行なうようになる。
S3 if the inclination α of the character string is other than 0° or 90°
Proceeding to step S4, a process for detecting whether or not there is a diagonal deformation is performed, and only for character strings for which a diagonal deformation has been determined, character normalization processing is performed to remove distortion due to the diagonal deformation,
Finally, at step 85, character recognition is performed for characters without oblique deformation.

次に第3図の文字認識処理フロー図におけるS3の斜め
変形の検出処理及びS4の文字正規化処理について詳細
に説明する。
Next, the oblique deformation detection process in S3 and the character normalization process in S4 in the character recognition process flowchart of FIG. 3 will be described in detail.

第4図は本発明の斜め変形の検出原理図であり、文字列
rAAJを例にとって斜め変形の有る文字列28、斜め
変形の有る文字列に正規化を行なった文字列30、正規
化された文字列30を更に正規化した文字列32を示し
ている。即ち、文字列28は斜め変形が有り、この文字
列28に斜め変形による歪みを除く正規化を施すと斜め
変形の無い文字列30が得られる。一方、読取図面から
抽出された文字列が文字列30に示すように斜め変形が
無かった場合には、この斜め変形の無い文字列30に正
規化を施すことで斜め変形による歪みを受けた文字列3
2に変換されることになる。ここで斜め変形の有る文字
列28を正規化して斜め変形の無い文字列30とした場
合をケース■、斜め変形の無い文字列30を正規化して
斜め変形の有る文字列32とした場合をケース■とする
FIG. 4 is a diagram showing the principle of detecting diagonal deformation according to the present invention. Taking the character string rAAJ as an example, the character string 28 with diagonal deformation, the character string 30 normalized to the character string with diagonal deformation, and the normalized character string A character string 32 obtained by further normalizing the character string 30 is shown. That is, the character string 28 has a diagonal deformation, and when this character string 28 is normalized to remove distortion due to the diagonal deformation, a character string 30 without any diagonal deformation is obtained. On the other hand, if the character string extracted from the reading drawing has no diagonal deformation as shown in the character string 30, by normalizing the character string 30 without diagonal deformation, the character string that has been distorted due to the diagonal deformation can be Column 3
It will be converted to 2. Case 2 is a case where the character string 28 with a diagonal deformation is normalized to a character string 30 without a diagonal deformation, and case ■ is a case where the character string 30 without a diagonal deformation is normalized to a character string 32 with a diagonal deformation. ■Let it be.

ケース■における正規化前の文字列28と正規化後の文
字列30について、各文字を構成する細線化ベクトル長
の総和を求めて大小関係を比較すると、斜め変形の有る
文字列28の場合には正規化後の総ベクトル長が長くな
る関係にある。
For the character string 28 before normalization and the character string 30 after normalization in case ■, by calculating the sum of the lengths of the thinning vectors that make up each character and comparing the magnitude relationship, in the case of the character string 28 with diagonal deformation, is in a relationship that the total vector length after normalization becomes longer.

一方、ケース■の斜め変形の無い文字列30を正規化し
た場合には、正規化前の細線化ベクトル長の総和と正規
化後の細線化ベクトル長の総和との間に、図示のように
正規化後の総ベクトル長が長くなる関係がある。このよ
うな斜め変形の有る場合と斜め変形の無い場合の文字列
に対する正規化前と正規化後の文字列を構成する各文字
の細線化ベクトル長の総和の大小関係から、処理対象と
している文字列、即ち正規化前の文字列が斜め変形を持
つか否かを検出することができる。
On the other hand, when the character string 30 without diagonal deformation in case ■ is normalized, there is a gap between the sum of the thinning vector lengths before normalization and the sum of the thinning vector lengths after normalization, as shown in the figure. There is a relationship in which the total vector length after normalization becomes longer. Characters to be processed are determined based on the magnitude relationship of the sum of the thinning vector lengths of the characters that make up the character strings before and after normalization for character strings with and without such diagonal deformation. It is possible to detect whether a string, that is, a character string before normalization has a diagonal deformation.

第5図は第4図の斜め変形の検出原理に基づいた具体的
な斜め変形の判定処理フロー図である。
FIG. 5 is a flowchart of a specific diagonal deformation determination process based on the diagonal deformation detection principle shown in FIG.

第5図において、゛まずSlで文字列を構成する各文字
の細線化ベクトル長11.を算出する。例えば第6図に
示す傾きαを持つ文字列「A・・・Z」を処理対象とし
た場合、例えば文字rAJは細線化ベクトルV、l〜v
、うで構成されている。
In FIG. 5, ``First, the thinning vector length of each character constituting the character string is 11. Calculate. For example, if the character string "A...Z" with the slope α shown in FIG.
, consists of arms.

文字の細線化ベクトル長l2.は、 1+1=   az  Cz   +  bz  dz
)2で算出される。ここでiは文字列を構成する各文字
の順番を示す番号、jは1つの文字を構成する細線化ベ
クトルの数を示す番号である。
Character thinning vector length l2. is, 1+1= az Cz + bz dz
)2. Here, i is a number indicating the order of each character constituting the character string, and j is a number indicating the number of thinning vectors constituting one character.

第6図の文字rAJの場合、例えば最初の細線化ベクト
ルVllの細線化ベクトル長11□は始点座標を(a 
ll+  b 11) 、終点座標を(C++、d++
)として前記(1)式により算出される。このような細
線化ベクトル長の算出を最初の文字rAJの細線化ベク
トルV1.から最後の文字rZJの細線化ベクトル■7
、まで行なう。
In the case of the character rAJ in Figure 6, for example, the thinning vector length 11□ of the first thinning vector Vll is the starting point coordinates
ll+ b 11), the end point coordinates are (C++, d++
) is calculated using equation (1) above. The thinning vector length is calculated using the thinning vector V1. of the first character rAJ. Thinning vector of the last character rZJ from ■7
, up to.

続いてS2に進み文字列rA−ZJの総ベクトル長りを
、 m  m(i) L=Σ  Σ  1 1・I  j=1 により算出する。
Next, the process proceeds to S2, and the total vector length of the character string rA-ZJ is calculated by m m(i) L=ΣΣ 1 1·I j=1.

次に83に進み、次の正規化変換式により各文字の細線
化ベクトルV、を座標変換して細線化ベクトル■1.を
求める。
Next, the process proceeds to 83, where the thinning vector V of each character is coordinate-transformed using the following normalization conversion formula, and the thinning vector 1. seek.

この(3)式による座標変換は第6図に示すように、文
字列の傾き角度をα、文字列の開始点座標を(x0、y
0)として任意の座標値(x、  y)に対し斜め変形
による歪み補正の座標変換を行なうものである。
As shown in Figure 6, the coordinate transformation using equation (3) is as follows: α is the inclination angle of the character string, and the coordinates of the starting point of the character string are (x0, y
0), coordinate transformation for distortion correction by diagonal deformation is performed on arbitrary coordinate values (x, y).

ここで前記(3)式における定数りは、第7図に示すよ
うに文字列の開始点(xo、yn)を通る傾きαの直線
に対する正規化前の(x、  y)の垂線の長さであり
、 h=l −sin  (α)  X  (x−Xo )
  +cos  (a)x(y  y0)I    (
4) として与えられる。また第7図は正規化後の(文。
Here, the constant in equation (3) is the length of the perpendicular to (x, y) before normalization with respect to the straight line with slope α that passes through the starting point (xo, yn) of the character string, as shown in Figure 7. and h=l −sin (α) X (x−Xo)
+cos (a)x(y y0)I (
4) Given as. Also, Figure 7 shows (text) after normalization.

y)を併せて示している。更に前記(3)式の変換式に
おける係数に+(α)の値は文字列の傾き角度αに依存
して決まる値であり、経験的に設定することが望ましく
、例えば、 として設定される。即ち、第8図に示すように、文字列
の傾き角度αがπ/2以下ではK1(α)1.0として
補正を行ない、傾き角度αがπ/2を超え、3/8π以
下の範囲ではK2(α)0.7として角度αの正弦及び
余弦成分による補正割合を抑え、更に3/8π以上では
K1(α)−〇、0とし、歪み補正は行なわないように
している。
y) is also shown. Furthermore, the value of +(α) in the coefficient in the conversion equation (3) is a value determined depending on the inclination angle α of the character string, and is preferably set empirically, for example, as follows. That is, as shown in FIG. 8, when the inclination angle α of the character string is less than π/2, correction is performed as K1(α) 1.0, and in the range where the inclination angle α exceeds π/2 and is less than 3/8π. In this case, K2(α) is set to 0.7 to suppress the correction ratio due to the sine and cosine components of the angle α, and K1(α)−0,0 is set at 3/8π or more, so that no distortion correction is performed.

再び第5図を参照するに、S3で前記(3)式によりベ
クトルvlIを座標変換して正規化されたベクトルV、
を求めたならばS4に進み、Slの場合と同様、変換ベ
クトルvlIで成る各文字の細線化ベクトル長11.を
算出し、続いてS5に進み、変換後の文字列を対象とし
た総ベクトル長りを82の場合と同様にして算出する。
Referring again to FIG. 5, in S3, the coordinates of the vector vlI are transformed according to the equation (3), and the normalized vector V,
Once , the process proceeds to S4, where, as in the case of Sl, the thinning vector length 11. of each character consisting of the conversion vector vlI is calculated. The process then proceeds to S5, where the total vector length for the converted character string is calculated in the same manner as in the case of 82.

次に86に進み、S2で算出された変換前(正規化前)
の総ベクトル長しと、S5で算出された変換後(正規化
後)の総ベクトル長しの大小関係を比較する。具体的に
は変換後の総ベクトル長しと変換前の総ベクトル長しに
文字列の傾き角度αによって決まる係数に2(α)を掛
は合わせた値との比較を行なう。そして、 の条件式に従って変換後の総ベクトル長しかに2(α)
XLより短ければS7に進んで斜め変形有りと判定し、
長ければS8に進んで斜め変形無しと判定する。
Next, proceed to 86, and before conversion (before normalization) calculated in S2
The magnitude relationship between the total vector length and the total vector length after conversion (after normalization) calculated in S5 is compared. Specifically, the total vector length after conversion and the total vector length before conversion are compared with a value obtained by multiplying the coefficient determined by the inclination angle α of the character string by 2(α). Then, according to the conditional expression, the total vector length after conversion is equal to 2(α)
If it is shorter than XL, proceed to S7 and determine that there is oblique deformation,
If it is longer, the process proceeds to S8 and it is determined that there is no oblique deformation.

このS6に使用する(6)式の係数に2  (α)の値
は、経験的に設定すれば良く、例えば次のよこの第5図
に示す斜め変形の判定処理により斜め変形有りと判定さ
れた場合には、第3図のS4に進んで文字列の正規化が
行なわれる。この文字列の正規化は斜め変形の判定にお
ける前記(3)式により行なうことができ、具体的には
第5図の83で既に細線化ベクトル■、の歪みを除去す
る変換が行なわれていることから、その変換結果を使用
する。一方、第5図の斜め変形判定処理で斜め変形無し
と判定された場合には、第3図に示すように82で判定
された傾斜角度αが08あるいは90°の場合の文字列
と同様にそのままS5に進み文字認識を行なう。
The value of 2 (α) for the coefficient of equation (6) used in S6 may be set empirically. For example, the diagonal deformation is determined to be present by the diagonal deformation determination process shown in FIG. If so, the process advances to S4 in FIG. 3, where the character string is normalized. The normalization of this character string can be performed using the above-mentioned equation (3) in determining the oblique deformation. Specifically, at 83 in FIG. 5, a conversion has already been performed to remove the distortion of the thinning vector Therefore, use the conversion result. On the other hand, when it is determined that there is no diagonal deformation in the diagonal deformation determination process shown in FIG. 5, the character string is processed as shown in FIG. Proceeding directly to S5, character recognition is performed.

尚、上記の実施例にあっては、係数K2(α)及びに2
(α)について経験側に従って、例えば(5)式、(7
)式のように値を決めているが、本発明はこれらの経験
値に限定されず必要に応じて適宜の係数値を使用するよ
うにしても良い。
In the above embodiment, the coefficients K2(α) and 2
Regarding (α), according to the empirical side, for example, equation (5), (7
), but the present invention is not limited to these empirical values, and appropriate coefficient values may be used as necessary.

次に本発明の手書き文字認識方法による認識率を従来方
法と対比して説明する。
Next, the recognition rate of the handwritten character recognition method of the present invention will be explained in comparison with the conventional method.

第9図は文字認識率を検証するために使用した異なる傾
きを持つ入力図面の文字列を示すもので、この第9図の
入力文字列について15°刻みの傾きのある文字列の認
識を対象とした従来方法の認識結果は第10図に示すも
のであった。第10図において○印を付した文字は認識
成功、×印を付した文字は認識失敗を示している。第1
0図の場合、認識対象とした55文字のうち、正解は3
0文字、誤りは25文字であり、認識率は約54゜5%
であった。
Figure 9 shows character strings of input drawings with different inclinations used to verify the character recognition rate. Regarding the input character strings in Figure 9, recognition of character strings with an inclination of 15 degrees is targeted. The recognition results of the conventional method are shown in FIG. In FIG. 10, characters marked with a circle indicate successful recognition, and characters marked with an cross indicate a failure of recognition. 1st
In the case of figure 0, the correct answer is 3 out of 55 characters targeted for recognition.
There were 0 characters and 25 characters were incorrect, and the recognition rate was approximately 54.5%.
Met.

第11図は第9図の入力文字列を対象とした本発明の手
書き文字認識方法による認識結果を示す。
FIG. 11 shows the recognition results obtained by the handwritten character recognition method of the present invention for the input character string shown in FIG.

第11図の本発明の場合、認識対象とした55文字中、
正解は47文字、誤りは8文字であり、約85.5%の
認識率を達成することができ、従来方法に比べ大幅な認
識率の向上が確認された。
In the case of the present invention shown in FIG. 11, among the 55 characters targeted for recognition,
The correct answers were 47 characters and the errors were 8 characters, achieving a recognition rate of approximately 85.5%, confirming a significant improvement in recognition rate compared to conventional methods.

[発明の効果] 以上説明してきたように本発明によれば、プラントアイ
ツメ図等のような30°や60°の傾いた手書き文字列
を含む図面の文字認識を確実に行なうことができ、文字
認識率の向上によりCADシステムに対し実用的なレベ
ルで図面データを自動入力できる図面読取装置を接続し
た図面入力システムを構築することができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to reliably perform character recognition of drawings including handwritten character strings tilted at 30° or 60°, such as plant claw diagrams, etc. By improving the character recognition rate, it is possible to construct a drawing input system connected to a drawing reading device that can automatically input drawing data into a CAD system at a practical level.

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

第1図は本発明の原理説明図; 第2図は本発明の実施例構成図; 第3図は本発明の文字認識処理フロー図第4図は本発明
の斜め変形検出原理図:第5図は本発明の斜め変形判定
処理フロー図;第6図は本発明の斜め変形の検出説明図
;第7図は本発明の正規化変換に用いるパラメータ説明
図; 第8図は本発明の正規化変換に用いる係数に1(α)説
明図; 第9図は本発明の認識率検証に用いた入力文字列説明図
; 第10図は従来方法の認識結果説明図;第11図は本発
明の詳細な説明図である。 図中、 18:図面読取部 20:文字列抽出部 22:斜め変形検出部 24:文字正規化部 26二文字認識部
Fig. 1 is an explanatory diagram of the principle of the present invention; Fig. 2 is a configuration diagram of an embodiment of the present invention; Fig. 3 is a character recognition processing flow diagram of the present invention; Fig. 4 is a diagram of the principle of diagonal deformation detection of the present invention: Fig. 5 The figure is a flowchart of the oblique deformation determination process of the present invention; Figure 6 is an explanatory diagram of detecting oblique deformation of the present invention; Figure 7 is an explanatory diagram of parameters used in the normalization transformation of the present invention; Figure 8 is a diagram of the normalization of the present invention Figure 9 is an illustration of the input character string used to verify the recognition rate of the present invention; Figure 10 is an illustration of the recognition results of the conventional method; Figure 11 is the figure of the present invention. FIG. In the figure, 18: Drawing reading unit 20: Character string extraction unit 22: Oblique deformation detection unit 24: Character normalization unit 26 Two character recognition units

Claims (7)

【特許請求の範囲】[Claims] (1)読取図面中に書かれた手書き文字列を認識する図
面読取装置の手書き文字認識方法に於いて、読取図面中
の手書き文字列を抽出する第1過程と; 該第1過程で抽出された文字列の斜め変形の有無を検出
する第2過程と; 該第2過程で斜め変形が検出された際に、該斜め変形に
よる歪みを除去して各文字を正規化する第3過程と; 該第3過程で正規化された文字列或いは前記第2過程で
斜め変形なしと判定された文字列の各文字を認識する第
4過程と; を備えたことを特徴とする図面読取装置の手書き文字認
識方法。
(1) In a handwritten character recognition method for a drawing reading device that recognizes a handwritten character string written in a read drawing, a first step of extracting a handwritten character string from the read drawing; a second step of detecting the presence or absence of diagonal deformation in the character string; a third step of normalizing each character by removing the distortion due to the diagonal deformation when the diagonal deformation is detected in the second step; A fourth step of recognizing each character of the character string normalized in the third step or the character string determined to have no oblique deformation in the second step; Character recognition method.
(2)請求項1記載の図面読取装置の手書き文字認識方
法に於いて、 前記第2過程における文字列の斜め変形の検出は、 文字列を構成する各文字の細線化ベクトル長を算出する
第1過程と; 該第1過程で算出された細線化ベクトル長の総和を算出
する第2過程と; 斜め変形歪みを除去する所定の正規化変換式により各文
字の細線化ベクトルを座標変換し、該座標変換ベクトル
でなる各文字の細線化ベクトル長を算出する第3過程と
; 該第3過程で算出された正規化文字の細線化ベクトル長
の総和を算出する第4過程と; 前記第2過程で算出された正規化前の総ベクトル長と前
記第4過程で得られた正規化後の総ベクトル長とを比較
し、正規化により総ベクトル長が短くなった時には斜め
変形ありと判定し、正規化によりベクトル長が長くなっ
た時には斜め変形なしと判定する第5過程と; を備えたことを特徴とする図面読取装置の手書き文字認
識方法。
(2) In the handwritten character recognition method for a drawing reading device according to claim 1, the detection of the diagonal deformation of the character string in the second step includes the step of calculating the thinning vector length of each character constituting the character string. A second step of calculating the sum of the lengths of the thinning vectors calculated in the first step; Coordinate transformation of the thinning vector of each character using a predetermined normalization transformation formula for removing oblique deformation distortion; a third step of calculating the thinning vector length of each character formed by the coordinate transformation vector; a fourth step of calculating the sum of the thinning vector lengths of the normalized characters calculated in the third step; The total vector length before normalization calculated in the process is compared with the total vector length after normalization obtained in the fourth process, and when the total vector length becomes shorter due to normalization, it is determined that there is oblique deformation. , a fifth step of determining that there is no oblique deformation when the vector length becomes longer due to normalization; and a handwritten character recognition method for a drawing reading device.
(3)請求項2記載図面読取装置の手書き文字認識方法
に於いて、 前記第3過程で使用する正規化変換式は、文字列の傾き
角度をα、文字列の開始点を(x_0、y_0)、正規
化する任意のベクトル座標値を(x、y)、正規化後の
ベクトル座標値を(■、■)とした時、■=x−cos
(α)×k(x)×K_1(α)■=y−sin(α)
×k(x)×K_1(α)で与えられることを特徴とす
る図面読取装置の手書き文字認識方法。
(3) In the handwritten character recognition method for a drawing reading device according to claim 2, the normalization conversion formula used in the third step is such that the inclination angle of the character string is α, the starting point of the character string is (x_0, y_0 ), the arbitrary vector coordinate values to be normalized are (x, y), and the vector coordinate values after normalization are (■, ■), then ■=x-cos
(α)×k(x)×K_1(α)■=y-sin(α)
A handwritten character recognition method for a drawing reading device, characterized in that it is given by ×k(x)×K_1(α).
(4)請求項3記載図面読取装置の手書き文字認識方法
に於いて、 前記正規化変換式に使用するk(x)は文字列の開始点
(x_0、y_0)を通る傾きαの直線への垂線の長さ
であり、 k(x)=|−sin(α)×(x−x_0)+cos
(α)×(y−y_0)| で与えられ、且前記正規化変換式に使用する定数K_1
(α)は、経験により設定した1〜0の範囲の値とした
することを特徴とする図面読取装置の手書き文字認識方
法。
(4) In the handwritten character recognition method for a drawing reading device according to claim 3, k(x) used in the normalization conversion formula is a straight line with an inclination α passing through the starting point (x_0, y_0) of the character string. It is the length of the perpendicular line, k(x) = |-sin(α)×(x-x_0)+cos
(α)×(y−y_0)| Constant K_1 used in the normalization conversion formula
A handwritten character recognition method for a drawing reading device, characterized in that (α) is set to a value in the range of 1 to 0 based on experience.
(5)請求項4記載図面読取装置の手書き文字認識方法
に於いて、 前記定数K_1(α)を経験により、 0<|α|≦π/4の時、K_1(α)=1.0π/4
<|α|≦3π/8の時、K_1(α)=0.73π/
8<|α|≦π/2の時、K_1(α)=0.0とした
ことを特徴とする図面読取装置の手書き文字認識方法。
(5) In the handwritten character recognition method for a drawing reading device according to claim 4, the constant K_1(α) is determined based on experience, and when 0<|α|≦π/4, K_1(α)=1.0π/ 4
When <|α|≦3π/8, K_1(α)=0.73π/
A handwritten character recognition method for a drawing reading device, characterized in that when 8<|α|≦π/2, K_1(α)=0.0.
(6)請求項2記載の図面読取装置の手書き文字認識方
法に於いて、 前記第5過程の斜め変形の判定として、正規化前の総ベ
クトル長に重み定数K_2(α)を乗算した値と正規化
後の総ベクトル長とを比較し、正規化により総ベクトル
長が等しいか短くなった時には斜め変形ありと判定し、
正規化により総ベクトル長が長くなった時には斜め変形
なしと判定することを特徴とする図面読取装置の手書き
文字認識方法。
(6) In the handwritten character recognition method for a drawing reading device according to claim 2, the determination of the diagonal deformation in the fifth step is performed using a value obtained by multiplying the total vector length before normalization by a weighting constant K_2(α). Compare the total vector length after normalization, and if the total vector length is equal or shorter due to normalization, it is determined that there is oblique deformation,
A handwritten character recognition method for a drawing reading device, characterized in that when the total vector length becomes longer due to normalization, it is determined that there is no oblique deformation.
(7)請求項6記載の図面読取装置の手書き文字認識方
法に於いて、 前記重み定数K_2(α)の値は、経験により、0<|
α|<=π/4の時、 k(α)=1.0+cos(α/2) π/4<|a|<=3π/8の時、 k(α)=0.7+cos(π/8) 3π/8<|α|<=π/2の時、 k(α)=0.0 と設定したことを特徴とする図面読取装置の手書き文字
認識方法。
(7) In the handwritten character recognition method for a drawing reading device according to claim 6, the value of the weighting constant K_2(α) is determined from experience to be 0<|
When α|<=π/4, k(α)=1.0+cos(α/2) When π/4<|a|<=3π/8, k(α)=0.7+cos(π/8 ) A handwritten character recognition method for a drawing reading device, characterized in that when 3π/8<|α|<=π/2, k(α)=0.0.
JP2178177A 1990-07-05 1990-07-05 Character recognition method for drawing reader Expired - Lifetime JP2561969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2178177A JP2561969B2 (en) 1990-07-05 1990-07-05 Character recognition method for drawing reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2178177A JP2561969B2 (en) 1990-07-05 1990-07-05 Character recognition method for drawing reader

Publications (2)

Publication Number Publication Date
JPH0465786A true JPH0465786A (en) 1992-03-02
JP2561969B2 JP2561969B2 (en) 1996-12-11

Family

ID=16043956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2178177A Expired - Lifetime JP2561969B2 (en) 1990-07-05 1990-07-05 Character recognition method for drawing reader

Country Status (1)

Country Link
JP (1) JP2561969B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024678A (en) * 1983-07-21 1985-02-07 Fujitsu Ltd Picture reader
JPH0266690A (en) * 1988-08-31 1990-03-06 Mitsubishi Electric Corp Image processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024678A (en) * 1983-07-21 1985-02-07 Fujitsu Ltd Picture reader
JPH0266690A (en) * 1988-08-31 1990-03-06 Mitsubishi Electric Corp Image processor

Also Published As

Publication number Publication date
JP2561969B2 (en) 1996-12-11

Similar Documents

Publication Publication Date Title
US5982912A (en) Person identification apparatus and method using concentric templates and feature point candidates
JP3218004B2 (en) Test signature verification method
US6466686B2 (en) System and method for transforming fingerprints to improve recognition
US20070071289A1 (en) Feature point detection apparatus and method
CN107066961B (en) Fingerprint registration method and device
WO2002071316A1 (en) Non-contact type human iris recognition method by correction of rotated iris image
JP3335538B2 (en) Method and apparatus for collating a handwritten character string
CN101178768A (en) Image processing device and method and personal identification device
CN100447806C (en) Method, device and use for matching two-stage mixed-fingerprint characteristics
CN115359249B (en) Palm image ROI region extraction method and system
JP2561969B2 (en) Character recognition method for drawing reader
JP2008276758A (en) Fingerprint singularity extraction apparatus and fingerprint singularity extraction method
KR100391182B1 (en) The method of a fingerprint minutia extraction using direct valley following
Areekul et al. The new focal point localization algorithm for fingerprint registration
CN116612538A (en) Online confirmation method of electronic contract content
KR20050062748A (en) Authentication method and apparatus using fingerprint
JP2001076142A (en) Fingerprint image collation method and apparatus, and recording medium recording this method
CN107958242A (en) A kind of Palm Print Recognition System
US20070071325A1 (en) Systems and methods for recognizing objects in an image
JP3006823B2 (en) Character and word recognition methods
JP2856409B2 (en) Character recognition apparatus and method
JPH1139478A (en) Fingerprint collation device and collation processing method thereof
JPH0248776A (en) Method and device for collation of fingerprint
Chadha et al. Rotation, scaling and translation analysis of biometric signature templates
JP2880587B2 (en) Fingerprint collation device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 14

EXPY Cancellation because of completion of term