JP2000306042A - Device and method for recognizing character - Google Patents

Device and method for recognizing character

Info

Publication number
JP2000306042A
JP2000306042A JP11110979A JP11097999A JP2000306042A JP 2000306042 A JP2000306042 A JP 2000306042A JP 11110979 A JP11110979 A JP 11110979A JP 11097999 A JP11097999 A JP 11097999A JP 2000306042 A JP2000306042 A JP 2000306042A
Authority
JP
Japan
Prior art keywords
template
reduced
matching
character recognition
standard
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
JP11110979A
Other languages
Japanese (ja)
Inventor
Hiroshi Kurakane
博 倉金
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP11110979A priority Critical patent/JP2000306042A/en
Publication of JP2000306042A publication Critical patent/JP2000306042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a device for recognizing character in which a template storage area is decreased, matching processing time is reduced and a special matching mechanism is unnecessitated and to provide a method therefor. SOLUTION: This device is provided with a template storage part 15 for storing a reduced template obtained by reducing a standard template, a restoration information storage part 16 for storing restoration information for restoring the reduced template to the standard template, an input pattern reducing part 21, a standard template restoring part 22 and a matching processing part 23 for matching the reduced pattern and the reduced template and matching the input pattern and the standard template later. Since the standard template is restored on the basis of the restoration information for restoring the reduced template to the standard template, data can be compressed and the template storage area can be decreased. Further, since matching is performed while using the reduced template, matching processing time can be reduced.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字認識装置とそ
の文字認識方法に関し、特にテンプレートマッチング手
法で文字認識を行う場合に好適な文字認識装置とその文
字認識方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device and a character recognition method thereof, and more particularly to a character recognition device and a character recognition method suitable for performing character recognition by a template matching method.

【0002】[0002]

【従来の技術】従来からの文字認識手法としてテンプレ
ートマッチング手法がある。このテンプレートマッチン
グ手法は、文字認識対象となる入力パタンと予め登録し
てあるテンプレートとを順次重ね合わせて、最も一致す
るテンプレートを求め、イメージデータから文字キャラ
クタデータに変換する方法である。
2. Description of the Related Art As a conventional character recognition method, there is a template matching method. This template matching method is a method in which an input pattern to be subjected to character recognition and a pre-registered template are sequentially superimposed to obtain the most matching template, and the image data is converted into character character data.

【0003】上記の文字認識に関する従来例としては、
例えば特開昭60−225986号公報に記載の技術が
提案されている。同公報は、入力文字の大局的特徴から
簡易な文字を高速処理し、英数字等のデータエントリの
場合、漢字まじり日本語入力の場合にも高速に伝票処理
することを目的としたものであり、入力文字パターンの
複雑さなどの入力文字の大局的特徴を抽出する手段と、
この手段によって得られた値によって入力文字パターン
の大きさを正規化する手段と、前記手段によって得られ
る正規化パターンを使用して、識別処理をすることを特
徴とする文字認識装置が開示されている。
[0003] As a conventional example of the above character recognition,
For example, a technique described in Japanese Patent Application Laid-Open No. Sho 60-225986 has been proposed. This gazette aims to process simple characters at high speed based on the global characteristics of input characters, and to process slips at high speed in the case of data entry such as alphanumeric characters and in the case of kanji mixed Japanese input. Means for extracting global features of the input character, such as the complexity of the input character pattern,
There is disclosed a character recognition device characterized by means for normalizing the size of an input character pattern by a value obtained by this means, and performing identification processing using the normalized pattern obtained by said means. I have.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来例においては次のような問題点があった。
However, the above-described prior art has the following problems.

【0005】従来例における、認識対象となる入力パタ
ンと予め登録してあるテンプレートとを順次重ね合わせ
て最も一致するテンプレートを求める手法では、認識し
たい文字種が増加するに従い、登録しなければならない
テンプレートが増加するため、文字種の増加によってテ
ンプレートを格納しておく領域が増加する問題があっ
た。また、テンプレートとの重ね合わせを順次行うため
に、テンプレート増加に伴い処理時間も増加することに
なる問題があった。
[0005] In the conventional method of sequentially overlapping an input pattern to be recognized and a pre-registered template to obtain a template with the best match, the template that must be registered increases as the number of character types to be recognized increases. Therefore, there is a problem that an area for storing a template increases due to an increase in the number of character types. Further, since the superposition with the template is sequentially performed, there is a problem that the processing time increases with an increase in the template.

【0006】本発明の目的は、テンプレート格納領域の
削減及びマッチング処理時間の低減を図ると共に特殊な
マッチング機構を不要とした文字認識装置及び文字認識
方法を提供するものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character recognition device and a character recognition method which reduce the template storage area and the matching processing time, and which do not require a special matching mechanism.

【0007】[0007]

【課題を解決するための手段】本発明は、テンプレート
マッチングに基づき文字認識を行う文字認識装置におい
て、標準テンプレートを縮小した縮小テンプレートを格
納する縮小テンプレート格納手段と、認識対象となる入
力パタンから縮小パタンを作成する縮小手段と、該縮小
手段で作成した前記縮小パタンと前記縮小テンプレート
とのマッチングを行った後、前記入力パタンと前記標準
テンプレートとのマッチングを行うマッチング処理手段
とを具備することを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a character recognition apparatus for performing character recognition based on template matching, wherein a reduced template storage means for storing a reduced template obtained by reducing a standard template, and a reduced input pattern to be recognized. A reducing unit that creates a pattern, and a matching processing unit that performs matching between the reduced pattern created by the reducing unit and the reduced template, and then performs matching between the input pattern and the standard template. Features.

【0008】また、本発明は、テンプレートマッチング
に基づき文字認識を行う文字認識方法において、前記文
字認識の対象画像から文字毎の切り出し及び大きさの正
規化を行い、前記切り出し及び正規化が行われたパタン
に基づき縮小パタンを作成し、最初に前記縮小パタンと
標準テンプレートを縮小した縮小テンプレートとのマッ
チングを行い、次に前記切り出し及び正規化が行われた
パタンと前記標準テンプレートとのマッチングを行うこ
とを特徴とする。
The present invention also relates to a character recognition method for performing character recognition based on template matching, wherein a character is cut out and a size of each character is normalized from an image to be subjected to the character recognition, and the cut and normalization are performed. A reduced pattern is created based on the reduced pattern, the matching between the reduced pattern and a reduced template obtained by reducing the standard template is performed first, and then the matching between the cut-out and normalized pattern and the standard template is performed. It is characterized by the following.

