JP7277879B2 - License plate recognition program and license plate recognition device - Google Patents
License plate recognition program and license plate recognition device Download PDFInfo
- Publication number
- JP7277879B2 JP7277879B2 JP2020161772A JP2020161772A JP7277879B2 JP 7277879 B2 JP7277879 B2 JP 7277879B2 JP 2020161772 A JP2020161772 A JP 2020161772A JP 2020161772 A JP2020161772 A JP 2020161772A JP 7277879 B2 JP7277879 B2 JP 7277879B2
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- areas
- area
- vehicle number
- license plate
- 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.)
- Active
Links
Images
Landscapes
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Description
本発明はナンバプレート認識プログラム及びナンバプレート認識装置に関する。 The present invention relates to a license plate recognition program and a license plate recognition device.
駐車場、路上等において、停車中又は走行中の車両のナンバプレートを認識する必要性がある場合がある。 In a parking lot, on the road, etc., there may be a need to recognize the license plate of a parked or moving vehicle.
従来のナンバプレート認識方法は、カメラで撮影された車両画像からナンバプレート画像を切り出した後に、ナンバプレートの情報を認識する(参照:特許文献1)。 A conventional license plate recognition method recognizes license plate information after extracting a license plate image from a vehicle image captured by a camera (see Patent Document 1).
しかしながら、上述の従来のナンバプレート認識方法においては、ナンバプレート画像は、車両の環境、車両の色、ナンバプレートの色に大きく依存し、ナンバプレート画像の切り出しが困難であるという課題がある。 However, in the conventional license plate recognition method described above, the license plate image greatly depends on the environment of the vehicle, the color of the vehicle, and the color of the license plate.
上述の課題を解決するために、本発明に係るナンバプレート認識プログラムは、車両の前方又は後方の画像データを取得する画像データ取得手順と、画像データを黒白2値化データに変換する黒白2値化データ変換手順と、黒白2値化データの連結された黒データ又は白データの連結輪郭を複数の長方形輪郭領域として抽出する長方形輪郭領域抽出手順と、複数の長方形輪郭領域から複数の数字領域及び点領域を判別して抽出する数字・点領域抽出手順と、数字領域及び点領域から車両の車両番号を抽出する車両番号抽出手順とを具備し、数字・点領域抽出手順は、各長方形輪郭領域内画像をブーリアン型画像に変換するブーリアン型画像変換手順と、ブーリアン型画像とブーリアン型数字テンプレートとをピクセル対応のブーリアン演算で比較し、ブーリアン型画像とブーリアン型数字テンプレートとの類似度が第1の閾値以上又は第1の閾値より小さい第2の閾値以下のときに各長方形輪郭領域が数字・点領域であると判別して抽出する数字・点判別抽出手順とを具備し、車両番号抽出処理手順は、数字・点領域のすべての平均高さを演算する平均値演算手順と、数字・点領域の1つを第1の領域として選択する第1の選択手順と、第1の領域の右側の平均高さの所定倍の範囲内の前記数字・点領域を第2の領域として選択する第2の選択手順と、第1、第2の領域の間にある数字・点領域を第3の領域として選択する第3の選択手順と、第3の領域が所定数のときに第1、第2、第3の領域を車両番号候補とする車両番号候補選択手順と、車両番号候補が1つである場合には、車両番号候補を車両の車両番号として選択し、車両番号候補が複数ある場合には、所定条件を満足している可能性が一番大きい車両番号候補を車両の車両番号として選択する車両番号選択手順とを具備するものである。 In order to solve the above-described problems, a license plate recognition program according to the present invention includes an image data acquisition procedure for acquiring image data in front of or behind a vehicle, and a black-and-white binary data for converting the image data into black-and-white binary data. a rectangular contour region extraction procedure for extracting the connected contours of black data or white data in which black and white binarized data are connected as a plurality of rectangular contour regions; A number/point area extraction procedure for discriminating and extracting a point area and a vehicle number extraction procedure for extracting a vehicle number of a vehicle from the number area and the point area. A Boolean image conversion procedure for converting the inner image into a Boolean image is compared with the Boolean image and the Boolean number template by Boolean operations corresponding to pixels, and the degree of similarity between the Boolean image and the Boolean number template is determined to be the first. or a second threshold smaller than the first threshold, a number/point discrimination extraction procedure for determining and extracting each rectangular contour area as a number/point area, and vehicle number extraction processing The procedure includes an average value calculation procedure for calculating the average height of all the number/dot areas, a first selection procedure for selecting one of the number/dot areas as the first area, and a right side of the first area. a second selection procedure of selecting the number/dot area within a range of a predetermined multiple of the average height of the second area as a second area; a vehicle number candidate selection procedure for selecting the first, second, and third areas as vehicle number candidates when the number of the third areas is a predetermined number; and one vehicle number candidate. , the vehicle number candidate is selected as the vehicle number of the vehicle, and if there are a plurality of vehicle number candidates, the vehicle number candidate that is most likely to satisfy the predetermined condition is selected as the vehicle number of the vehicle. and a vehicle number selection procedure to be selected .
また、本発明に係るナンバプレート認識装置は、車両の前方又は後方の画像データを取得する画像データ取得手段と、画像データを黒白2値化データに変換する黒白2値化データ変換手段と、黒白2値化データの連結された黒データ又は白データの連結輪郭を複数の長方形輪郭領域として抽出する長方形輪郭領域抽出手段と、複数の長方形輪郭領域から複数の数字領域及び点領域を判別して抽出する数字・点領域抽出手段と、数字領域及び点領域から車両の車両番号を抽出する車両番号抽出手段とを具備し、数字・点領域抽出手段は、各長方形輪郭領域内画像をブーリアン型画像に変換するブーリアン型画像変換手段と、ブーリアン型画像とブーリアン型数字テンプレートとをピクセル対応のブーリアン演算で比較し、ブーリアン型画像とブーリアン型数字テンプレートとの類似度が第1の閾値以上又は第1の閾値より小さい第2の閾値以下のときに各長方形輪郭領域が数字・点領域であると判別して抽出する数字・点判別抽出手段とを具備し、車両番号抽出処理手段は、数字・点領域のすべての平均高さを演算する平均値演算手段と、数字・点領域の1つを第1の領域として選択する第1の選択手段と、第1の領域の右側の平均高さの所定倍の範囲内の前記数字・点領域を第2の領域として選択する第2の選択手段と、第1、第2の領域の間にある数字・点領域を第3の領域として選択する第3の選択手段と、第3の領域が所定数のときに第1、第2、第3の領域を車両番号候補とする車両番号候補選択手段と、車両番号候補が1つである場合には、車両番号候補を車両の車両番号として選択し、車両番号候補が複数ある場合には、所定条件を満足している可能性が一番大きい車両番号候補を車両の車両番号として選択する車両番号選択手段とを具備するものである。 Further, the license plate recognition device according to the present invention includes image data acquisition means for acquiring image data of the front or rear of the vehicle, black-and-white binary data conversion means for converting the image data into black-and-white binary data, black-and-white Rectangular contour region extracting means for extracting connected contours of black data or white data connected with binary data as a plurality of rectangular contour regions; and a vehicle number extraction means for extracting the vehicle number of the vehicle from the number area and the point area. The Boolean image conversion means for conversion and the Boolean image and the Boolean number template are compared by Boolean operations corresponding to pixels, and the similarity between the Boolean image and the Boolean number template is equal to or higher than the first threshold or the first threshold. number/point discrimination/extraction means for determining and extracting each rectangular contour area as a number/dot area when the second threshold value is less than the threshold value, and the vehicle number extraction processing means includes a number/dot area. a first selection means for selecting one of the number/dot areas as the first area; and a predetermined multiple of the average height of the right side of the first area. A second selection means for selecting the number/dot area within the range of as a second area, and a third selection means for selecting a number/dot area between the first and second areas as a third area selection means, vehicle number candidate selection means for selecting the first, second, and third areas as vehicle number candidates when the number of the third areas is a predetermined number, and vehicle number candidate selection means, when there is one vehicle number candidate, vehicle number selection means for selecting a number candidate as a vehicle number of a vehicle, and selecting a vehicle number candidate having the highest possibility of satisfying a predetermined condition as the vehicle number of the vehicle when there are a plurality of vehicle number candidates; is provided.
本発明によれば、連結輪郭を長方形輪郭領域として抽出し、長方形輪郭領域から数字・点領域を抽出し、数字・点領域からナンバプレートの車両番号を抽出するので、ナンバプレートの切り出しを容易にできる。 According to the present invention, the connected contour is extracted as a rectangular contour region, the number/dot region is extracted from the rectangular contour region, and the vehicle number of the license plate is extracted from the number/dot region, thereby facilitating the extraction of the license plate. can.
図1は本発明に係るナンバプレート認識装置の実施の形態を含むシステムを示すブロック図である。 FIG. 1 is a block diagram showing a system including an embodiment of a license plate recognition device according to the present invention.
図1において、ナンバプレート認識装置1にはたとえば駐車場又は路上に設けられたカメラ(たとえば単眼カメラ)2が接続される。カメラ2は停車中又は走行中の車両のナンバプレートを含む前方又は後方を撮影する。また、ナンバプレート認識装置1は必要に応じてインタネット3を介して情報端末4等に接続される。操作者は情報端末4等を介して又は直接的にナンバプレート認識装置1を操作できる。
In FIG. 1, a license
尚、一般に、ナンバプレートは、次の4つの部分よりなる。
4桁の数字・点よりなる車両番号(但し、点がある場合、点は必ず数字の前に存在する)、
車両番号の左上方に設けられた品川、足立等の地名、
車両番号の右上方に設けられた3桁又は2桁の分類番号、
車両番号の左側に設けられた平仮名等(英字の場合もある)。
Generally, a license plate consists of the following four parts.
Vehicle number consisting of 4-digit numbers and dots (however, if there is a dot, the dot must exist before the number),
Place names such as Shinagawa and Adachi provided on the upper left of the vehicle number,
3-digit or 2-digit classification number provided in the upper right corner of the vehicle number,
Hiragana etc. provided on the left side of the vehicle number (sometimes English letters).
図2は図1のナンバプレート認識装置1の詳細なブロック回路図である。
FIG. 2 is a detailed block circuit diagram of the license
図2において、ナンバプレート認識装置1は、中央処理ユニット(CPU)101、プログラム等を格納するリードオンリメモリ(ROM)(又はフラッシュメモリ)102、一時的データ等を格納するランダムアクセスメモリ(RAM)103、カメラ2に接続された画像インタフェイス104、インタネット3に接続された通信インタフェイス105等によって構成される。
2, the license
図3は図2のCPU101の動作を説明するためのフローチャートであって、リードオンリメモリ(又はフラッシュメモリ)102に格納されている。
FIG. 3 is a flowchart for explaining the operation of the
始めに、画像データ取得処理ステップ301にて、カメラ2より図4の(A)に示す車両のナンバプレートを含むたとえば前方の画像データを取得する。この場合、カメラ2の画像データがRGBカラーデータであれば、グレースケール化する。
First, in image data
次に、黒白2値化データ変換処理ステップ302にて、ステップ301にて取得した画像データを図4の(B)に示す黒白2値化データに変換する。この黒白2値化データ変換処理ステップ302の詳細については後述する。
Next, in black-and-white binarized data
次に、長方形輪郭領域抽出処理ステップ303にて、黒白2値化データの輪郭たとえば連結された黒データ又は白データの輪郭を、図4の(C)に示すごとく、長方形輪郭領域として抽出する。長方形輪郭領域抽出処理ステップ303の詳細については後述する。
Next, in a rectangular contour region
次に、数字・点領域抽出処理ステップ304にて、4つの長方形輪郭領域から4桁の車両番号の数字又は点を表す図5の(A)に示す数字・点領域を抽出する。数字・点領域抽出処理ステップ304の詳細については後述する。
Next, in a number/dot area
次に、車両番号抽出処理ステップ305にて、数字・点領域から4桁の図5の(B)に示す車両番号を抽出する。車両番号抽出処理ステップ305の詳細については後述する。
Next, in vehicle number
最後に、ナンバプレート完成処理ステップ306にて、車両番号以外の図5の(C)に示す地名たとえば「足立」、分類番号たとえば「330」及び平仮名「た」を抽出して車両番号を修飾してナンバプレートの抽出を完了する。ナンバプレート完成処理ステップ306の詳細については後述する。そして、ステップ307にて図3のルーチンは終了する。
Finally, in the license plate
次に、図3の黒白2値化データ変換処理ステップ302の詳細を説明する。始めに、画像データからノイズを除去するためにガウシアンぼかし処理を行う。ガウシアンぼかし処理とは中心から離れる程、値が小さくなる2次元ガウス関数を用いて畳み込み和を演算するものである。次いで、適切な濃淡データを確立するために最適2値化処理を行う。最適2値化処理とは、閾値を固定せずに、注目画素と該注目画素の周囲にあるたとえば8個の画素との合計9個の画素の平均値を閾値とし、注目画素とこの閾値とを比較することにより注目画素を黒白2値化データに変換する。
Next, details of the black-and-white binarized data
次に、図3の長方形輪郭領域抽出処理ステップ303の詳細について説明する。始めに、黒の輪郭を検出する。次いで、連結された黒輪郭を長方形又は矩形で囲んで長方形輪郭領域として抽出する。尚、連結された黒輪郭部の代わりに、連結された白輪郭を用いることもできる。
Next, the details of the rectangular contour region
次に、数字・点領域抽出処理ステップ304の数字・点領域の抽出について説明する。この場合の数字・点領域の数字及び点は車両番号の数字であり、図6の(A)に示す11個の辞書数字(テンプレート)を予めリードオンメモリ(又はフラッシュメモリ)102に格納しておく。図6の(A)に示す11個の各テンプレートとステップ303にて抽出されたたとえば図6の(B)に示す長方形輪郭領域の画像の2値化データとをブーリアン演算を用いて比較する。図7を参照してブーリアン演算の一例を説明すると、(A)に示すテンプレートをたとえば「8」の黒ピクセルをT(true)、白ピクセルをF(false)として(B)に示す8×8ピクセル(実際は28×28ピクセル)ブーリアン型テンプレートに変換して保存しておく。他方、抽出した長方形輪郭領域の黒ピクセルT、白ピクセルFとして(C)に示す8×8ピクセルブーリアン型画像に変換する。ここで、重要なことは(B)に示すブーリアン型テンプレートのピクセル形式と(C)に示すブーリアン型画像のピクセル形式とが同一つまり、この場合、8×8ピクセルであることである。この結果、(B)に示す8×8ピクセルブーリアン型テンプレートと(C)に示す8×8ピクセルブーリアン型画像とを対応ピクセル毎の排他的論理和を用いて比較すると、(D)に示す8×8ピクセルの比較結果を得る。この場合、類似度は59/64=92%となる。同様に、図8を参照してブーリアン演算の他の例を説明すると、この場合、類似度は5/64=8%となる。一般に、背景が白、数字が黒のナンバプレートの場合には、図7に示すごとく、類似度が大きい程、ブーリアン型画像はブーリアン型テンプレートと類似しているが、逆に、背景が黒、数字が白のナンバプレートの場合には、図8に示すごとく、類似度が小さい程、ブーリアン型画像はブーリアン型テンプレートと類似していることになる。従って、両者に適合するように、類似度が大きい閾値たとえば92%以上か小さい閾値8%以下のときに、抽出された長方形輪郭領域の画像がテンプレートの数字に類似していると判別すればよい。
Next, extraction of the number/dot area in the number/dot area
次に、図3の車両番号抽出処理ステップ305の詳細について図9を参照して説明する。
Next, details of the vehicle number
始めに、ステップ901にて、図3のステップ304にて既に抽出された数字・点領域のすべての高さhの平均値を演算する。
First, in
次に、ステップ902にて、数字・点領域の1つを第1の領域A(参照:図10)として選択する。
Next, at
次に、ステップ903にて、第1の領域Aの右側の所定距離範囲たとえば2h~6hの範囲の数字・点領域を第2の領域B(参照:図10)として選択する。
Next, in
次に、ステップ904にて、第1、第2の領域A、B間にある数字・点領域を第3の領域C1、C2、…(参照:図10)として選択する。
Next, at
次に、ステップ905にて、第3の領域C1、C2、…の数が2つか否かを判別し、第3の領域が所定数たとえば2つのみの場合に、ステップ906にて、車両番号候補リストiとして作成する。
i=(A、C1、C2、B)
Next, at
i = (A, C1, C2, B)
ステップ907はステップ902~906のフローをすべての数字・点領域に対して繰返す。 Step 907 repeats the flow of steps 902-906 for all number/dot regions.
ステップ908では、車両番号候補リストから可能性の一番高い車両番号候補を選択する。たとえば、車両番号候補の4つの領域は同一背景色を有する、1~3個の点領域は3~1個の数字領域の左側に存在する、数字・点領域間の高さのばらつき等を考慮して選択する。
At
そして、ステップ909にて図9のルーチンは終了する。
Then, at
最後に、図3のナンバプレート完成処理ステップ306について図11を用いて説明する。図11の(A)に示すごとく、車両番号の左上に地名「足立」が存在し、車両番号の右上に分類番号「330」が存在し、車両番号の左に平仮名「た」が存在するのは既知である。従って、これらの地名、分類番号及び平仮名も28×28ピクセルのテンプレートを用いて認識し、図11の(B)に示すごとく、地名「足立」の長方形輪郭領域、分類番号「330」の長方形輪郭領域及び平仮名「た」の長方形輪郭領域を抽出する。次いで、図11の(C)に示すごとく、各長方形輪郭領域内のノイズを除去した後に、図11の(D)に示すごとく、各長方形輪郭領域から地名「足立」、分類番号「330」及び平仮名「た」を切り出す。そして、図11の(E)に示すごとく、切り出した地名「足立」、分類番号「330」及び平仮名「た」で車両番号「3582」を修飾してナンバプレートの抽出を完了する。
Finally, the license plate
図12は図1のナンバプレート認識装置をハードウェアで構成したものである。 FIG. 12 is a hardware configuration of the license plate recognition device of FIG.
図12において、画像データ取得処理手段1201は、カメラ2より図4の(A)に示す車両のナンバプレートを含むたとえば前方の画像データを取得する。黒白2値化データ変換処理手段1202は、画像データ取得手段1201が取得した画像データを図4の(B)に示す黒白2値化データに変換する。長方形輪郭領域抽出処理手段1203は、黒白2値化データの輪郭たとえば連結された黒データ又は白データの輪郭を、図4の(C)に示すごとく、長方形輪郭領域として抽出する。数字・点領域抽出処理手段1204は、4つの長方形輪郭領域から4桁の車両番号の数字又は点を表す図5の(A)に示す数字・点領域を抽出する。車両番号抽出処理手段1205は、数字・点領域から4桁の図5の(B)に示す車両番号を抽出する。ナンバプレート完成処理手段1206は、車両番号以外の図5の(C)に示す地名たとえば「足立」、分類番号たとえば「330」及び平仮名「た」を抽出して車両番号を修飾してナンバプレートの抽出を完了する。 In FIG. 12, image data acquisition processing means 1201 acquires, for example, forward image data including the license plate of the vehicle shown in FIG. 4A from the camera 2 . Black-and-white binary data conversion processing means 1202 converts the image data acquired by the image data acquisition means 1201 into black-and-white binary data shown in FIG. 4B. Rectangular outline area extraction processing means 1203 extracts the outline of black and white binary data, such as the outline of connected black data or white data, as a rectangular outline area as shown in FIG. 4(C). The number/dot area extraction processing means 1204 extracts the number/dot area shown in FIG. 5A representing the number or point of the four-digit vehicle number from the four rectangular outline areas. Vehicle number extraction processing means 1205 extracts the four-digit vehicle number shown in FIG. 5B from the number/dot area. License plate completion processing means 1206 extracts a place name such as "Adachi", a classification number such as "330" and hiragana "ta" other than the vehicle number shown in FIG. Complete the extraction.
尚、本発明は上述の実施の形態の自明の範囲内でいかなる変更にも適用し得る。 It should be noted that the present invention can be applied to any modification within the obvious scope of the above-described embodiment.
本発明に係るナンバプレート認識装置は入出庫トラブルを防止する駐車場管理システム、速度違反車を検出する速度違反検出システム等に利用できる。 INDUSTRIAL APPLICABILITY The license plate recognition device according to the present invention can be used in a parking lot management system for preventing parking troubles, a speeding detection system for detecting speeding vehicles, and the like.
1:ナンバプレート認識装置
2:カメラ
3:インタネット
4:情報端末
101:CPU
102:ROM
103:RAM
104:画像インタフェイス
105:通信インタフェイス
1: License plate recognition device 2: Camera 3: Internet
4: Information terminal
101: CPU
102: ROM
103: RAM
104: Image interface 105: Communication interface
Claims (7)
前記画像データを黒白2値化データに変換する黒白2値化データ変換手順と、
前記黒白2値化データの連結された黒データ又は白データの連結輪郭を複数の長方形輪郭領域として抽出する長方形輪郭領域抽出手順と、
前記複数の長方形輪郭領域から複数の数字領域及び点領域を判別して抽出する数字・点領域抽出手順と、
複数の前記数字領域及び前記点領域から前記車両の車両番号を抽出する車両番号抽出手順と
を具備し、
前記数字・点領域抽出手順は、
前記各長方形輪郭領域内画像をブーリアン型画像に変換するブーリアン型画像変換手順と、
前記ブーリアン型画像とブーリアン型数字テンプレートとをピクセル対応のブーリアン演算で比較し、前記ブーリアン型画像とブーリアン型数字テンプレートとの類似度が第1の閾値以上又は該第1の閾値より小さい第2の閾値以下のときに前記各長方形輪郭領域が数字・点領域であると判別して抽出する数字・点判別抽出手順と
を具備し、
前記車両番号抽出処理手順は、
前記数字・点領域のすべての平均高さを演算する平均値演算手順と、
前記数字・点領域の1つを第1の領域として選択する第1の選択手順と、
前記第1の領域の右側の前記平均高さの所定倍の範囲内の前記数字・点領域を第2の領域として選択する第2の選択手順と、
前記第1、第2の領域の間にある前記数字・点領域を第3の領域として選択する第3の選択手順と、
前記第3の領域が所定数のときに前記第1、第2、第3の領域を車両番号候補とする車両番号候補選択手順と、
前記車両番号候補が1つである場合には、当該車両番号候補を前記車両の車両番号として選択し、前記車両番号候補が複数ある場合には、所定条件を満足している可能性が一番大きい前記車両番号候補を前記車両の車両番号として選択する車両番号選択手順と
を具備するナンバプレート認識プログラム。 an image data acquisition procedure for acquiring image data in front of or behind the vehicle;
a black-and-white binary data conversion procedure for converting the image data into black-and-white binary data;
a rectangular contour region extraction procedure for extracting a connected contour of black data or white data connected to the black and white binary data as a plurality of rectangular contour regions;
a number/ point area extraction procedure for discriminating and extracting a plurality of number areas and point areas from the plurality of rectangular outline areas;
a vehicle number extraction procedure for extracting the vehicle number of the vehicle from the plurality of number areas and the point areas;
and
The number/point area extraction procedure is as follows:
a Boolean image transformation procedure for transforming the image within each rectangular contour region into a Boolean image;
comparing the Boolean type image and the Boolean type number template by a Boolean operation corresponding to pixels; a number/point discrimination extraction procedure for determining and extracting each rectangular contour area as a number/point area when the threshold is less than the threshold;
and
The vehicle number extraction processing procedure includes:
an average value calculation procedure for calculating the average height of all the number/dot areas;
a first selection procedure for selecting one of the number/dot regions as a first region;
a second selection step of selecting the number/point area within a range of a predetermined multiple of the average height on the right side of the first area as a second area;
a third selection procedure of selecting the number/dot area between the first and second areas as a third area;
a vehicle number candidate selection procedure for selecting the first, second, and third areas as vehicle number candidates when the number of the third areas is a predetermined number;
When there is one vehicle number candidate, the vehicle number candidate is selected as the vehicle number of the vehicle. a vehicle number selection procedure for selecting the larger vehicle number candidate as the vehicle number of the vehicle;
A license plate recognition program comprising:
前記車両番号候補が同一の背景色を有するか、 whether the vehicle number candidates have the same background color;
前記車両番号候補の1個の点領域が3個の数字領域の左側に存在するか、 one point area of the vehicle number candidate exists on the left side of the three number areas;
前記車両番号候補の2個の点領域が2個の数字領域の左側に存在するか、 whether the two dot areas of the vehicle number candidate exist to the left of the two number areas;
前記車両番号候補の3個の点領域が1個の数字領域の左側に存在するか、又は the three dot areas of the vehicle number candidates are to the left of one number area, or
前記車両番号候補の数字・点領域間の高さのばらつきが一番小さいか Whether the variation in height between the number/dot areas of the vehicle number candidate is the smallest
である請求項1に記載のナンバプレート認識プログラム。 The license plate recognition program according to claim 1, wherein:
前記車両番号の所定周辺の前記長方形輪郭領域から前記車両番号の他のナンバプレート情報を抽出して前記車両番号を修飾するナンバプレート完成手順を具備する請求項1に記載のナンバプレート認識プログラム。 moreover,
2. The license plate recognition program according to claim 1, further comprising a license plate completion procedure for modifying the vehicle number by extracting other license plate information of the vehicle number from the rectangular outline area around the predetermined periphery of the vehicle number.
前記画像データに対してノイズを除去するためのガウシアンぼかし処理を行うガウシアンぼかし処理手順と、
前記ガウシアンぼかし処理後に最適2値化処理を行う最適2値化処理手順と
を具備する請求項1に記載のナンバプレート認識プログラム。 The black-and-white binary data conversion procedure includes:
Gaussian blur processing procedure for performing Gaussian blur processing for removing noise on the image data;
The license plate recognition program according to claim 1, further comprising an optimum binarization processing procedure for performing optimum binarization processing after the Gaussian blurring processing.
前記画像データの連結された白輪郭又は黒輪郭を長方形又は矩形で囲んで複数の長方形輪郭領域として抽出する手順を具備する請求項1に記載のナンバプレート認識プログラム。 The rectangular contour region extraction procedure includes:
2. The license plate recognition program according to claim 1, comprising a step of enclosing the connected white contour or black contour of said image data with a rectangle or rectangles and extracting them as a plurality of rectangular contour regions.
前記画像データを黒白2値化データに変換する黒白2値化データ変換手段と、
前記黒白2値化データの連結された黒データ又は白データの連結輪郭を複数の長方形輪郭領域として抽出する長方形輪郭領域抽出手段と、
前記複数の長方形輪郭領域から複数の数字領域及び点領域を判別して抽出する数字・点領域抽出手段と、
複数の前記数字領域及び前記点領域から前記車両の車両番号を抽出する車両番号抽出手段と
を具備し、
前記数字・点領域抽出手段は、
前記各長方形輪郭領域内画像をブーリアン型画像に変換するブーリアン型画像変換手段と、
前記ブーリアン型画像とブーリアン型数字テンプレートとをピクセル対応のブーリアン演算で比較し、前記ブーリアン型画像とブーリアン型数字テンプレートとの類似度が第1の閾値以上又は該第1の閾値より小さい第2の閾値以下のときに前記各長方形輪郭領域が数字・点領域であると判別して抽出する数字・点判別抽出手段と
を具備し、
前記車両番号抽出処理手段は、
前記数字・点領域のすべての平均高さを演算する平均値演算手段と、
前記数字・点領域の1つを第1の領域として選択する第1の選択手段と、
前記第1の領域の右側の前記平均高さの所定倍の範囲内の前記数字・点領域を第2の領域として選択する第2の選択手段と、
前記第1、第2の領域の間にある前記数字・点領域を第3の領域として選択する第3の選択手段と、
前記第3の領域が所定数のときに前記第1、第2、第3の領域を車両番号候補とする車両番号候補選択手段と、
前記車両番号候補が1つである場合には、当該車両番号候補を前記車両の車両番号として選択し、前記車両番号候補が複数ある場合には、所定条件を満足している可能性が一番大きい前記車両番号候補を前記車両の車両番号として選択する車両番号選択手段と
を具備するナンバプレート認識装置。 image data acquisition means for acquiring image data in front of or behind the vehicle;
black-and-white binary data conversion means for converting the image data into black-and-white binary data;
Rectangular outline area extracting means for extracting connected outlines of black data or white data in which the black and white binarized data are connected as a plurality of rectangular outline areas;
a number/ point area extracting means for discriminating and extracting a plurality of number areas and point areas from the plurality of rectangular outline areas;
vehicle number extraction means for extracting the vehicle number of the vehicle from the plurality of number areas and the point areas;
and
The number/point area extraction means is
Boolean type image conversion means for converting the image inside each rectangular contour area into a Boolean type image;
comparing the Boolean type image and the Boolean type number template by a Boolean operation corresponding to pixels; a number/point discrimination/extraction means for determining and extracting each of the rectangular contour areas as a number/point area when the area is equal to or less than a threshold;
and
The vehicle number extraction processing means is
Average value calculation means for calculating the average height of all the number/dot areas;
a first selection means for selecting one of the number/dot areas as a first area;
a second selection means for selecting, as a second area, the number/point area within a range of a predetermined multiple of the average height on the right side of the first area;
a third selection means for selecting the number/dot area between the first and second areas as a third area;
vehicle number candidate selection means for selecting the first, second, and third areas as vehicle number candidates when the number of the third areas is a predetermined number;
When there is one vehicle number candidate, the vehicle number candidate is selected as the vehicle number of the vehicle. vehicle number selection means for selecting the larger vehicle number candidate as the vehicle number of the vehicle;
A license plate recognition device comprising:
前記車両番号の所定周辺の前記長方形輪郭領域から前記車両番号の他のナンバプレート情報を抽出して前記車両番号を修飾するナンバプレート完成手段を具備する請求項6に記載のナンバプレート認識装置。 moreover,
7. A license plate recognition apparatus according to claim 6, further comprising license plate completing means for modifying the vehicle number by extracting other license plate information of the vehicle number from the rectangular contour area around the predetermined periphery of the vehicle number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020161772A JP7277879B2 (en) | 2020-09-28 | 2020-09-28 | License plate recognition program and license plate recognition device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020161772A JP7277879B2 (en) | 2020-09-28 | 2020-09-28 | License plate recognition program and license plate recognition device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022054632A JP2022054632A (en) | 2022-04-07 |
JP7277879B2 true JP7277879B2 (en) | 2023-05-19 |
Family
ID=80997849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020161772A Active JP7277879B2 (en) | 2020-09-28 | 2020-09-28 | License plate recognition program and license plate recognition device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7277879B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009087087A (en) | 2007-09-28 | 2009-04-23 | Toshiba Corp | License plate information processor and license plate information processing method |
-
2020
- 2020-09-28 JP JP2020161772A patent/JP7277879B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009087087A (en) | 2007-09-28 | 2009-04-23 | Toshiba Corp | License plate information processor and license plate information processing method |
Also Published As
Publication number | Publication date |
---|---|
JP2022054632A (en) | 2022-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8059868B2 (en) | License plate recognition apparatus, license plate recognition method, and computer-readable storage medium | |
JP5334042B2 (en) | Character string recognition method and character string recognition apparatus | |
US9965695B1 (en) | Document image binarization method based on content type separation | |
US9171224B2 (en) | Method of improving contrast for text extraction and recognition applications | |
JP2002298085A (en) | Character recognition device, character recognition method, and record medium | |
JP2002288589A (en) | Image processing method, image processor and computer readable recording medium recording program for executing the image processing method by computer | |
CN111461131A (en) | Identification method, device, equipment and storage medium for ID card number information | |
CN111144413A (en) | Iris positioning method and computer readable storage medium | |
CN114863431A (en) | Text detection method, device and equipment | |
US7130085B2 (en) | Half-tone dot elimination method and system thereof | |
JP7277879B2 (en) | License plate recognition program and license plate recognition device | |
JP3099797B2 (en) | Character recognition device | |
US6983071B2 (en) | Character segmentation device, character segmentation method used thereby, and program therefor | |
JP6377214B2 (en) | Text detection method and apparatus | |
JP5439069B2 (en) | Character recognition device and character recognition method | |
CN111881897B (en) | Parking lot ground Chinese sign recognition method and system and storage medium thereof | |
KR101048399B1 (en) | Character detection method and apparatus | |
JP3150762B2 (en) | Gradient vector extraction method and character recognition feature extraction method | |
Matsuura et al. | Extracting circular road signs using specific color distinction and region limitation | |
JP3423889B2 (en) | Pattern recognition method and recording medium recording pattern recognition program | |
JP2002245404A (en) | Program and device for segmenting area | |
WO2017168889A1 (en) | Object detection device and vehicle having the object detection device | |
KR101312306B1 (en) | Apparatus for recognizing signs, Method thereof, and Method for recognizing image | |
JP3163698B2 (en) | Character recognition method | |
JP2023034823A (en) | Image processing apparatus, and control method, and program for image processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220121 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230124 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230131 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230210 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230418 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230425 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7277879 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |