JPH05342414A - Template preparing device and pattern recognizing device - Google Patents

Template preparing device and pattern recognizing device

Info

Publication number
JPH05342414A
JPH05342414A JP4171509A JP17150992A JPH05342414A JP H05342414 A JPH05342414 A JP H05342414A JP 4171509 A JP4171509 A JP 4171509A JP 17150992 A JP17150992 A JP 17150992A JP H05342414 A JPH05342414 A JP H05342414A
Authority
JP
Japan
Prior art keywords
template
character
value
pattern
created
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
JP4171509A
Other languages
Japanese (ja)
Inventor
Hidenori Kurioka
秀憲 栗岡
Yasuo Mizogami
恭生 溝上
Hideyuki Urata
秀之 浦田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP4171509A priority Critical patent/JPH05342414A/en
Publication of JPH05342414A publication Critical patent/JPH05342414A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prepare a template which can exactly discriminate a character even when the character has degraded printing quality in the case of performing pattern recognition by performing template matching. CONSTITUTION:A prescribed area is set through a character segmenting part 14 to a reference character image, and the character image is sent to a character part template preparation part 15 and a background part template preparation part 16. At the respective preparation parts, distance conversion is respectively performed to a character part or a background part, and templates whose template value becomes larger, as they are separated farther from the edges of characters are prepared. Then, both templates are added (a code is added to the background part before the addition) by a synthesizing part 17, and the template is prepared and stored in a memory 7 for template. The prepared template can be read at need and the desired template value can be corrected based on the inputs of a cursor key 10a and ten keys 10b by a correction part 18.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力された未知の文字
画像等のパターンをテンプレートマッチングを行うこと
により認識するパターン認識装置と、係るパターン認識
を行うためのテンプレートを作成するためのテンプレー
ト作成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern recognition apparatus for recognizing a pattern of an input unknown character image or the like by performing template matching, and a template creation for creating a template for performing such pattern recognition. It relates to the device.

【0002】[0002]

【従来の技術】撮像装置から取り込んだ未知の文字画像
を予め作成した基準パターン(テンプレート)と比較
し、その一致度を判別することによりその文字の認識
(判別)する文字認識装置として、従来特開平3−24
0892号広報に示すものがあった。
2. Description of the Related Art An unknown character image captured from an image pickup device is compared with a reference pattern (template) created in advance, and a character recognition device for recognizing (determining) the character by discriminating the degree of matching is conventionally used. Kaihei 3-24
There was something shown in the 0892 public information.

