JP3074691B2 - Character recognition device - Google Patents

Character recognition device

Info

Publication number
JP3074691B2
JP3074691B2 JP02015823A JP1582390A JP3074691B2 JP 3074691 B2 JP3074691 B2 JP 3074691B2 JP 02015823 A JP02015823 A JP 02015823A JP 1582390 A JP1582390 A JP 1582390A JP 3074691 B2 JP3074691 B2 JP 3074691B2
Authority
JP
Japan
Prior art keywords
character
template
matching
image
pixels
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.)
Expired - Fee Related
Application number
JP02015823A
Other languages
Japanese (ja)
Other versions
JPH03219384A (en
Inventor
芳徳 山口
悟 有田
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
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 filed Critical Omron Corp
Priority to JP02015823A priority Critical patent/JP3074691B2/en
Publication of JPH03219384A publication Critical patent/JPH03219384A/en
Application granted granted Critical
Publication of JP3074691B2 publication Critical patent/JP3074691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は、複数のテンプレートを用いてテンプレー
トマッチングを行うことにより、認識対象文字を認識す
る文字認識装置に関する。
Description: TECHNICAL FIELD The present invention relates to a character recognition device that recognizes a recognition target character by performing template matching using a plurality of templates.

<従来の技術> 従来この種文字認識装置では、テンプレートの文字領
域にのみ着目し、この文字領域と認識対象文字の画像と
の一致度合を判定して認識対象文字の認識を行ってい
る。前記の一致度合は、テンプレートの文字領域を構成
する黒画素と認識対象文字の画像との一致画素数と、テ
ンプレートの文字領域を構成する総黒画素数との比率を
もって定義される。
<Conventional technology> Conventionally, in this type of character recognition apparatus, recognition is performed on a character to be recognized by focusing only on a character region of a template and determining a degree of coincidence between the character region and an image of the character to be recognized. The degree of matching is defined by the ratio of the number of matching pixels between the black pixels forming the character region of the template and the image of the recognition target character and the total number of black pixels forming the character region of the template.

<発明が解決しようとする問題点> ところが認識対象文字が、第4図(3)に示すように
英文字の「h」である場合に、この認識対象文字の画像
4と英文字「h」のテンプレート1(第4図(1)に示
す)との間でテンプレートマッチングを行って得た一致
度合と、この認識対象文字の画像4と英文字「n」のテ
ンプレート1(第4図(2)に示す)との間でテンプレ
ートマッチングを行って得た一致度合とは一致するた
め、この認識対象文字の画像4が英文字の「h」である
のか、「n」であるのかが同定できず、認識不能となっ
たり、後誤識を行ったりする。
<Problem to be Solved by the Invention> However, when the character to be recognized is an English character “h” as shown in FIG. 4 (3), the image 4 of the character to be recognized and the English character “h” are used. 4 (1), and the matching degree obtained by performing template matching with the template 1 (shown in FIG. 4 (1)) and the image 1 of the recognition target character and the template 1 (FIG. 4 (2) )), The matching degree obtained by performing template matching between the target character and the matching target character matches, so that it is possible to identify whether the image 4 of the recognition target character is an English character “h” or “n”. Not be recognized or misrecognized later.

なお同図中、2はテンプレート1の文字領域を構成す
る黒画素の部分であり,3は背景を構成する白画素の部分
である。また5は認識対象文字の構成画素である黒画素
の部分であり、6は背景を構成する白画素の部分であ
る。
In the figure, reference numeral 2 denotes a black pixel portion forming the character area of the template 1, and reference numeral 3 denotes a white pixel portion forming the background. Reference numeral 5 denotes a black pixel portion that is a constituent pixel of the recognition target character, and reference numeral 6 denotes a white pixel portion that forms the background.

認識対象文字が、第5図(3)に示すように英文字の
「e」であっても同様であり、英文字「e」のテンプレ
ート1(第5図(1)に示す)を用いてテンプレートマ
ッチングを行って得た一致度合と、英文字「c」のテン
プレート1(第5図(2))を用いてテンプレートマッ
チングを行って得た一致度合とは一致するため、この認
識対象文字の画像4を同定することも困難である。
The same applies to the case where the recognition target character is the English character "e" as shown in FIG. 5 (3), using the template 1 of the English character "e" (shown in FIG. 5 (1)). Since the matching degree obtained by performing the template matching and the matching degree obtained by performing the template matching using the template 1 (FIG. 5 (2)) of the English character “c” match, the recognition target character It is also difficult to identify the image 4.

このような問題を解消するために、テンプレート1の
背景を構成する白画素3と認識対象文字の画像4との一
致画素数と、テンプレート1の背景を構成する白画素3
の総白画素数との比率をもって背景についての一致度合
を定義し、この一致度合の比較も併せて行うことにより
認識対象文字を同定している。
In order to solve such a problem, the number of matching pixels between the white pixels 3 forming the background of the template 1 and the image 4 of the recognition target character, and the white pixels 3 forming the background of the template 1
The degree of coincidence with respect to the background is defined based on the ratio with respect to the total number of white pixels, and the character to be recognized is identified by comparing the degree of coincidence with the background.

ところがこの方法では、第6図(1)に示すように認
識対象文字の画像4中にノイズ7や下線部分8が存在し
ていたり、第6図(2)に示すように認識対象文字の画
像4に隣接文字の画像の一部が含まれていたりすると、
背景についての一致度合を用いても認識対象文字の同定
が困難となる。
However, in this method, noise 7 or underlined portion 8 is present in the image 4 of the recognition target character as shown in FIG. 6 (1), or the image of the recognition target character is displayed as shown in FIG. 6 (2). If part of the image of adjacent characters is included in 4,
Even if the degree of coincidence for the background is used, it is difficult to identify the character to be recognized.

この発明は、認識対象文字が形態が相互に類似するい
ずれの文字であっても、また認識対象文字の画像中にノ
イズや隣接文字の画像などが含まれていても、認識対象
文字を確実に同定し得る文字認識装置を提供することを
目的とする。またこの発明が他に目的とするところは、
各テンプレートの中から認識対象文字の候補を短時間で
絞り込んで同定処理を行うことにより、認識対象文字の
同定処理を高速化する点にある。
The present invention reliably recognizes a character to be recognized even if the character to be recognized is any character whose form is similar to each other, and even if an image of the character to be recognized includes an image of noise or an adjacent character. It is an object to provide a character recognition device that can be identified. Another object of the present invention is as follows.
The point is that the identification process of the character to be recognized is speeded up by narrowing down the candidates for the character to be recognized from each template in a short time and performing the identification process.

<問題点を解決するための手段> この発明の文字認識装置は、複数のテンプレートを記
憶しておく記憶手段と、記憶手段より各テンプレートを
順次読み出して、それぞれそのテンプレートの文字領域
を構成する総画素数に対する前記テンプレートの文字領
域を構成する画素と認識対象文字の構成画素との一致画
素数の比率を、テンプレートの文字領域と認識対象文字
の画像との一致度合として算出するマッチング手段と、
マッチング手段で算出された前記一致度合をしきい値と
比較してそのしきい値を越える一致度合が得られたテン
プレートの文字を認識対象文字の候補として検出する検
出手段と、検出手段により複数の候補文字が検出された
とき前記テンプレートの文字領域を構成する画素と認識
対象文字の構成画素との一致画素数が最大となるテンプ
レートの候補文字を認識対象文字として同定する同定手
段とを具備して成る。
<Means for Solving the Problems> A character recognition apparatus according to the present invention includes a storage unit for storing a plurality of templates, and sequentially reads out each template from the storage unit, and configures a character area of each template. Matching means for calculating the ratio of the number of matching pixels between the pixels constituting the character region of the template and the constituent pixels of the recognition target character with respect to the number of pixels as the degree of matching between the character region of the template and the image of the recognition target character,
Detecting means for comparing the degree of matching calculated by the matching means with a threshold value and detecting a character of the template having a degree of matching exceeding the threshold value as a candidate for a character to be recognized; Identification means for identifying, when a candidate character is detected, a candidate character of the template in which the number of matching pixels between the pixels constituting the character region of the template and the constituent pixels of the recognition target character is the largest, as the recognition target character. Become.

<作用> 認識対象文字の画像と各テンプレートの文字領域との
一致度合により認識対象文字の候補を検出した後、複数
の候補文字が検出されたときは一致画素数を参照してい
ずれか候補文字を認識対象文字として同定するので、認
識対象文字が形態が相互に類似するいずれの文字であっ
てもその区別が可能である。またテンプレートの文字領
域のみに着目して、テンプレートの文字領域と認識対象
文字の画像との一致度合を算出するので、たとえ認識対
象文字の画像中にノイズや隣接文字の画像などが含まれ
ていても、文字の同定になんらの悪影響も受けない。さ
らにテンプレートの文字領域において認識対象文字の構
成画素と一致する画素数がどの位の比率を占めるかによ
り、認識対象文字の候補となるテンプレートを検出する
ので、各テンプレートを候補として残すかどうかを一度
の処理により判断して、認識対象文字の同定処理を高速
化できる。
<Operation> After detecting a candidate for a recognition target character based on the degree of matching between the image of the recognition target character and the character area of each template, when a plurality of candidate characters are detected, one of the candidate characters is referred to by referring to the number of matching pixels. Is identified as a recognition target character, so that the recognition target character can be distinguished from any other character whose form is similar to each other. In addition, since the degree of matching between the character region of the template and the image of the character to be recognized is calculated by focusing only on the character region of the template, even if the image of the character to be recognized contains noise, an image of an adjacent character, or the like. Have no adverse effect on character identification. Furthermore, a template as a candidate for a recognition target character is detected based on the ratio of the number of pixels corresponding to the constituent pixels of the recognition target character in the character area of the template. , The speed of the identification process of the recognition target character can be increased.

<実施例> 第1図は、この発明の一実施例にかかる文字認識装置
11の全体構成を示している。
<Embodiment> FIG. 1 is a character recognition device according to an embodiment of the present invention.
11 shows the entire configuration.

図示例の装置11は、認識対象文字の入力画像に対しテ
ンプレートを全面走査する方式のものであって、画像入
力装置12,画像メモリ13,マッチング処理部14,同定部23,
マイクロプロセッサユニット(以下、MPUと略す)15な
どを構成として含み、MPU15にはキーボードなどの操作
部16と、外部インターフェイス回路18を介してホストコ
ンピュータ17とが接続されている。
The device 11 in the illustrated example is of a type in which a template is entirely scanned with respect to an input image of a character to be recognized, and an image input device 12, an image memory 13, a matching processing unit 14, an identification unit 23,
A microprocessor unit (hereinafter abbreviated as MPU) 15 and the like are included as components, and an operation unit 16 such as a keyboard and a host computer 17 are connected to the MPU 15 via an external interface circuit 18.

画像入力装置12は、ティーチングモードで登録すべき
テンプレートの基準画像を取り込んで画像メモリ13に格
納し、また認識モードで認識対象文字の画像を入力して
その画像データをマッチング処理部14へ与える。
The image input device 12 fetches a reference image of a template to be registered in the teaching mode and stores it in the image memory 13, inputs an image of a recognition target character in the recognition mode, and provides the image data to the matching processing unit 14.

画像メモリ13に記憶された基準画像は、MPU15により
読み出され、操作部16により領域指定を受けた各文字の
画像がテンプレートとしてパターンメモリ22に登録され
る。
The reference image stored in the image memory 13 is read out by the MPU 15, and the image of each character whose area is specified by the operation unit 16 is registered in the pattern memory 22 as a template.

マッチング処理部14は、パターンマッチング部20と、
一致度合算出部21と、一致点検出部24とを含むもので、
パターンマッチング部20には画像入力装置12から認識対
象文字の1フレーム分の画像データが入力され、またMP
U15によりテンプレートがロードされ、この入力画像に
対しテンプレートを順次全面走査することによりテンプ
レートマッチングが行われる。
The matching processing unit 14 includes a pattern matching unit 20,
It includes a coincidence degree calculation unit 21 and a coincidence point detection unit 24,
Image data for one frame of the character to be recognized is input from the image input device 12 to the pattern matching unit 20.
A template is loaded by U15, and template matching is performed by sequentially scanning the entire template with respect to this input image.

一致度合算出部21は、テンプレートの文字領域を構成
する画素(黒画素)と入力画像との一致画素数と、テン
プレートの文字領域を構成する総黒画素数との比率を一
致度合として算出する部分である。一致点検出部24は一
致度合算出部21で算出された前記一致度合をMPU15より
与えられた所定のしきい値と比較し、そのしきい値を越
える一致度合のテンプレートの文字を認識対象文字の候
補として検出し、またその一致位置を認識対象文字の存
在位置としてMPU15へ出力する。また一致点検出部24で
は、各一致位置につきそのテンプレートの文字領域を構
成する黒画素と入力画像との一致画素数を所定の記憶領
域に記憶保持しておく。
The matching degree calculation unit 21 calculates, as a matching degree, a ratio of the number of matching pixels between pixels (black pixels) constituting the character region of the template and the input image and the total number of black pixels constituting the character region of the template. It is. The coincidence point detection unit 24 compares the degree of coincidence calculated by the degree of coincidence calculation unit 21 with a predetermined threshold value given by the MPU 15, and determines a template character having a degree of coincidence exceeding the threshold value as a recognition target character. It is detected as a candidate, and the matching position is output to the MPU 15 as the position of the recognition target character. The coincidence point detection unit 24 stores the number of coincident pixels between the black pixels constituting the character area of the template and the input image for each coincidence position in a predetermined storage area.

同定部23は、一致点検出部24により検出された文字位
置につき複数の候補文字が検出されたとき、いずれか候
補文字を認識対象文字として同定する部分である。この
同定部23では、MPU15より候補データを、また一致点検
出部24より各候補抽出時に得た前記一致画素数を、それ
ぞれ入力し、一致画素数が最大値をとる候補文字を認識
対象文字として同定する。
The identification unit 23 is a unit that, when a plurality of candidate characters are detected at the character position detected by the matching point detection unit 24, identifies any one of the candidate characters as a recognition target character. In the identification unit 23, candidate data from the MPU 15 and the number of matching pixels obtained at the time of extraction of each candidate from the matching point detection unit 24 are input, and candidate characters having the maximum number of matching pixels are set as recognition target characters. Identify.

第2図は、認識モードにおける上記文字認識装置11の
動作手順を示している。
FIG. 2 shows an operation procedure of the character recognition device 11 in the recognition mode.

まずテンプレートマッチングに先立ち、MPU15は同図
のステップ1(図中「ST1」で示す)〜ステップ3にお
いて、最初のテンプレートをパターンメモリ22から読み
出してテンプレート内を走査し、テンプレート内の文字
領域を構成する総黒画素数を計数する。ステップ1では
テンプレート内の最初の画素が文字領域の構成画素(黒
画素)が否かが判断され、“YES"の判定で総黒画素数の
計数値がインクリメントされる(ステップ2)。同様の
判定および計数動作がテンプレート内の全ての画素につ
き実行されると、ステップ3が“YES"となり、つぎの処
理へ移行する。
First, prior to template matching, the MPU 15 reads the first template from the pattern memory 22 and scans the inside of the template in steps 1 (indicated by “ST1” in the figure) to step 3 of FIG. The total number of black pixels to be processed is counted. In Step 1, it is determined whether or not the first pixel in the template is a constituent pixel (black pixel) in the character area, and the determination value of "YES" increments the count value of the total number of black pixels (Step 2). When the same determination and counting operation is performed for all the pixels in the template, step 3 is “YES”, and the flow shifts to the next processing.

この段階で画像入力装置12は認識対象文字の画像デー
タをマッチング処理部14のパターンマッチング部20へ与
えると共に、MPU15は最初のテンプレートをマッチング
処理部14へロードして、入力画像に対しこのテンプレー
トによるテンプレートマッチングが実行される。
At this stage, the image input device 12 supplies the image data of the recognition target character to the pattern matching unit 20 of the matching processing unit 14, and the MPU 15 loads the first template into the matching processing unit 14, and the input image is processed according to this template. Template matching is performed.

