JP2005250786A - Image recognition method - Google Patents

Image recognition method Download PDF

Info

Publication number
JP2005250786A
JP2005250786A JP2004059365A JP2004059365A JP2005250786A JP 2005250786 A JP2005250786 A JP 2005250786A JP 2004059365 A JP2004059365 A JP 2004059365A JP 2004059365 A JP2004059365 A JP 2004059365A JP 2005250786 A JP2005250786 A JP 2005250786A
Authority
JP
Japan
Prior art keywords
image
character
image data
color
data
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
JP2004059365A
Other languages
Japanese (ja)
Inventor
Torma Peter
トルマ ピーテル
Akira Morikawa
晶 森川
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.)
Tateyama Machine Co Ltd
Original Assignee
Tateyama Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tateyama Machine Co Ltd filed Critical Tateyama Machine Co Ltd
Priority to JP2004059365A priority Critical patent/JP2005250786A/en
Publication of JP2005250786A publication Critical patent/JP2005250786A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image recognition method capable of accurately and automatically recognizing the license plate of a car. <P>SOLUTION: A vehicle number 12 is captured by a color image pickup device 16, image pickup signals are digitized, and three-dimensional data based on the values of RGB color data are attached for the respective pixels of obtained image data. By the color clustering processing for a prescribed number of clusters to the three-dimensional data for the respective pixels, the respective pixels are classified for the respective clusters for the image data, and the obtained images of the respective clusters are used as character image data to be the object of character recognition. The character image data obtained by color clustering and a template image are compared and the character image data are discriminated. Then, the matching degree of the character image data and the template image is obtained and accumulated for the respective pixels of the character image data and identification of defining that the character image data for which an error value to respective templates becomes the minimum value for a calculated cumulative error value as the character of the template image is executed. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

この発明は、車両のナンバープレートを撮像して、所定のテンプレートデータと比較判別し、そのナンバープレートの文字を認識する画像認識方法に関する。   The present invention relates to an image recognition method in which a license plate of a vehicle is imaged, compared with predetermined template data, and characters of the license plate are recognized.

従来、撮像素子により得た画像データから文字情報を認識する場合、画像を2値化してマッチング処理を行うことが一般的であった。この方法は先ず、テンプレート画像と一致するかどうかを確認することができるように、認識対象画像の2値化画像を作成する。次に、適切な一致を確認するテンプレートマッチングを行なう。しかしながら、この2段階処理においては、画像上の汚れやノイズなどのために認識の信頼性が低下する。例えば、車のナンバープレートの自動読み取り等のように、対象画像状態が一様でない場合においては、図8(a)のような画像例を2値化した場合、結果として図9のような画像を取得することになる。このように、画像全体に対する単なる2値化画像では画像認識ができない、または認識精度が低くなってしまうものであった。従って、このような画像認識精度でパターンマッチングを行っても、例えばナンバープレートの文字認識性能は極めて低いものとなっていた。   Conventionally, when character information is recognized from image data obtained by an image sensor, it is common to binarize an image and perform matching processing. In this method, first, a binarized image of a recognition target image is created so that it can be confirmed whether or not the template image matches. Next, template matching for confirming an appropriate match is performed. However, in this two-stage process, the reliability of recognition is reduced due to dirt or noise on the image. For example, when the target image state is not uniform, such as automatic reading of a license plate of a car, when the image example as shown in FIG. 8A is binarized, an image as shown in FIG. 9 is obtained as a result. Will get. Thus, image recognition cannot be performed with a simple binarized image for the entire image, or the recognition accuracy is low. Therefore, even if pattern matching is performed with such image recognition accuracy, for example, the character recognition performance of the license plate is extremely low.

一方、画像認識において、特許文献1,2に示されるように、OCR技術が近年進歩している。これらの画像認識方法は、カラーイメージデータを各色毎に分離した複数のイメージデータとして、各色毎に認識処理を行なうものである。これにより、カラー原稿において文字の色とその背景色とが異なる場合において、これらが共に黒(又は白)に変換され文字(文字情報)が失われることを防止することができる。
特開2001−297303号公報 特開2004−21765号公報
On the other hand, in image recognition, as shown in Patent Documents 1 and 2, OCR technology has recently advanced. These image recognition methods perform recognition processing for each color as a plurality of image data obtained by separating color image data for each color. Accordingly, when the color of the character in the color original is different from the background color thereof, it is possible to prevent the characters (character information) from being lost because they are both converted to black (or white).
JP 2001-297303 A Japanese Patent Laid-Open No. 2004-21765

しかしながら、文字原稿のようなきれいなデータが得られない車のナンバープレートの文字認識の場合、影や汚れにより画像の識別自体が難しいものであった。さらに、平仮名ばかりでなく漢字や2桁3桁の数字など様々なタイプの文字や、小さな文字・数字が同一のプレート上にあり、プレートの汚れ等とそれらとの違いを確認することが困難であり、文字認識のロバスト性を高めることが難しいものであった。   However, in the case of character recognition of a license plate of a car where clean data such as a character manuscript cannot be obtained, it is difficult to identify the image itself due to shadows and dirt. Furthermore, not only hiragana, but also various types of characters such as kanji and 2-digit and 3-digit numbers, as well as small letters and numbers, are on the same plate, making it difficult to check the difference between them and dirt on the plate. It was difficult to improve the robustness of character recognition.

この発明は、上記従来の技術の問題点に鑑みて成されたものであり、車のナンバープレートを正確に自動的に認識可能な画像認識方法を提供することを目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to provide an image recognition method capable of accurately and automatically recognizing a license plate of a car.

この発明は、パターン認識、特に車両ナンバーの認識方法において、一般化ハフ変換とカラークラスタリングとの組み合わせを適用し、n個のクラスタに分割を行うカラークラスタリング処理を行い、各クラスタに属する画素に対して包含関係を調べて画素分類し、得られた画像を文字認識の対象となる画像データとし、一般化ハフ変換により文字認識の対象とする画像データとテンプレート画像との比較を行う。その際に、文字として判別された対象画像データとテンプレート画像との一致具合を、算出される累積エラー値、および各テンプレートに対する最小エラー値よって、文字の認識を行なう画像認識方法である。   The present invention applies a combination of generalized Hough transform and color clustering in pattern recognition, particularly a vehicle number recognition method, performs color clustering processing to divide into n clusters, and applies to pixels belonging to each cluster. Then, the inclusion relationship is examined to classify the pixels, and the obtained image is used as image data to be character recognition, and the image data to be character recognition is compared with the template image by generalized Hough transform. In this case, this is an image recognition method for recognizing a character based on a cumulative error value calculated and a minimum error value for each template based on the degree of matching between target image data determined as a character and a template image.

即ちこの発明は、カラー撮像装置により車両ナンバーを捉えて撮像信号をデジタル化し、得られた画像データの各画素について、RGBの色データの値を基にした3次元データとし、各画素についての上記3次元データに対して所定のクラスタ数のカラークラスタリング処理により、上記画像データについて各画素をクラスタ毎に分類し、得られた各クラスタの画像を文字認識の対象とする文字画像データとして、上記カラークラスタリングにより得られた文字画像データとテンプレート画像とを比較し、上記文字画像データの判別を行なう画像認識方法である。   That is, the present invention captures a vehicle number with a color imaging device, digitizes an imaging signal, and obtains each pixel of the obtained image data as three-dimensional data based on the value of RGB color data. A color clustering process of a predetermined number of clusters is performed on the three-dimensional data to classify each pixel in the image data for each cluster, and the obtained image of each cluster is used as character image data for character recognition as the color data. This is an image recognition method in which character image data obtained by clustering is compared with a template image to determine the character image data.

さらに、上記文字画像データとテンプレート画像との一致具合を、上記文字画像データの各画素毎に求めて累積し、算出される累積エラー値について、各テンプレートに対するエラー値が最小値となる上記文字画像データを、上記テンプレート画像の文字であるとする識別を行なう画像認識方法である。上記クラスタ数は、3〜5であることが、処理速度と識別精度との関係から好ましい。   Further, the degree of matching between the character image data and the template image is obtained and accumulated for each pixel of the character image data, and the calculated error value for each template is the minimum value for the accumulated error value. This is an image recognition method for identifying that data is a character of the template image. The number of clusters is preferably 3 to 5 from the relationship between processing speed and identification accuracy.

この発明の画像認識方法によれば、車両のナンバープレートの文字認識を高精度に行うことができ、特に、汚れや影等を含んだナンバープレートであっても、正確に認識することができる。   According to the image recognition method of the present invention, the character recognition of the license plate of the vehicle can be performed with high accuracy. In particular, even a license plate containing dirt, shadows, etc. can be accurately recognized.