【0003】係る公報に開示された文字認識装置は、文
字の欠けてはいけない部分、すなわち文字の内部に関す
る第1マスクパターンと、食み出してはいけない部分す
なわち背景部分に関する第2マスクパターンとを作成
し、未知の文字画像データを両パターンと比較し、未知
の文字画像の文字部分と第1マスクパターンとの(不)
一致画素数と、未知の文字画像の背景部分と第2マスク
パターンとの(不)一致画素数の多少により、文字画像
がマスクパターンの文字であるか否か判定するようにな
っている。
The character recognition device disclosed in this publication has a first mask pattern for a portion where a character should not be missing, that is, the inside of the character, and a second mask pattern for a portion which should not be projected, that is, a second mask pattern. The unknown character image data is created and compared with both patterns, and the character portion of the unknown character image and the first mask pattern are (improper)
Whether or not the character image is a character of the mask pattern is determined based on the number of matching pixels and the number of (non) matching pixels of the background portion of the unknown character image and the second mask pattern.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記した従来
の文字認識装置では、各パターンはいずれも「1.0」
の2値であり、文字の欠けやにじみの度合い(特にやせ
や太り方向の深さ)を考慮した判定ができない。すなわ
ち、例えば印刷した文字は、その一部が欠けていたり或
いはにじんだりして周辺がぼやけてしまうことがある。
すると、係るぼやけたりした文字に対する認識率が低下
し、誤認識したり判別不可となるおそれがある。その結
果、例えばシール等のラベルに印刷した文字が正しいか
否かの判断を行い、良品・不良品の判別を行おうとする
と、印字品質のぶれにより若干ぼやけたりした文字(但
し、文字として認識することはでき良品の範囲内にはあ
る)に対して正しく文字認識することができず、正確な
判別処理を行うことができなくなる等の問題を有する。
However, in the above-mentioned conventional character recognition device, each pattern is "1.0".
Therefore, it is not possible to make a determination in consideration of the degree of missing or bleeding of characters (especially the depth in the thin or thick direction). That is, for example, a printed character may be partially missing or bleeding, and the periphery may be blurred.
Then, the recognition rate for such blurred characters may be lowered, and there is a possibility that the characters may be erroneously recognized or may not be discriminated. As a result, for example, if it is determined whether the characters printed on the label such as a sticker are correct, and if it is determined whether the product is a good product or a defective product, the characters that are slightly blurred due to fluctuations in the print quality (however, are recognized as characters However, there is a problem in that the correct character recognition cannot be performed with respect to a non-defective product and accurate discrimination processing cannot be performed.

【0005】本発明は、上記した背景に鑑みてなされた
もので、その目的とするところは、たとえ印字品質の悪
い文字であっても、正確にその文字を判別することがで
き、認識率・品質検査精度の向上を図るためのテンプレ
ート作成装置及びパターン認識装置を提供することにあ
る。
The present invention has been made in view of the above background, and an object of the present invention is to enable accurate discrimination of a character even if the character has poor print quality, and to improve the recognition rate. It is an object of the present invention to provide a template creation device and a pattern recognition device for improving the quality inspection accuracy.

【0006】[0006]

【課題を解決するための手段】上記した目的を達成する
ために、本発明に係るテンプレート作成装置では、入力
基準となる文字等のパターンの内側部分に対して距離変
換して第1テンプレートを作成する第1の変換手段と、
前記パターンの背景部分に対して距離変換して第2テン
プレートを作成する第2の変換手段と、前記第1,第2
の変換手段で作成された第1,第2テンプレートを合成
する手段とを備えた。
In order to achieve the above-mentioned object, the template creating apparatus according to the present invention creates a first template by converting the distance to the inner part of a pattern such as a character as an input reference. First converting means for
Second conversion means for converting the distance to the background portion of the pattern to create a second template; and the first and second conversion means.
And a means for synthesizing the first and second templates created by the converting means.

【0007】また、好ましくは、前記の合成する手段に
て合成されることにより作成されたテンプレートの所定
位置を特定する手段と、その手段により特定された前記
所定位置のテンプレート値を修正する手段とさらに設け
ることである。
Further, preferably, means for specifying a predetermined position of the template created by combining by the above-mentioned combining means, and means for correcting the template value at the predetermined position specified by the means It is to further provide.

【0008】また、パターン認識装置では、上記したテ
ンプレート作成装置により作成されたテンプレートを記
憶するテンプレート記憶手段と、そのテンプレート記憶
手段に格納されたテンプレートと、入力された未知の文
字画像等のパターンとを比較し、その一致度を算出する
手段と、その算出手段の出力を受けて所定の判定を行う
判定手段とを備えてなる。
Further, in the pattern recognition device, a template storage means for storing the template created by the template creation device, a template stored in the template storage means, and a pattern such as an input unknown character image And means for calculating the degree of coincidence, and a judgment means for receiving the output of the calculation means and making a predetermined judgment.

【0009】[0009]

【作用】テンプレート作成装置では、基準となるパター
ンに対し第1の変換手段を用いパターンの内部に対して
距離変換をする。これによりパターンの内側には、その
エッジから離れる、すなわち、内側にいくにしたがって
テンプレート値(絶対値)が大きくなるような第1テン
プレートが作成される。また、同様に、第2の変換手段
を用い、背景部分に対して距離変換を行う。これによ
り、パターンのエッジから外側に離れていくにしたがっ
てテンプレート値(絶対値)が大きくなるような第2テ
ンプレートが作成される。そして、合成する手段により
両テンプレートを合成することにより、パターンのエッ
ジ付近はテンプレート値(絶対値)が小さく、内側・外
側に離れるにしたがってテンプレート値が大きくなるテ
ンプレートが作成される。
In the template creating apparatus, the first conversion means is used for the reference pattern and the distance conversion is performed for the inside of the pattern. As a result, the first template is created inside the pattern such that the template value (absolute value) increases away from the edge, that is, toward the inside. Similarly, the second conversion means is used to perform distance conversion on the background portion. As a result, a second template is created in which the template value (absolute value) increases as the distance from the edge of the pattern increases to the outside. Then, by synthesizing the two templates by the synthesizing means, a template value is created in which the template value (absolute value) is small near the edge of the pattern, and the template value increases toward the inner and outer sides.

【0010】一方、パターン認識装置では、このように
して作成されたテンプレートを記憶手段に格納してお
き、読み取った未知の画像データと記憶させたテンプレ
ートとを比較し、その一致度を求める。この時、未知の
画像データのエッジ周縁が、たとえば印刷のぶれ等によ
りにじんだり、欠けたりしていたとしても、基準のパタ
ーンのエッジ周縁のテンプレート値は小さくなっている
ため、係るにじみなどによるパターンのぼやけが、算出
する一致度へ与える影響は少ない。しかし、テンプレー
トのパターンと入力した未知の画像データとがことなる
場合には、本来有るべきパターンの中心部分(テンプレ
ート値(絶対値)が大きい)にパターンがなかったり、
本来背景となるべきところ(テンプレート値(絶対値)
が大きい)にパターンの一部が存在したりするため、係
る場合には、一致度へ与える影響が大きくなり、非常に
小さくなる。これにより、文字の欠けやにじみの度合い
(特にやせや太り方向の深さ)を考慮した判定が行われ
る。
On the other hand, the pattern recognition apparatus stores the template thus created in the storage means, compares the read unknown image data with the stored template, and obtains the degree of coincidence. At this time, even if the edge periphery of the unknown image data is blurred or missing due to, for example, blurring of printing, since the template value of the edge periphery of the reference pattern is small, the pattern due to such blurring or the like is generated. Blur has little effect on the calculated degree of coincidence. However, when the pattern of the template and the input unknown image data are different, there is no pattern in the central part of the original pattern (the template value (absolute value is large)), or
Where it should be the background (template value (absolute value)
However, in this case, the influence on the degree of coincidence becomes large and becomes very small. As a result, the determination is performed in consideration of the degree of missing or bleeding of characters (particularly the depth in the thin or thick direction).

【0011】[0011]

【実施例】以下、本発明に係るテンプレート作成装置及
びパターン認識装置の好適な実施例を添付図面を参照に
して詳述する。図1は本発明に係るテンプレート作成装
置、及びパターン認識装置の一例である文字認識装置の
両者を一体的に構成した装置の一例を示している。まず
ハードウェアの構成について主に説明すると同図に示す
ように、工業用ビデオカメラ等の撮像装置1にて、正対
する文字画像2を撮影し、その文字画像2の濃淡画像を
現すビデオ信号を出力するようになっている。そして、
その出力を2値化回路3に送り、そこにおいて適当なレ
ベルで2値化した後、RAM等で構成される2値画像メ
モリ4に格納するようになっている。なお、本例で用い
られる文字画像2は、ラベル上に印刷された複数の文字
から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a template creating apparatus and a pattern recognition apparatus according to the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 shows an example of an apparatus in which both the template creating apparatus according to the present invention and a character recognition apparatus which is an example of a pattern recognition apparatus are integrally configured. First, the hardware configuration will be mainly described. As shown in the figure, an image pickup device 1 such as an industrial video camera captures a character image 2 which is directly opposed to a video signal representing a grayscale image of the character image 2. It is designed to output. And
The output is sent to a binarization circuit 3, where it is binarized at an appropriate level and then stored in a binary image memory 4 composed of a RAM or the like. The character image 2 used in this example is composed of a plurality of characters printed on the label.

【0012】また、この2値画像メモリ4に格納された
2値画像は、文字認識(検査)するための積和演算回路
5或いは基準パターンとなるテンプレートを作成するた
めのCPU6内のテンプレート作成部(具体的な構成は
後述する)に送られるようになっている。そして、それ
ら両者のうちどちらに向けて出力するかは、現在行って
いる作業の種類により決定される。また、テンプレート
作成部にて作成されたテンプレートは、DRAM等から
構成されるテンプレート用メモリ7に格納されるように
なっている。
Further, the binary image stored in the binary image memory 4 is a product-sum calculation circuit 5 for character recognition (inspection) or a template creating unit in the CPU 6 for creating a template serving as a reference pattern. (Specific configuration will be described later). Which of the two is to be output is determined by the type of work currently being performed. The template created by the template creating unit is stored in the template memory 7 including a DRAM or the like.

【0013】さらに、2値画像メモリ4とテンプレート
用メモリ7は、アドレス演算回路8により求められたア
ドレスにしたがって各格納されたデータをそれぞれ積和
演算回路5に送るようになっている。そして、この積和
演算回路5では、テンプレート用メモリ7に格納された
テンプレートのデータWと、2値画像メモリ4に格納さ
れた未知の入力文字のデータIを受け取り、次式 S=ΣI*W により積和演算を行い積和値Sを算出するようになって
いる。この積和値Sが大きいほど品質が高いものとな
る。そして、この積和値SをCPU6内に送るようにな
っている。
Further, the binary image memory 4 and the template memory 7 are adapted to send the respective stored data to the product-sum calculation circuit 5 in accordance with the address obtained by the address calculation circuit 8. Then, the product-sum operation circuit 5 receives the template data W stored in the template memory 7 and the unknown input character data I stored in the binary image memory 4, and the following formula S = ΣI * W The sum-of-products calculation is performed to calculate the sum-of-products value S. The higher the sum of products S, the higher the quality. Then, the product sum value S is sent to the CPU 6.

【0014】さらに、本例では、検査時に必要なテーブ
ル(具体的な構成は後述する)を格納するワークメモリ
9を有し、さらに、カーソルキー10a,テンキー10
b等の操作装置10並びに表示装置としてのCRT11
を備えている。そして、各回路等は、CPU6からの制
御信号により駆動するようになっている。
Further, in this example, there is provided a work memory 9 for storing a table (a specific configuration will be described later) required for the inspection, and further the cursor key 10a and the ten-key pad 10.
Operation device 10 such as b and CRT 11 as a display device
Is equipped with. Then, each circuit and the like are driven by a control signal from the CPU 6.

【0015】次に、CPU6内のテンプレート作成部に
ついて図2に基づいて説明する。まず前提として、本例
でテンプレートを作成するための基準となる文字画像2
は、上記したごとく複数の文字から構成されており、し
かも、テンプレート作成対象の文字の大きさ(ポイント
数)は等しいものを用いている。そして、図2に示すよ
うに、テンプレート作成部は、撮像装置1を介して撮影
し2値画像メモリ4内に格納した図3に示すような2値
画像を受け取り、文字画像2中の任意の1文字を抽出す
る文字切出部14を備えている。本例では各文字の大き
さが等しいため、この文字切出部14は、カーソルキー
10aを用いて入力した始点(xn ,yn )に基づい
て、自動的に所定の領域(幅w,高さh)を設定し、切
出すようになっている。また、全文字に対し通し番号を
付けるとともに、文字の種類ごとにコードNo.(本例
では、Aを11、Bを12、Cを13…としている)を
割り当てている。そして、その通し番号,コードNo.
とともに、上記始点(「xn,yn 」(nは通し番号と
一致))を関連付けたテーブル(図4参照)を作成し、
それをワークメモリ9に格納するようになっている。
Next, the template creating section in the CPU 6 will be described with reference to FIG. First, as a premise, a character image 2 that serves as a reference for creating a template in this example.
Is composed of a plurality of characters as described above, and the characters of the template creation target have the same size (point number). Then, as shown in FIG. 2, the template creation unit receives the binary image as shown in FIG. 3 captured through the imaging device 1 and stored in the binary image memory 4, and receives an arbitrary image in the character image 2. A character cutout unit 14 for extracting one character is provided. In this example, since the characters have the same size, the character cutout unit 14 automatically determines a predetermined area (width w, height) based on the starting point (xn, yn) input using the cursor key 10a. h) is set and cut out. In addition, serial numbers are assigned to all characters, and code numbers are assigned for each character type. (In this example, A is 11, B is 12, C is 13 ...). Then, the serial number and code No.
At the same time, a table (see FIG. 4) in which the above starting points (“xn, yn” (n is the same as the serial number)) are associated is created,
It is adapted to be stored in the work memory 9.

【0016】一方、文字切出部14により切出された領
域内の画像データが、第1の変換手段たる文字部分テン
プレート作成部15並びに第2の変換手段たる背景部分
テンプレート作成部16にそれぞれ送られるようになっ
ている。そして、文字部分テンプレート作成部15で
は、画像データ(基準文字)を収縮し、次いで、文字部
分(エッジの内部)に対して距離変換(文字のエッジか
らの離反距離が長くなるにつれてテンプレート値を大き
く設定する)を行うようになっている。なお、エッジの
外側、すなわち、背景部分のテンプレート値は0とす
る。このように収縮させた後距離変換を行うため、本来
の基準となる文字(収縮前)のエッジの内側近傍のテン
プレート値も0となる。
On the other hand, the image data in the area cut out by the character cutting section 14 is sent to the character part template creating section 15 which is the first converting means and the background part template creating section 16 which is the second converting means. It is designed to be used. Then, in the character portion template creation unit 15, the image data (reference character) is contracted, and then the distance conversion (the template value is increased as the distance from the edge of the character becomes longer) with respect to the character portion (inside the edge). To set). The template value outside the edge, that is, the background portion is set to 0. Since the distance conversion is performed after contraction in this way, the template value in the vicinity of the inside of the edge of the character (before contraction) that is the original reference becomes 0.

【0017】また、背景部分テンプレート作成部16で
は、画像データ(基準文字)を膨脹し、次いで、背景部
分(エッジの外側)に対して距離変換(文字のエッジか
らの離反距離が長くなるにつれてテンプレート値を大き
く設定する)を行うようになっている。そして、この背
景部分テンプレート作成部16では、さらに求めたテン
プレート値に負号をつけるようにしている。なお、この
作成部16でもエッジの内側、すなわち、文字部分のテ
ンプレート値は0とする。このように膨脹させた後距離
変換を行うため、基準となる本来の文字のエッジの外側
近傍のテンプレート値も0となる。
In the background portion template creating unit 16, the image data (reference character) is expanded, and then the distance conversion is performed with respect to the background portion (outside the edge) (the template is separated as the distance from the edge of the character increases). Set a large value). Then, the background portion template creating unit 16 adds a negative sign to the obtained template value. It should be noted that the template value of the inside of the edge, that is, the character portion is also set to 0 in the creating unit 16. Since the distance conversion is performed after the expansion as described above, the template value near the outside of the edge of the original character that serves as a reference also becomes zero.

【0018】そして、両テンプレート作成部15,16
の出力を合成部17に入力し、そこにおいて与えられた
2つのテンプレートを合成し、基準となる文字のテンプ
レートを作成するようになっている。具体的には両作成
部15,16で作成されたテンプレートを加算処理する
ようになっている。これにより、例えば「C」について
のテンプレートは、図5に示すようになる。そして、本
来の文字のエッジの内外周縁は、0(Don´t Ca
re)となる。すなわち、正のテンプレート値により形
成されるテンプレート上の文字は、本来の文字より一回
り小さくなり、また、背景の境目となる0と−1との境
界は、本来の文字より一回り大きくなる。これにより、
位置ずれに対しての許容量が大きくなる。
Then, both template creating sections 15 and 16
Is output to the synthesizing unit 17, and the two templates given there are synthesized to create a template of a reference character. Specifically, the templates created by both creators 15 and 16 are added. Thereby, for example, the template for "C" becomes as shown in FIG. The inner and outer peripheral edges of the original character edge are 0 (Don't Ca
re). That is, the character on the template formed by the positive template value is slightly smaller than the original character, and the boundary between 0 and -1, which is the boundary between the backgrounds, is slightly larger than the original character. This allows
The permissible amount for positional deviation becomes large.

【0019】さらに本例では、合成部17にリミッタ機
能を設けており、上記得られたテンプレートの各テンプ
レート値の絶対値が所定の値(例えば5)より大きくな
らないようにしている。すなわち、絶対値が6以上のテ
ンプレート値があったなら全て5にする。なお、この所
定の値は任意に設定でき、さらに、本例では合成部17
に設けていたが、上記した各テンプレート作成部15,
16内にそれぞれ設け、文字部分テンプレートと背景部
分テンプレートを作成した時に所定のリミット処理を行
い、各テンプレートを構成するテンプレート値の絶対値
を所定の値以下にするようにしても良い。そして、この
ようにして作成したテンプレートをコードNo.ととも
にテンプレート用メモリ7に格納するようになっている
(図6参照)。
Further, in this example, the synthesizing unit 17 is provided with a limiter function so that the absolute value of each template value of the obtained template does not become larger than a predetermined value (for example, 5). That is, if there is a template value whose absolute value is 6 or more, all are set to 5. It should be noted that this predetermined value can be set arbitrarily, and further, in this example, the synthesizing unit 17
It was provided in the above, but each template creation unit 15 described above,
16 may be provided respectively, and a predetermined limit process may be performed when the character part template and the background part template are created so that the absolute value of the template value forming each template is set to a predetermined value or less. Then, the template created in this way is code No. Along with this, it is stored in the template memory 7 (see FIG. 6).

【0020】さらに、本例ではテンプレート用メモリ7
に格納されたテンプレートを読み出し、自動作成したテ
ンプレートを構成する各テンプレート値の値を大きく或
いは小さく修正するための修正部18を備えている。す
なわち、操作装置10により修正するテンプレートを修
正部18に読み込むとともに、CRT11に表示する。
そして、カーソルキー10aからの入力で修正するテン
プレート値を特定し、次いで、テンキー10bからの入
力で、具体的な修正値を入力するようになっている(図
7参照)。すなわち、本例では、カーソルキー10aが
特定する手段で、テンキー10bが修正する手段を構成
するようになっている。
Further, in this example, the template memory 7 is used.
There is provided a correction unit 18 for reading out the template stored in and correcting the value of each template value forming the automatically created template to be large or small. That is, the template to be corrected by the operation device 10 is read into the correction unit 18 and displayed on the CRT 11.
Then, the template value to be corrected is specified by the input from the cursor key 10a, and then the specific correction value is input by the input from the ten key 10b (see FIG. 7). That is, in this example, the cursor key 10a is a means for specifying, and the ten-key 10b is a means for correcting.

【0021】これにより、例えば「C」と「O」を区別
するためには、Cの右側中間の空白部分があるかないか
が大きなウエートを占めるため、背景部分の当該箇所に
位置するテンプレート値を例えば−4や−5のように大
きな値とすることにより、検出精度の向上を図るように
なっている。
Accordingly, in order to distinguish "C" from "O", for example, the presence or absence of the blank portion on the right side of C occupies a large weight, so that the template value located at the relevant portion of the background portion is determined, for example. The detection accuracy is improved by setting a large value such as -4 or -5.

【0022】また、視点を変えると、「C」を印字した
時に、左側の部分の周縁がにじんだり欠けたりしても
「C」と判別することができるが、開環した右側の先端
部同士がにじんで両者の距離が短くなると、「O」と誤
判別する可能性が高くなる。すなわち、にじみの程度が
同じであったとしても、前者の場合には良品の範囲内に
入るが後者の場合には不良品となるおそれもあり、さら
に、後者の箇所では不良品と判断されるようなにじみの
程度より大きくにじんでいたとしても、そのにじんだ場
所が前者の場合には良品の範囲におさまることがある。
したがって、本例のようにテンプレート値の修正を行う
ことにより良品・不良品をさらに正しく判断することが
できるようになる。
Further, when the viewpoint is changed, it can be discriminated as "C" even if the peripheral portion of the left side portion is bleeded or chipped when "C" is printed. If the distance between the two becomes short due to blurring, there is a high possibility of misidentifying "O". That is, even if the degree of bleeding is the same, in the case of the former, it falls within the range of good products, but in the latter case, it may be a defective product, and in the latter part, it is judged as a defective product. Even if the bleeding is larger than the degree of bleeding, the bleeding spot may fall within the range of non-defective products in the former case.
Therefore, by correcting the template value as in this example, it becomes possible to more correctly determine whether the product is a good product or a defective product.

【0023】なお、本例では、カーソルキー10aによ
りテンプレート値を1個ずつ特定して修正処理を行うよ
うにしたが、例えば、カーソルキー10a或いはマウス
等にて所定のエリアを特定し、そのエリア内に存在する
テンプレート値に所定の係数を掛けたり、或いは所定の
値を加減算したりする等により、複数のテンプレート値
を同時に修正する等種々の手段を採ることができる。
In this example, the template value is specified one by one with the cursor key 10a and the correction process is performed. However, for example, a predetermined area is specified with the cursor key 10a or the mouse, and the area is specified. Various means such as simultaneously correcting a plurality of template values by multiplying a template value existing therein by a predetermined coefficient or adding or subtracting a predetermined value can be adopted.

【0024】そして、上記したテンプレート作成部(装
置)のうち、切出された文字に対するテンプレート作成
の処理フローは、図8のフローチャート図に示すように
なっている。そして、図中ステップ161,162が文
字部分テンプレート作成部15における処理フローで、
図中ステップ163,164が背景部分テンプレート作
成部16における処理フローで、図中ステップ165,
166が合成部17における処理フローである。
The process flow for creating a template for the cut-out character in the template creating unit (apparatus) described above is as shown in the flowchart of FIG. Then, steps 161 and 162 in the figure are a processing flow in the character portion template creating unit 15,
Steps 163 and 164 in the figure are processing flows in the background portion template creation unit 16, and steps 165 and 165 in the figure are shown.
166 is a processing flow in the composition unit 17.