このテンプレートマッチングにおいて、ステップ4で
はテンプレートの文字領域を構成する最初の黒画素と入
力画像とが一致するか否かが判断され、“YES"の判定で
一致画素数の計数値がインクリメントされる(ステップ
5)。同様の判定および計数動作がテンプレート内の文
字領域を構成する全ての画素につき一致度合検出部21に
より実行されると、ステップ6の判定が“YES"となり、
つぎのステップ7でステップ5で得た計数値とステップ
2で得た計数値との比率が一致度合として算出される。
In this template matching, in step 4, it is determined whether or not the first black pixel forming the character area of the template matches the input image, and if the determination is "YES", the count value of the number of matching pixels is incremented ( Step 5). When the same determination and counting operation is performed by the matching degree detection unit 21 for all the pixels constituting the character area in the template, the determination in step 6 becomes “YES”,
In the next step 7, the ratio between the count value obtained in step 5 and the count value obtained in step 2 is calculated as the degree of coincidence.

つぎに一致点検出部24は、ステップ8において、この
一致度合の算出値が所定のしきい値を越えるか否かを判
定しており、その判定が“YES"であれば、現在のテンプ
レートの走査位置にそのテンプレートの文字が存在する
可能性があると判断され、MPU15には現位置の座標が取
り込まれると共に、前記文字が候補文字として記憶され
る。
Next, in step 8, the coincidence point detection unit 24 determines whether or not the calculated value of the degree of coincidence exceeds a predetermined threshold value. If the determination is “YES”, the matching point of the current template is determined. It is determined that there is a possibility that the character of the template exists at the scanning position, and the MPU 15 takes in the coordinates of the current position and stores the character as a candidate character.

ステップ10は、このテンプレートによる入力画像の全
面走査が完了したか否かを判定しており、その判定が
“NO"であれば、つぎの走査位置へ進んで上記と同様の
手順を実行される。
In step 10, it is determined whether or not the entire scanning of the input image by the template has been completed. If the determination is "NO", the process proceeds to the next scanning position and the same procedure as described above is executed. .

かくしてステップ10の判定が“YES"になれば、つぎの
テンプレートによるテンプレートマッチングが同様の手
順により実行される。
Thus, if the determination in step 10 is "YES", template matching using the next template is executed in a similar procedure.

そして全てのテンプレートによるマッチング処理が完
了すると、ステップ11が“YES"となり、ステップ12へ進
み、各文字位置の候補群に対し統合処理を行って各文字
位置の同定を行う。各文字位置の候補群につき統合処理
が完了すると、ステップ13が“YES"となり、つぎのステ
ップ14において、最初の文字位置に複数の候補文字が検
出されたか否かが判定される。
When the matching process using all the templates is completed, step 11 becomes “YES” and the process proceeds to step 12, where the integration process is performed on the candidate group of each character position to identify each character position. When the integration process is completed for the candidate group at each character position, step 13 becomes "YES", and in the next step 14, it is determined whether or not a plurality of candidate characters are detected at the first character position.

もしステップ14の判定が“YES"であれば、同定部23
は、ステップ15において、各候補文字についてのステッ
プ5で求めた一致画素数のうち最大値をとる候補文字を
認識対象文字として同定する。なお着目した文字位置に
複数の候補文字が検出されていなければ、ステップ14の
判定は“NO"であり、その単独の候補文字が認識対象文
字として同定される。
If the determination in step 14 is “YES”, the identification unit 23
Identifies in step 15 the candidate character having the maximum value among the number of matching pixels obtained in step 5 for each candidate character as the recognition target character. If a plurality of candidate characters are not detected at the focused character position, the determination in step 14 is “NO”, and the single candidate character is identified as a recognition target character.

かくてすべての文字位置につき、同様の同定処理が実
施されると、ステップ16が“YES"となって文字認識手順
が完了する。
Thus, when the same identification processing is performed for all character positions, step 16 becomes "YES" and the character recognition procedure is completed.

例えば認識対象文字が第4図(3)に示す英文字の
「h」である場合、その画像4と第4図(1)(2)に
示す英文字「h」および「n」の各テンプレート1との
間でそれぞれテンプレートマッチングを行うと、ステッ
プ7で求められる一致度合は両者とも共通する。ところ
がステップ5で求められる一致画素数は、「h」のテン
プレートの方が大きな値となるから、認識対象文字は
「h」に同定されることになる。
For example, if the character to be recognized is the English letter “h” shown in FIG. 4 (3), the image 4 and the respective templates of the English letters “h” and “n” shown in FIG. 4 (1) (2) When template matching is performed for each of them, the matching degree obtained in step 7 is common to both. However, since the number of matching pixels obtained in step 5 is larger for the template “h”, the character to be recognized is identified as “h”.