以下、この発明の実施形態について図面に基づいて説明する。図1〜図8は、この発明の一実施形態を示すもので、この実施形態の車の画像認識方法は、図1に示すように、車両10のナンバープレート12を認識するものである。この実施形態では、ナンバープレート12を読み取る半導体等の撮像素子14を備えた撮像装置16を有し、撮像装置16の出力がコンピュータ20に入力している。コンピュータ20は、画像信号が入力され所定の処理を行うキャプチャーボード21と、所定のプログラムにより画像処理等を行うCPU22と、情報を記憶する記憶装置24等を備え、さらに、画像を表示するモニタ26、所定の入力を行うキーボード28、出力機器であるプリンタ30等が接続されている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIGS. 1-8 shows one Embodiment of this invention, The vehicle image recognition method of this embodiment recognizes the number plate 12 of the vehicle 10, as shown in FIG. In this embodiment, an imaging device 16 having an imaging element 14 such as a semiconductor that reads the license plate 12 is provided, and the output of the imaging device 16 is input to the computer 20. The computer 20 includes a capture board 21 that receives image signals and performs predetermined processing, a CPU 22 that performs image processing and the like according to a predetermined program, a storage device 24 that stores information, and a monitor 26 that displays images. A keyboard 28 for performing predetermined input, a printer 30 as an output device, and the like are connected.

この実施形態の画像認識方法において、ナンバープレート12を認識する処理は、撮像画像のテンプレートマッチング処理を行う前に、従来の2値化処理の代わりに、画像上の画素をいくつかのクラスタに分割するクラスタリングを行う。このクラスタリングは、各画素が持つ光の3原色の値を用いてクラスタリングするもので、RGBカラーの情報を元に、撮像画像のうちの各セグメント化された画像に対して実施する。   In the image recognition method of this embodiment, the license plate 12 is recognized by dividing the pixels on the image into several clusters instead of the conventional binarization process before performing the template matching process of the captured image. Perform clustering. This clustering is performed using the values of the three primary colors of light possessed by each pixel, and is performed on each segmented image of the captured image based on RGB color information.

ここで、図2のステップs2に示すカラークラスタリングの前に、図2のステップs1において、例えば図6に示すように、ナンバープレート12上の文字に対応すると思われる場所をセグメント化する処理を行い、認識対象を決める判断を行う。この判断は、セグメント化した際の位置により、漢字、平仮名、数字(大小)の区分を行ない、比較するテンプレートの分類を予め絞り込む。   Here, before the color clustering shown in step s2 of FIG. 2, in step s1 of FIG. 2, for example, as shown in FIG. 6, a process of segmenting a place that seems to correspond to a character on the license plate 12 is performed. , Judgment to determine the recognition target In this determination, the classification of templates to be compared is narrowed down in advance by classifying kanji, hiragana, and numbers (large and small) according to the position at the time of segmentation.

そこで、クラスタリングについて説明する。クラスタリングとは、多数のデータの集合の中から似ているデータ同士を同一のクラスタとしてまとめ、所定のクラスタ数に分類することを言う。例えば、N個のクラスタに対するアルゴリズムは、図3及び以下のようになる。   Therefore, clustering will be described. Clustering refers to grouping together similar data from a large number of data sets as the same cluster and classifying them into a predetermined number of clusters. For example, the algorithm for N clusters is as shown in FIG.

クラスタの数をNとし、クラスタに割り振られる点を、x1, x2,・・・xmとする。先ず、各クラスタに対して任意に中心を設定する。例えば、図4に示すように、c1, c2,・・・cN (乱数によるランダム指定)を設定する。そして、撮像素子14の各画素またはコンピュータ20の処理における画像の各ピクセルの各点(xi)が、どのクラスタの中心と最も近い位置にあるかを決定する。この操作は、各点をクラスタ化するもので、撮像素子14の画像データの左上から右下まで全画素である各点、またはコンピュータ20の処理における画像の全ピクセルである各点を対象とする。これにより、全てのクラスタにおいて、現時点での各クラス内の各点の位置関係から、平均的な新しいクラスタ中心を算出する。そして、各々のクラスタ内の画素データである点群の中心(平均値)が変化したら、上記の新しい中心の算出処理に戻り、これを繰り返す。この後、画素データの点群の中心(平均値)に変化がなくなった時点でクラスタリング処理を終了する。   The number of clusters is N, and the points allocated to the clusters are x1, x2,... Xm. First, an arbitrary center is set for each cluster. For example, as shown in FIG. 4, c1, c2,... CN (random designation by random numbers) are set. Then, it is determined which cluster is located closest to the point (xi) of each pixel of the image sensor 14 or each pixel of the image in the processing of the computer 20. This operation clusters each point, and targets each point that is all pixels from the upper left to the lower right of the image data of the image sensor 14 or each point that is all pixels of the image in the processing of the computer 20. . Thereby, in all clusters, an average new cluster center is calculated from the positional relationship of each point in each class at the present time. When the center (average value) of the point group which is pixel data in each cluster changes, the process returns to the above-described new center calculation process and is repeated. Thereafter, the clustering process is terminated when there is no change in the center (average value) of the point group of the pixel data.