【0025】さらに、このCPU6内には、検査処理を
行うための文字認識装置の一部を構成する判定手段たる
判定部20を備えている。この判定部20は、積和演算
回路5にて算出された積和値Sと、ワークメモリ9内の
テーブルに格納されたしきい値Tn とを受け取るととも
に、両者を比較し、積和値Sがしきい値Tより大きい場
合には、その文字が良品と判断するようになっている。
なお、ワークメモリ9内に格納されたしきい値Tn は、
各文字に対して個々に設定されるが、例えばテンプレー
ト作成後、複数用意した良品と不良品の見本を撮像し、
それに対してそれぞれ上記積和値Sを求め、良品の積和
値と不良品の積和値との境界の値を求めることにより、
設定することができる。
Further, the CPU 6 is provided with a judging section 20 which is a judging means which constitutes a part of the character recognition device for performing the inspection process. The determination unit 20 receives the product sum value S calculated by the product sum operation circuit 5 and the threshold value Tn stored in the table in the work memory 9, compares the two, and calculates the product sum value S Is larger than the threshold value T, the character is judged to be non-defective.
The threshold value Tn stored in the work memory 9 is
Although it is set individually for each character, for example, after creating a template, take a picture of multiple good and bad samples,
On the other hand, the product sum value S is obtained, and the boundary value between the product sum value of good products and the product sum value of defective products is obtained.
Can be set.

【0026】次に、上記した装置を用い、1枚の文字画
像2から複数種の文字のテンプレートを作成するための
作用について図9に基づいて説明すると、基準となる文
字画像2を撮像装置1で撮像するとともに、2値化回路
3を介して2値画像メモリ4に基準となる文字の2値画
像データを格納する(S110)。
Next, the operation for creating a template of a plurality of types of characters from one character image 2 using the above-mentioned device will be described with reference to FIG. At the same time, the binary image data of the reference character is stored in the binary image memory 4 via the binarization circuit 3 (S110).

【0027】次いで、画像データの中の最初(通し番号
n=1)の文字(「C」)に対して、始点(x1 ,y1
)の切出し処理を行う。これにより、通し番号nと、
文字のコードNo.と始点を関連付けたテーブルを作成
し、ワークメモリ9に格納する。なお、通し番号n並び
に文字のコードNo.は、予めわかっているため、実際
には、例えば設定した始点(xn ,yn )を、ワークメ
モリ9内の通し番号nの始点を格納するエリアに記憶さ
せることになる(S120〜S140)。
Next, with respect to the first (serial number n = 1) character ("C") in the image data, the starting point (x1, y1)
) Is cut out. As a result, the serial number n and
Character code No. A table is created by associating the start point with the start point and stored in the work memory 9. The serial number n and the character code No. Since it is known in advance, the set starting point (xn, yn) is actually stored in the area of the work memory 9 for storing the starting point of the serial number n (S120 to S140).

【0028】次いで、その文字が初めての種類(文字コ
ードNo)か否かが判断される(S150)。すなわ
ち、すでにその文字に対してテンプレートを作成してい
るか否かが判断され、テンプレートを作成していない場
合には、その文字に対して所定の処理を施し、テンプレ
ートを作成する(S160)。この作成の具体的な処理
は、図8に示すステップ161〜166のようになって
いる。そして、作成したテンプレートをコードNo.と
ともにテンプレート用メモリ7に格納し(S170)、
処理を行った文字(通し番号)が基準となる文字画像2
に有する文字の最後の番号Nか否かが判断され(S18
0)、Nより小さい場合には、まだ未処理の文字が残っ
ているためステップ130に戻り、次の通し番号の文字
に対する処理を行う。なお、上記ステップ150での判
断ですでに作成済みの文字であると判断されたなら、テ
ンプレートの作成処理は行わずに上記ステップ180に
飛び、「n=N」か否かの判断が行われる。このように
することにより、テンプレート用メモリ7には、文字の
種類の数(本例では6個)に相当するテンプレートが格
納されることになる。そして、必要に応じて修正部18
にて作成したテンプレートのテンプレート値の修正を行
う。
Next, it is determined whether or not the character is the first type (character code No) (S150). That is, it is determined whether or not a template has already been created for that character, and if no template has been created, a predetermined process is performed on that character to create a template (S160). The specific processing of this creation is as in steps 161 to 166 shown in FIG. Then, the created template is code No. It is stored together with the template memory 7 (S170),
Character image 2 with processed characters (serial numbers) as a reference
It is judged whether or not it is the last number N of the characters included in (S18).
If it is smaller than 0) and N, there are still unprocessed characters, so the process returns to step 130 and the process is performed on the next serial number character. If it is determined in step 150 that the character has already been created, the template creation process is not performed and the process jumps to step 180 to determine whether "n = N". .. By doing so, templates corresponding to the number of types of characters (six in this example) are stored in the template memory 7. Then, if necessary, the correction unit 18
Modify the template value of the template created in.

【0029】なお、本例では同一種類の文字は1つのテ
ンプレートを作成し、共用するようにしたが、同一の文
字であっても印字箇所が違えばその都度各文字に対して
所定の処理を行いテンプレートを作成するようにしても
良い。
In this example, one template is created for characters of the same type and the characters are shared. However, even if the characters are the same, predetermined processing is performed for each character if the printing location is different. Alternatively, a template may be created.

【0030】次に、上記のようにして作成したテンプレ
ートを用いて、未知の文字画像に対する検査を行う本発
明に係る文字認識装置の作用について図10に示すフロ
ーチャート図にしたがって説明する。まず、撮像装置1
にて検査対象となる未知の文字画像2を撮像し、適当な
レベルで2値化した後2値化画像メモリ4に格納する
(S201〜203)。
Next, the operation of the character recognition apparatus according to the present invention for inspecting an unknown character image using the template created as described above will be described with reference to the flow chart shown in FIG. First, the imaging device 1
The unknown character image 2 to be inspected is captured, binarized at an appropriate level, and then stored in the binarized image memory 4 (S201 to 203).

