JPH0562019A - Character recognizing device - Google Patents
Character recognizing deviceInfo
- Publication number
- JPH0562019A JPH0562019A JP3219784A JP21978491A JPH0562019A JP H0562019 A JPH0562019 A JP H0562019A JP 3219784 A JP3219784 A JP 3219784A JP 21978491 A JP21978491 A JP 21978491A JP H0562019 A JPH0562019 A JP H0562019A
- Authority
- JP
- Japan
- Prior art keywords
- character
- appearance frequency
- pixel
- dictionary
- unit
- 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
Links
Landscapes
- Character Discrimination (AREA)
Abstract
(57)【要約】
【目的】 より人間の判定に近い高認識率を有して文字
を適確に認識する。
【構成】 各文字のパターン部分と背景部分の画素毎の
出現頻度を認識対象文字群全体に対して出現頻度算出部
11で算出し、該出現頻度において各文字のパターン部
分と背景部分の各画素に対応する部分の各出現頻度を重
み付けし、パターン部分と背景部分の各重み付け値に対
してそれぞれ異なる符号を付与した重み付け値を重み付
け部13および正規化部15において算出し、該重み付
け値を各画素に対応して有した各文字を辞書画像として
辞書17に記憶し、置換部19を介して供給される認識
対象文字の処理画像と辞書17に記憶された各文字の辞
書画像との相関計算を類似度計算部21において行い、
各相関度から類似度を判断する。
(57) [Summary] [Purpose] Accurately recognize characters with a high recognition rate closer to human judgment. An appearance frequency calculation unit 11 calculates an appearance frequency of each pixel of a pattern portion and a background portion of each character, and at the appearance frequency, each pixel of a pattern portion and a background portion of each character is calculated. Each appearance frequency of the portion corresponding to is weighted, weighting values obtained by assigning different signs to the weighting values of the pattern portion and the background portion are calculated by the weighting unit 13 and the normalizing unit 15, and the weighting values are Each character stored corresponding to the pixel is stored in the dictionary 17 as a dictionary image, and the correlation calculation between the processed image of the recognition target character supplied via the replacing unit 19 and the dictionary image of each character stored in the dictionary 17 is calculated. Is performed in the similarity calculation unit 21,
The degree of similarity is judged from each degree of correlation.
Description
【0001】[0001]
【産業上の利用分野】本発明は、光学式文字読み取り装
置に使用される文字認識装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device used in an optical character reading device.
【0002】[0002]
【従来の技術】この種の文字認識装置に適用される手法
には、従来、例えば複合類似度法(特願昭44−881
09参照)、マッチング法、構造解析法等がある。複合
類似度法およびマッチング法は、基本的には対象文字と
辞書(参照文字)との相関度の高低によって文字を認識
するものであるが、特に複合類似度法は位置ずれに強く
するために、ぼかし処理を行っていることが特長であ
る。2. Description of the Related Art As a method applied to a character recognition apparatus of this type, there is a conventional method such as a composite similarity method (Japanese Patent Application No. 44-881).
09)), a matching method, a structural analysis method, and the like. The composite similarity method and the matching method basically recognize a character based on the degree of correlation between the target character and the dictionary (reference character). In particular, the composite similarity method is to be strong against displacement. The feature is that the blurring process is performed.
【0003】また、構造解析法は文字がどのような特徴
からどのように構成されているかを解析し、その解析に
基づいて構造を記述し、この記述と各文字概念の記述と
の整合を取って認識する方法である。Further, the structure analysis method analyzes what kind of features a character is composed of and how, describes the structure based on the analysis, and matches this description with the description of each character concept. Is a method of recognizing.
【0004】[0004]
【発明が解決しようとする課題】上述した各手法は、認
識しようとする文字がその特徴を保持しているにも関わ
らず、その一部が欠損したり、汚れが重なったりする
と、誤判定したり、不読したりするという問題がある。In each of the above-mentioned methods, the character to be recognized retains its characteristics, but if a part of the character is missing or stains are overlaid, a false determination is made. There are problems such as reading and reading.
【0005】本発明は、上記に鑑みてなされたもので、
その目的とするところは、より人間の判定に近い高認識
率を有して文字を適確に認識する文字認識装置を提供す
ることにある。The present invention has been made in view of the above,
It is an object of the present invention to provide a character recognition device which has a high recognition rate closer to human judgment and recognizes characters accurately.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するた
め、本発明の文字認識装置は、認識対象文字群の各文字
を構成するパターン部分と背景部分の画素毎の出現頻度
を認識対象文字群全体に対して算出する出現頻度算出手
段と、この出現頻度算出手段で算出した認識対象文字群
全体の出現頻度において各文字のパターン部分と背景部
分の各画素に対応する部分の各出現頻度を重み付けし、
パターン部分と背景部分の各重み付け値に対してそれぞ
れ異なる符号を付与した重み付け値を算出する重み付け
値算出手段と、この重み付け算出手段で算出された重み
付け値を各画素に対応して有した各文字を辞書画像とし
て記憶する記憶手段と、入力された認識対象文字の処理
画像と前記記憶手段に記憶された各文字の辞書画像との
相関計算を行い、各相関度から類似度を判断する類似度
判断手段とを有することを要旨とする。In order to achieve the above object, a character recognition device of the present invention provides a recognition target character group in which the appearance frequency of each pixel of a pattern portion and a background portion forming each character of the recognition target character group is determined. Appearance frequency calculating means for calculating the whole, and weighting each appearance frequency of the pattern portion of each character and the portion corresponding to each pixel of the background portion in the appearance frequency of the entire recognition target character group calculated by this appearance frequency calculating means Then
Weighting value calculating means for calculating weighting values by giving different signs to the respective weighting values of the pattern portion and the background portion, and each character having the weighting value calculated by this weighting calculation means corresponding to each pixel. A storage unit for storing as a dictionary image, a correlation calculation between the input processed image of the recognition target character and the dictionary image of each character stored in the storage unit, and the similarity for determining the similarity from each correlation The gist is to have a judgment means.
【0007】[0007]
【作用】本発明の文字認識装置では、各文字のパターン
部分と背景部分の画素毎の出現頻度を認識対象文字群全
体に対して算出し、該出現頻度において各文字のパター
ン部分と背景部分の各画素に対応する部分の各出現頻度
を重み付けし、パターン部分と背景部分の各重み付け値
に対してそれぞれ異なる符号を付与した重み付け値を算
出し、該重み付け値を各画素に対応して有した各文字を
辞書画像として記憶し、入力された認識対象文字の処理
画像と前記記憶された各文字の辞書画像との相関計算を
行い、各相関度から類似度を判断する。In the character recognition device of the present invention, the appearance frequency of each pixel of the pattern portion and the background portion of each character is calculated for the entire recognition target character group, and the pattern portion and the background portion of each character are calculated at the appearance frequency. Each appearance frequency of the portion corresponding to each pixel is weighted, a weighting value is calculated by assigning a different sign to each weighting value of the pattern portion and the background portion, and the weighting value is provided for each pixel. Each character is stored as a dictionary image, a correlation calculation is performed between the input processed image of the recognition target character and the stored dictionary image of each character, and the degree of similarity is determined from each degree of correlation.
【0008】[0008]
【実施例】以下、図面を用いて本発明の実施例を説明す
る。Embodiments of the present invention will be described below with reference to the drawings.
【0009】図1は、本発明の一実施例に係る文字認識
装置の構成を示すブロック図である。同図に示す文字認
識装置は、各文字の特徴点を抽出し、その特徴点のウェ
イトを大きくした辞書を作成し、この辞書と認識対象文
字との相関計算を行い、各相関度から類似度を判断し、
その最も大きなものから文字を識別するものである。FIG. 1 is a block diagram showing the configuration of a character recognition device according to an embodiment of the present invention. The character recognition device shown in the figure extracts a feature point of each character, creates a dictionary in which the weight of the feature point is increased, performs a correlation calculation between this dictionary and the recognition target character, and calculates the similarity from each correlation degree. Judge,
Characters are identified from the largest one.
【0010】図1において、カメラ1で撮像された認識
対象文字画像信号は、処理装置3のアナログ−ディジタ
ル変換器5に供給されて、ディジタル信号に変換され
る。このディジタル信号の画像信号は、更に二値化処理
部7で二値化されて、文字切り出し部9に供給され、対
象とする文字部分が切り出される。In FIG. 1, the recognition target character image signal imaged by the camera 1 is supplied to the analog-digital converter 5 of the processing device 3 and converted into a digital signal. The image signal of this digital signal is further binarized by the binarization processing unit 7 and supplied to the character cutting unit 9 to cut out the target character portion.
【0011】文字切り出し部9で切り出された文字情報
は、出現頻度算出部11、重み付け部13、正規化部1
5および辞書17からなる辞書作成部を介して類似度計
算部21に供給される場合と、置換部19を介して類似
度計算部21に供給される場合とがあるが、本文字認識
装置においては、まず出現頻度算出部11、重み付け部
13、正規化部15、辞書17からなる辞書作成部に認
識対象文字群のすべての基準文字を供給することによ
り、各文字の基準となる辞書画像を辞書17に記憶した
後、認識対象文字を置換部19を介して類似度計算部2
1に供給し、この類似度計算部21において辞書17か
らの各文字の基準となる辞書画像と類似度を計算し、該
認識対象文字を認識するようになっている。The character information cut out by the character cutout unit 9 includes the appearance frequency calculation unit 11, the weighting unit 13, and the normalization unit 1.
5 and the dictionary 17 may be supplied to the similarity calculation unit 21 via the dictionary creation unit or may be supplied to the similarity calculation unit 21 via the replacement unit 19. First, by supplying all the reference characters of the recognition target character group to the dictionary creation unit including the appearance frequency calculation unit 11, the weighting unit 13, the normalization unit 15, and the dictionary 17, the reference dictionary image of each character is obtained. After being stored in the dictionary 17, the recognition target character is replaced by the similarity calculation unit 2 via the replacement unit 19.
1, the similarity calculation unit 21 calculates the similarity with the dictionary image that serves as a reference for each character from the dictionary 17, and recognizes the recognition target character.
【0012】従って、まず最初は、カメラ1で基準文字
を撮像したものとし、この基準文字の画像信号がアナロ
グ−ディジタル変換器5、二値化処理部7を介して文字
切り出し部9に供給され、文字切り出し部9から切り出
された基準文字情報を出現頻度算出部11、重み付け部
13、正規化部15に供給して辞書を作成する場合につ
いて説明する。Therefore, first, it is assumed that the camera 1 captures the reference character, and the image signal of the reference character is supplied to the character slicing unit 9 through the analog-digital converter 5 and the binarization processing unit 7. A case will be described in which the reference character information cut out from the character cutout unit 9 is supplied to the appearance frequency calculation unit 11, the weighting unit 13, and the normalization unit 15 to create a dictionary.
【0013】文字切り出し部9から切り出された各基準
文字画像信号は、出現頻度算出部11に供給され、ここ
で認識対象文字群の各文字を構成するパターン部分と背
景部分の画素毎の出現頻度を認識対象文字群全体に対し
て算出される。更に具体的に、図2および図3を参照し
て説明する。Each reference character image signal cut out from the character cutout unit 9 is supplied to the appearance frequency calculation unit 11, where the appearance frequency of each pixel of the pattern portion and the background portion forming each character of the recognition target character group. Is calculated for the entire recognition target character group. A more specific description will be given with reference to FIGS. 2 and 3.
【0014】図2は、認識対象文字群の全体を一例とし
て、数字の1〜0とし、この1〜0を横5×縦9の画素
で構成した文字例を示している。図3は、図2に示した
横5×縦9の各画素を各枠で囲って示すとともに、各画
素内に図2に示した各文字のパターン部分の各画素の出
現頻度を示している。この出現頻度を横方向の位置をm
とし、縦方向の位置をnとして、Gm,nで表すとする
と、G1,1 =5、G1,2 =9等であるが、例えばG1,2
=9は認識対象数字の4以外の数字がこのG1,2 の位置
に画素を有していることを示し、この位置に画素がない
場合には、4であることがわかる。また、G2,3 の位置
に画素がある数字は1つであり、これは数字の1である
ことがわかる。FIG. 2 shows a character example in which the entire recognition target character group is represented by numbers 1 to 0, and the numbers 1 to 0 are composed of horizontal 5 × vertical 9 pixels. FIG. 3 shows each pixel of horizontal 5 × vertical 9 shown in FIG. 2 surrounded by each frame, and shows the frequency of appearance of each pixel in the pattern portion of each character shown in FIG. 2 in each pixel. .. The frequency of this appearance is m in the horizontal position.
And Gm, n where n is the vertical position, G1,1 = 5, G1,2 = 9, etc., for example, G1,2
= 9 indicates that a number other than 4 which is a recognition target number has a pixel at the position of G1,2, and when there is no pixel at this position, it is understood that it is 4. Also, it can be seen that there is one number having a pixel at the position of G2,3, which is the number 1.
【0015】出現頻度算出部11において算出された図
3に示すような出現頻度は、重み付け部13および正規
化部15に供給されて、各文字毎に重み付けされ、かつ
正規化される。図4は、太線でパターン部を囲んで示す
数字1に対する重み付けおよび正規化した結果を示して
いるが、同図においてkは各文字のパターン部の画素の
正規化係数であり、k’は各文字のパターンのない背景
部分の画素の正規化係数である。重み付けおよび正規化
は、各文字、図4では数字1のパターン部にある各画素
では、その画素の出現頻度の逆数に正規化係数kを乗じ
た値となり、パターン部のない背景部分にある各画素で
は、その背景部分の画素の出現頻度(すなわち、図3に
示したパターン部の画素の出現頻度を全体の出現頻度で
ある10から引いて求まる出現頻度)の逆数に正規化係
数を乗じ、符号を負、すなわち−とした値となってい
る。具体的には、図4において文字1のパターン部の左
上の画素の出現頻度G1,1 =5(図3参照)に対して
は、5の逆数を取り、この逆数に正規化係数kを乗じた
値k/5となり、また背景部分である右上の画素の出現
頻度G1,5 =7(10−3)に対しては、7の逆数を取
り、この逆数に正規化係数k’を乗じ、符号を−とした
値−k’/7となっている。図4は、図3に示す認識対
象文字群の全体の出現頻度に対する文字1の正規化重み
付け値を示しているが、同様な処理を数字1以外の認識
対象文字群全体の各文字に対して行う。このようにして
認識対象文字群の各文字1〜0に対して求められた正規
化重み付け値は、各文字に対する基準文字の辞書画像と
して辞書17に記憶される。The appearance frequencies calculated by the appearance frequency calculating unit 11 as shown in FIG. 3 are supplied to the weighting unit 13 and the normalizing unit 15, and are weighted and normalized for each character. FIG. 4 shows the result of weighting and normalization for the numeral 1 shown by enclosing the pattern portion with a thick line. In FIG. 4, k is the normalization coefficient of the pixel of the pattern portion of each character, and k ′ is each It is a normalization coefficient of pixels in the background portion without a character pattern. The weighting and normalization are values obtained by multiplying the reciprocal of the appearance frequency of each pixel by the normalization coefficient k for each pixel in the pattern portion of each character, that is, the numeral 1 in FIG. 4, and for each pixel in the background portion without the pattern portion. For a pixel, the reciprocal of the appearance frequency of the pixel of the background portion (that is, the appearance frequency obtained by subtracting the appearance frequency of the pixel of the pattern portion shown in FIG. 3 from the overall appearance frequency of 10) is multiplied by a normalization coefficient, The sign is negative, that is, the value is −. Specifically, in FIG. 4, for the appearance frequency G1,1 = 5 (see FIG. 3) of the upper left pixel of the pattern portion of the character 1, the reciprocal of 5 is taken, and this reciprocal is multiplied by the normalization coefficient k. For the appearance frequency G1,5 = 7 (10-3) of the upper right pixel which is the background part, the reciprocal of 7 is taken, and this reciprocal is multiplied by the normalization coefficient k ', The value is −k ′ / 7 where the sign is −. FIG. 4 shows the normalized weighting value of the character 1 with respect to the entire appearance frequency of the recognition target character group shown in FIG. 3, but similar processing is performed for each character of the entire recognition target character group other than the numeral 1. To do. The normalized weighting value obtained for each of the characters 1 to 0 of the recognition target character group in this manner is stored in the dictionary 17 as a dictionary image of the reference character for each character.
【0016】なお、図4は、正規化重み付け値として図
3に示す出現頻度の逆数に正規化係数を乗じた値を示し
ているが、図5は別の正規化重み付け値を示している。
この図5に示す正規化重み付け値は、パターン部に対し
ては全体の出現頻度10から図3に示す出現頻度を引い
た値に正規化係数を乗じた値とし、背景部分に対しては
図3に示す出現頻度(すなわち、全体の出現頻度10か
ら背景部分の出現頻度を引いて求まる出現頻度)に正規
化係数を乗じた値としているものである。Note that FIG. 4 shows a value obtained by multiplying the reciprocal of the appearance frequency shown in FIG. 3 by a normalization coefficient as the normalization weighting value, but FIG. 5 shows another normalization weighting value.
The normalization weighting value shown in FIG. 5 is a value obtained by subtracting the appearance frequency shown in FIG. 3 from the overall appearance frequency 10 for the pattern part and a normalization coefficient. 3 (that is, the appearance frequency obtained by subtracting the appearance frequency of the background portion from the overall appearance frequency 10) is multiplied by a normalization coefficient.
【0017】以上のようにして各文字に対する辞書画像
が辞書17に記憶されると、次に実際に認識したい文字
をカメラ1で読み取り、この文字を辞書17に記憶され
ている各基準文字の辞書画像と類度度を算出して、文字
認識を行うことになるが、この処理について説明する。When the dictionary image for each character is stored in the dictionary 17 as described above, the character to be recognized next is read by the camera 1, and this character is stored in the dictionary for the reference character dictionary. The character recognition is performed by calculating the degree of similarity with the image. This processing will be described.
【0018】上述したように、カメラ1で撮像された認
識対象文字は、アナログ−ディジタル変換器5でディジ
タル信号に変換され、二値化処理部7で二値化され、文
字切り出し部9において対象とする文字部分が切り出さ
れると、この切り出された認識対象文字の画像信号は置
換部19に供給される。認識対象文字の画像信号は例え
ば図6(a)に示すように濃度情報に対して二値化処理
部7から1,0の2値信号として与えられるが、すなわ
ち各文字のパターン部の画素に対しては1が与えられ、
パターン部でない背景部分の画素に対しては0が与えら
れるが、この背景部分の画素に対する0の値を”−1”
に置換する処理を置換部19において行い、認識対象文
字画像P(m,n)として類似度計算部21に供給す
る。このように0を−1とすることにより、類似度計算
部21で行われる相関計算における乗算を有効にするも
のである。すなわち、相関計算では、乗算処理が行われ
るが、0では無となってしまうので、これを防止するた
めに、0を−1とする置換処理を行うのである。As described above, the recognition target character imaged by the camera 1 is converted into a digital signal by the analog-to-digital converter 5, binarized by the binarization processing unit 7, and targeted by the character slicing unit 9. When the character portion to be cut out is cut out, the image signal of the cut-out recognition target character is supplied to the replacing section 19. The image signal of the recognition target character is given as a binary signal of 1 and 0 from the binarization processing unit 7 to the density information as shown in FIG. 6A, that is, to the pixels of the pattern unit of each character. For that, 1 is given,
0 is given to the pixel of the background part which is not the pattern part, but the value of 0 for the pixel of this background part is "-1".
The replacement unit 19 performs the process of replacing the character string with the character string, and supplies it to the similarity calculation unit 21 as the recognition target character image P (m, n). As described above, by setting 0 to -1, the multiplication in the correlation calculation performed by the similarity calculation unit 21 is enabled. That is, in the correlation calculation, the multiplication process is performed, but 0 is no. Therefore, in order to prevent this, the replacement process in which 0 is changed to -1 is performed.
【0019】類似度計算部21は、置換部19から供給
される認識対象文字画像P(m,n)と辞書17から読
み出される各文字の辞書画像Bi(m,n)との類似度
計算を次式に示す相関計算から算出する。The similarity calculation unit 21 calculates the similarity between the recognition target character image P (m, n) supplied from the replacement unit 19 and the dictionary image Bi (m, n) of each character read from the dictionary 17. It is calculated from the correlation calculation shown in the following formula.
【0020】[0020]
【数1】 [Equation 1]
【0021】ここにおいて、iは認識対象文字群内の文
字種類数であり、1〜10である。MおよびNは各文字
に対する画像サイズであり、具体的には図2,3に示す
ような横の画素数および縦の画素数である。Here, i is the number of character types in the character group to be recognized and is 1 to 10. M and N are image sizes for each character, and specifically, the numbers of horizontal pixels and the number of vertical pixels as shown in FIGS.
【0022】図7は、前記類似度計算を図示しているも
のであるが、認識対象文字画像P(m,n)と辞書17
から読み出される各文字の辞書画像Bi(m,n)との
類似度計算を上述した相関計算式に従って算出し、最大
類似度を有する辞書の文字を前記認識対象文字に対する
答として出力する。FIG. 7 illustrates the similarity calculation, but the recognition target character image P (m, n) and the dictionary 17 are shown.
The similarity calculation of each character read from the dictionary image Bi (m, n) is calculated according to the above correlation calculation formula, and the character of the dictionary having the maximum similarity is output as the answer to the recognition target character.
【0023】上述した実施例では、二値化した画像を対
象としたが、本発明の文字認識装置の多値濃淡画像に対
しても処理可能である。この場合の出現頻度Gm,nは
各画素の濃度の加算値を使用し、前記置換部19におけ
る”−1”の符号付けは一定濃度のバイアスを設け、こ
の濃度値を基準に正負の符号を付せばよいことになる。
例えば、図8(a)に示すような多値入力画像濃度に対
して、図8(b)に示すようなほぼ中程の値を有するバ
イアスを設け、このバイアスより上側を+とし、下側を
−とすればよい。In the above-described embodiment, the binarized image is targeted, but the multi-value grayscale image of the character recognition device of the present invention can be processed. The appearance frequency Gm, n in this case uses the added value of the densities of the respective pixels, and the "-1" sign in the replacement section 19 is provided with a bias of a certain density, and a positive or negative sign is given based on this density value. Just attach it.
For example, with respect to the multi-valued input image density as shown in FIG. 8A, a bias having an almost middle value as shown in FIG. 8B is provided, the upper side of this bias is +, and the lower side is Can be-.
【0024】上述したように、本文字認識装置では、各
文字の特徴点を抽出し、その特徴点のウェイトを大きく
した辞書を作成し、この辞書と認識対象文字との類似度
計算を行っているが、その特徴点が強調されるため、よ
り人間の認識に近い結果が得られる。また、特徴点は文
字を構成するパターン部のみならず、パターン部のない
背景部分も考慮しているので、パターン部において文字
の欠けが生じた場合でも、文字毎の重要度の低い部分の
欠けに対しては鈍く、文字毎の重要度の高い部分の欠け
に対しては大きく類似度に作用し、背景部分において文
字周辺の汚れに対して同様な効果が得られ、文字の部分
欠落や周辺の汚れ等に対してより高い正解率が得られ
る。As described above, the character recognition apparatus extracts the feature points of each character, creates a dictionary in which the weight of the feature points is increased, and calculates the similarity between the dictionary and the recognition target character. However, since the characteristic points are emphasized, a result closer to human recognition can be obtained. In addition, since the feature points consider not only the pattern part that constitutes the character but also the background part without the pattern part, even if the character part is missing in the pattern part, the part of the less important part of each character is missing. It is blunt to, and has a great effect on the similarity of the missing part of the character that is of high importance, and a similar effect is obtained for the stain around the character in the background part. A higher correct answer rate can be obtained with respect to dirt and the like.
【0025】[0025]
【発明の効果】以上説明したように、本発明によれば、
各文字のパターン部分と背景部分の画素毎の出現頻度を
認識対象文字群全体に対して算出し、該出現頻度におい
て各文字のパターン部分と背景部分の各画素に対応する
部分の各出現頻度を重み付けし、パターン部分と背景部
分の各重み付け値に対してそれぞれ異なる符号を付与し
た重み付け値を算出し、該重み付け値を各画素に対応し
て有した各文字を辞書画像として記憶し、入力された認
識対象文字の処理画像と前記記憶された各文字の辞書画
像との相関計算を行い、各相関度から類似度を判断する
ので、各文字に欠落があったり、汚れがあったとして
も、高い精度をもって適確に文字認識を行うことができ
る。As described above, according to the present invention,
The appearance frequency of each pixel of the pattern portion and the background portion of each character is calculated for the entire recognition target character group, and the appearance frequency of the portion corresponding to each pixel of the pattern portion and the background portion of each character in the appearance frequency is calculated. Weighting is performed, weighting values are calculated by assigning different signs to the weighting values of the pattern portion and the background portion, and each character having the weighting value corresponding to each pixel is stored as a dictionary image and input. Correlation calculation between the processed image of the recognition target character and the stored dictionary image of each character is performed, and the similarity is determined from each correlation, so even if each character is missing or has stains, Character recognition can be performed accurately with high accuracy.
【図1】本発明の一実施例に係わる文字認識装置の構成
を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a character recognition device according to an embodiment of the present invention.
【図2】認識対象文字群の全体を一例として、数字の1
〜0としを場合の各数字1〜0を横5×縦9の画素で構
成した図を示している。FIG. 2 shows the number 1 as an example of the entire recognition target character group.
FIG. 3 shows a diagram in which each of the numbers 1 to 0 in the case of ˜0 is composed of horizontal 5 × vertical 9 pixels.
【図3】図2に示す各文字のパターン部の画素の出現頻
度を示す図である。FIG. 3 is a diagram showing the frequency of appearance of pixels in the pattern portion of each character shown in FIG.
【図4】図2に示す出現頻度に対する文字1の正規化重
み付け値を示す図である。FIG. 4 is a diagram showing a normalized weighting value of character 1 with respect to the appearance frequency shown in FIG. 2;
【図5】図2に示す出現頻度に対する文字1の別の正規
化重み付け値を示す図である。5 is a diagram showing another normalized weighting value of character 1 with respect to the appearance frequency shown in FIG. 2;
【図6】図1の文字認識装置における入力画像濃度の2
値化処理を示す説明図である。6 is a diagram showing an input image density of 2 in the character recognition apparatus of FIG.
It is explanatory drawing which shows a value conversion process.
【図7】図1の文字認識装置に使用されている類似度計
算部における相関計算処理を示す説明図である。7 is an explanatory diagram showing a correlation calculation process in a similarity calculation section used in the character recognition device in FIG.
【図8】多値濃淡画像の入力画像に対する図1の文字認
識装置の置換部における符号処理を示す説明図である。FIG. 8 is an explanatory diagram showing a coding process in a replacement unit of the character recognition device in FIG. 1 for an input image of a multi-value grayscale image.
1 カメラ 3 処理装置 7 二値化処理部 9 文字切り出し部 11 出現頻度算出部 13 重み付け部 15 正規化部 17 辞書 19 置換部 21 類似度計算部 DESCRIPTION OF SYMBOLS 1 camera 3 processing device 7 binarization processing unit 9 character cutout unit 11 appearance frequency calculation unit 13 weighting unit 15 normalization unit 17 dictionary 19 replacement unit 21 similarity calculation unit
Claims (2)
ーン部分と背景部分の画素毎の出現頻度を認識対象文字
群全体に対して算出する出現頻度算出手段と、 この出現頻度算出手段で算出した認識対象文字群全体の
出現頻度において各文字のパターン部分と背景部分の各
画素に対応する部分の各出現頻度を重み付けし、パター
ン部分と背景部分の各重み付け値に対してそれぞれ異な
る符号を付与した重み付け値を算出する重み付け値算出
手段と、 この重み付け算出手段で算出された重み付け値を各画素
に対応して有した各文字を辞書画像として記憶する記憶
手段と、 入力された認識対象文字の処理画像と前記記憶手段に記
憶された各文字の辞書画像との相関計算を行い、各相関
度から類似度を判断する類似度判断手段とを有すること
を特徴とする文字認識装置。1. An appearance frequency calculation means for calculating the appearance frequency of each pixel of a pattern portion and a background portion forming each character of the recognition target character group for the entire recognition target character group, and calculation by the appearance frequency calculation means. In the appearance frequency of the entire recognition target character group, each appearance frequency of the pattern portion of each character and the portion corresponding to each pixel of the background portion is weighted, and a different code is given to each weight value of the pattern portion and the background portion. Weighting value calculating means for calculating the weighted value, storage means for storing each character having the weighting value calculated by the weighting calculating means corresponding to each pixel as a dictionary image, and inputting the recognition target character And a similarity determination unit that determines the similarity from each correlation by performing a correlation calculation between the processed image and the dictionary image of each character stored in the storage unit. Character recognition device.
は、各文字のパターン部分と背景部分がそれぞれ異なる
符号を付与された画像であることを特徴とする請求項1
記載の文字認識装置。2. The input processed image of a recognition target character is an image in which a pattern portion and a background portion of each character are given different codes.
Character recognition device described.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3219784A JPH0562019A (en) | 1991-08-30 | 1991-08-30 | Character recognizing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3219784A JPH0562019A (en) | 1991-08-30 | 1991-08-30 | Character recognizing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0562019A true JPH0562019A (en) | 1993-03-12 |
Family
ID=16740958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3219784A Pending JPH0562019A (en) | 1991-08-30 | 1991-08-30 | Character recognizing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0562019A (en) |
-
1991
- 1991-08-30 JP JP3219784A patent/JPH0562019A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111401372B (en) | A method for extracting and identifying image and text information from scanned documents | |
| TWI381321B (en) | Recombination of multiple images and identification methods and image capture and recognition system | |
| US5625707A (en) | Training a neural network using centroid dithering by randomly displacing a template | |
| JPH0799581A (en) | Picture processing device | |
| US6694059B1 (en) | Robustness enhancement and evaluation of image information extraction | |
| Arica et al. | A new scheme for off-line handwritten connected digit recognition | |
| JP2700131B2 (en) | Pattern recognition method | |
| CN114119658A (en) | Following algorithm for multi-feature self-adaptive fusion | |
| JPH1063789A (en) | Discriminant function learning method | |
| Valiente et al. | A process for text recognition of generic identification documents over cloud computing | |
| CN118097676A (en) | Downhole tool label monitoring system based on image processing | |
| JPH0562019A (en) | Character recognizing device | |
| JP2871590B2 (en) | Image extraction method | |
| Liang et al. | Segmentation of handwritten interference marks using multiple directional stroke planes and reformalized morphological approach | |
| JP2004094644A (en) | Image processing apparatus, image processing method, storage medium, and program | |
| JPH0935003A (en) | Character recognition device | |
| JP2894111B2 (en) | Comprehensive judgment method of recognition result in optical type character recognition device | |
| JPH09120434A (en) | Character recognition device | |
| Siddique et al. | An absolute Optical Character Recognition system for Bangla script Utilizing a captured image | |
| JP2003123023A (en) | Character recognition method and character recognition device, character recognition program, and recording medium storing the program | |
| Visilter et al. | Development of OCR system for portable passport and visa reader | |
| JPH07160824A (en) | Character recognizing device | |
| KR940007935B1 (en) | Candidate classification method for recognizing character | |
| Khashman et al. | Global binarization of document images using a neural network | |
| JPH06251202A (en) | Character recognition device |