【0009】また、本発明の文字認識装置は、図2を参
照しつつ説明すれば、テンプレートマッチングに基づき
文字認識を行う文字認識装置において、標準テンプレー
トを縮小した縮小テンプレートを格納する縮小テンプレ
ート格納手段(図2の15)と、文字認識対象となる入
力パタンから縮小パタンを作成する縮小手段(図2の2
1)と、該縮小手段で作成した前記縮小パタンと前記縮
小テンプレートとのマッチングを行った後、前記入力パ
タンと前記標準テンプレートとのマッチングを行うマッ
チング処理手段(図2の23)とを具備している。
A character recognition apparatus according to the present invention, which will be described with reference to FIG. 2, is a character recognition apparatus for performing character recognition based on template matching. The reduced template storage means stores a reduced template obtained by reducing a standard template. (15 in FIG. 2) and reduction means (2 in FIG. 2) for generating a reduction pattern from an input pattern to be subjected to character recognition.
1) and matching processing means (23 in FIG. 2) for matching the reduced pattern created by the reducing means with the reduced template and then matching the input pattern with the standard template. ing.

【0010】[作用]本発明の文字認識装置は、標準テ
ンプレートを縮小した縮小テンプレートを格納すると共
に、縮小テンプレートを標準テンプレートに復元するた
めの復元情報に基づき標準テンプレートを復元するよう
にしている。このため、データ圧縮を実現することがで
き、テンプレート記憶領域を削減することができる。ま
た、縮小テンプレートを用いてマッチングを行うように
している。このため、マッチング処理時間を低減するこ
とができる。また、縮小テンプレートと復元情報から標
準テンプレートを復元してマッチングを行うようにして
いる。このため、認識性能を低下させずに効果を上げる
ことができる。
[Operation] The character recognition apparatus of the present invention stores a reduced template obtained by reducing the standard template, and restores the standard template based on restoration information for restoring the reduced template to the standard template. For this reason, data compression can be realized, and the template storage area can be reduced. Further, matching is performed using a reduced template. For this reason, the matching processing time can be reduced. Further, the standard template is restored from the reduced template and the restoration information to perform matching. Therefore, the effect can be improved without lowering the recognition performance.

【0011】[0011]

【発明の実施の形態】[第1実施形態]次に、本発明の
第1実施形態について図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment Next, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0012】(1)構成の説明 図1は本発明の第1実施形態の文字認識装置の全体構成
例を示すブロック図である。図1において、本発明の第
1実施形態の文字認識装置は、スキャナ部11、前処理
部12、マッチング部13、判定部14、テンプレート
格納部15、復元情報格納部16を具備している。
(1) Description of Configuration FIG. 1 is a block diagram showing an overall configuration example of a character recognition device according to a first embodiment of the present invention. 1, the character recognition apparatus according to the first embodiment of the present invention includes a scanner unit 11, a preprocessing unit 12, a matching unit 13, a determination unit 14, a template storage unit 15, and a restoration information storage unit 16.

【0013】上記構成を詳述すると、スキャナ部11
は、原稿から文字認識対象画像を光電変換素子等でイメ
ージデータとして読み取り、前処理部12へ出力する。
前処理部12は、文字認識対象画像に対し文字毎の切り
出し及び大きさの正規化を行い前処理結果をマッチング
部13へ出力する。マッチング部13は、前処理結果に
対し後述するようなマッチング処理を行う。判定部14
は、マッチング処理に基づき文字認識を行い認識結果を
出力する。テンプレート格納部15は、縮小テンプレー
トを格納している。復元情報格納部16は、復元情報を
格納している。
The above configuration will be described in detail.
Reads a character recognition target image from a document as image data using a photoelectric conversion element or the like, and outputs the image data to the preprocessing unit 12.
The preprocessing unit 12 cuts out the character recognition target image for each character and normalizes the size, and outputs a preprocessing result to the matching unit 13. The matching unit 13 performs a matching process as described later on the preprocessing result. Judgment unit 14
Performs character recognition based on a matching process and outputs a recognition result. The template storage unit 15 stores a reduced template. The restoration information storage unit 16 stores restoration information.

【0014】上記構成において、スキャナ部11から入
力された認識対象画像は、前処理部12で文字毎の切り
出し及び大きさの正規化が行われた後、マッチング部1
3でマッチング処理が行われ、判定部14で認識結果が
出力される。
In the above configuration, the recognition target image input from the scanner unit 11 is cut out for each character by the pre-processing unit 12 and the size is normalized, and then the matching unit 1
3, a matching process is performed, and the determination unit 14 outputs a recognition result.

【0015】図2は上記図1に示した本発明の第1実施
形態の文字認識装置のマッチング部13を中心とした詳
細構成例を示すブロック図である。図2において、本発
明の第1実施形態の文字認識装置のマッチング部13
は、入力パタン縮小部21、標準テンプレート復元部2
2、マッチング処理部23、大分類結果格納部24を具
備している。
FIG. 2 is a block diagram showing a detailed configuration example centering on the matching unit 13 of the character recognition device according to the first embodiment of the present invention shown in FIG. In FIG. 2, the matching unit 13 of the character recognition device according to the first embodiment of the present invention
Are the input pattern reduction unit 21 and the standard template restoration unit 2
2, a matching processing unit 23 and a large classification result storage unit 24 are provided.

【0016】上記構成を詳述すると、入力パタン縮小部
21は、前処理部12から入力される正規化されたパタ
ンから縮小パタンを作成する。標準テンプレート復元部
22は、テンプレート格納部15から入力した縮小テン
プレート42と復元情報格納部16から入力した復元情
報43から標準テンプレートを作成する。
More specifically, the input pattern reduction section 21 creates a reduced pattern from the normalized pattern input from the preprocessing section 12. The standard template restoring unit 22 creates a standard template from the reduced template 42 input from the template storage unit 15 and the restoration information 43 input from the restoration information storage unit 16.

【0017】マッチング処理部23は、入力パタン縮小
部21から入力した縮小パタンとテンプレート格納部1
5から入力した縮小テンプレート42とのマッチング、
或いは、前処理部12から入力した入力パタンと標準テ
ンプレート復元部22から入力した標準テンプレートと
のマッチング処理を行う。前者の縮小テンプレートとの
マッチング処理を大分類マッチング処理、後者の標準テ
ンプレートとのマッチング処理を詳細マッチング処理と
称する。
The matching processing unit 23 stores the reduced pattern input from the input pattern reducing unit 21 and the template storage unit 1.
5, matching with the reduced template 42 input from
Alternatively, matching processing between the input pattern input from the preprocessing unit 12 and the standard template input from the standard template restoring unit 22 is performed. The former matching process with a reduced template is called a large classification matching process, and the latter matching process with a standard template is called a detailed matching process.