次に、この実施形態のカラークラスタリングについて説明する。カラークラスタリングにおいては、上述のクラスタリングを、画像データをRGB毎の処理に拡張するもので、図5に示すように、画像の各点xiは3つの要素(R,G,B)を持った3次元のベクトルで表される。クラスタリングのアルゴリズムについては上記と同様である。また、中心点ベクトル値との距離はユークリッド距離(色距離d:実際には色の差異)により以下のように表される。   Next, color clustering of this embodiment will be described. In the color clustering, the above-described clustering is expanded to the processing for each RGB of the image data. As shown in FIG. 5, each point xi of the image has 3 elements (R, G, B). Represented by a vector of dimensions. The clustering algorithm is the same as described above. Further, the distance from the center point vector value is expressed as follows by the Euclidean distance (color distance d: actually color difference).

色距離dは、以下の式により求められる。例えば、RGBによる3次元ベクトルの2点を、x1,x2とすると、
x1=(x1r, x1g, x1b)、x2=(x2r, x2g, x2b)
この2点間の距離dは、d(x1, x2)=‖(x1r, x1g, x1b)−(x2r, x2g, x2b)‖
=‖(x1r−x2r, x1g−x2g, x1b−x2b)‖
= ((x1r−x2r)2+( x1g−x2g)2+( x1b−x2b)2)1/2
と表される。
The color distance d is obtained by the following formula. For example, if two points of a three-dimensional vector by RGB are x1 and x2,
x1 = (x1r, x1g, x1b), x2 = (x2r, x2g, x2b)
The distance d between the two points is d (x1, x2) = ‖ (x1r, x1g, x1b) − (x2r, x2g, x2b) ‖
= ‖ (X1r−x2r, x1g−x2g, x1b−x2b) ‖
= ((x1r−x2r) 2 + (x1g−x2g) 2 + (x1b−x2b) 2 ) 1/2
It is expressed.

カラークラスタリング処理は、以下のように行う。ここで、ナンバープレート12は、図8(a)に示す内容のものとすると、その撮像画像が図8(a)に示すように影や汚れがある場合、この図8(a)の撮像データを4クラスタのカラークラスタリングを行い、さらに2値化することにより、図8(b)に示すようなデータが得られる。   The color clustering process is performed as follows. Here, assuming that the license plate 12 has the contents shown in FIG. 8A, when the picked-up image has shadows and dirt as shown in FIG. 8A, the pick-up data in FIG. By performing color clustering of 4 clusters and binarizing, data as shown in FIG. 8B is obtained.

ここで、画像をI(x,y)とおいて、クラスタ数nの画素群に分割し、名前をC,C,・・・Cとする。
各セットにおいて、
Here, the image is denoted by I (x, y), and is divided into n pixel groups with the number of clusters, and the names are C 1 , C 2 ,... C n .
In each set,

が成り立つなら、それらの画素は同一クラスタにあることを意味する。 Means that the pixels are in the same cluster.