【0031】次いで、CPU6を作動させて、積和演算
回路5にリセット信号を送り、前回算出した積和値を零
クリアする。またワークメモリ9にアクセスして通し番
号の小さい順にテーブルを読み取り、そのコードNO.
及び始点(xn ,yn )をアドレス演算回路8に与え
る。そして、アドレス演算回路8にて、与えられたコー
ドNo.で指定された文字のテンプレートをスキャンす
るためのアドレスを求め、そのアドレス信号をテンプレ
ート用メモリ7に出力する。また、それと同時に、与え
られた始点から検査対象の文字部分の領域分をテンプレ
ートに対する場合と同じ方法でスキャンするためのアド
レスを求め、そのアドレス信号を2値画像メモリ4に出
力する。これにより、両メモリ5,7から通し番号1の
文字データから順に同期して積和演算回路5に入力され
る(S204〜207)。
Then, the CPU 6 is operated to send a reset signal to the product-sum calculation circuit 5 to clear the previously calculated product-sum value to zero. Further, the work memory 9 is accessed to read the table in ascending order of the serial number, and the code No.
And the starting point (xn, yn) are given to the address arithmetic circuit 8. Then, in the address arithmetic circuit 8, the given code No. An address for scanning the template of the character designated by is obtained, and the address signal is output to the template memory 7. At the same time, an address for scanning the area of the character portion to be inspected from the given starting point is obtained by the same method as in the case of the template, and the address signal is output to the binary image memory 4. As a result, the character data having the serial number 1 is sequentially input from both memories 5 and 7 to the product-sum calculation circuit 5 (S204 to 207).

【0032】次いで、積和演算回路5にて、入力された
n番目の文字に関する未知の2値画像と距離変換された
テンプレートとのマッチング処理を行う。すなわち、1
または0であらわされる2値画像データとテンプレート
の各テンプレート値のデータとを積和演算し、積和値S
n を算出する。これにより、例えば未知の2値画像デー
タでの文字部分が欠けている場合には、その部分の2値
データは0となるため、その箇所のテンプレート値は加
算されず、また、にじみなどにより本来の文字の部分よ
り食み出して印刷されている場合には、背景部分のマイ
ナスのテンプレート値が加算されてしまう。すなわち、
高品質なものほど算出された積和値が高くなる。なお、
異なる文字が印字されている場合には、2値画像データ
での文字部分とテンプレートの文字部分(正のテンプレ
ート値の部分)との一致度が少なく、また、2値画像デ
ータの文字部分とテンプレートの背景部分(負のテンプ
レート値の部分)との一致度が多くなり、算出された積
和値が非常に小さくなる(S208)。
Next, the product-sum operation circuit 5 performs matching processing between the unknown binary image of the input n-th character and the distance-converted template. Ie 1
Alternatively, the binary image data represented by 0 and the data of each template value of the template are sum-of-products calculated, and the sum-of-products value S
Calculate n. As a result, for example, when the character portion in the unknown binary image data is missing, the binary data in that portion becomes 0, so the template value at that portion is not added, and due to bleeding, etc. When printing is performed by protruding from the character portion of, the negative template value of the background portion is added. That is,
The higher the quality, the higher the calculated sum of products. In addition,
When different characters are printed, the degree of coincidence between the character part of the binary image data and the character part of the template (the part of the positive template value) is low, and the character part of the binary image data and the template The degree of coincidence with the background portion (the portion of the negative template value) increases, and the calculated product sum value becomes extremely small (S208).

【0033】算出した積和値Sn をCPU6内の判定部
20に送り、ここにおいてワークメモリ9のテーブルか
ら読み出して通し番号nにおけるしきい値Tn と比較
し、与えられた積和値Sn しきい値より大きければ良品
と判断し、小さければ不良品と判断する(S209〜2
11)。
The calculated product sum value Sn is sent to the judgment unit 20 in the CPU 6, where it is read out from the table of the work memory 9 and compared with the threshold value Tn at the serial number n to give a given product sum value Sn threshold value. If it is larger, it is judged as a good product, and if it is smaller, it is judged as a defective product (S209-2).
11).

【0034】そして、すべての文字に対して良品・不良
品の判定を行ったか否か(通し番号nが最終値Nか否
か)を判断し(S212)、全文字終了していなければ
ステップ206に戻り、次の文字に対して上記処理を行
う。そして、全ての文字に対する処理が終了したなら、
不良の文字が有ったか否かを判断し、一つでも有った場
合には、その検査対象物は不良品とし、一つもない場合
に良品と判断する(S213〜215)。
Then, it is judged whether or not all characters have been judged to be non-defective or defective (whether the serial number n is the final value N) (S212). Return and perform the above process for the next character. And when the processing for all characters is completed,
It is determined whether or not there is a defective character. If there is even one, the inspection object is a defective product, and if there is no character, it is determined to be a good product (S213 to 215).

【0035】なお、本例では各文字の個々に対する良品
・不良品の発生状況や品質の度合い等のデータを資料と
して抽出するためにステップ209〜211における各
文字に対する良・不良の判断で不良文字と判定されても
次の文字に対する処理を行うようにしたが、単に不良品
を排除するような場合には、そのステップ211で不良
品と判断された時に処理を終了するようにしても良く、
その使用方法は種々のものを用いることができるのはも
ちろんである。
In this example, in order to extract the data such as the generation status of the non-defective product / defective product and the degree of quality for each character as a material, the defective character is judged by the judgment of good / defective for each character in steps 209 to 211. Even if it is determined that the next character is processed, if the defective product is simply excluded, the process may be terminated when the defective product is determined in step 211,
Needless to say, various usage methods can be used.

【0036】なお、上記した実施例では撮像装置1とし
ては、工業用ビデオカメラを用いた例について説明した
が、これに限ることなく例えばイメージスキャナーその
他任意の装置を用いることができる。
In the above-described embodiment, the image pickup apparatus 1 is described as an example using an industrial video camera, but the image pickup apparatus 1 is not limited to this, and an image scanner or any other apparatus can be used.