【0018】大分類結果格納部24は、大分類マッチン
グ処理の結果を一時格納するバッファで、詳細マッチン
グ処理時は処理対象テンプレートを選択するための情報
をマッチング処理部23に与える。尚、図2では大分類
マッチング処理の流れを実線で示すと共に、詳細マッチ
ング処理の流れを破線で示している。
The large classification result storage section 24 is a buffer for temporarily storing the result of the large classification matching processing, and provides information for selecting a processing target template to the matching processing section 23 during the detailed matching processing. In FIG. 2, the flow of the large classification matching process is indicated by a solid line, and the flow of the detailed matching process is indicated by a broken line.

【0019】上記マッチング部13の機能を更に詳述す
ると、認識対象となる一文字分の画像が、2n×2nの
一定の大きさに正規化された二値画像として、前処理部
12からマッチング部13へ入力される。マッチング部
13の入力パタン縮小部21は、前処理部12から入力
される大きさ2n×2nの二値画像である入力パタンに
対して線形に1/4倍縮小処理を行い、大きさn×nの
二値画像である縮小パタンを作成する。縮小方法として
例えば、入力パタンの大きさ2×2の領域の4画素中
に、黒画素が2個以上ある時に縮小パタンの画素を黒
に、黒画素が2個未満の時に縮小パタンの画素を白にす
ればよい。
The function of the matching unit 13 will be described in further detail. An image for one character to be recognized is converted from a preprocessing unit 12 into a binary image normalized to a fixed size of 2n × 2n. 13 is input. The input pattern reduction unit 21 of the matching unit 13 performs linear 1/4 reduction processing on an input pattern, which is a binary image having a size of 2n × 2n, input from the preprocessing unit 12, and has a size of n × A reduced pattern which is a binary image of n is created. As a reduction method, for example, when there are two or more black pixels in four pixels of a 2 × 2 area of the input pattern, the pixels of the reduction pattern are set to black, and when the number of black pixels is less than two, the pixels of the reduction pattern are set to black. All you have to do is white.

【0020】標準テンプレート復元部22は、テンプレ
ート格納部15から入力されるそれぞれ大きさn×nの
二値画像である黒縮小テンプレートと白縮小テンプレー
ト42、及び復元情報格納部16から入力される5×n
×nビットからなる復元情報43からそれぞれ大きさ2
n×2nの二値画像である黒標準テンプレートと白標準
テンプレートを作成する。標準テンプレート復元部の詳
細な構成及び復元方法については後述する。
The standard template restoring unit 22 receives a black reduced template and a white reduced template 42, each of which is a binary image of size n × n, input from the template storage unit 15, and 5 input from the restoration information storage unit 16. × n
× 2 bits from restoration information 43 consisting of n bits
A black standard template and a white standard template, which are nx2n binary images, are created. The detailed configuration and the restoring method of the standard template restoring unit will be described later.

【0021】マッチング処理部23は、入力画像と黒テ
ンプレート及び白テンプレートとのマッチング処理を行
う。黒テンプレートは入力画像に黒を期待する画素を示
し、白テンプレートは入力画像に白を期待する画素を示
しており、マッチング処理結果はこれらの期待との不一
致の計数結果である。マッチング処理部23は、上記の
ように2通りのマッチング処理を行う。1つ目は、入力
パタン縮小部21で作成された縮小パタンとテンプレー
ト格納部15から入力される黒縮小テンプレート及び白
縮小テンプレートとの大分類マッチング処理であり、2
つ目は、前処理部12から入力される入力パタンと標準
テンプレート復元部22で作成された黒標準テンプレー
ト及び白標準テンプレートとの詳細マッチング処理であ
る。
The matching processing section 23 performs a matching process between the input image and the black and white templates. The black template indicates pixels that expect black in the input image, the white template indicates pixels that expect white in the input image, and the result of the matching process is the result of counting mismatches with these expectations. The matching processing unit 23 performs two types of matching processing as described above. The first is a large classification matching process between the reduced pattern created by the input pattern reducing unit 21 and the black reduced template and the white reduced template input from the template storage unit 15.
The third is a detailed matching process between the input pattern input from the preprocessing unit 12 and the black standard template and the white standard template created by the standard template restoring unit 22.

【0022】詳細マッチング処理は大きさ2n×2nで
行われるのに対して、大分類マッチング処理は大きさn
×nで行われる。大分類マッチング処理は、テンプレー
ト格納部15に予め格納されている全テンプレートと順
次マッチング処理を行い、マッチング結果が上位のテン
プレートのIDを大分類結果格納部24に出力する。詳
細マッチング処理は、大分類結果格納部24に格納され
ているテンプレートIDにより選択されたテンプレート
とだけ順次マッチング処理を行い、結果を判定部14に
出力する。
The detailed matching process is performed with a size of 2n × 2n, while the large classification matching process is performed with a size of n.
× n. The large classification matching process sequentially performs a matching process with all templates stored in the template storage unit 15 in advance, and outputs the ID of the template with a higher matching result to the large classification result storage unit 24. The detailed matching process sequentially performs the matching process only on the template selected by the template ID stored in the large classification result storage unit 24, and outputs the result to the determination unit 14.