認識対象文字が第5図(3)に示す英文字「e」であ
る場合も同様であり、ステップ5で求められる一致画素
数は「c」のテンプレートより「e」のテンプレートの
方が大きな値となるから、認識対象文字は「e」に同定
される。
The same applies to the case where the recognition target character is the English character “e” shown in FIG. 5 (3), and the number of matching pixels obtained in step 5 is larger in the template “e” than in the template “c”. Therefore, the recognition target character is identified as “e”.

またテンプレートの文字領域にのみ着目して一致度合
の算出を行うので、入力画像に第6図に示すようなノイ
ズ7や下線部分8が存在したり、また隣接文字が存在す
る場合であっても、支障なく高精度の文字認識を行うこ
とができる。
Also, since the degree of coincidence is calculated by focusing only on the character region of the template, even if the input image has noise 7 or underlined portion 8 as shown in FIG. Thus, highly accurate character recognition can be performed without any trouble.

第3図は、この発明の他の実施例にかかる文字認識装
置11aの構成を示している。この実施例では、入力画像
を画像メモリ13に格納した後、この入力画像の各文字領
域を領域指定部25で指定して文字切出し部19により1文
字分を切り出している。そしてこの切り出された認識対
象文字の画像に対しテンプレートマッチングを行って、
前述の実施例の処理を実行するものである。
FIG. 3 shows a configuration of a character recognition device 11a according to another embodiment of the present invention. In this embodiment, after the input image is stored in the image memory 13, each character area of the input image is specified by the area specifying unit 25, and one character is cut out by the character cutout unit 19. Then, template matching is performed on the extracted image of the recognition target character,
The processing of the above-described embodiment is executed.

<発明の効果> この発明は上記の如く、認識対象文字の画像と各テン
プレートの文字領域との一致度合により認識対象文字の
候補を検出した後、複数の候補文字が検出されたときは
一致画素数を参照していずれか候補文字を認識対象文字
として同定するようにしたから、認識対象文字が形態が
相互に類似するいずれの文字であってもその区別が可能
であり、またたとえ認識対象文字の画像中にノイズや隣
接文字の画像などが含まれていても、文字の同定になん
らの悪影響も受けることはなく、確実かつ高精度の文字
認識が可能である。さらに同定処理に先立ち、テンプレ
ートの文字領域において認識対象文字の構成画素と一致
する画素数が占める比率を用いて、認識対象文字の候補
を絞り込むので、各テンプレートを候補として残すかど
うかを一度の処理により判断して、認識対象文字を高精
度かつ高速で同定することができる。
<Effect of the Invention> As described above, the present invention detects a candidate for a recognition target character based on the degree of matching between the image of the recognition target character and the character area of each template, and then detects a matching pixel when a plurality of candidate characters are detected. Since any candidate character is identified as a recognition target character by referring to the number, even if the recognition target character is any character whose shape is similar to each other, it can be distinguished. Even if noise or an image of an adjacent character is included in the image, the character identification is not affected at all and character recognition can be performed reliably and with high accuracy. Further, prior to the identification process, the candidates of the recognition target character are narrowed down by using the ratio of the number of pixels corresponding to the constituent pixels of the recognition target character in the character region of the template. Thus, the character to be recognized can be identified with high accuracy and high speed.

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