【0037】また、上記した実施例では、CPU6内に
設けたテンプレート作成部(装置)に基準となる文字画
像データを入力する際に、一旦2値画像メモリ4内に画
像データを格納するようにしたが、これは、一つの画像
データから複数の文字を切出し、各文字に対してテンプ
レートを作成するようにしたためで、例えば一つの文字
を撮像、或いは撮像した複数の文字全体を一つの画像と
してとらえ、1つのテンプレートを作成するような場合
には、切出し作用が不要であるため、直接(2値画像メ
モリに格納することなく)入力するようにしても良い
(係る場合でももちろん格納しても良いが)。また、係
る場合には、基本的には文字切出部14も不要となる
が、後の文字認識(検査)処理時の便宜性から始点
(x,y)を特定した方が良い場合には、設けておいて
も良い。
Further, in the above-described embodiment, when the reference character image data is input to the template creating unit (device) provided in the CPU 6, the image data is temporarily stored in the binary image memory 4. However, this is because a plurality of characters are cut out from one image data and a template is created for each character.For example, one character is imaged, or the entire plurality of imaged characters are treated as one image. If one template is created, the clipping action is not necessary, so it may be input directly (without being stored in the binary image memory) (or in any case, it may be stored as well). Good). Further, in such a case, the character cutting section 14 is basically unnecessary, but in the case where it is better to specify the starting point (x, y) from the convenience of the subsequent character recognition (inspection) processing, , May be provided.

【0038】さらにまた、本発明における対象物として
は、上記した実施例のように文字に限られることはな
く、例えばロゴやその他のマーク等の絵でも良く、一般
的なテンプレートマッチングによるパターン認識装置及
びそのパターン認識をするためのテンプレートを作成す
る装置であれば良いのである。
Furthermore, the object in the present invention is not limited to characters as in the above-mentioned embodiment, but may be pictures such as logos and other marks, and a pattern recognition device by general template matching. And a device for creating a template for pattern recognition thereof.

【0039】さらにまた、上記した実施例では、予め配
置の決まっている文字から構成された文字画像に対する
認識を行う例に付いて説明したが、本発明はこれに限る
ことなく、例えば未知の入力文字画像データ(文字の種
類も不明)に対して予め作成した複数のテンプレートと
マッチング処理をし、その一致度(上記例では積和値)
を求め、文字の種類を判別するような文字認識装置とし
ても使用することができる。そして、上記したごとく、
異なる文字のテンプレートとマッチングさせた時には、
その値は非常に小さくなるため、合否の判断が容易に行
える。
Furthermore, in the above-described embodiment, an example in which a character image composed of characters whose arrangement has been determined in advance is recognized has been described, but the present invention is not limited to this, and for example, unknown input is performed. Matching processing is performed on a plurality of templates created in advance for character image data (character type is also unknown), and the matching degree (sum of products value in the above example)
Can be used as a character recognition device for determining the character type. And, as mentioned above,
When matched with a template of different characters,
Since the value is extremely small, it is possible to easily judge the pass / fail.

【0040】さらに、上記した実施例では、最適な実施
例として、テンプレート作成装置と、文字(パターン)
認識装置とを一体化したものについて説明したが、別途
分離して形成しても良いのはもちろんである。
Further, in the above-described embodiment, the template creating device and the character (pattern) are the most suitable embodiment.
Although the integrated device with the recognition device has been described, it goes without saying that it may be separately formed.

【0041】また、上記した実施例では、各テンプレー
ト作成部15,16で距離変換を行い作成したテンプレ
ート値は、一画素分ごとに1ずつ大きくするようにした
が、このアップ量は任意に設定でき、あるところは2以
上大きく(例えば1から3)することにより急峻な立ち
上がりを設けても良く、或いは逆に同一の数値を連続す
ることにより緩やかな立ち上がりをするようにしても良
く、適宜変更実施が可能である。
Further, in the above-mentioned embodiment, the template value created by performing the distance conversion in each of the template creating sections 15 and 16 is increased by 1 for each pixel, but this increase amount is set arbitrarily. Yes, in some cases, a steep rise may be provided by making it larger by 2 or more (for example, 1 to 3), or conversely, a gentle rise may be made by continuing the same numerical value. It can be implemented.

【0042】さらにまた、合成部17における合成処理
として、上記した実施例では加算処理をするようにした
が、例えば、背景部分テンプレート作成部16で作成し
たテンプレート値に負号を付けることなく合成部17に
入力し、文字部分のテンプレートから背景部分のテンプ
レートを減算するようにしても良く、その他種々の変更
実施が可能である。
Further, as the synthesizing process in the synthesizing unit 17, the adding process is performed in the above-mentioned embodiment. However, for example, the synthesizing unit without adding a negative sign to the template value created by the background part template creating unit 16 The template of the background portion may be subtracted from the template of the character portion by inputting into 17, and various other modifications can be implemented.

【0043】[0043]

【発明の効果】以上のように、本発明に係るテンプレー
ト作成装置及びパターン認識装置では、背景部分のテン
プレート値に対しても距離変換を行い、基準パターンの
エッジから遠くなるほど大きなテンプレート値(絶対
値)としたため、たとえ欠けやにじみ等を有する印字品
質の悪い文字であっても、正確にその文字を判別するこ
とができ、認識率・品質検査精度を向上させることがで
きる。
As described above, in the template creating apparatus and the pattern recognizing apparatus according to the present invention, the distance conversion is performed also on the template value of the background portion, and the larger the template value (absolute value) becomes, the farther from the edge of the reference pattern. Therefore, even if a character having a poor print quality, such as a chip or a bleed, can be accurately discriminated, the recognition rate and the quality inspection accuracy can be improved.

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

【図1】本発明に係るパターン(文字)認識装置並びら
にテンプレート作成装置の好適な一実施例を示すブロッ
ク構成図である。
FIG. 1 is a block diagram showing a preferred embodiment of a pattern (character) recognition device and a template creation device according to the present invention.

【図2】図1に示すCPU内の具体的な構成の一部を示
す図である。
FIG. 2 is a diagram showing a part of a specific configuration in the CPU shown in FIG.

【図3】文字画像を撮像して得られた2値画像の一例を
示す図である。
FIG. 3 is a diagram showing an example of a binary image obtained by capturing a character image.

【図4】ワークメモリに格納するテーブルの一例を示す
図である。
FIG. 4 is a diagram showing an example of a table stored in a work memory.

【図5】本発明のテンプレート作成装置で作成したテン
プレートの一例を示す図である。
FIG. 5 is a diagram showing an example of a template created by the template creating device of the present invention.

【図6】テンプレート用メモリに格納するテンプレート
の状態を示す図である。
FIG. 6 is a diagram showing a state of a template stored in a template memory.

【図7】修正部の機能を説明するフローチャート図であ
る。
FIG. 7 is a flowchart illustrating a function of a correction unit.

【図8】1つのテンプレートを作成する手順を説明する
フローチャート図である。
FIG. 8 is a flowchart illustrating a procedure for creating one template.

【図9】テンプレート作成装置の作用を説明するフロー
チャート図である。
FIG. 9 is a flowchart illustrating the operation of the template creation device.