【0023】図3は本発明の第1実施形態における標準
テンプレートの特徴を示す図である。各標準テンプレー
トは、黒テンプレート31と白テンプレート32を一組
として構成されている。黒テンプレート31は、黒であ
ることが期待される画素を示し、白テンプレート32
は、白であることが期待される画素を示している。マッ
チング処理として不一致画素数を計数してその小さいも
のを認識結果として出力することにすれば、標準テンプ
レートのある1画素の{黒テンプレート値,白テンプレ
ート値}は{0,0}、{0,1}、{1,0}の3状
態があれば良く、{1,1}という状態は必要ない。
FIG. 3 is a diagram showing features of the standard template according to the first embodiment of the present invention. Each standard template is configured as a set of a black template 31 and a white template 32. A black template 31 indicates a pixel expected to be black, and a white template 32
Indicates a pixel expected to be white. If the number of mismatched pixels is counted as a matching process and the smaller one is output as a recognition result, the {black template value, white template value} of one pixel having the standard template is {0, 0}, {0, There are only three states of {1} and {1,0}, and the state of {1,1} is not required.

【0024】黒標準テンプレート31は、黒であること
が期待される画素に‘1’がセットされ、白標準テンプ
レート32は、白であることが期待される画素に‘1’
がセットされる。図3では‘1’がセットされた画素を
黒で表している。マッチング処理として不一致画素数を
計数してその小さいものを認識結果として出力すること
にしているので、即ち、黒であることが期待される画素
の入力が白だった場合と、白であることが期待される画
素の入力が黒だった場合を不一致として評価することに
しているので、標準テンプレートのある1画素の{黒標
準テンプレート値,白標準テンプレート値}には、入力
が黒でも白でも不一致として計数してしまう{1,1}
という状態は必要ない。
In the black standard template 31, "1" is set to a pixel expected to be black, and in the white standard template 32, "1" is set to a pixel expected to be white.
Is set. In FIG. 3, the pixels to which '1' is set are shown in black. Since the number of mismatched pixels is counted as a matching process and the smaller one is output as a recognition result, that is, when the input of a pixel expected to be black is white and when the input of a pixel expected to be black is white Since the case where the input of the expected pixel is black is evaluated as a mismatch, the {black standard template value, white standard template value} of one pixel having the standard template does not match whether the input is black or white. {1,1}
It is not necessary.

【0025】図4は本発明の第1実施形態における縮小
・復元の特徴を示す図である。縮小は、縦・横をそれぞ
れ1/2に縮小する。即ち、標準画像41の隣接する2
×2の4画素が縮小画像42の1画素に対応する。この
縮小方法によれば大まかな二次元的な特徴を保っている
ので、縮小画像同士のマッチング処理が高速かつ容易に
実現できる。
FIG. 4 is a diagram showing characteristics of reduction and restoration in the first embodiment of the present invention. In the reduction, each of the vertical and horizontal directions is reduced to 1 /. That is, the adjacent 2 of the standard image 41
Four pixels of × 2 correspond to one pixel of the reduced image 42. According to this reduction method, rough two-dimensional characteristics are maintained, so that matching processing between reduced images can be realized at high speed and easily.

【0026】復元情報43は、縮小テンプレート42を
標準テンプレート41に復元するために必要なデータで
ある。前述の標準テンプレート41の特徴を考慮すれ
ば、2×2の4画素の標準テンプレート41を復元する
ためには、1画素の縮小テンプレート42と5ビットの
復元情報43があれば良い。即ち、黒テンプレートと白
テンプレート合わせて8ビットの標準テンプレート41
を復元するために、2ビットの縮小テンプレート42と
5ビットの復元情報43の計7ビットあれば十分であ
る。これによって、テンプレート格納領域と復元情報格
納領域を合わせた格納領域を標準テンプレート41を格
納する場合と比較して7/8に削減することができる。
The restoration information 43 is data necessary for restoring the reduced template 42 to the standard template 41. Considering the features of the standard template 41 described above, in order to restore the standard template 41 of 2 × 2 pixels, it is only necessary to have a reduced template 42 of one pixel and restoration information 43 of 5 bits. That is, the standard template 41 of 8 bits including the black template and the white template
In order to restore the data, a total of 7 bits of the 2-bit reduced template 42 and the 5-bit restoration information 43 is sufficient. As a result, the storage area obtained by combining the template storage area and the restoration information storage area can be reduced to 7/8 as compared with the case where the standard template 41 is stored.

【0027】縮小は入力パタン縮小部21の縮小方法の
例で示した方法と同じである。即ち、それぞれ大きさ2
n×2nの二値画像である黒標準テンプレートと白標準
テンプレートを線形に1/4倍縮小し、それぞれ大きさ
n×nの二値画像である黒縮小テンプレートと白縮小テ
ンプレートとする。具体的には例えば、標準パタン41
の大きさ2×2の領域の4画素中に、黒画素が2個以上
ある時に縮小テンプレート42の画素を黒に、黒画素が
2個未満の時に縮小テンプレート42の画素を白にす
る。復元は黒と白の各1画素分の縮小テンプレート2ビ
ットと5ビットの復元情報43のみから黒と白の各4画
素分の標準パタン8ビットを復元する。
The reduction is the same as the method shown in the example of the reduction method of the input pattern reduction unit 21. That is, each size 2
The black standard template and the white standard template, which are n × 2n binary images, are linearly reduced by a factor of 4 to obtain a black reduced template and a white reduced template that are binary images of size n × n. Specifically, for example, the standard pattern 41
The pixel of the reduced template 42 is set to black when there are two or more black pixels in the four pixels of the 2 × 2 area, and the pixel of the reduced template 42 is set to white when there are less than two black pixels. The restoration is performed by restoring the standard pattern of 8 bits of each of 4 pixels of black and white from only the 2 bits of the reduced template of 1 pixel of each of black and white and the restoration information 43 of 5 bits.

【0028】図5は本発明の第1実施形態における復元
情報の作成例を示す図である。前述した標準テンプレー
トの特徴から、標準テンプレートの隣接する4画素の状
態は計7ビットであり、表に示した計81通りしかあり
得ない。従って、この81通りの状態を識別できればよ
いことになる。縮小テンプレートの状態で分類すると、
縮小テンプレート1画素の状態{黒縮小テンプレート,
白縮小テンプレート}が{0,0}{0,1}{1,
0}{1,1}の時、それぞれ21通り、27通り、2
7通り、6通りである。このそれぞれを復元情報によっ
て判別できれば良いので、復元情報として5ビット用意
すれば十分であり、例えば図5に示したように順にカウ
ントアップするデータを復元情報とすれば良い。なお、
このように復元情報を作成すれば、どんな作成方法を取
っても構わない。
FIG. 5 is a diagram showing an example of creating restoration information in the first embodiment of the present invention. From the characteristics of the standard template described above, the state of the adjacent four pixels of the standard template is 7 bits in total, and there are only 81 possible states shown in the table. Therefore, it is only necessary to be able to identify these 81 states. When classified by the state of the reduced template,
State of one pixel of reduced template {black reduced template,
White reduction template} is {0,0} {0,1} {1,
When 0 {1,1}, 21 ways, 27 ways, 2 ways respectively
There are 7 ways and 6 ways. Since it is sufficient that each of these can be determined by the restoration information, it is sufficient to prepare 5 bits as the restoration information. For example, data that sequentially counts up as shown in FIG. 5 may be used as the restoration information. In addition,
If the restoration information is created in this way, any creation method may be used.

【0029】(2)動作の説明 次に、本発明の第1実施形態の動作について図2、図6
〜図7を参照して詳細に説明する。
(2) Description of Operation Next, the operation of the first embodiment of the present invention will be described with reference to FIGS.
This will be described in detail with reference to FIGS.

【0030】図6は本発明の第1実施形態の文字認識装
置のマッチング部13の動作の流れを示す図である。マ
ッチング部13は最初に大分類マッチング処理51を行
う。大分類マッチング処理51ではテンプレート格納部
15から縮小テンプレート42を順に入力し、入力パタ
ン縮小部21で作成された縮小パタンとマッチングを行
う。図6に示した例では、テンプレート格納部15から
パタンIDが‘0’‘1’‘2’・・・‘N’のN個の
縮小テンプレートを入力し(52)順に大分類マッチン
グ処理51を行っている。
FIG. 6 is a diagram showing a flow of the operation of the matching unit 13 of the character recognition device according to the first embodiment of the present invention. The matching unit 13 first performs a large classification matching process 51. In the large classification matching process 51, the reduced templates 42 are sequentially input from the template storage unit 15, and matching is performed with the reduced patterns created by the input pattern reducing unit 21. In the example shown in FIG. 6, N reduced templates with pattern IDs of “0”, “1”, 2 ”...“ N ”are input from the template storage unit 15, and the large classification matching process 51 is performed in the order of (52). Is going.

【0031】全縮小テンプレートとのマッチングが終了
すると、結果即ち大分類マッチング結果として上位のテ
ンプレートIDが大分類結果格納部24へ出力される。
図6に示した例では、‘A’‘B’‘C’の3個のテン
プレートIDが出力されている(53)。
When the matching with all the reduced templates is completed, the upper template ID is output to the large classification result storage unit 24 as a result, that is, a large classification matching result.
In the example shown in FIG. 6, three template IDs “A”, “B”, and “C” are output (53).

【0032】次にマッチング部13は詳細マッチング処
理54を行う。詳細マッチング処理54では大分類結果
格納部24から順にテンプレートIDを入力し、そのテ
ンプレートIDに対応する縮小テンプレート42と復元
情報43をテンプレート格納部15と復元情報格納部1
6から入力して標準テンプレート41に復元しながら、
入力パタンとマッチングを行う。図6に示した例では、
大分類結果格納部24からまずテンプレートID‘A’
が入力され(55)、それに従ってテンプレート格納部
15及び復元情報格納部16からテンプレートID
‘A’の縮小テンプレート42と復元情報43が入力さ
れて(56)、標準テンプレート41に復元されながら
マッチングが行われている。
Next, the matching section 13 performs a detailed matching process 54. In the detailed matching process 54, template IDs are sequentially input from the large classification result storage unit 24, and the reduced template 42 and the restoration information 43 corresponding to the template ID are stored in the template storage unit 15 and the restoration information storage unit 1.
While inputting from 6 and restoring to the standard template 41,
Performs matching with the input pattern. In the example shown in FIG.
First, the template ID “A” from the large classification result storage unit 24
Is input (55), and the template ID is read from the template storage unit 15 and the restoration information storage unit 16 accordingly.
The reduced template 42 of 'A' and the restoration information 43 are input (56), and matching is performed while being restored to the standard template 41.

【0033】テンプレートID‘A’の詳細マッチング
処理が終了すると、テンプレートID‘B’‘C’と、
計3個のテンプレートに対して詳細マッチング処理が行
われている。本第1実施形態では、大分類結果格納部2
4へ格納するIDを3個として説明したがこの個数に制
限はない。
When the detailed matching processing of the template ID 'A' is completed, the template ID 'B'C'
Detailed matching processing is performed on a total of three templates. In the first embodiment, the large classification result storage unit 2
Although the description has been made on the assumption that the number of IDs stored in 4 is three, the number is not limited.

【0034】図7は本発明の第1実施形態の縮小テンプ
レートが標準テンプレートの二次元的な特徴を保ってい
る例を示す説明図である。縮小テンプレートが標準テン
プレートの二次元的な特徴を保っているので、詳細マッ
チング処理と同じ方法でマッチング処理ができるため、
大分類マッチング処理のための特殊なマッチング機構が
不要となる。
FIG. 7 is an explanatory diagram showing an example in which the reduced template according to the first embodiment of the present invention retains the two-dimensional characteristics of the standard template. Since the reduced template retains the two-dimensional characteristics of the standard template, matching processing can be performed in the same manner as detailed matching processing.
A special matching mechanism for the large classification matching process is not required.

【0035】本発明の第1実施形態によれば、標準テン
プレート41を縮小して縮小テンプレート42を格納し
ているため、テンプレート格納領域を削減することがで
きる。図4に示したように、標準テンプレート41を復
元するための復元情報43を加えても全体を7/8に削
減することができる。また、高速に実行できる大分類マ
ッチング処理51の結果を元に詳細マッチング処理54
を行うテンプレートを限定しているため、マッチング部
13の処理時間を低減することができる。また、縮小テ
ンプレート42が標準テンプレート41の二次元的な特
徴を保っているので、詳細マッチング処理と同じ方法で
マッチング処理できるため、大分類マッチング処理のた
めの特殊なマッチング機構が不要となる。
According to the first embodiment of the present invention, since the standard template 41 is reduced and the reduced template 42 is stored, the template storage area can be reduced. As shown in FIG. 4, even if the restoration information 43 for restoring the standard template 41 is added, the whole can be reduced to 7/8. A detailed matching process 54 based on the result of the large classification matching process 51 which can be executed at high speed
Is limited, the processing time of the matching unit 13 can be reduced. In addition, since the reduced template 42 retains the two-dimensional characteristics of the standard template 41, the matching process can be performed in the same manner as the detailed matching process, so that a special matching mechanism for the large classification matching process is not required.

【0036】[第2実施形態]次に、本発明の第2実施
形態について図面を参照して詳細に説明する。
[Second Embodiment] Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0037】(1)構成の説明 図8は本発明の第2実施形態の文字認識装置のマッチン
グ部13を中心とした詳細構成例を示すブロック図であ
る。図8において、本発明の第2実施形態の文字認識装
置のマッチング部13は、入力パタン縮小部21、マッ
チング処理部23、大分類結果格納部24を具備してい
る。
(1) Description of Configuration FIG. 8 is a block diagram showing a detailed configuration example centered on the matching unit 13 of the character recognition device according to the second embodiment of the present invention. 8, the matching unit 13 of the character recognition device according to the second embodiment of the present invention includes an input pattern reduction unit 21, a matching processing unit 23, and a large classification result storage unit 24.

【0038】本発明の第2実施形態では、テンプレート
格納部として標準テンプレート格納部71とテンプレー
ト格納部(縮小テンプレート格納部)15を設けてお
り、第1実施形態のように復元情報格納部16に復元情
報43を格納する代わりに、標準テンプレート格納部7
1に標準テンプレートを格納している。それに伴い、標
準テンプレート復元部22が削除された構成となってい
る。
In the second embodiment of the present invention, a standard template storage section 71 and a template storage section (reduced template storage section) 15 are provided as template storage sections, and the restoration information storage section 16 is provided as in the first embodiment. Instead of storing the restoration information 43, the standard template storage unit 7
1 stores a standard template. Accordingly, the standard template restoring unit 22 is deleted.

【0039】(2)動作の説明 次に、本発明の第2実施形態の動作について図8を参照
して詳細に説明する。
(2) Description of Operation Next, the operation of the second embodiment of the present invention will be described in detail with reference to FIG.

【0040】上記第1実施形態と同様に、マッチング部
13は最初に大分類マッチング処理を行う。大分類マッ
チング処理ではテンプレート格納部15から縮小テンプ
レートを順に入力し、入力パタン縮小部21で作成され
た縮小パタンとマッチングを行う。全縮小テンプレート
とのマッチングが終了すると、大分類マッチング結果が
大分類結果格納部24へ出力される。
As in the first embodiment, the matching section 13 first performs a large classification matching process. In the large classification matching process, reduced templates are sequentially input from the template storage unit 15 and matching is performed with the reduced pattern created by the input pattern reduction unit 21. When the matching with all the reduced templates is completed, the large classification matching result is output to the large classification result storage unit 24.

【0041】次にマッチング部13は詳細マッチング処
理を行う。詳細マッチング処理では大分類結果格納部2
4から順にテンプレートIDを入力し、そのテンプレー
トIDに対応する縮小テンプレートをテンプレート格納
部15から、標準テンプレート41を標準テンプレート
格納部71から入力し、入力パタンとマッチングを行
う。
Next, the matching section 13 performs a detailed matching process. In the detailed matching process, the large classification result storage unit 2
The template IDs are sequentially input from No. 4, the reduced template corresponding to the template ID is input from the template storage unit 15, and the standard template 41 is input from the standard template storage unit 71, and matching is performed with the input pattern.

【0042】本発明の第2実施形態によれば、テンプレ
ート格納領域が増加してしまうという側面はあるが、標
準テンプレート復元部22が不要になる、換言すれば標
準テンプレート復元を行う処理が不要になり、装置規模
乃至ハードウェアで構成する場合の回路規模を削減でき
るという効果がある。また、本発明の第2実施形態で
は、第1実施形態のように縮小率を1/4に限定しない
ため、例えば縮小率を1/16とすれば、全体の処理時
間を大幅に短縮できるという効果がある。
According to the second embodiment of the present invention, there is an aspect that the template storage area increases, but the standard template restoring unit 22 becomes unnecessary, in other words, the process of restoring the standard template becomes unnecessary. In other words, there is an effect that the circuit scale can be reduced when the apparatus is configured by hardware or by hardware. Further, in the second embodiment of the present invention, since the reduction ratio is not limited to 1/4 as in the first embodiment, for example, if the reduction ratio is set to 1/16, it is possible to greatly reduce the entire processing time. effective.

【0043】[第3実施形態]次に、本発明の第3実施
形態について図面を参照して詳細に説明する。
[Third Embodiment] Next, a third embodiment of the present invention will be described in detail with reference to the drawings.

【0044】(1)構成の説明 図9は本発明の第3実施形態の文字認識装置のマッチン
グ部13を中心とした詳細構成例を示すブロック図であ
る。図9において、本発明の第3実施形態の文字認識装
置のマッチング部13は、入力パタン縮小部21、標準
テンプレート復元部22、マッチング処理部23、標準
テンプレートバッファ81を具備している。
(1) Description of Configuration FIG. 9 is a block diagram showing a detailed configuration example centering on the matching unit 13 of the character recognition device according to the third embodiment of the present invention. 9, the matching unit 13 of the character recognition device according to the third embodiment of the present invention includes an input pattern reducing unit 21, a standard template restoring unit 22, a matching processing unit 23, and a standard template buffer 81.

【0045】本発明の第3実施形態では、大分類結果格
納部24が削除されている。従って、大分類マッチング
処理の結果が良好だった場合、例えば不一致数が予め定
めた値以下だった場合は直ちにそのテンプレートに対し
て詳細マッチング処理を行う。縮小テンプレートバッフ
ァ81は、大分類マッチング処理時にテンプレート格納
部15から入力した縮小テンプレートを一時格納するた
めのバッファである。詳細マッチング処理時は、縮小テ
ンプレートバッファ81から入力される縮小テンプレー
ト42と復元情報格納部16から入力される復元情報4
3に基づき、標準テンプレート復元部22により標準テ
ンプレート41が復元される。
In the third embodiment of the present invention, the large classification result storage section 24 is deleted. Therefore, when the result of the large classification matching process is good, for example, when the number of mismatches is equal to or less than a predetermined value, the detailed matching process is immediately performed on the template. The reduced template buffer 81 is a buffer for temporarily storing the reduced template input from the template storage unit 15 during the large classification matching process. At the time of the detailed matching processing, the reduced template 42 input from the reduced template buffer 81 and the restored information 4 input from the restored information storage unit 16 are used.
3, the standard template restoration unit 22 restores the standard template 41.

【0046】(2)動作の説明 次に、本発明の第3実施形態の動作について図9〜図1
0を参照して詳細に説明する。
(2) Description of Operation Next, the operation of the third embodiment of the present invention will be described with reference to FIGS.
This will be described in detail with reference to FIG.

【0047】図10は本発明の第3実施形態のマッチン
グ部13の動作の流れを示す図である。マッチング部1
3は最初に大分類マッチング処理91をテンプレートI
D‘0’から行う。大分類マッチング処理結果91が良
好だった場合は直ちに詳細マッチング処理92を行う。
図10に示した例では、テンプレートID‘A’の結果
が良好だったので(93)、直ちにテンプレートID
‘A’の復元情報43を復元情報格納部15から入力し
(94)、詳細マッチング処理92を行っている。
FIG. 10 is a diagram showing a flow of the operation of the matching unit 13 according to the third embodiment of the present invention. Matching unit 1
3 first performs the large classification matching process 91 on the template I
It starts from D'0 '. If the large classification matching processing result 91 is good, the detailed matching processing 92 is immediately performed.
In the example shown in FIG. 10, since the result of the template ID “A” was good (93), the template ID
The restoration information 43 of “A” is input from the restoration information storage unit 15 (94), and a detailed matching process 92 is performed.

【0048】テンプレートID‘A’の縮小テンプレー
ト42は縮小テンプレートバッファ81に格納されてい
るデータが使えるので、テンプレート格納部15から入
力する必要はない。1個のテンプレートとの詳細マッチ
ング処理92が終了すると、その次のテンプレートから
大分類マッチング処理を再開する。図10に示した例で
は、テンプレートID‘A+1’から再開している(9
5)。以降、大分類マッチング処理で良好な結果が得ら
れるたびに詳細マッチング処理を行うことを繰り返し、
最終テンプレートまで処理して終了する。
Since the data stored in the reduced template buffer 81 can be used as the reduced template 42 of the template ID 'A', there is no need to input it from the template storage unit 15. When the detailed matching process 92 with one template is completed, the large classification matching process is restarted from the next template. In the example shown in FIG. 10, the template ID is restarted from “A + 1” (9
5). Thereafter, every time a good result is obtained in the large classification matching process, the detailed matching process is repeatedly performed.
Process up to the final template and end.

【0049】本発明の第3実施形態によれば、大分類マ
ッチング処理結果の良否の判定によっては詳細マッチン
グ処理を行うテンプレートを効率よく限定することが保
証できないという側面はあるが、詳細マッチング処理を
行うテンプレートを効率的に限定できた場合は、詳細マ
ッチング処理時にテンプレート格納部15から縮小テン
プレートを入力する必要がないため処理の高速化が可能
になるという効果がある。
According to the third embodiment of the present invention, there is an aspect that it cannot be guaranteed that the template for performing the detailed matching process is efficiently limited depending on whether the result of the large classification matching process is good or bad. When the number of templates to be performed can be limited efficiently, there is no need to input a reduced template from the template storage unit 15 at the time of the detailed matching processing, so that the processing can be speeded up.

【0050】[0050]

【発明の効果】以上説明したように本発明によれば、標
準テンプレートを縮小した縮小テンプレートを格納する
手段を設け、認識対象となる入力パタンから作成した縮
小パタンと縮小テンプレートとのマッチングを行った
後、入力パタンと標準テンプレートとのマッチングを行
うように制御し、また、詳細マッチング処理時は処理対
象テンプレートを選択するための情報をマッチング処理
手段に付与するように制御し、また、縮小テンプレート
は標準テンプレートを二次元的な特徴を保った状態で縮
小したテンプレートとしているため、下記のような効果
が得られる。
As described above, according to the present invention, means for storing a reduced template obtained by reducing the standard template is provided, and the reduced pattern created from the input pattern to be recognized is matched with the reduced template. Thereafter, control is performed so as to perform matching between the input pattern and the standard template, and at the time of detailed matching processing, control is performed so that information for selecting a processing target template is provided to the matching processing means. Since the standard template is a reduced template while maintaining two-dimensional features, the following effects can be obtained.

【0051】第1の効果は、標準テンプレートを縮小し
て縮小テンプレートを格納しているため、テンプレート
格納領域を削減することができる。この場合、標準テン
プレートを復元するための復元情報を加えても全体の格
納領域を削減することができる。
The first effect is that the standard template is reduced and the reduced template is stored, so that the template storage area can be reduced. In this case, the entire storage area can be reduced even if restoration information for restoring the standard template is added.

【0052】第2の効果は、高速に実行できる大分類マ
ッチング処理の結果を元に詳細マッチング処理を行うテ
ンプレートを限定しているため、マッチング処理手段の
処理時間を低減することができる。
The second effect is that the template for performing the detailed matching processing based on the result of the large classification matching processing which can be executed at high speed is limited, so that the processing time of the matching processing means can be reduced.

【0053】第3の効果は、縮小テンプレートが標準テ
ンプレートの二次元的な特徴を保っているので、詳細マ
ッチング処理と同じ方法でマッチング処理できるため、
大分類マッチング処理のための特殊なマッチング機構が
不要となる。
The third effect is that since the reduced template retains the two-dimensional characteristics of the standard template, the matching process can be performed in the same manner as the detailed matching process.
A special matching mechanism for the large classification matching process is not required.

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

【図1】本発明の第1実施形態の文字認識装置の構成例
を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a character recognition device according to a first embodiment of the present invention.

【図2】本発明の第1実施形態の文字認識装置のマッチ
ング部を中心とした詳細構成例を示すブロック図であ
る。
FIG. 2 is a block diagram illustrating a detailed configuration example centered on a matching unit of the character recognition device according to the first embodiment of the present invention.

【図3】本発明の第1実施形態の標準テンプレートの構
成例を示す説明図である。
FIG. 3 is an explanatory diagram showing a configuration example of a standard template according to the first embodiment of the present invention.

【図4】本発明の第1実施形態の縮小・復元の手順を示
す説明図である。
FIG. 4 is an explanatory diagram showing a procedure of reduction and restoration according to the first embodiment of the present invention.

【図5】本発明の第1実施形態の復元情報の作成例を示
す説明図である。
FIG. 5 is an explanatory diagram illustrating an example of creating restoration information according to the first embodiment of this invention.

【図6】本発明の第1実施形態の文字認識装置のマッチ
ング部の動作の流れを示す説明図である。
FIG. 6 is an explanatory diagram showing an operation flow of a matching unit of the character recognition device according to the first embodiment of the present invention.

【図7】本発明の第1実施形態の縮小テンプレートが標
準テンプレートの二次元的な特徴を保っている例を示す
説明図である。
FIG. 7 is an explanatory diagram showing an example in which a reduced template according to the first embodiment of the present invention has two-dimensional characteristics of a standard template.

【図8】本発明の第2実施形態の文字認識装置のマッチ
ング部を中心とした詳細構成例を示すブロック図であ
る。
FIG. 8 is a block diagram illustrating a detailed configuration example centering on a matching unit of the character recognition device according to the second embodiment of the present invention.

【図9】本発明の第3実施形態の文字認識装置のマッチ
ング部を中心とした詳細構成例を示すブロック図であ
る。
FIG. 9 is a block diagram illustrating a detailed configuration example centering on a matching unit of a character recognition device according to a third embodiment of the present invention.

【図10】本発明の第3実施形態の文字認識装置のマッ
チング部の動作の流れを示す説明図である。
FIG. 10 is an explanatory diagram showing an operation flow of a matching unit of the character recognition device according to the third embodiment of the present invention.

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

13 マッチング部 15 テンプレート格納部 16 復元情報格納部 21 入力パタン縮小部 22 標準テンプレート復元部 23 マッチング処理部 24 大分類結果格納部 81 縮小テンプレートバッファ 13 matching unit 15 template storage unit 16 restoration information storage unit 21 input pattern reduction unit 22 standard template restoration unit 23 matching processing unit 24 large classification result storage unit 81 reduced template buffer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 テンプレートマッチングに基づき文字認
識を行う文字認識装置において、 標準テンプレートを縮小した縮小テンプレートを格納す
る縮小テンプレート格納手段と、前記文字認識の対象と
なる入力パタンから縮小パタンを作成する縮小手段と、
該縮小手段で作成した前記縮小パタンと前記縮小テンプ
レートとのマッチングを行った後、前記入力パタンと前
記標準テンプレートとのマッチングを行うマッチング処
理手段とを具備することを特徴とする文字認識装置。
1. A character recognition apparatus for performing character recognition based on template matching, comprising: a reduced template storage unit for storing a reduced template obtained by reducing a standard template; and a reduced template for creating a reduced pattern from the input pattern to be subjected to the character recognition. Means,
A character recognition apparatus comprising: a matching processing unit that performs matching between the reduced pattern created by the reducing unit and the reduced template and then matches the input pattern with the standard template.
【請求項2】 更に、前記縮小テンプレートを前記標準
テンプレートに復元するための復元情報を格納する復元
情報格納手段と、前記縮小テンプレート格納手段から入
力した前記縮小テンプレートと前記復元情報格納手段か
ら入力した前記復元情報とに基づき前記標準テンプレー
トを復元する標準テンプレート復元手段とを具備するこ
とを特徴とする請求項1に記載の文字認識装置。
2. A restoration information storage unit for storing restoration information for restoring the reduced template to the standard template; a reduced template input from the reduced template storage unit and an input from the restored information storage unit. 2. The character recognition device according to claim 1, further comprising a standard template restoring unit that restores the standard template based on the restoration information.
【請求項3】 更に、前記縮小パタンと前記縮小テンプ
レートとのマッチングを行う大分類マッチング処理の結
果を一時格納すると共に、前記入力パタンと前記標準テ
ンプレートとのマッチングを行う詳細マッチング処理時
は処理対象テンプレートを選択するための情報を前記マ
ッチング処理手段に付与する大分類結果格納手段を具備
することを特徴とする請求項2に記載の文字認識装置。
3. The method further includes temporarily storing a result of a large classification matching process for matching the reduced pattern and the reduced template, and a processing target during a detailed matching process for matching the input pattern and the standard template. 3. The character recognition apparatus according to claim 2, further comprising a large classification result storage unit for giving information for selecting a template to the matching processing unit.
【請求項4】 更に、前記縮小パタンと前記縮小テンプ
レートとのマッチングを行う大分類マッチング処理時に
前記縮小テンプレート格納手段から入力した前記縮小テ
ンプレートを一時格納する縮小テンプレートバッファを
具備し、前記標準テンプレート復元手段は、前記入力パ
タンと前記標準テンプレートとのマッチングを行う詳細
マッチング処理時は前記縮小テンプレートバッファから
入力した前記縮小テンプレートと前記復元情報格納手段
から入力した前記復元情報とに基づき前記標準テンプレ
ートを復元することを特徴とする請求項2に記載の文字
認識装置。
4. A reduced template buffer for temporarily storing the reduced template input from the reduced template storage means during a large classification matching process for matching the reduced pattern with the reduced template, wherein the standard template is restored. Means for restoring the standard template based on the reduced template input from the reduced template buffer and the restoration information input from the restoration information storage means during a detailed matching process for matching the input pattern with the standard template The character recognition device according to claim 2, wherein the character recognition is performed.
【請求項5】 前記縮小テンプレートは前記標準テンプ
レートを二次元的な特徴を保った状態で縮小したテンプ
レートであることを特徴とする請求項1乃至4の何れか
に記載の文字認識装置。
5. The character recognition apparatus according to claim 1, wherein the reduced template is a template obtained by reducing the standard template while maintaining two-dimensional characteristics.
【請求項6】 テンプレートマッチングに基づき文字認
識を行う文字認識方法において、 前記文字認識の対象画像から文字毎の切り出し及び大き
さの正規化を行い、前記切り出し及び正規化が行われた
パタンに基づき縮小パタンを作成し、最初に前記縮小パ
タンと標準テンプレートを縮小した縮小テンプレートと
のマッチングを行い、次に前記切り出し及び正規化が行
われたパタンと前記標準テンプレートとのマッチングを
行うことを特徴とする文字認識方法。
6. A character recognition method for performing character recognition based on template matching, wherein a character is cut out and a size of each character is normalized from a target image of the character recognition, and a character recognition method is performed based on the cut and normalized pattern. Creating a reduced pattern, first performing matching between the reduced pattern and a reduced template obtained by reducing the standard template, and then performing matching between the cut-out and normalized pattern and the standard template. Character recognition method.
JP11110979A 1999-04-19 1999-04-19 Device and method for recognizing character Pending JP2000306042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11110979A JP2000306042A (en) 1999-04-19 1999-04-19 Device and method for recognizing character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11110979A JP2000306042A (en) 1999-04-19 1999-04-19 Device and method for recognizing character

Publications (1)

Publication Number Publication Date
JP2000306042A true JP2000306042A (en) 2000-11-02

Family

ID=14549334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11110979A Pending JP2000306042A (en) 1999-04-19 1999-04-19 Device and method for recognizing character

Country Status (1)

Country Link
JP (1) JP2000306042A (en)

Similar Documents

Publication Publication Date Title
JP4152789B2 (en) Clustering system and clustering method
JP2940496B2 (en) Pattern matching encoding apparatus and method
JP2006260274A (en) Character direction identification device, image forming device, program, storage medium, and character direction identification method
JPH07121664A (en) Automatic decision apparatus of european language
JP2001358925A (en) Unit and method for image processing and recording medium
JP2003030672A (en) Document recognition device, method, program and storage medium
JP2000067164A (en) Method and device for pattern recognition and record medium where template generating program is recorded
JP5291387B2 (en) Number recognition apparatus and number recognition method
US6487311B1 (en) OCR-based image compression
JP2000306042A (en) Device and method for recognizing character
JP2002342710A (en) Character segmenting device and character segmenting method used for the same device and its program
JPH0291789A (en) Character recognizing system
Aparna et al. A complete OCR system development of Tamil magazine documents
JP3090070B2 (en) Form identification method and device
JPH0785221A (en) Method for separating and recognizing character and symbol in automatic drawing recognizing device
JPH1117959A (en) Run length coding method for binary image and recording medium storing run length coding program
JPS5949671A (en) Optical character reader
JP2894111B2 (en) Comprehensive judgment method of recognition result in optical type character recognition device
JP4089807B2 (en) Bar code recognition method, apparatus, and program
JP2000082113A (en) Character recognition device, dictionary preparation method and storage medium
JP2000148908A (en) Method and device for processing document picture and recording medium
JPH11120291A (en) Pattern recognition system
JP2917396B2 (en) Character recognition method
JP3031565B2 (en) Table space judgment method
JP2023034823A (en) Image processing apparatus, and control method, and program for image processing apparatus