これにより、各クラスタ内の点群から成る全画素の中心値(R,G,Bの平均色)を算出する。この実施形態では、クラスタ数を4とし、調査対象の画素と4つの仮中心点との距離dの中で最も小さい値となる仮中心点を、対象点が属するクラスタの中心(同一色の画素)とする。そして、各クラスタの全画素中心値(平均色)が変動しなくなるまでこの処理を繰り返す。この実施形態において、カラークラスタリングのクラスタ数を「4」としているのは、実験的、経験的に得られた最適の数値である。出現する各クラスタ画像が持つ色レベルは、処理を行なう画像の状態により動的に変動する。   As a result, the center value (average color of R, G, B) of all pixels composed of the point group in each cluster is calculated. In this embodiment, the number of clusters is 4, and the temporary center point having the smallest value among the distances d between the pixel to be investigated and the four temporary center points is set to the center of the cluster to which the target point belongs (pixels of the same color). ). Then, this process is repeated until the center value (average color) of all the pixels in each cluster does not change. In this embodiment, the number of clusters in the color clustering is “4”, which is an optimum value obtained experimentally and empirically. The color level of each cluster image that appears varies dynamically depending on the state of the image being processed.

次に、上記カラークラスタリング処理により得られた各セグメント画像を元に、図2のステップs3において、画像認識するための比較テンプレートを準備し、以下のようなパターンマッチング処理を行なう。例えば図7に示すように、「富山」の文字のセグメントについて、1セグメント化画像の全体について、各画素の各クラスタに対する包含状態を調べる。クラスタは上記のカラークラスタリング処理により4つに分類されるため、包含関係の調査結果から4つの2値化画像を取得することになる。ここでは、簡便のため、一旦、白黒画像に置き換えて表示している。実際には、カラーのクラスタリング画像から2値化画像を取得する。クラスタに属する画素は「黒:値=1」、属さない場合は「白:値=0」として表す。   Next, based on each segment image obtained by the color clustering process, a comparison template for image recognition is prepared in step s3 of FIG. 2, and the following pattern matching process is performed. For example, as shown in FIG. 7, for the character segment “Toyama”, the inclusion state of each pixel in each cluster is examined for the entire one-segment image. Since the clusters are classified into four by the above color clustering process, four binarized images are acquired from the investigation result of the inclusion relation. Here, for the sake of simplicity, the image is once replaced with a black and white image. In practice, a binarized image is acquired from a color clustering image. Pixels belonging to the cluster are represented as “black: value = 1”, and “white: value = 0” when they do not belong.

そして、図2のルーチンr1において、分類毎の各テンプレート画像に対して、対象画像の位置調整を行い、クラスタ化した対象画像との一致状況を調べる。各取得した画像とテンプレート画像との共通領域、および相違する領域(エラー)をそれぞれ求め、分類中の全てのテンプレートについて順に切り替えて一致状況を調べる。そして、共通領域、および相違する領域それぞれの総和を算出する。共通領域の総和が相違する領域の総和よりも面積的に大きい場合、その対象画像は「文字」をあらわす部分として処理される。相違する領域が大きい場合には「背景」部分として処理する。ここで、「文字」および「背景」の判別処理が必要な理由は、得られた4つの2値化クラスタ画像のどれが「文字」らしきものを表しているかを判断するためである。この処理を、図2のルーチンr2に示すように、全てのクラスタについて順に行う。   Then, in the routine r1 of FIG. 2, the position of the target image is adjusted for each template image for each classification, and the matching state with the clustered target images is checked. A common area between each acquired image and the template image and a different area (error) are obtained, and the matching status is examined by sequentially switching all the templates being classified. Then, the sum of the common area and the different areas is calculated. When the sum of the common areas is larger in area than the sum of the different areas, the target image is processed as a portion representing “character”. When the different area is large, it is processed as a “background” portion. Here, the reason why the “character” and “background” determination processing is necessary is to determine which of the obtained four binarized cluster images represents what appears to be “character”. This process is performed sequentially for all clusters as shown in the routine r2 of FIG.

「文字」として処理された対象画像に関して、上記処理中に最もエラー(相違点)の少なかったものが対象の文字(認識結果)として、テンプレートの中から選出される。   Regarding the target image processed as “character”, the image with the least error (difference) during the above processing is selected from the template as the target character (recognition result).

このパターンマッチング処理は、以下の様に実施する。
全てのクラスに関して、i=1・・nとし、
This pattern matching process is performed as follows.
For all classes, i = 1 ·· n,

とする。テンプレート画像Jに対しIiの最良なマッチングを探索する。Tは、IiをJにする変換とする。 And The best matching of Ii is searched for the template image J. Let T be a transformation that changes Ii to J.

は最小値であることを意味する。
次に、全てのクラスタに対し、j=1・・・n,j≠i
Means the minimum value.
Next, for all clusters, j = 1... N, j ≠ i

である場合、このクラスは前景に属する。 The class belongs to the foreground.

もし、Err(i)<Errであれば、それまでのマッチングよりも一致度が高い
Errは、パターンJに対する上記クラスタリングにより到達する最小マッチングエラーを示す。
If Err (i) <Err, the degree of matching is higher than the previous matching
Err indicates a minimum matching error that is reached by the clustering for the pattern J.

上記サンプルの場合には4つのクラスタを用いている。I1,I2,I3,I4は図7のように、左から順に示される。簡便のため、白黒調で表示している。各画像は、クラスタの中のどれか1つが”ON”の時に示す状態に対応している。 In the case of the above sample, four clusters are used. I 1 , I 2 , I 3 , and I 4 are shown in order from the left as shown in FIG. For simplicity, it is displayed in black and white. Each image corresponds to the state shown when any one of the clusters is “ON”.

通常のパターンマッチング・アルゴリズム(一般化ハフ変換)は、図2のフローチャートに示すように、各テンプレート画像Jを最も一致する場所に位置付けるために使用される。ここで変換をTとして表す。Tは   A normal pattern matching algorithm (generalized Hough transform) is used to position each template image J at the closest match, as shown in the flowchart of FIG. Here, the transformation is represented as T. T is

で示される変換である。つまり、最良のマッチングを探索することは It is the conversion shown by. In other words, searching for the best match

がJ(x,y)と最良のマッチングとなる(tx,ty)を探索することを意味する。 Means searching for (tx, ty) that best matches J (x, y).

図2のルーチンr1内で、一つのクラスタ画像Iiに対して最良のマッチングが探索された後、さらにルーチンr2により、他の全てのクラスタについてどれが前景(文字部分)に属し、どれが背景に属するのかをチェックする。この例の場合、クラスタ4が漢字部分「富山」を示す前景に属し、クラスタ1および2は数字部分が前景に属していることが分かる。   After the best matching is searched for one cluster image Ii in the routine r1 of FIG. 2, the routine r2 further determines which of the other clusters belongs to the foreground (character portion) and which is in the background. Check if it belongs. In the case of this example, it can be seen that cluster 4 belongs to the foreground indicating the Chinese character part “Toyama”, and clusters 1 and 2 belong to the foreground of the numeric part.

そして、文字画像のクラスタリングで与えられ且つ文字として判断された画像が、予め所有している文字に関するどのテンプレートと最も良く合致するかを決定する。図2のステップs4において、アルゴリズム上では、全てのテンプレートの中で最良にマッチするテンプレートを与える最小エラーを持ったテンプレートが、対象とする文字であるとする。この段階で、アルゴリズムが文字を認識することを示すことになり、ステップs5において、そのテンプレートの文字を選出し、画像認識が完了する。   Then, it is determined which template related to the character that the image given by the clustering of the character image and determined as the character best matches in advance. In step s4 of FIG. 2, it is assumed that the template having the smallest error that gives the best matching template among all templates is the target character. At this stage, the algorithm indicates that the character is recognized. In step s5, the character of the template is selected, and the image recognition is completed.

ここで、上記のアルゴリズムにおいてクラスタ数のパラメータnは、決定的な重要性を有する。もし、nが大きい場合、各クラスタは小さくなり、全ての文字に対して良い結果(エラー値が小さい)を得ることになる。それゆえ、どれが最良であるかを識別することができない。しかし、nが大きいことで発生する問題は、アルゴリズムの処理速度が低下することである。その結果として、全てのクラスタが文字の特徴を良く表している部分を含むことが重要になる。経験上、nは3〜5の値が最も良い結果を与える。この数値の場合、各クラスは前景/背景に関する有用な情報を含み、アルゴリズムの処理も速くなる。   Here, in the above algorithm, the parameter n of the number of clusters has decisive importance. If n is large, each cluster is small, and good results (small error values) are obtained for all characters. It is therefore not possible to identify which is the best. However, the problem that occurs when n is large is that the processing speed of the algorithm decreases. As a result, it is important that all the clusters include portions that well represent the character features. From experience, a value of 3 to 5 gives the best results. For this number, each class contains useful information about the foreground / background and the algorithm is faster.

この実施形態の画像認識方法によれば、画像認識アルゴリズム全体の認識精度が向上した。これ以前のアルゴリズムでは90%程度の認識率であったものが、このアルゴリズムによりシステム能力として信頼性を有するレベルと言える98%の認識率を示した。このアルゴリズムを基に、車のナンバープレートの文字認識に使用した場合も、効果的に前景と背景を識別することが可能になり、ナンバープレートの認識に対して著しい認識結果の向上が認められた。   According to the image recognition method of this embodiment, the recognition accuracy of the entire image recognition algorithm is improved. Although the previous algorithm had a recognition rate of about 90%, this algorithm showed a recognition rate of 98%, which can be said to be a level with system reliability. Based on this algorithm, when used for character recognition of car license plates, it became possible to distinguish between foreground and background effectively, and a significant improvement in recognition results was recognized compared to license plate recognition. .

この発明の一実施形態の画像認識方法のシステムを示す概略図である。It is the schematic which shows the system of the image recognition method of one Embodiment of this invention. この実施形態の画像認識方法の処理を示すフローチャートである。It is a flowchart which shows the process of the image recognition method of this embodiment. この実施形態の画像認識方法のカラークラスタリング処理を示すフローチャートである。It is a flowchart which shows the color clustering process of the image recognition method of this embodiment. この実施形態の画像認識方法のクラスタリングを示す概念図である。It is a conceptual diagram which shows the clustering of the image recognition method of this embodiment. この実施形態の画像認識方法のカラークラスタリングを示す概念図である。It is a conceptual diagram which shows the color clustering of the image recognition method of this embodiment. この実施形態の画像認識方法の認識対象の文字を示す図である。It is a figure which shows the character of the recognition target of the image recognition method of this embodiment. この実施形態の画像認識方法の認識対象の文字をカラークラスタリングした状態を示す概念図である。It is a conceptual diagram which shows the state which carried out the color clustering of the character of the recognition target of the image recognition method of this embodiment. この実施形態の画像認識方法の認識対象のナンバープレートの撮像状態を示す(a)と、カラークラスタリングした状態のナンバープレートを示す図(b)である。It is the figure which shows the (a) which shows the imaging state of the license plate of the recognition object of the image recognition method of this execution form, and the figure (b) which shows the number plate of the state where color clustering is done. 従来の画像認識方法において2値化したナンバープレートを示す図である。It is a figure which shows the license plate binarized in the conventional image recognition method.

符号の説明Explanation of symbols

10 車
12 ナンバープレート
14 撮像素子
16 撮像装置
20 コンピュータ
22 CPU
24 記憶装置
26 モニタ
28 キーボード
30 プリンタ
10 car 12 license plate 14 image sensor 16 image pickup device 20 computer 22 CPU
24 storage device 26 monitor 28 keyboard 30 printer

Claims (3)

カラー撮像装置により車両ナンバーを捉えて撮像信号をデジタル化し、得られた画像データの各画素について、RGBの色データの値を基にした3次元データとし、各画素についての上記3次元データに対して所定のクラスタ数のカラークラスタリング処理により、上記画像データについて各画素をクラスタ毎に分類し、得られた各クラスタの画像を文字認識の対象とする文字画像データとして、上記カラークラスタリングにより得られた文字画像データとテンプレート画像とを比較し、上記文字画像データの判別を行なうことを特徴とする画像認識方法。   A color imaging device captures the vehicle number and digitizes the imaging signal. For each pixel of the obtained image data, it is set as three-dimensional data based on the value of RGB color data. The color clustering process with a predetermined number of clusters is used to classify the pixels of the image data for each cluster, and the obtained image of each cluster is obtained as a character image data for character recognition by the color clustering. An image recognition method comprising: comparing character image data with a template image and determining the character image data. 上記文字画像データとテンプレート画像との一致具合を、上記文字画像データの各画素毎に求めて累積し、算出される累積エラー値について、各テンプレートに対するエラー値が最小値となる上記文字画像データを、上記テンプレート画像の文字であるとする識別を行なうことを特徴とする請求項1記載の画像認識方法。   The degree of coincidence between the character image data and the template image is obtained and accumulated for each pixel of the character image data, and the character image data for which the error value for each template is the minimum value is calculated for the accumulated error value calculated. 2. The image recognition method according to claim 1, wherein the template image is identified as a character. 上記クラスタ数は、3〜5であることを特徴とする請求項1記載の画像認識方法。
The image recognition method according to claim 1, wherein the number of clusters is 3 to 5.
JP2004059365A 2004-03-03 2004-03-03 Image recognition method Pending JP2005250786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004059365A JP2005250786A (en) 2004-03-03 2004-03-03 Image recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004059365A JP2005250786A (en) 2004-03-03 2004-03-03 Image recognition method

Publications (1)

Publication Number Publication Date
JP2005250786A true JP2005250786A (en) 2005-09-15

Family

ID=35031217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004059365A Pending JP2005250786A (en) 2004-03-03 2004-03-03 Image recognition method

Country Status (1)

Country Link
JP (1) JP2005250786A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101459794B1 (en) 2009-11-12 2014-11-10 현대자동차주식회사 Real-time monitoring system of digital cluster
JP2015056099A (en) * 2013-09-13 2015-03-23 株式会社情報技研 Ball individual position discrimination device
JP6148426B1 (en) * 2016-05-27 2017-06-14 楽天株式会社 Image processing apparatus, image processing method, and image processing program
KR101778605B1 (en) 2017-02-21 2017-09-14 주식회사 엑시냅스 Method And Apparatus For Recognizing Vehicle License Plate
CN111161247A (en) * 2019-12-30 2020-05-15 凌云光技术集团有限责任公司 Detection method for variable code reading character quality verification
WO2021107763A1 (en) * 2019-11-29 2021-06-03 Mimos Berhad System and method for processing moving image
CN113976353A (en) * 2021-10-12 2022-01-28 广汽本田汽车有限公司 Detection system for vehicle color spraying

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101459794B1 (en) 2009-11-12 2014-11-10 현대자동차주식회사 Real-time monitoring system of digital cluster
JP2015056099A (en) * 2013-09-13 2015-03-23 株式会社情報技研 Ball individual position discrimination device
JP6148426B1 (en) * 2016-05-27 2017-06-14 楽天株式会社 Image processing apparatus, image processing method, and image processing program
WO2017203705A1 (en) * 2016-05-27 2017-11-30 楽天株式会社 Image processing device, image processing method, and image processing program
KR101778605B1 (en) 2017-02-21 2017-09-14 주식회사 엑시냅스 Method And Apparatus For Recognizing Vehicle License Plate
WO2021107763A1 (en) * 2019-11-29 2021-06-03 Mimos Berhad System and method for processing moving image
CN111161247A (en) * 2019-12-30 2020-05-15 凌云光技术集团有限责任公司 Detection method for variable code reading character quality verification
CN111161247B (en) * 2019-12-30 2023-10-20 凌云光技术股份有限公司 Detection method for variable code reading character quality verification
CN113976353A (en) * 2021-10-12 2022-01-28 广汽本田汽车有限公司 Detection system for vehicle color spraying

Similar Documents

Publication Publication Date Title
TWI497422B (en) A system and method for recognizing license plate image
US8059868B2 (en) License plate recognition apparatus, license plate recognition method, and computer-readable storage medium
JP5775225B2 (en) Text detection using multi-layer connected components with histograms
EP0862132A2 (en) Robust identification code recognition system
CN101122953A (en) Picture words segmentation method
CN101122952A (en) Picture words detecting method
JP2010123090A (en) Method and device for recognizing character string
WO2011128777A2 (en) Segmentation of textual lines in an image that include western characters and hieroglyphic characters
US9171224B2 (en) Method of improving contrast for text extraction and recognition applications
CN110598566A (en) Image processing method, device, terminal and computer readable storage medium
JP3851742B2 (en) Form processing method and apparatus
CN112419260A (en) PCB character area defect detection method
Rebelo et al. Staff line detection and removal in the grayscale domain
JP2008251029A (en) Character recognition device and license plate recognition system
JP2005250786A (en) Image recognition method
JP2898562B2 (en) License plate determination method
KR100295360B1 (en) Image Processing Method Using Shading Algorithm
CN113840135B (en) Color cast detection method, device, equipment and storage medium
JP3268552B2 (en) Area extraction method, destination area extraction method, destination area extraction apparatus, and image processing apparatus
JP4264332B2 (en) Character recognition device, license plate recognition system
JP3679958B2 (en) License plate recognition device
JP2000357287A (en) Method and device for number plate recognition
JP4194309B2 (en) Document direction estimation method and document direction estimation program
CN112163581B (en) License plate letter recognition method, system, device and storage medium
CN109086769B (en) Method for identifying fracture adhesion laser printing digit string

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080604

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080731

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081112