【図10】文字認識装置の作用を説明するフローチャー
ト図である。
FIG. 10 is a flowchart illustrating the operation of the character recognition device.

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

1 撮像装置 2 文字画像 3 2値化回路 4 2値化メモリ 5 積和演算回路(一致度を求める手段) 6 CPU 7 テンプレート用メモリ(テンプレート記憶手段) 8 アドレス演算回路 9 ワークメモリ 10a カーソルキー(特定する手段) 10b テンキー(修正する手段) 11 CRT 14 文字切出部 15 文字部分テンプレート作成部(第1の変換手段) 16 背景部分テンプレート作成部(第2の変換手段) 17 合成部(合成する手段) 18 修正部(特定する手段・修正する手段) 20 判定部(判定手段) 1 image pickup device 2 character image 3 binarization circuit 4 binarization memory 5 product-sum operation circuit (means for obtaining coincidence) 6 CPU 7 template memory (template storage means) 8 address operation circuit 9 work memory 10a cursor key ( 10b Numeric keypad (correction means) 11 CRT 14 Character cutout part 15 Character part template creation part (first conversion part) 16 Background part template creation part (second conversion part) 17 Composition part (composition) Means) 18 Correction unit (means for specifying / means for correction) 20 Judgment unit (judgment means)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力基準となる文字等のパターンの内側
部分に対して距離変換して第1テンプレートを作成する
第1の変換手段と、 前記パターンの背景部分に対して距離変換して第2テン
プレートを作成する第2の変換手段と、 前記第1,第2の変換手段で作成された第1,第2テン
プレートを合成する手段とを備えたテンプレート作成装
置。
1. A first conversion means for distance-converting an inner portion of a pattern such as a character as an input reference to create a first template; and a distance-converting second portion for a background portion of the pattern. A template creating apparatus comprising: a second converting unit that creates a template; and a unit that combines the first and second templates created by the first and second converting units.
【請求項2】 前記作成したテンプレートの所定位置を
特定する手段と、 その手段により特定された前記所定位置のテンプレート
値を修正する手段とを備えた請求項1に記載のテンプレ
ート作成装置。
2. The template creating apparatus according to claim 1, further comprising: a unit that specifies a predetermined position of the created template, and a unit that corrects a template value of the predetermined position specified by the unit.
【請求項3】 請求項1または2に記載のテンプレート
作成装置により作成されたテンプレートを記憶するテン
プレート記憶手段と、 そのテンプレート記憶手段に格納されたテンプレート
と、入力された未知の文字画像等のパターンとを比較
し、その一致度を算出する手段と、 その算出手段の出力を受けて所定の判定を行う判定手段
とを備えたパターン認識装置。
3. A template storage means for storing a template created by the template creation device according to claim 1, a template stored in the template storage means, and a pattern of an input unknown character image or the like. A pattern recognition device comprising: a means for comparing the calculated values with each other to calculate the degree of coincidence;
JP4171509A 1992-06-08 1992-06-08 Template preparing device and pattern recognizing device Pending JPH05342414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4171509A JPH05342414A (en) 1992-06-08 1992-06-08 Template preparing device and pattern recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4171509A JPH05342414A (en) 1992-06-08 1992-06-08 Template preparing device and pattern recognizing device

Publications (1)

Publication Number Publication Date
JPH05342414A true JPH05342414A (en) 1993-12-24

Family

ID=15924437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4171509A Pending JPH05342414A (en) 1992-06-08 1992-06-08 Template preparing device and pattern recognizing device

Country Status (1)

Country Link
JP (1) JPH05342414A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216470A (en) * 2000-01-31 2001-08-10 Keyence Corp Method and device for pattern matching
JP2006133888A (en) * 2004-11-02 2006-05-25 Namco Ltd Program, information storage medium, and device for determining degree of graphic similarity
JP2007072569A (en) * 2005-09-05 2007-03-22 Namco Bandai Games Inc Program, information recording medium, and freehand drawing similarity judging device
JP2008269572A (en) * 2007-04-23 2008-11-06 Mitsubishi Electric Research Laboratories Inc Method and system for determining posture of object from range image
JP2009211561A (en) * 2008-03-05 2009-09-17 Ntt Comware Corp Depth data generator and depth data generation method, and program thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216470A (en) * 2000-01-31 2001-08-10 Keyence Corp Method and device for pattern matching
JP2006133888A (en) * 2004-11-02 2006-05-25 Namco Ltd Program, information storage medium, and device for determining degree of graphic similarity
JP2007072569A (en) * 2005-09-05 2007-03-22 Namco Bandai Games Inc Program, information recording medium, and freehand drawing similarity judging device
JP4598631B2 (en) * 2005-09-05 2010-12-15 株式会社バンダイナムコゲームス Program, information storage medium, and handwritten drawing similarity determination device
JP2008269572A (en) * 2007-04-23 2008-11-06 Mitsubishi Electric Research Laboratories Inc Method and system for determining posture of object from range image
JP2009211561A (en) * 2008-03-05 2009-09-17 Ntt Comware Corp Depth data generator and depth data generation method, and program thereof

Similar Documents

Publication Publication Date Title
US6778703B1 (en) Form recognition using reference areas
CN113160161B (en) Method and device for detecting defects at edge of target
JP2001266068A (en) Method and device for recognizing table, character- recognizing device, and storage medium for recording table recognizing program
JP2000163579A (en) Appearance inspection method and device
JPH05342414A (en) Template preparing device and pattern recognizing device
JPH1125222A (en) Method and device for segmenting character
JPH08122267A (en) Mark recognizing device and mark recognizing method
JP3046653B2 (en) How to correct the inclination of text documents
JPS60116076A (en) Extracting circuit of picture
JP3074691B2 (en) Character recognition device
JP2805476B2 (en) Character recognition method
JPH07192134A (en) Image processing method
JP3606218B2 (en) Document classification device, character reading device, authenticity determination device, and methods thereof
JP3157860B2 (en) How to extract figure area of manuscript
JP3046654B2 (en) Detecting inclination of text originals
JP3046656B2 (en) How to correct the inclination of text documents
JP3330769B2 (en) Pattern recognition device
JP2923004B2 (en) Image generation device
JP2024046905A (en) Mark detection method and computer program
CN117670851A (en) Method, device, equipment, storage medium and program product for detecting silk screen defect
JPH08147414A (en) Character string reader
JP3349243B2 (en) String reader
JPH06215181A (en) Character/character string segmenting method and character recognizing device
JP2964684B2 (en) Character data collection method for character reading
JPH0425987A (en) Character recognizing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010703