第1図はこの発明の一実施例にかかる文字認識装置のブ
ロック図、第2図は文字認識の手順を示すフローチャー
ト、第3図はこの発明の他の実施例の構成を示すブロッ
ク図、第4図および第5図はテンプレートと認識対象文
字とを対比して示す説明図、第6図は従来技術の問題点
を説明するための説明図である。 11,11a……文字認識装置 14……マッチング処理部、15……MPU 20……パターンマッチング部 21……一致度合算出部 22……パターンメモリ、23……同定部 24……一致点検出部
FIG. 1 is a block diagram of a character recognition apparatus according to one embodiment of the present invention, FIG. 2 is a flowchart showing a procedure of character recognition, FIG. 3 is a block diagram showing a configuration of another embodiment of the present invention, and FIG. 4 and 5 are explanatory diagrams showing a template and a character to be recognized in comparison with each other, and FIG. 6 is an explanatory diagram for explaining a problem of the prior art. 11, 11a: Character recognition device 14: Matching processing unit, 15: MPU 20: Pattern matching unit 21: Matching degree calculation unit 22: Pattern memory, 23: Identification unit 24: Matching point detection unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 9/62 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 9/62

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のテンプレートを記憶しておく記憶手
段と、 前記記憶手段より各テンプレートを順次読み出して、そ
れぞれそのテンプレートの文字領域を構成する総画素数
に対する前記テンプレートの文字領域を構成する画素と
認識対象文字の構成画素との一致画素数の比率を、テン
プレートの文字領域と認識対象文字の画像との一致度合
として算出するマッチング手段と、 前記マッチング手段で算出された一致度合をしきい値と
比較して、そのしきい値を越える一致度合が得られたテ
ンプレートの文字を認識対象文字の候補として検出する
検出手段と、 前記検出手段により複数の候補文字が検出されたとき前
記テンプレートの文字領域を構成する画素と認識対象文
字の構成画素との一致画素数が最大となるテンプレート
の候補文字を、認識対象文字として同定する同定手段と
を具備して成る文字認識装置。
1. A storage unit for storing a plurality of templates, and each template is sequentially read out from the storage unit, and a pixel constituting a character area of the template with respect to a total number of pixels constituting a character area of the template. Matching means for calculating the ratio of the number of matching pixels between the image data of the character to be recognized and the image of the character to be recognized, and Detecting means for detecting a template character having a matching degree exceeding the threshold value as a candidate for a recognition target character, and detecting a character of the template when a plurality of candidate characters are detected by the detecting means. A template candidate character in which the number of matching pixels between the pixels constituting the region and the pixels constituting the recognition target character is the largest, Character recognition device formed by and a identification means for identifying a identification target character.
JP02015823A 1990-01-25 1990-01-25 Character recognition device Expired - Fee Related JP3074691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02015823A JP3074691B2 (en) 1990-01-25 1990-01-25 Character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02015823A JP3074691B2 (en) 1990-01-25 1990-01-25 Character recognition device

Publications (2)

Publication Number Publication Date
JPH03219384A JPH03219384A (en) 1991-09-26
JP3074691B2 true JP3074691B2 (en) 2000-08-07

Family

ID=11899575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02015823A Expired - Fee Related JP3074691B2 (en) 1990-01-25 1990-01-25 Character recognition device

Country Status (1)

Country Link
JP (1) JP3074691B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4867771B2 (en) * 2007-04-19 2012-02-01 パナソニック電工株式会社 Template matching device
EP1916538A3 (en) 2006-10-27 2011-02-16 Panasonic Electric Works Co., Ltd. Target moving object tracking device

Also Published As

Publication number Publication date
JPH03219384A (en) 1991-09-26

Similar Documents

Publication Publication Date Title
US5410611A (en) Method for identifying word bounding boxes in text
EP0163377B1 (en) Pattern recognition system
US7970213B1 (en) Method and system for improving the recognition of text in an image
US20050238257A1 (en) Form search apparatus and method
US8938117B2 (en) Pattern recognition apparatus and method therefor configured to recognize object and another lower-order object
CN115546219B (en) Detection plate type generation method, plate card defect detection method, device and product
JP3074691B2 (en) Character recognition device
JPH11272800A (en) Character recognition device
JP2002245404A (en) Program and device for segmenting area
JP2867531B2 (en) Character size recognition device
JPH08263655A (en) Pattern recognition method
JP3115139B2 (en) Character extraction method
JPH0935058A (en) Image recognizing method
JP2832035B2 (en) Character recognition device
JP2964684B2 (en) Character data collection method for character reading
JPH0855185A (en) Character recognition device
JP3046532B2 (en) Object recognition method
JPH11134434A (en) Method for extracting half-tone dot meshing area and device therefor
JP2972443B2 (en) Character recognition device
JP2851865B2 (en) Character recognition device
JP2977244B2 (en) Character recognition method and character recognition device
JP2658153B2 (en) Character identification method
JPS63131287A (en) Character recognition system
JPH11135998A (en) Recognition method
JP2002157550A (en) Device and method for recognizing character and recording medium

Legal Events

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

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees