JP2005182236A - Vehicle number reader - Google Patents
Vehicle number reader Download PDFInfo
- Publication number
- JP2005182236A JP2005182236A JP2003419000A JP2003419000A JP2005182236A JP 2005182236 A JP2005182236 A JP 2005182236A JP 2003419000 A JP2003419000 A JP 2003419000A JP 2003419000 A JP2003419000 A JP 2003419000A JP 2005182236 A JP2005182236 A JP 2005182236A
- Authority
- JP
- Japan
- Prior art keywords
- character
- characters
- digit
- area
- image
- 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.)
- Granted
Links
Images
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Abstract
Description
本発明は、車両のナンバープレートの像を含む撮像された画像を処理して車両ナンバーを読み取る車両ナンバー読み取り装置に関するものである。 The present invention relates to a vehicle number reading device that processes a captured image including an image of a license plate of a vehicle and reads a vehicle number.
下記の特許文献1には、車両ナンバー読み取り装置の一部として用いられるナンバープレートの一連指定番号(「一連番号」とも呼ばれる。)切り出し装置が開示されている。この切り出し装置では、ナンバープレート領域の画像から一連番号を切り出す切り出し手段と、該切り出し手段により切り出せなかった文字位置を推定して当該文字位置を切り出す切り出し補間手段とを備えている(特許文献1の請求項4、段落番号[0023]〜[0032])。この切り出し装置を用いた車両ナンバー読み取り装置では、この切り出し装置により切り出された一連番号の文字領域について、一連番号の文字を認識する処理を行うことで、一連番号が認識される。
前記切り出し装置によれば、切り出し補間手段によって、切り出し手段により切り出せなかった文字位置を推定して当該文字位置を切り出すので、一連番号の文字位置の切り出しの信頼性が高まる。したがって、前記切り出し装置を用いた車両ナンバー読み取り装置によれば、前記切り出し補間手段を有していない場合に比べて、一連番号の認識漏れを低減することができる。 According to the cutout device, the cutout interpolation unit estimates the character position that could not be cut out by the cutout unit, and cuts out the character position, so that the reliability of cutting out the character position of the serial number is increased. Therefore, according to the vehicle number reading device using the cutout device, it is possible to reduce omission of recognition of serial numbers as compared with the case where the cutout interpolation unit is not provided.
また、車両ナンバー読み取り装置では、車両ナンバーを含む像を撮像する際に、ナンバープレートを斜め方向から撮像する場合が多い。この場合、ナンバープレートの像には、正面から撮像した場合の像に対して回転歪みやその他の歪みが生じてしまう。このため、歪みを有するナンバープレートの画像をそのまま用いて車両ナンバーを認識しようとすると、文字認識精度が低下したり、あるいは、文字認識に用いる文字パターンとして、歪みを考慮した文字パターンを多数用意したりしなければならない。そこで、従来から、撮像した画像からナンバープレート領域の画像を抽出した後に、抽出されたナンバープレート領域の画像に対して歪み補正を行い、歪み補正後のナンバープレート領域の画像について文字認識処理を行う車両ナンバー読み取り装置が、種々提供されている。このような歪み補正を行う車両ナンバー読み取り装置の一例が、下記の特許文献2に開示されている。
しかしながら、前記特許文献1に開示された切り出し装置では、単に、一連番号の文字認識の前処理として一連番号の文字位置を切り出すだけであり、前記切り出し手段や前記切り出し補間手段自体は、何ら文字認識を利用するものではない。したがって、前記特許文献1に開示された切り出し装置では、前記切り出し手段により切り出された一連番号の文字位置の領域は、文字認識しようとしてみると実際には文字領域ではなく誤って切り出された領域である可能性があり、それにより、前記切り出し補間手段により補間された文字位置の領域も、誤って切り出された領域となる可能性がある。このため、前記特許文献1に開示された切り出し装置を用いた車両ナンバー読み取り装置では、十分に精度良く一連番号を認識することはできなかった。
However, the clipping device disclosed in
また、前記特許文献2に開示されているような従来の歪み補正を行う車両ナンバー読み取り装置では、撮像した画像からナンバープレート領域の画像を抽出した後に、抽出されたナンバープレート領域の画像に対してのみ歪み補正を行う。この場合、抽出されたナンバープレート領域が常に正しい領域であれば何ら問題が生じない。しかし、従来の歪み補正を行う車両ナンバー読み取り装置では、最初に抽出されたナンバープレート領域の画像に対してのみ歪み補正を行うので、最初に抽出されたナンバープレート領域が後に正しくないことが判明したときに、新たに判明した正しいナンバープレート領域について文字認識処理を行う際には、新たに判明した正しいナンバープレート領域に対して再び歪み補正を行わなければならず、二重に歪み補正が必要になることから効率良く処理を行うことができない。
Further, in the conventional vehicle number reading device that performs distortion correction as disclosed in
本発明は、このような事情に鑑みてなされたもので、認識漏れをより確実に防止して高い精度で一連番号を認識することができる車両ナンバー読み取り装置を提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a vehicle number reading device that can more reliably prevent a recognition failure and recognize a serial number with high accuracy.
また、本発明は、認識漏れをより確実に防止して高い精度で一連番号を認識することができるとともに、歪み補正を利用して更に高い精度で一連番号を認識することができ、しかも、効率良く処理を行うことができる車両ナンバー読み取り装置を提供することを目的とする。 In addition, the present invention can more reliably prevent a recognition omission and recognize a serial number with high accuracy, and can also recognize a serial number with higher accuracy by using distortion correction. It is an object of the present invention to provide a vehicle number reading device that can perform processing well.
前記課題を解決するため、本発明の第1の態様による車両ナンバー読み取り装置は、車両のナンバープレートの像を含む撮像された画像を処理して車両ナンバーを読み取る車両ナンバー読み取り装置であって、前記撮像された画像に基づいてナンバープレート領域の候補となるナンバープレート候補領域を得るナンバープレート候補領域取得手段と、前記撮像された画像のうちの前記ナンバープレート候補領域の画像に基づいて、一連番号の各文字を認識するための認識処理を行う文字認識処理手段と、前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記一連番号のうちの前記文字認識処理手段による認識が漏れた可能性のある文字の領域の候補となる認識漏れ文字候補領域を得る認識漏れ文字候補領域取得手段と、前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記撮像された画像のうちの、前記認識漏れ文字候補領域の画像に基づいて、前記一連番号の文字を再認識するための再認識処理を行う文字再認識処理手段と、を備えたものである。 In order to solve the above problems, a vehicle number reading device according to a first aspect of the present invention is a vehicle number reading device that reads a vehicle number by processing a captured image including an image of a vehicle license plate, License plate candidate area acquisition means for obtaining a license plate candidate area that is a candidate for a license plate area based on the captured image, and a serial number based on the image of the license plate candidate area of the captured image Character recognition processing means for performing recognition processing for recognizing each character, and when the number of characters recognized by the character recognition processing means is two or three, the character recognition processing of the serial numbers Acquired recognition missing character candidate area that obtains a recognition missing character candidate area that is a candidate for a character area that may have been recognized by the means. And when the number of characters recognized by the character recognition processing means is two or three, the serial number is based on the image of the recognition missing character candidate area in the captured image. And a character re-recognition processing means for performing re-recognition processing for re-recognizing the character.
この第1の態様によれば、文字認識処理手段によってナンバープレート候補領域の画像に基づいて一連番号の各文字の認識処理が行われた後に、その認識文字数が2つ又は3つの場合に、認識漏れ文字候補領域取得手段によって認識漏れ文字候補領域が取得され、文字再認識処理手段によってその漏れ文字候補領域の画像に基づいて一連番号の文字が再認識される。このように、前記第1の態様によれば、一連番号に関して、認識漏れ文字候補領域の取得に文字認識自体が巧みに利用され、取得された認識漏れ文字について再認識が行われる。したがって、前記第1の態様によれば、一連番号に関して文字認識の前処理として文字認識とは全く分離して文字領域の切り出しを行う前記特許文献1に開示された切り出し装置を用いた車両ナンバー読み取り装置に比べて、認識漏れをより確実に防止してより高い精度で一連番号を認識することができる。
According to the first aspect, after the character recognition processing means recognizes each character of the serial number based on the image of the license plate candidate area, the recognition is performed when the number of recognized characters is two or three. The recognized leaked character candidate area is acquired by the leaked character candidate area acquiring means, and the character having the serial number is re-recognized based on the image of the leaked character candidate area by the character re-recognition processing means. As described above, according to the first aspect, with respect to the serial number, the character recognition itself is skillfully used for acquiring the recognition missing character candidate area, and the recognition recognition character thus acquired is re-recognized. Therefore, according to the first aspect, the vehicle number is read using the clipping device disclosed in
本発明の第2の態様による車両ナンバー読み取り装置は、前記第1の態様において、前記撮像された画像における前記ナンバープレート候補領域を含む領域に対して、歪みを補正する歪み補正手段を備え、前記文字認識処理手段は、前記歪み補正手段により補正された画像のうちの前記ナンバープレート候補領域に相当する領域の画像に基づいて、前記一連番号の各文字を認識するための認識処理を行うものである。 A vehicle number reading device according to a second aspect of the present invention includes, in the first aspect, a distortion correction unit that corrects distortion with respect to a region including the license plate candidate region in the captured image, The character recognition processing means performs recognition processing for recognizing each character of the serial number based on an image of an area corresponding to the license plate candidate area in the image corrected by the distortion correction means. is there.
この第2の態様によれば、文字認識処理手段が、歪み補正手段により補正された画像に基づいて一連番号の各文字の認識を行うので、前記第1の態様と同じく認識漏れをより確実に防止して高い精度で一連番号を認識することができるとともに、歪み補正を利用して更に高い精度で一連番号を認識することができる。 According to the second aspect, since the character recognition processing means recognizes each character of the serial number based on the image corrected by the distortion correction means, the recognition omission can be more reliably performed as in the first aspect. Thus, the serial number can be recognized with high accuracy, and the serial number can be recognized with higher accuracy by using distortion correction.
本発明の第3の態様による車両ナンバー読み取り装置は、前記第2の態様において、前記歪み補正手段が補正対象とする前記撮像された画像における領域は、前記漏れ文字候補領域取得手段により前記認識漏れ文字候補領域であるとされる可能性のある領域に相当する領域を含み、前記文字再認識処理手段は、前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記歪み補正手段により補正された画像のうちの、前記認識漏れ文字候補領域の画像に基づいて、前記一連番号の文字を再認識するための再認識処理を行うものである。 The vehicle number reading device according to a third aspect of the present invention is the vehicle number reading device according to the second aspect, wherein the region in the captured image that is to be corrected by the distortion correction unit is detected by the leaked character candidate region acquisition unit. Including a region corresponding to a region that may be a character candidate region, and the character re-recognition processing unit has two or three characters recognized by the character recognition processing unit. The re-recognition processing for re-recognizing the character having the serial number is performed based on the image of the recognition-missing character candidate area among the images corrected by the distortion correcting unit.
前記第2の態様では、前記歪み補正手段が補正対象とする前記撮像された画像における領域は、前記ナンバープレート候補領域のみとしてもよい。しかしながら、前記第3の態様では、前記歪み補正手段が補正対象とする前記撮像された画像における領域が、漏れ文字候補領域取得手段により前記認識漏れ文字候補領域であるとされる可能性のある領域に相当する領域を含み、再認識処理手段が、歪み補正手段により補正された画像のうちの、前記認識漏れ文字候補領域の画像に基づいて、再認識処理を行うので、前記ナンバープレート候補領域に含まれない認識漏れ文字候補領域についても、再び歪み補正を行わずに歪み補正後の画像で再認識することができる。したがって、前記第3の態様によれば、前記第2の態様と同様の利点を得ながら、二重に歪み補正を行う必要がなくなって効率良く処理を行うことができるという利点も得ることができる。 In the second aspect, the region in the captured image that is to be corrected by the distortion correcting unit may be only the license plate candidate region. However, in the third aspect, an area in the captured image that is to be corrected by the distortion correcting unit may be the recognized missing character candidate region by the leaked character candidate region acquiring unit. The re-recognition processing means performs re-recognition processing based on the image of the recognition missing character candidate area in the image corrected by the distortion correction means. A recognition missing character candidate area that is not included can be re-recognized with an image after distortion correction without performing distortion correction again. Therefore, according to the third aspect, while obtaining the same advantage as the second aspect, there is no need to perform double distortion correction, and it is possible to obtain an advantage that processing can be performed efficiently. .
本発明の第4の態様による車両ナンバー読み取り装置は、前記第2又は第3の態様において、前記歪み補正手段は、回転歪みを補正するものである。この第4の態様は、歪み補正の例を挙げたものであるが、前記第2及び第3の態様では、他の種々の歪み補正を行ってもよく、例えば、前記特許文献2に開示されている歪み補正を採用することもできる。
In the vehicle number reading device according to the fourth aspect of the present invention, in the second or third aspect, the distortion correction means corrects rotational distortion. The fourth aspect is an example of distortion correction. However, in the second and third aspects, other various distortion corrections may be performed. For example, the fourth aspect is disclosed in
本発明の第5の態様による車両ナンバー読み取り装置は、前記第1乃至第4のいずれかの態様において、前記認識漏れ文字候補領域取得手段は、(i)前記文字認識処理手段により認識された文字の数が2つである場合、当該2つの文字の画像上の中心間隔と当該2つの文字のうちの少なくとも1つの文字の画像上の文字幅と当該少なくとも1つの文字が「1」と認識されたか否かとに基づいて、当該2つの文字が前記一連番号の第1桁及び第2桁の文字であるかあるいは第3桁及び第4桁の文字である第1のパターンに該当するか否か、当該2つの文字が前記一連番号の第2桁及び第3桁の文字である第2のパターンに該当するか否か、当該2つの文字が前記一連番号の第1桁及び第3桁の文字であるかあるいは第2桁及び第4桁の文字である第3のパターンに該当するか否か、及び、当該2つの文字が前記一連番号の第1桁及び第4桁の文字である第4のパターンに該当するか否か、を判定する第1の判定手段と、(ii)前記第1の判定手段により前記第1のパターンに該当すると判定された場合に、当該2つの文字が前記一連番号の第1桁及び第2桁の文字であるかそれとも前記一連番号の第3桁及び第4桁の文字であるかを判定する第2の判定手段と、(iii)前記第1の判定手段により前記第3のパターンに該当すると判定された場合に、当該2つの文字が前記一連番号の第1桁及び第3桁の文字であるかそれとも前記一連番号の第2桁及び第4桁の文字であるかを判定する第3の判定手段と、(iv)前記第1乃至第3の判定手段による判定結果に基づいて、前記認識漏れ文字候補領域を得る手段と、を含むものである。 The vehicle number reading device according to the fifth aspect of the present invention is the vehicle number reading device according to any one of the first to fourth aspects, wherein the recognition-missing character candidate area acquisition means is (i) a character recognized by the character recognition processing means. When the number of is two, the center interval on the image of the two characters, the character width on the image of at least one of the two characters, and the at least one character are recognized as “1”. Whether the two characters are the first digit and the second digit character of the serial number or the first pattern that is the third digit and the fourth digit character based on whether or not , Whether the two characters correspond to the second pattern of the second and third digits of the serial number, whether the two characters are the first and third digits of the serial number Or in the 2nd and 4th digit characters First to determine whether the second pattern corresponds to the third pattern and whether the two characters correspond to the fourth pattern which is the first digit and the fourth digit of the serial number. And (ii) whether the two characters are the first and second digits of the serial number when the first determination unit determines that the first pattern is satisfied. Or (iii) a case where it is determined by the first determination means that the character corresponds to the third pattern, if it is a character of the third digit and the fourth digit of the serial number; A third determination means for determining whether the two characters are the first and third digits of the serial number or the second and fourth digits of the serial number; iv) Based on the determination results by the first to third determination means, Means for obtaining a character candidate region Re 識漏, is intended to include.
この第5の態様は、文字認識処理手段により認識された文字の数が2つである場合の、認識漏れ文字候補領域の取得手法の具体例を挙げたものである。 The fifth aspect is a specific example of a method for acquiring a recognition-missing character candidate region when the number of characters recognized by the character recognition processing unit is two.
前記第1乃至第4の態様では、このような手法に限定されるものではなく、例えば、前記第1の判定手段に代えて、当該2つの文字の中心距離と縦寸法との比に基づいて、前記第1乃至第4のパターンのいずれに該当するかの判定を行う判定手段を、採用してもよい。しかしながら、この場合には、ナンバープレートを撮像するときの俯仰角によって前記比が変動してしまうので、前記第1乃至第4のパターンのいずれに該当するかの判定の精度がその分低下してしまう。これに対し、前記第5の態様では、前記第1の判定手段は、当該2つの文字の画像上の中心間隔と当該2つの文字のうちの少なくとも1つの文字の画像上の文字幅と当該少なくとも1つの文字が「1」と認識されたか否かとに基づいて、前記第1乃至第4のパターンのいずれに該当するかの判定を行うので、基本的に前記中心間隔と文字幅との比を利用することで、ナンバープレートを撮像するときの俯仰角の変動の影響を除去することができ、前記第1乃至第4のパターンのいずれに該当するかの判定の精度が高まる。よって、前記第5の態様のような判断手法を採用することが好ましい。 The first to fourth aspects are not limited to such a method. For example, instead of the first determination means, based on the ratio between the center distance and the vertical dimension of the two characters. A determination unit that determines which of the first to fourth patterns is applicable may be employed. However, in this case, since the ratio varies depending on the elevation angle when the license plate is imaged, the accuracy of determining which of the first to fourth patterns falls is correspondingly reduced. End up. On the other hand, in the fifth aspect, the first determination means includes the center interval on the image of the two characters, the character width on the image of at least one of the two characters, and the at least the character. Based on whether or not one character is recognized as “1”, it is determined which one of the first to fourth patterns is applicable, so basically the ratio between the center interval and the character width is determined. By using this, it is possible to remove the influence of fluctuations in the elevation angle when the license plate is imaged, and the accuracy of determination as to which of the first to fourth patterns is met. Therefore, it is preferable to employ the determination method as in the fifth aspect.
本発明の第6の態様による車両ナンバー読み取り装置は、前記第5の態様において、前記第2の判定手段は、当該2つの文字のうちの下位桁の文字の位置を基準としてその上部に分類番号(車種コード)の一部に相当する領域が存在するか否かに応じて、前記判定を行うものである。この第6の態様は、前記第2の判断手段による判断手法の具体例を挙げたものである。 The vehicle number reading device according to a sixth aspect of the present invention is the vehicle number reading device according to the fifth aspect, wherein the second determination means has a classification number on the upper side of the position of the lower digit of the two characters as a reference. The determination is performed according to whether or not there is a region corresponding to a part of (vehicle type code). The sixth aspect is a specific example of the determination method by the second determination means.
本発明の第7の態様による車両ナンバー読み取り装置は、前記第5の態様において、前記第2の判定手段は、当該2つの文字のうちの一方の文字の位置を基準として推定されるひらがな文字の領域からひらがな文字が認識し得るか否かに応じて、前記判定を行うものである。この第7の態様は、前記第2の判断手段による判断手法の他の具体例を挙げたものである。 The vehicle number reading device according to a seventh aspect of the present invention is the vehicle number reading device according to the fifth aspect, wherein the second determination means is a hiragana character estimated based on the position of one of the two characters. The determination is made according to whether or not hiragana characters can be recognized from the region. The seventh aspect is another specific example of the determination method by the second determination means.
本発明の第8の態様による車両ナンバー読み取り装置は、前記第5乃至第7のいずれかの態様において、前記第3の判定手段は、当該2つの文字のうちの下位桁の文字の位置を基準としてその上部に分類番号の一部に相当する領域が存在するか否かに応じて、前記判定を行うものである。この第8の態様は、前記第3の判断手段による判断手法の具体例を挙げたものである。 In the vehicle number reading device according to the eighth aspect of the present invention, in any one of the fifth to seventh aspects, the third determination means uses the position of the lower-order character of the two characters as a reference. The determination is performed depending on whether or not an area corresponding to a part of the classification number exists in the upper part. The eighth aspect is a specific example of the determination method by the third determination means.
本発明の第9の態様による車両ナンバー読み取り装置は、前記第5乃至第7のいずれかの態様において、前記第3の判定手段は、当該2つの文字のうちの一方の文字の位置を基準として推定されるひらがな文字の領域からひらがな文字が認識し得るか否かに応じて、前記判定を行うものである。この第9の態様は、前記第3の判断手段による判断手法の他の具体例を挙げたものである。 In the vehicle number reading device according to the ninth aspect of the present invention, in any one of the fifth to seventh aspects, the third determination means uses the position of one of the two characters as a reference. The determination is performed depending on whether or not the hiragana character can be recognized from the estimated hiragana character region. The ninth aspect is another specific example of the determination method by the third determination means.
本発明の第10の態様による車両ナンバー読み取り装置は、前記第1乃至第8のいずれかの態様において、前記認識漏れ文字候補領域取得手段は、前記文字認識処理手段により認識された文字の数が3つである場合、当該3つの文字のうちの下位桁の2つの文字の画像上の中心間隔と当該3つの文字のうちの上位桁の2つの文字の画像上の中心間隔とに基づいて、当該3つの文字が前記一連番号の第1桁、第2桁及び第3桁の文字である第5のパターンに該当するか否か、当該3つの文字が前記一連番号の第1桁、第2桁及び第4桁の文字である第6のパターンに該当するか否か、当該3つの文字が前記一連番号の第1桁、第3桁及び第4桁の文字である第7のパターンに該当するか否か、及び、当該3つの文字が前記一連番号の第2桁、第3桁及び第4桁の文字である第8のパターンに該当するか否か、を判定する第4の判定手段を、含むものである。 According to a tenth aspect of the present invention, in the vehicle number reading device according to any one of the first to eighth aspects, the recognition missing character candidate area obtaining unit has a number of characters recognized by the character recognition processing unit. In the case of three, based on the center interval on the image of the two lower digits of the three characters and the center interval on the image of the two upper digits of the three characters, Whether the three characters correspond to the fifth pattern which is the first digit, second digit and third digit character of the serial number, whether the three characters are the first digit, second digit of the serial number Whether or not the sixth pattern is a digit and fourth digit character, and whether the three characters are the seventh pattern that is the first digit, third digit and fourth digit character of the serial number And whether the three characters are the second digit of the serial number, the second Whether corresponds to eighth pattern of a digit and the fourth digit of the character, a fourth determination means for determining is intended to include.
この第10の態様は、文字認識処理手段により認識された文字の数が3つである場合の、認識漏れ文字候補領域の取得手法の具体例を挙げたものであるが、前記第1乃至第8の態様では、このような手法に限定されるものではない。しかしながら、前記第10の態様では、前記第4の判定手段は、当該3つの文字のうちの下位桁の2つの文字の画像上の中心間隔と当該3つの文字のうちの上位桁の2つの文字の画像上の中心間隔とに基づいて、前記第5乃至第8のパターンのいずれに該当するかの判定を行うので、前記両中心間隔の比を利用することで、ナンバープレートを撮像するときの俯仰角の変動の影響を除去することができ、前記第5乃至第8のパターンのいずれに該当するかの判定の精度が高まる。よって、前記第10の態様のような判断手法を採用することが好ましい。 The tenth aspect is a specific example of a method for acquiring a recognition-missing character candidate area when the number of characters recognized by the character recognition processing unit is three. In the aspect of 8, it is not limited to such a method. However, in the tenth aspect, the fourth determination means includes the center interval on the image of the two lower digits of the three characters and the two upper digits of the three characters. Since it is determined which of the fifth to eighth patterns corresponds to the center interval on the image, the ratio of both the center intervals is used to image the license plate. The influence of fluctuations in the elevation angle can be removed, and the accuracy of determining which of the fifth to eighth patterns is applicable. Therefore, it is preferable to employ the determination method as in the tenth aspect.
本発明の第11の態様による車両ナンバー読み取り装置は、前記第1乃至第10のいずれかの態様において、前記ナンバープレート候補領域取得手段は、前記撮像された画像に基づいてナンバープレート領域の予備的な候補となるナンバープレート予備候補領域を取得する手段と、前記撮像された画像のうちの前記ナンバープレート予備候補領域の画像に基づいて、前記一連番号の各文字を予備的に認識するための認識処理を行う文字予備認識処理手段と、前記文字予備認識処理手段により前記一連番号が1文字以上認識された場合に前記ナンバープレート予備候補領域を前記ナンバープレート候補領域とするとともに、前記文字予備認識処理手段により前記一連番号が1文字も認識されない場合に前記ナンバープレート予備候補領域を前記ナンバープレート候補領域としない手段と、を含むものである。 According to an eleventh aspect of the present invention, in the vehicle number reading device according to any one of the first to tenth aspects, the license plate candidate area obtaining means preliminarily calculates the license plate area based on the captured image. And a means for preliminarily recognizing each character of the serial number based on an image of the license plate preliminary candidate area of the captured image. Character preliminary recognition processing means for performing processing, and when the serial number is recognized by the character preliminary recognition processing means, the license plate preliminary candidate area is made the license plate candidate area, and the character preliminary recognition processing When the serial number is not recognized by the means, the license plate preliminary candidate area is Means not members plate candidate region, is intended to include.
この第11の態様によれば、ナンバープレート予備候補領域について文字認識処理を行い、1文字以上認識されたナンバープレート予備候補領域のみをナンバープレート候補領域としている。したがって、ナンバープレート候補領域の信頼性が高まるので、一連番号をより高い精度で認識することができる。 According to the eleventh aspect, the character recognition process is performed on the license plate preliminary candidate area, and only the license plate preliminary candidate area recognized by one or more characters is set as the license plate candidate area. Therefore, since the reliability of the license plate candidate area is increased, the serial number can be recognized with higher accuracy.
本発明の第12の態様による車両ナンバー読み取り装置は、前記第1乃至第11のいずれかの態様において、前記文字認識処理手段及び前記文字再認識処理手段により認識された一連番号の文字の画像上の位置に基づいて、一連番号以外の文字の領域を得る領域取得手段と、前記領域取得手段により得られた領域から当該一連番号以外の文字を認識する手段と、を備えたものである。 A vehicle number reading device according to a twelfth aspect of the present invention is the vehicle number reading device according to any one of the first to eleventh aspects, on the image of the serial number character recognized by the character recognition processing means and the character re-recognition processing means. And a means for recognizing a character other than the serial number from the area obtained by the area acquisition means.
この第12の態様によれば、文字認識処理手段及び文字再認識処理手段により認識された一連番号の文字の画像上の位置を基準として、一連番号以外の文字の領域を取得し、この領域から一連番号以外の文字を認識している。したがって、高い精度で認識された一連番号の文字の位置を基準として一連番号以外の文字の領域が取得されるので、一連番号以外の文字の領域を高い精度で得ることができ、ひいては、一連番号以外の文字も高い精度で認識することができる。 According to the twelfth aspect, the character area other than the serial number is obtained with reference to the position of the character of the serial number recognized by the character recognition processing means and the character re-recognition processing means on the image, and from this area Recognizes characters other than serial numbers. Therefore, since the character area other than the serial number is obtained based on the position of the character with the serial number recognized with high accuracy, the character area other than the serial number can be obtained with high accuracy, and consequently the serial number. Characters other than can be recognized with high accuracy.
本発明の第13の態様による車両ナンバー読み取り装置は、前記第1乃至第11のいずれかの態様において、前記文字認識処理手段及び前記文字再認識処理手段により認識された前記一連番号の文字の配置パターンが適正な配置パターンに整合するか否かを判定する整合性判定手段を、備えたものである。 A vehicle number reading device according to a thirteenth aspect of the present invention is the vehicle number reading device according to any one of the first to eleventh aspects, wherein the arrangement of the characters of the serial number recognized by the character recognition processing means and the character re-recognition processing means. Consistency determining means for determining whether or not a pattern matches an appropriate arrangement pattern is provided.
この第13の態様によれば、前記整合性判定手段を備えているので、文字認識処理手段及び文字再認識処理手段により認識された一連番号のうち、整合性判定手段により整合すると判定されたもののみを、一連番号の認識結果として用いることにより、一連番号をより一層高い精度で認識することができる。 According to the thirteenth aspect, since the consistency determining unit is provided, the serial number recognized by the character recognition processing unit and the character re-recognition processing unit is determined to be matched by the consistency determining unit. By using only as the recognition result of the serial number, the serial number can be recognized with higher accuracy.
本発明の第14の態様による車両ナンバー読み取り装置は、前記第13の態様において、前記文字認識処理手段及び前記文字再認識処理手段により認識されかつ前記整合性判定手段により整合すると判定された一連番号の文字の画像上の位置に基づいて、一連番号以外の文字の領域を得る領域取得手段と、前記領域取得手段により得られた領域から当該一連番号以外の文字を認識する手段と、を備えたものである。 The vehicle number reading device according to the fourteenth aspect of the present invention is the serial number which is recognized by the character recognition processing means and the character re-recognition processing means in the thirteenth aspect and is determined to be matched by the consistency determination means. An area acquisition means for obtaining a character area other than the serial number based on the position of the character on the image, and a means for recognizing a character other than the serial number from the area obtained by the area acquisition means. Is.
この第14の態様によれば、文字認識処理手段及び文字再認識処理手段により認識されかつ整合性判定手段により整合すると判定された一連番号の文字の画像上の位置を基準として、一連番号以外の文字の領域を取得し、この領域から一連番号以外の文字を認識している。したがって、より一層高い精度で認識された一連番号の文字の位置を基準として一連番号以外の文字の領域が取得されるので、一連番号以外の文字の領域をより一層高い精度で得ることができ、ひいては、一連番号以外の文字もより一層高い精度で認識することができる。 According to the fourteenth aspect, with reference to the position on the image of the character of the serial number recognized by the character recognition processing unit and the character re-recognition processing unit and determined to be matched by the consistency determination unit, The character area is acquired, and characters other than the serial number are recognized from this area. Therefore, since the character area other than the serial number is acquired based on the position of the character of the serial number recognized with higher accuracy, the character area other than the serial number can be obtained with higher accuracy. As a result, characters other than the serial number can be recognized with higher accuracy.
本発明によれば、認識漏れをより確実に防止して高い精度で一連番号を認識することができる車両ナンバー読み取り装置を提供することができる。 According to the present invention, it is possible to provide a vehicle number reading device that can prevent a recognition failure more reliably and recognize a serial number with high accuracy.
また、本発明によれば、認識漏れをより確実に防止して高い精度で一連番号を認識することができるとともに、歪み補正を利用して更に高い精度で一連番号を認識することができ、しかも、効率良く処理を行うことができる車両ナンバー読み取り装置を提供することができる。 In addition, according to the present invention, it is possible to more reliably prevent a recognition omission and recognize a serial number with high accuracy, and to recognize a serial number with higher accuracy using distortion correction. Thus, it is possible to provide a vehicle number reading device that can perform processing efficiently.
以下、本発明による車両ナンバー読み取り装置について、図面を参照して説明する。 Hereinafter, a vehicle number reading device according to the present invention will be described with reference to the drawings.
図1は、本発明の一実施の形態による車両ナンバー読み取り装置を示す概略ブロック図である。 FIG. 1 is a schematic block diagram showing a vehicle number reading device according to an embodiment of the present invention.
本実施の形態による車両ナンバー読み取り装置は、図1に示すように、撮像手段としてのカメラ1と、カメラ1から得られた画像信号をA/D変換するA/D変換器2と、A/D変換された画像信号を記憶する画像メモリ3と、画像メモリ3に記憶された画像を処理して、車両ナンバーを認識して当該車両ナンバーを出力するマイクロコンピュータ等からなる処理部4と、を備えている。
As shown in FIG. 1, the vehicle number reading apparatus according to the present embodiment includes a
カメラ1は、図面には示していないが、車両、特にそのナンバープレート5が通過する場所付近の画像を撮像するように設置され、ナンバープレート5の像を含む画像を撮像する。
Although not shown in the drawings, the
ここで、自動車のナンバープレート5の概略平面図を図2に示す。ナンバープレート5は、図2に示すように、横長の長方形の平板上において、分類番号(車種コード)5a及び陸運支局名5bが配置され、ひらがな文字5cが左側に配置され、大きな文字で表記された一連番号5dが中央に配置されており、これらが全体として車両ナンバー(登録番号)を構成している。一連番号5dは、1桁乃至4桁の数字からなる。一連番号5dが4桁の数字(文字)からなる場合、図2に示すように、第1桁の文字m1、第2桁の文字m2、第3桁の文字m3及び第4桁の文字m4からなる。一連番号5dが3桁以下である場合、最下位桁から順に右詰めで配置されて最上位桁側は当該桁の数字が存在しないことを示す「・」となるが、各桁の文字の位置は桁数に拘わらずに一定に規定されている。
Here, a schematic plan view of the
図3は、ナンバープレート5における一連番号5dの各桁の文字m1〜m4の、規定されている位置関係を示す図である。普通車のナンバープレートの場合には、第1桁の文字m1と第2桁の文字m2の中心間隔、及び、第3桁の文字m3と第4桁の文字m4の中心間隔は両方とも55mmであり、第2桁の文字m2と第3桁の文字m3の中心間隔は85mmである。大型車のナンバープレートの場合には、第1桁の文字m1と第2桁の文字m2の中心間隔、及び、第3桁の文字m3と第4桁の文字m4の中心間隔は両方とも80mmであり、第2桁の文字m2と第3桁の文字m3の中心間隔は112.5mmである。なお、文字m1〜m4の文字幅は、当該文字が「1」以外であれば全て40mmであり、当該文字が「1」であれば40mmより狭い。
FIG. 3 is a diagram showing the defined positional relationship between the letters m1 to m4 of each digit of the serial number 5d on the
次に、処理部4の動作について、図4乃至図7を参照して説明する。図4乃至7は、処理部4の動作の一例を示す概略フローチャートである。
Next, the operation of the
処理部4は、ナンバープレート5の像を含む画像がカメラにより撮像されてその画像信号が画像メモリ3に格納されると、以下に説明する動作を開始する。
When the image including the image of the
まず、処理部4は、カメラにより撮像された多値画像(以下、「原画像」と呼ぶ。)を周知の手法により平滑化する(ステップS1)。
First, the
次に、処理部4は、ステップS1により平滑化された画像について、周知の手法によりエッジ成分を抽出する処理を行い(ステップS2)、この画像を2値化する(ステップS3)。この2値化された画像の例を図8に示す。
Next, the
次いで、処理部4は、この2値化された画像に対して、微小領域を除去するノイズ除去処理を行う(ステップS4)。その後、ノイズ除去処理後の画像に対して、エッジ成分に相当する画素(図8に示す例では、白画素)を膨張させる膨張処理と、該膨張処理によりにより連結された画素の連結状態を保ったまま、前記膨張処理により膨張された前記連結領域を収縮させる収縮処理と、を行う(ステップS5)。この膨張収縮処理後の画像の例を図9に示す。
Next, the
次に、処理部4は、膨張収縮処理後の画像について、例えば各連結領域の外接矩形の大きさ等を判別することで、ナンバープレートの領域の予備的な候補となる矩形のナンバープレート予備候補領域を、その領域を示す座標等として抽出する(ステップS6)。ナンバープレート候補領域は、存在しない場合もあるし、1つのみ存在する場合や複数存在する場合もある。
Next, the
次いで、処理部4は、ステップS6で抽出されたナンバープレート予備候補領域のうちステップS8以降の処理が未だ済んでいないものが存在するか否かを、判定する(ステップS7)。ステップS6でナンバープレート予備候補領域が抽出されなかった場合や、ステップS6でナンバープレート予備候補領域が1つ以上抽出されたが当該領域について既にステップS8以降の処理が済んでいる場合には、処理部4はナンバープレート5の読み取り処理を終了する。一方、未処理のナンバープレート予備候補領域が存在すると判定されると、ステップS8へ移行する。
Next, the
ステップS8において、処理部4は、ステップS6で抽出されたナンバープレート予備候補領域のうち未処理のナンバープレート予備候補領域を1つ選択する。
In step S8, the
次に、処理部4は、前記原画像のうちの、ステップS8で選択された抽出された領域の画像を、2値化する(ステップS9)。次いで、処理部4は、ステップS9で2値化された画像に対してラベリング処理を行い、連結領域を得る(ステップS10)。
Next, the
その後、処理部4は、ステップS10で得た各連結領域の外接矩形領域から、所定の絞り込み条件を満たすもののみを、一連番号の各文字の領域として絞り込む(ステップS11)。この絞り込み処理は、分類番号5aの文字領域や、陸運支局名5bの文字領域や、ひらがな文字5cの文字領域や、その他のノイズ等により生ずる可能性のある連結領域の外接矩形領域などの、一連番号の各文字領域以外のものを除外する処理である。前記絞り込み条件としては、例えば、矩形領域の横方向の長さが所定範囲にあること、矩形領域の縦方向の長さが所定範囲にあること、矩形領域の面積が所定範囲にあること、のうちの1つ又は2つ以上の組み合わせを挙げることができる。
After that, the
次に、処理部4は、ステップS11で絞り込まれた各領域について、周知の文字認識(数字認識)処理を、一連番号の予備認識処理として行う(ステップS12)。
Next, the
次いで、処理部4は、ステップS12で認識された文字の数を判定し(ステップS13)、認識文字数が0の場合はステップS7へ戻り、認識文字数が1の場合はステップS23へ移行し、認識文字数が2〜4の場合はステップS14へ移行する。
Next, the
ステップS23において、処理部4は、ステップS13で認識された文字を第1桁の文字であるとみなして、当該認識文字が1である否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ステップS9で2値化された画像上のナンバープレート領域を決定する。次に、処理部4は、ステップS23で決定されたナンバープレート領域に基づいて、ステップS9で2値化された画像上の他の各領域(分類番号5aの領域、陸運支局名5bの領域、及びひらがな文字5cの領域)を決定する(ステップS24)。その後、処理部4は、ステップS9で2値化された画像上の、ステップS9で決定された各領域について処理を行い、分類番号5a、陸運支局名5b、及びひらがな文字5cを認識し(ステップS25)、ナンバープレート5の読み取り処理を終了する。なお、処理部4は、ステップS12で認識された文字数が1の場合には、ステップS12で認識された数字を第1桁とする1桁のみからなる一連番号が読み取られたものとみなす。
In step S23, the
ステップS14において、処理部4は、ステップS12で認識された文字列(数字列)の傾きθを計算する。この傾きθの計算手法の具体例を図10に模式的に示す。この傾きθは、例えば、図10に示すように、ステップS12で認識された文字のうち最上位桁の文字(最も左側の文字)の矩形領域の中心と最下位桁の文字(最も右側の文字)の矩形領域の中心とを結ぶ直線の傾きとして、計算することができる。ステップS14の後、ステップS15へ移行する。
In step S14, the
ステップS15において、処理部4は、ステップS8で選択したナンバープレート予備候補領域を、ナンバープレート候補領域として決定する。
In step S15, the
次に、処理部4は、ステップS14で計算した傾きに基づいて、その傾きが0゜となるように、前記原画像について周知の回転歪み補正を行う(ステップS16)。このとき、本実施の形態では、前記原画像におけるステップS15で決定されたナンバープレート候補領域についてのみならず、後述するステップS37〜S42,S53〜S56で認識漏れ文字候補領域であるとされる可能性のある領域に相当する前記原画像における領域についても、回転歪み補正の対象とする。具体的には、例えば、ステップS15で決定されたナンバープレート候補領域を、幅方向に、上位桁側(左側)及び下位桁側(右側)にそれぞれ2文字分延長した領域(ただし、回転補正を考慮してその分は更に拡大した領域)について、回転補正を行えばよい。なお、ステップS15で決定されたナンバープレート候補領域は、ステップS16における回転補正と同時に回転補正を考慮した領域に補正される。
Next, the
次いで、処理部4は、ステップS16により回転歪み補正された後の画像を、2値化する(ステップS17)。ナンバープレート5には、自家用車に装着される地色が白色で文字が緑色のナンバープレートと、事業用車両に装着される地色が緑色で文字が白色のナンバープレートとがあるが、ステップS17では、文字と地色の階調値の大小関係を判別して、いずれのナンバープレートに対しても、文字に対応する画素を白画素(勿論、黒画素でもよい)となるように、2値化処理を行う。ステップS17で2値化された画像のうちの補正後のナンバープレート候補領域の画像(以下、単に、「補正後のナンバープレート候補領域の画像」という。)の例を、図11に示す。
Next, the
その後、処理部4は、前記補正後のナンバープレート候補領域の画像から、ひらがな文字5c及び一連番号5dの領域である下部領域を切り出す(ステップS18)。この下部領域の切り出しは、例えば、図12及び図13に示すようにして行うことができる。すなわち、前記補正後のナンバープレート候補領域の画像をY軸(図11〜図13の縦軸)に射影した射影値を求め、予め予想される付近においてこの射影値の谷の位置を分割位置として求める。図12は、前記補正後のナンバープレート候補領域の画像が図11に示すものである場合の、Y軸への射影値と分割位置を示している。そして、この分割位置の下側の領域(図13中の白線より下側の領域)を前記下部領域として切り出す。
Thereafter, the
次に、処理部4は、ステップS18で切り出された下部領域に対してラベリング処理を行い、連結領域を得る(ステップS19)。
Next, the
次いで、処理部4は、ステップS19で得た各連結領域の外接矩形領域から、所定の絞り込み条件を満たすもののみを、一連番号の各文字の領域として絞り込む(ステップS20)。この絞り込み処理は、ひらがな文字5cの文字領域やその他のノイズ等により生ずる可能性のある連結領域の外接矩形領域などの、一連番号の各文字領域以外のものを除外する処理である。前記絞り込み条件としては、例えば、矩形領域の横方向の長さが所定範囲にあること、矩形領域の縦方向の長さが所定範囲にあること、矩形領域の面積が所定範囲にあること、のうちの1つ又は2つ以上の組み合わせを挙げることができる。
Next, the
なお、本実施の形態のように、ステップS18で前記下部領域を切り出してステップS19で当該下部領域について連結領域を求め、この連結領域をステップS20で絞り込むことが、一連番号の各文字の領域を精度良く抽出する上で好ましい。しかしながら、本発明では、ステップS18を行わずに、ステップS19で前記補正後のナンバープレート候補領域の画像に対してラベリング処理を行って連結領域を求め、この連結領域をステップS20で絞り込むようにしてもよい。 Note that, as in the present embodiment, the lower region is cut out in step S18, a connected region is obtained for the lower region in step S19, and the connected region is narrowed down in step S20. This is preferable for accurate extraction. However, in the present invention, instead of performing step S18, a labeling process is performed on the image of the corrected license plate candidate area in step S19 to obtain a connected area, and this connected area is narrowed down in step S20. Also good.
ステップS20の後に、処理部4は、ステップS17で2値化された画像のうち、ステップS20で絞り込まれた各連結領域の外接矩形領域の画像について、それぞれ認識処理を行うことにより、一連番号の各文字を認識する(ステップS21)。
After step S20, the
次に、処理部4は、ステップS21で認識された文字数を判定し(ステップS22)、認識文字数が2であれば図5中のステップS31へ移行し、認識文字数が3であれば図6中のステップS51へ移行し、認識文字数が1又は4であれば図7中のステップS63へ移行する。
Next, the
図5中のステップS31において、処理部4は、ステップS21で「1」以外の文字が認識されたか否かを判定し、「1」以外の文字が認識されていればステップS32へ移行し、「1」のみが認識されていればステップS33へ移行する。
In step S31 in FIG. 5, the
ステップS32において、処理部4は、ステップS21で認識された2つの文字の中心間隔Lとその2つの文字のうちの「1」以外の文字の文字幅(当該2つの文字が両方とも「1」以外の文字である場合には、画像上の、それらの文字幅の平均値でもよい。)Wとの比L/Wを算出し、ステップS34へ移行する。
In step S32, the
ステップS33において、処理部4は、画像上の、ステップS21で認識された2つの文字の中心間隔Lと、その2つの文字のうちの一方の文字の文字幅(当該2つの文字の文字幅の平均値でもよい。)Wと係数(文字「1」の幅を「1」以外の文字の幅に換算するための係数)αとの積α・Wとの、比L/(α・W)を算出し、ステップS34へ移行する。
In step S33, the
ステップS32で算出された比L/W又はステップS33で算出された比L/(α・W)に基づいて、ステップS21で認識された2つの文字は、一連番号のいずれの桁の文字であるかの観点で、第1乃至第4のパターンに分類することができる。この点について、図3及び図14を参照して説明する。 Based on the ratio L / W calculated in step S32 or the ratio L / (α · W) calculated in step S33, the two characters recognized in step S21 are characters in any digit of the serial number. From this point of view, it can be classified into first to fourth patterns. This point will be described with reference to FIGS.
前記第1のパターンは、図14(a)に示すように、2つの認識文字が第1桁及び第2桁の文字m1,m2であるかあるいは第3桁及び第4桁の文字m3,m4である場合である。この場合は、規定上のL/W及びL/(α・W)は、普通車のナンバープレートでは1.375(=55/40)、大型車のナンバープレートでは2.000(=80/40)となる。 In the first pattern, as shown in FIG. 14A, the two recognized characters are the first and second digit characters m1 and m2, or the third and fourth digit characters m3 and m4. This is the case. In this case, the prescribed L / W and L / (α · W) are 1.375 (= 55/40) for a license plate of a normal car and 2.000 (= 80/40) for a license plate of a large car. )
前記第2のパターンは、図14(b)に示すように、2つの認識文字が第2桁及び第3桁の文字m2,m3である場合である。この場合は、規定上のL/W及びL/(α・W)は、普通車のナンバープレートでは2.125(=85/40)、大型車のナンバープレートでは2.813(=112.5/40)となる。 In the second pattern, as shown in FIG. 14B, the two recognized characters are the second and third digit characters m2 and m3. In this case, the prescribed L / W and L / (α · W) are 2.125 (= 85/40) for a license plate of a normal car and 2.813 (= 112.5) for a license plate of a large car. / 40).
前記第3のパターンは、図14(c)に示すように、2つの認識文字が第1桁及び第3桁の文字m1,m3であるかあるいは第2桁及び第4桁の文字m2,m4である場合である。この場合は、規定上のL/W及びL/(α・W)は、普通車のナンバープレートでは3.500(=(55+85)/40)、大型車のナンバープレートでは4.813(=(80+112.5)/40)となる。 In the third pattern, as shown in FIG. 14C, the two recognized characters are the first and third digit characters m1 and m3, or the second and fourth digit characters m2 and m4. This is the case. In this case, the prescribed L / W and L / (α · W) are 3.500 (= (55 + 85) / 40) for a license plate of a normal car and 4.813 (= ( 80 + 112.5) / 40).
前記第4のパターンは、図14(d)に示すように、2つの認識文字が第1桁及び第4桁の文字m1,m4である場合である。この場合は、規定上のL/W及びL/(α・W)は、普通車のナンバープレートでは5.625(=(85+55+85)/40)、大型車のナンバープレートでは7.625(=(112.5+80+112.5)/40)となる。 In the fourth pattern, as shown in FIG. 14D, the two recognized characters are the first and fourth digit characters m1 and m4. In this case, the prescribed L / W and L / (α · W) are 5.625 (= (85 + 55 + 85) / 40) for a license plate of a normal car and 7.625 (= ( 112.5 + 80 + 112.5) / 40).
そして、規定上のL/W及びL/(α・W)は、理論上、撮影の角度等が変わっても、画像上のL/W及びL/(α・W)と精度良く一致する。 The specified L / W and L / (α · W) theoretically agree with the L / W and L / (α · W) on the image with high accuracy even if the shooting angle changes.
したがって、2.000と2.125との間の所定の中間値を前記第1のパターンと前記第2のパターンとの間の閾値、2.813と3.500との間の所定の中間値を前記第2のパターンと前記第3のパターンとの間の閾値、4.813と5.625との間の所定の中間値を前記第3のパターンと前記第4のパターンとの間の閾値とし、ステップS32で算出されたL/W又はステップS33で算出されたL/(α・W)をこれらの閾値と比較することで、前記第1乃至第4のパターンのうちのいずれのパターンに該当するかを判定することができる。本実施の形態では、処理部4は、ステップS34でこの判定を行う。なお、プログラム等の制約で整数比しか扱わない場合には、L/W及びL/(α・W)の値は、ビットシフトや整数倍して求めればよい。
Therefore, a predetermined intermediate value between 2.000 and 2.125 is a threshold value between the first pattern and the second pattern, and a predetermined intermediate value between 2.813 and 3.500. Is a threshold value between the second pattern and the third pattern, and a predetermined intermediate value between 4.813 and 5.625 is a threshold value between the third pattern and the fourth pattern. By comparing L / W calculated in step S32 or L / (α · W) calculated in step S33 with these threshold values, any one of the first to fourth patterns can be obtained. Whether it is applicable can be determined. In the present embodiment, the
ステップS34の判定は、このように常に前記第1乃至第4のパターンのうちのいずれかに該当するものとしてもよいが、L/W又はL/(α・W)の値によっては、前記第1乃至第4のパターンのいずれにも該当しないという判定結果を得るように判定してもよい。この場合、例えば、前述した値1.375,2.000,2.125,2.813,3.500,4.813,5.625,7.625の付近にそれぞれ数値範囲を定めておき、L/W又はL/(α・W)がそれらの数値範囲のいずれかに入る場合には対応するパターンに該当すると判定し、L/W又はL/(α・W)がそれらの数値範囲のいずれにも入らない場合には前記第1乃至第4のパターンのいずれにも該当しないと判定すればよい。このとき、前記第1乃至第4のパターンのいずれにも該当しないと判定された場合には、ステップS7へ戻ればよい。 The determination in step S34 may always correspond to one of the first to fourth patterns as described above, but depending on the value of L / W or L / (α · W), It may be determined so as to obtain a determination result that does not correspond to any of the first to fourth patterns. In this case, for example, numerical ranges are defined in the vicinity of the above-described values 1.375, 2.000, 2.125, 2.813, 3.500, 4.813, 5.625, 7.625, respectively. When L / W or L / (α · W) falls within one of these numerical ranges, it is determined that the corresponding pattern is satisfied, and L / W or L / (α · W) falls within the numerical range. If it does not fall into any of the above, it may be determined that none of the first to fourth patterns is applicable. At this time, if it is determined that none of the first to fourth patterns is applicable, the process may return to step S7.
ステップS34で第1のパターンに該当すると判定されるとステップS35へ移行し、第2のパターンに該当すると判定されるとステップS39へ移行し、第3のパターンに該当すると判定されるとステップS36へ移行し、第4のパターンに該当すると判定されるとステップS42へ移行する。 If it is determined in step S34 that it corresponds to the first pattern, the process proceeds to step S35. If it is determined that it corresponds to the second pattern, the process proceeds to step S39. If it is determined to correspond to the third pattern, step S36 is performed. If it is determined that the pattern corresponds to the fourth pattern, the process proceeds to step S42.
ステップS35において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であるかそれとも第3桁及び第4桁の文字m3,m4であるかを、判定する。そして、第1桁及び第2桁の文字m1,m2であると判定されるとステップS37へ移行する一方、第3桁及び第4桁の文字m3,m4であるとステップS38へ移行する。
In step S35, the
ステップS35の判定の第1の具体例について説明する。この第1の具体例では、まず、処理部4は、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であると仮定して、当該認識文字が1であるか否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ひらがな文字5cの領域を求める。次に、処理部4は、ステップS17で2値化された画像における、求めたひらがな文字5cの領域に対して、ひらがな文字の認識処理を行う。そして、処理部4は、その領域からひらがな文字5cが認識された場合には、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であると判定する一方、その領域からひらがな文字5cが認識されなかった場合には、ステップS21で認識された2つの文字が第3桁及び第4桁の文字m3,m4であると判定する。なお、ここで説明した例では、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であると仮定して、ひらがな文字5cの領域を推定したが、ステップS21で認識された2つの文字が第3桁及び第4桁の文字m3,m4であると仮定して、ひらがな文字5cの領域を推定しても、同様に判定することができる。
A first specific example of the determination in step S35 will be described. In the first specific example, first, the
ステップS35の判定の第2の具体例について説明する。この第2の具体例では、処理部4は、ステップS21で認識された2つの文字のうちの下位桁の文字(右側の文字)の上部に分類番号5aの領域の一部が存在するか否かを判定することで、ステップS35の判定を行う。図2に示すように、第1桁の文字の上部には分類番号5aが存在しないが、第3桁の文字の上部には陸運支局5bの一部が存在している。より具体的には、例えば、処理部4は、2つの認識文字のうちの下位桁の文字の上部の領域(例えば、当該下位桁の文字が図15中の「5」であると仮定すると、「5」の位置を基準として図15中の白の破線で囲んだ矩形領域)を求め、この上部領域の面積に占める文字に相当する画素数の割合を算出する。そして、処理部4は、その割合が所定値未満の場合には、当該下位桁の文字の上部に分類番号5aの領域が存在しないと判定し、ひいては、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であると判定する。一方、前記割合が所定値以上の場合には、当該下位桁の文字の上部に陸運支局5bの領域の一部が存在すると判定し、ひいては、ステップS21で認識された2つの文字が第3桁及び第4桁の文字m3,m4であると判定する。
A second specific example of the determination in step S35 will be described. In the second specific example, the
ステップS36において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であるかそれとも第2桁及び第4桁の文字m2,m4であるかを、判定する。そして、第1桁及び第3桁の文字m1,m3であると判定されるとステップS40へ移行する一方、第2桁及び第4桁の文字m2,m4であるとステップS41へ移行する。
In step S36, the
ステップS36の判定の第1の具体例について説明する。この第1の具体例では、まず、処理部4は、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であると仮定して、当該認識文字が1であるか否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ひらがな文字5cの領域を求める。次に、処理部4は、ステップS17で2値化された画像における、求めたひらがな文字5cの領域に対して、ひらがな文字の認識処理を行う。そして、処理部4は、その領域からひらがな文字5cが認識された場合には、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であると判定する一方、その領域からひらがな文字5cが認識されなかった場合には、ステップS21で認識された2つの文字が第2桁及び第4桁の文字m2,m4であると判定する。なお、ここで説明した例では、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であると仮定して、ひらがな文字5cの領域を推定したが、ステップS21で認識された2つの文字が第2桁及び第4桁の文字m2,m4であると仮定して、ひらがな文字5cの領域を推定しても、同様に判定することができる。
A first specific example of the determination in step S36 will be described. In this first specific example, first, the
ステップS36の判定の第2の具体例について説明する。この第2の具体例では、処理部4は、ステップS21で認識された2つの文字のうちの下位桁の文字(右側の文字)の上部に分類番号5aの領域の一部が存在するか否かを判定することで、ステップS36の判定を行う。図2に示すように、第1桁の文字の上部には分類番号5aが存在しないが、第2桁の文字の上部には分類番号5aの一部が存在している。より具体的には、例えば、処理部4は、2つの認識文字のうちの下位桁の文字の上部の領域(例えば、当該下位桁の文字が図15中の「5」であると仮定すると、「5」の位置を基準として図15中の白の破線で囲んだ矩形領域)を求め、この上部領域の面積に占める文字に相当する画素数の割合を算出する。そして、処理部4は、その割合が所定値未満の場合には、当該下位桁の文字の上部に分類番号5aの領域が存在しないと判定し、ひいては、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であると判定する。一方、前記割合が所定値以上の場合には、当該下位桁の文字の上部に分類番号5aの領域の一部が存在すると判定し、ひいては、ステップS21で認識された2つの文字が第2桁及び第4桁の文字m2,m4であると判定する。
A second specific example of the determination in step S36 will be described. In the second specific example, the
ステップS37において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m1,m2であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第3桁及び第4桁の文字m3,m4の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S37, the
ステップS38において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第2桁の文字m3,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第1桁及び第2桁の文字m1,m2の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S38, the
ステップS39において、処理部4は、ステップS21で認識された2つの文字が第2桁及び第3桁の文字m2,m3であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第1桁及び第4桁の文字m1,m4の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S39, the
ステップS40において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第3桁の文字m1,m3であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第2桁及び第4桁の文字m2,m4の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S40, the
ステップS41において、処理部4は、ステップS21で認識された2つの文字が第2桁及び第4桁の文字m2,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第1桁及び第3桁の文字m1,m3の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S41, the
ステップS42において、処理部4は、ステップS21で認識された2つの文字が第1桁及び第4桁の文字m1,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第2桁及び第3桁の文字m2,m3の矩形領域をそれぞれ推定し、ステップS17で2値化された画像上のこれらの領域をそれぞれ認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S42, the
図6中のステップS51において、処理部4は、ステップS21で認識された3つの文字のうちの下位桁の2つの文字の画像上の中心間隔L1と当該3つの文字のうちの上位桁の2つの文字の画像上の中心間隔L2との比L2/L1を、算出する。
In step S51 in FIG. 6, the
次に、処理部4は、ステップS51で算出されたL2/L1に基づいて、ステップS21で認識された3つの文字は、一連番号のいずれの桁の文字であるかの観点で、第5乃至第8のパターンに分類することができる。この点について、図3及び図16を参照して説明する。
Next, based on L2 / L1 calculated in step S51, the
前記第5のパターンは、図16(a)に示すように、3つの認識文字が第1桁、第2桁及び第3桁の文字m1,m2,m3である場合である。この場合は、規定上のL2/L1は、普通車のナンバープレートでは1.545(=85/55)、大型車のナンバープレートでは1.406(=112.5/80)となる。 In the fifth pattern, as shown in FIG. 16A, the three recognized characters are the first-digit, second-digit, and third-digit characters m1, m2, and m3. In this case, the specified L2 / L1 is 1.545 (= 85/55) for a license plate of a normal vehicle and 1.406 (= 112.5 / 80) for a license plate of a large vehicle.
前記第6のパターンは、図16(b)に示すように、3つの認識文字が第1桁、第2桁及び第4桁の文字m1,m2,m4である場合である。この場合は、規定上の規定上のL2/L1は、普通車のナンバープレートでは2.545(=(55+85)/55)、大型車のナンバープレートでは2.406(=(80+112.5)/80)となる。 In the sixth pattern, as shown in FIG. 16B, the three recognized characters are the first-digit, second-digit, and fourth-digit characters m1, m2, and m4. In this case, L2 / L1 in the regulation is 2.545 (= (55 + 85) / 55) for a license plate of a normal car, and 2.406 (= (80 + 112.5) // for a license plate of a large car. 80).
前記第7のパターンは、図16(c)に示すように、3つの認識文字が第1桁、第3桁及び第4桁の文字m1,m3,m4である場合である。この場合は、規定上のL2/L1は、普通車のナンバープレートでは0.393(=55/(55+85)、大型車のナンバープレートでは0.416(=80/(80+112.5)となる。 In the seventh pattern, as shown in FIG. 16C, the three recognized characters are the first-digit, third-digit, and fourth-digit characters m1, m3, and m4. In this case, the specified L2 / L1 is 0.393 (= 55 / (55 + 85) for a license plate of a normal car and 0.416 (= 80 / (80 + 112.5) for a license plate of a large car.
前記第8のパターンは、図16(d)に示すように、3つの認識文字が第2桁、第3桁及び第4桁の文字m2,m3,m4である場合である。この場合は、規定上のL2/L1は、普通車のナンバープレートでは0.647(=55/85)、大型車のナンバープレートでは0.711(=80/112.5)となる。 In the eighth pattern, as shown in FIG. 16D, the three recognized characters are the second, third, and fourth digit characters m2, m3, and m4. In this case, the prescribed L2 / L1 is 0.647 (= 55/85) for a license plate of a normal car and 0.711 (= 80 / 112.5) for a license plate of a large car.
そして、規定上のL2/L1は、理論上、撮影の角度等が変わっても、画像上のL2/L1と精度良く一致する。 Theoretically defined L2 / L1 is theoretically consistent with L2 / L1 on the image even if the shooting angle changes.
したがって、0.416と0.647との間の所定の中間値を前記第7のパターンと前記第8のパターンとの間の閾値、0.711と1.406との間の所定の中間値を前記第8のパターンと前記第5のパターンとの間の閾値、1.545と2.406との間の所定の中間値を前記第5のパターンと前記第6のパターンとの間の閾値とし、ステップS51で算出されたL2/L1をこれらの閾値と比較することで、前記第5乃至第8のパターンのうちのいずれのパターンに該当するかを判定することができる。本実施の形態では、処理部4は、ステップS52でこの判定を行う。なお、プログラム等の制約で整数比しか扱わない場合には、L2/L1の値は、ビットシフトや整数倍して求めればよい。また、L2/L1に代えてL1/L2を用いてもよいことは、言うまでもない。
Therefore, a predetermined intermediate value between 0.416 and 0.647 is a threshold value between the seventh pattern and the eighth pattern, and a predetermined intermediate value between 0.711 and 1.406. Is a threshold value between the eighth pattern and the fifth pattern, and a predetermined intermediate value between 1.545 and 2.406 is a threshold value between the fifth pattern and the sixth pattern. By comparing L2 / L1 calculated in step S51 with these threshold values, it can be determined which of the fifth to eighth patterns corresponds. In the present embodiment, the
ステップS52の判定は、このように常に前記第5乃至第8のパターンのうちのいずれかに該当するものとしてもよいが、L2/L1の値によっては、前記第5乃至第8のパターンのいずれにも該当しないという判定結果を得るように判定してもよい。この場合、例えば、前述した値0.393,0.416,0.647,0.711,1.406,1.545,2.406,2.545の付近にそれぞれ数値範囲を定めておき、L2/L1がそれらの数値範囲のいずれかに入る場合には対応するパターンに該当すると判定し、L2/L1がそれらの数値範囲のいずれにも入らない場合には前記第5乃至第8のパターンのいずれにも該当しないと判定すればよい。このとき、前記第5乃至第8のパターンのいずれにも該当しないと判定された場合には、ステップS7へ戻ればよい。 The determination in step S52 may always correspond to any of the fifth to eighth patterns as described above, but depending on the value of L2 / L1, any of the fifth to eighth patterns may be determined. It may be determined so as to obtain a determination result that does not correspond to the above. In this case, for example, numerical ranges are defined in the vicinity of the above-described values 0.393, 0.416, 0.647, 0.711, 1.406, 1.545, 2.406, 2.545, respectively. When L2 / L1 falls into any of those numerical ranges, it is determined that the corresponding pattern is satisfied, and when L2 / L1 does not fall within any of these numerical ranges, the fifth to eighth patterns It may be determined that none of the above applies. At this time, if it is determined that none of the fifth to eighth patterns is applicable, the process may return to step S7.
ステップS52で第5のパターンに該当すると判定されるとステップS53へ移行し、第6のパターンに該当すると判定されるとステップS54へ移行し、第7のパターンに該当すると判定されるとステップS55へ移行し、第8のパターンに該当すると判定されるとステップS56へ移行する。 If it is determined in step S52 that it corresponds to the fifth pattern, the process proceeds to step S53. If it is determined that it corresponds to the sixth pattern, the process proceeds to step S54. If it is determined to correspond to the seventh pattern, step S55. If it is determined that the pattern corresponds to the eighth pattern, the process proceeds to step S56.
ステップS53において、処理部4は、ステップS21で認識された3つの文字が第1桁、第2桁及び第3桁の文字m1,m2,m3であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第4桁の文字m4の矩形領域を推定し、ステップS17で2値化された画像上のこの領域を認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S53, the
ステップS54において、処理部4は、ステップS21で認識された3つの文字が第1桁、第2桁及び第4桁の文字m1,m2,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第3桁の文字m3の矩形領域を推定し、ステップS17で2値化された画像上のこの領域を認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S54, the
ステップS55において、処理部4は、ステップS21で認識された3つの文字が第1桁、第3桁及び第4桁の文字m1,m3,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第2桁の文字m2の矩形領域を推定し、ステップS17で2値化された画像上のこの領域を認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S55, the
ステップS56において、処理部4は、ステップS21で認識された3つの文字が第2桁、第3桁及び第4桁の文字m2,m3,m4であるものとして、その画像上の文字位置とその画像上の文字幅とその文字が「1」であると認識されたか否かとに基づいて、第1桁の文字m1の矩形領域を推定し、ステップS17で2値化された画像上のこの領域を認識漏れ文字候補領域として取得する。その後、図7中のステップS61へ移行する。
In step S56, the
図7中のステップS61において、処理部4は、ステップS17で2値化された画像上の、ステップS37〜S42,S53〜S56で取得された認識漏れ文字候補領域について、一連番号の文字認識処理(再認識処理)を行い、ステップS63へ移行する。ステップS61の際に、ステップS15で決定されて回転補正された後のナンバープレート候補領域をはみ出す認識漏れ文字候補領域(例えば、ステップS37で認識漏れ文字候補領域として取得された第3桁及び第4桁の文字m3,m4の領域は、補正後のナンバープレート候補領域から左側にはみ出し、ステップS38で認識漏れ文字候補領域として取得された第1桁及び第2桁の文字m1,m2の領域は、補正後のナンバープレート候補領域から右側にはみ出す。)についても、再度回転補正を行うことなく、そのまま文字認識処理を行うことができる。これは、本実施の形態では、ステップS16の回転補正の対象領域には、ナンバープレート候補領域だけでなく、ステップS37〜S42,S53〜S56で認識漏れ文字候補領域であるとされる可能性のある領域に相当する前記原画像における領域も、含めているためである。このように、本実施の形態によれば、二重に回転歪み補正を行う必要がないので、効率良く処理することができる。
In step S61 in FIG. 7, the
なお、ステップS61の再認識処理によって、常に全ての認識漏れ文字候補領域について一連番号の文字の再認識がなされるとは限らない。 Note that the re-recognition process in step S61 does not always re-recognize the characters with serial numbers for all of the recognition-missing character candidate areas.
ステップS61の後に、処理部4は、ステップS21で認識された文字及びステップS62で再認識された文字の配置パターンが、適正な配置パターンに整合するか否かを判定する(ステップS62)。一連番号は、第1桁から順に数字が配置されるため、最上位桁(最上位桁は、第1桁、第2桁、第3桁及び第4桁のいずれの場合もあり得る。)の数字に対する下位側の桁が空白になることはあり得ない。したがって、具体的には、例えば、ステップS21で認識された文字及びステップS62で再認識された文字のうちの最上位桁の文字に対して下位側の桁の文字が認識されていなければ、適正な配置パターンに整合していないと判定する一方、当該下位側の桁の文字が全て認識されていれば、適正な配置パターンに整合すると判定すればよい。ステップS62でNOと判定されると、ステップS7へ戻り、ステップS62でYESと判定されると、ステップS63へ移行する。
After step S61, the
図4中のステップS22で認識文字数が1であると判定されてステップS63へ移行した場合、ステップS63において、処理部4は、ステップS21で認識された文字を第1桁の文字であるとみなして、当該認識文字が1である否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ステップS17で2値化された画像上のナンバープレート領域を決定する。
If it is determined in step S22 in FIG. 4 that the number of recognized characters is 1 and the process proceeds to step S63, in step S63, the
図4中のステップS22で認識文字数が4であると判定されてステップS63へ移行した場合、ステップS63において、処理部4は、ステップS21で認識された文字の1つが1である否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ステップS17で2値化された画像上のナンバープレート領域を決定する。
When it is determined in step S22 in FIG. 4 that the number of recognized characters is 4, and the process proceeds to step S63, in step S63, the
ステップS62でYESと判定されてステップS63へ移行した場合、ステップS63において、処理部4は、ステップS21で認識された文字及びステップS62で再認識された文字のうちの1つが1である否かとその画像上の文字幅とその画像上の文字位置とに基づいて、ステップS17で2値化された画像上のナンバープレート領域を決定する。この場合、決定されたナンバープレート候補領域には、常に、ステップS37〜S42,S53〜S56で取得した認識漏れ文字候補領域を含むことになる。したがって、決定されたナンバープレート候補領域は、前述した補正後のナンバープレート候補領域を拡張したものとなる場合がある。しかし、その場合であっても、拡張した領域について再度回転補正を行う必要がなく、単に座標を修正すればよい。これは、本実施の形態では、ステップS16の回転補正の対象領域には、ナンバープレート候補領域だけでなく、ステップS37〜S42,S53〜S56で認識漏れ文字候補領域であるとされる可能性のある領域に相当する前記原画像における領域も、含めているためである。このように、本実施の形態によれば、二重に回転歪み補正を行う必要がないので、効率良く処理することができる。
If YES is determined in step S62 and the process proceeds to step S63, in step S63, the
ステップS63の後、処理部4は、ステップS62で決定されたナンバープレート領域に基づいて、ステップS17で2値化された画像上の他の各領域(分類番号5aの領域、陸運支局名5bの領域、及びひらがな文字5cの領域)を決定する(ステップS64)。その後、処理部4は、ステップS17で2値化された画像上の、ステップ63で決定された各領域について処理を行い、分類番号5a、陸運支局名5b、及びひらがな文字5cを認識し(ステップS65)、ナンバープレート5の読み取り処理を終了する。
After step S63, based on the license plate area determined in step S62, the
本実施の形態によれば、ステップS21によってナンバープレート候補領域の画像に基づいて一連番号5dの各文字の認識処理が行われた後に、その認識文字数が2つ又は3つの場合に、ステップS37〜S42,S53〜S56によって認識漏れ文字候補領域が取得され、ステップS61によってその漏れ文字候補領域の画像に基づいて一連番号の文字が再認識される。このように、本実施の形態によれば、一連番号に関して、認識漏れ文字候補領域の取得に文字認識自体が巧みに利用され、取得された認識漏れ文字について再認識が行われる。したがって、本実施の形態によれば、一連番号に関して文字認識の前処理として文字認識とは全く分離して文字領域の切り出しを行う前記特許文献1に開示された切り出し装置を用いた車両ナンバー読み取り装置に比べて、認識漏れをより確実に防止してより高い精度で一連番号を認識することができる。
According to the present embodiment, after the recognition processing of each character of the serial number 5d is performed based on the image of the license plate candidate area in step S21, when the number of recognized characters is two or three, steps S37 to S37 are performed. A recognition missing character candidate area is acquired in S42 and S53 to S56, and a character having a serial number is re-recognized based on the image of the leakage character candidate area in step S61. As described above, according to the present embodiment, character recognition itself is skillfully used to acquire a recognition missing character candidate region for a serial number, and re-recognition is performed on the acquired recognition missing character. Therefore, according to the present embodiment, a vehicle number reading device using the clipping device disclosed in
また、本実施の形態によれば、ステップS16で補正された画像に基づいてステップS21で一連番号の各文字の認識を行うので、歪み補正を利用して更に高い精度で一連番号を認識することができる。もっとも、本発明では、必ずしも歪み補正を行う必要はない。また、本実施の形態では、歪み補正として回転歪み補正を行っているが、他の他の種々の歪み補正を行ってもよく、例えば、前記特許文献2に開示されている歪み補正を採用することもできる。
Further, according to the present embodiment, since each character of the serial number is recognized in step S21 based on the image corrected in step S16, the serial number is recognized with higher accuracy using distortion correction. Can do. However, in the present invention, it is not always necessary to perform distortion correction. In this embodiment, rotational distortion correction is performed as distortion correction. However, other various distortion corrections may be performed. For example, the distortion correction disclosed in
さらに、本実施の形態によれば、ステップS16の歪み補正の補正対象とする領域が、ステップS37〜S42,S53〜S56により認識漏れ文字候補領域であるとされる可能性のある領域に相当する領域を含んでいるので、前述したように、二重に歪み補正を行う必要がなくなって効率良く処理を行うことができるという利点も得られる。 Furthermore, according to the present embodiment, the region to be corrected for distortion correction in step S16 corresponds to a region that may be considered a recognition-missing character candidate region in steps S37 to S42 and S53 to S56. Since the region is included, as described above, there is also an advantage that the processing can be efficiently performed without the need for double distortion correction.
また、本実施の形態では、ステップS1〜S15が、前記原画像に基づいてナンバープレート候補領域を得るナンバープレート候補領域取得手段に相当しているが、ステップS6でナンバープレート予備候補領域を取得し、ステップS12でナンバープレート予備候補領域の画像に基づいて一連番号を予備的に認識し、ステップS13でその認識文字数を判定し、その認識文字数が0の場合はナンバープレート予備候補領域をナンバープレート候補領域としない。したがって、ナンバープレート候補領域の信頼性が高まるので、一連番号をより高い精度で認識することができる。もっとも、本発明では、ナンバープレート候補領域の取得は、従来から知られている種々の手法を採用してもよく、必ずしも文字認識を利用してナンバープレート候補領域を得る必要はない。 In this embodiment, Steps S1 to S15 correspond to license plate candidate area obtaining means for obtaining a license plate candidate area based on the original image. However, in Step S6, a license plate preliminary candidate area is obtained. In step S12, the serial number is preliminarily recognized based on the image of the license plate preliminary candidate region, and the number of recognized characters is determined in step S13. If the number of recognized characters is 0, the license plate preliminary candidate region is determined as the license plate candidate. Not an area. Therefore, since the reliability of the license plate candidate area is increased, the serial number can be recognized with higher accuracy. However, in the present invention, the license plate candidate area may be acquired by using various conventionally known methods, and it is not always necessary to obtain the license plate candidate area using character recognition.
さらに、本実施の形態によれば、ステップS21で認識された文字数が2つ又は3つの場合には、ステップS21,S61で認識された一連番号の文字の画像上の位置を基準として、ステップS63を経たステップS64で一連番号以外の文字の領域を取得し、ステップS65でこの領域から一連番号以外の文字を認識している。したがって、高い精度で認識された一連番号の文字の位置を基準として一連番号以外の文字の領域が取得されるので、一連番号以外の文字の領域を高い精度で得ることができ、ひいては、一連番号以外の文字も高い精度で認識することができる。なお、本実施の形態では、一旦、ステップS63でナンバープレート領域を決定した後に、このナンバープレート候補領域を用いてステップS64で他の各領域を決定しているが、ステップS63を除去し、ステップS63でナンバープレート領域を決定するために用いた情報から、ナンバープレート領域を求めることなく、直接に、他の各領域を求めることも可能である。 Furthermore, according to the present embodiment, when the number of characters recognized in step S21 is two or three, step S63 is based on the position of the serial number character recognized in steps S21 and S61 on the image. After step S64, an area of characters other than the serial number is acquired, and in step S65, characters other than the serial number are recognized. Therefore, since the character area other than the serial number is obtained based on the position of the character with the serial number recognized with high accuracy, the character area other than the serial number can be obtained with high accuracy, and consequently the serial number. Characters other than can be recognized with high accuracy. In the present embodiment, after the license plate area is once determined in step S63, each other area is determined in step S64 using this license plate candidate area. However, step S63 is removed, It is also possible to obtain each other area directly from the information used for determining the license plate area in S63 without obtaining the license plate area.
さらにまた、本実施の形態によれば、ステップS62で認識された前記一連番号の文字の配置パターンの整合性が検証されているので、一連番号をより一層高い精度で認識することができる。もっとも、本発明では、ステップS62の整合性の検証は必ずしも行う必要はない。 Furthermore, according to the present embodiment, since the consistency of the arrangement pattern of the character with the serial number recognized in step S62 is verified, the serial number can be recognized with higher accuracy. However, in the present invention, it is not always necessary to verify the consistency in step S62.
以上、本発明の実施の形態について説明したが、本発明はこの実施の形態に限定されるものではない。 As mentioned above, although embodiment of this invention was described, this invention is not limited to this embodiment.
1 カメラ
2 A/D変換器
3 画像メモリ
4 処理部
5 ナンバープレート
5a 一連番号
1 Camera 2 A /
Claims (14)
前記撮像された画像に基づいてナンバープレート領域の候補となるナンバープレート候補領域を得るナンバープレート候補領域取得手段と、
前記撮像された画像のうちの前記ナンバープレート候補領域の画像に基づいて、一連番号の各文字を認識するための認識処理を行う文字認識処理手段と、
前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記一連番号のうちの前記文字認識処理手段による認識が漏れた可能性のある文字の領域の候補となる認識漏れ文字候補領域を得る認識漏れ文字候補領域取得手段と、
前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記撮像された画像のうちの、前記認識漏れ文字候補領域の画像に基づいて、前記一連番号の文字を再認識するための再認識処理を行う文字再認識処理手段と、
を備えたことを特徴とする車両ナンバー読み取り装置。 A vehicle number reading device that reads a vehicle number by processing a captured image including an image of a vehicle license plate,
License plate candidate area acquisition means for obtaining a license plate candidate area that is a candidate for a license plate area based on the captured image;
Character recognition processing means for performing recognition processing for recognizing each character of a serial number based on the image of the license plate candidate area in the captured image;
When the number of characters recognized by the character recognition processing means is two or three, it becomes a candidate for a character area that may have been recognized by the character recognition processing means in the serial number. A recognition missing character candidate area obtaining means for obtaining a recognition missing character candidate area;
When the number of characters recognized by the character recognition processing means is two or three, the characters of the serial number are determined based on the image of the recognition-recognized character candidate region in the captured image. Character re-recognition processing means for performing re-recognition processing for re-recognition;
A vehicle number reading device comprising:
前記文字認識処理手段は、前記歪み補正手段により補正された画像のうちの前記ナンバープレート候補領域に相当する領域の画像に基づいて、前記一連番号の各文字を認識するための認識処理を行う、
ことを特徴とする請求項1記載の車両ナンバー読み取り装置。 Distortion correction means for correcting distortion for an area including the license plate candidate area in the captured image,
The character recognition processing means performs a recognition process for recognizing each character of the serial number based on an image of an area corresponding to the license plate candidate area in the image corrected by the distortion correction means.
The vehicle number reading device according to claim 1.
前記文字再認識処理手段は、前記文字認識処理手段により認識された文字の数が2つ又は3つである場合に、前記歪み補正手段により補正された画像のうちの、前記認識漏れ文字候補領域の画像に基づいて、前記一連番号の文字を再認識するための再認識処理を行う、
ことを特徴とする請求項2記載の車両ナンバー読み取り装置。 The region in the captured image to be corrected by the distortion correction unit includes a region corresponding to a region that is likely to be the recognition leaked character candidate region by the leaked character candidate region acquisition unit,
The character re-recognition processing means, when the number of characters recognized by the character recognition processing means is two or three, the recognition-rejected character candidate region in the image corrected by the distortion correction means Re-recognition processing for re-recognizing the characters of the serial number based on the image of
The vehicle number reading device according to claim 2.
前記領域取得手段により得られた領域から当該一連番号以外の文字を認識する手段と、を備えたことを特徴とする請求項1乃至11のいずれかに記載の車両ナンバー読み取り装置。 An area acquisition means for obtaining an area of a character other than a serial number, based on a position on the image of a serial number character recognized by the character recognition processing means and the character re-recognition processing means;
The vehicle number reading device according to any one of claims 1 to 11, further comprising means for recognizing characters other than the serial number from the area obtained by the area acquisition means.
前記領域取得手段により得られた領域から当該一連番号以外の文字を認識する手段と、を備えたことを特徴とする請求項13記載の車両ナンバー読み取り装置。 A region for obtaining a character region other than a serial number based on a position on the image of a character with a serial number recognized by the character recognition processing unit and the character re-recognition processing unit and determined to be matched by the consistency determination unit. Acquisition means;
14. The vehicle number reading device according to claim 13, further comprising means for recognizing characters other than the serial number from the area obtained by the area acquisition means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003419000A JP4324458B2 (en) | 2003-12-17 | 2003-12-17 | Vehicle number reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003419000A JP4324458B2 (en) | 2003-12-17 | 2003-12-17 | Vehicle number reading device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005182236A true JP2005182236A (en) | 2005-07-07 |
JP4324458B2 JP4324458B2 (en) | 2009-09-02 |
Family
ID=34781023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003419000A Expired - Fee Related JP4324458B2 (en) | 2003-12-17 | 2003-12-17 | Vehicle number reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4324458B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008217347A (en) * | 2007-03-02 | 2008-09-18 | Canon Inc | License plate recognition device, its control method and computer program |
JP2009015515A (en) * | 2007-07-03 | 2009-01-22 | Nec Software Chubu Ltd | Number plate extraction system, number plate extraction device, number plate extraction method, and program |
WO2012009931A1 (en) * | 2010-07-20 | 2012-01-26 | 青岛海信网络科技股份有限公司 | Identification method and apparatus of confusable character |
JP2013222461A (en) * | 2012-04-17 | 2013-10-28 | Xerox Corp | Secure cropping of license plate images |
JP2016091458A (en) * | 2014-11-10 | 2016-05-23 | 株式会社ブロードリーフ | Program, image processor, and image processing method |
KR20210010602A (en) * | 2019-02-25 | 2021-01-27 | 네이버 주식회사 | Apparatus and method for recognizing character |
-
2003
- 2003-12-17 JP JP2003419000A patent/JP4324458B2/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008217347A (en) * | 2007-03-02 | 2008-09-18 | Canon Inc | License plate recognition device, its control method and computer program |
US8059868B2 (en) | 2007-03-02 | 2011-11-15 | Canon Kabushiki Kaisha | License plate recognition apparatus, license plate recognition method, and computer-readable storage medium |
JP2009015515A (en) * | 2007-07-03 | 2009-01-22 | Nec Software Chubu Ltd | Number plate extraction system, number plate extraction device, number plate extraction method, and program |
WO2012009931A1 (en) * | 2010-07-20 | 2012-01-26 | 青岛海信网络科技股份有限公司 | Identification method and apparatus of confusable character |
US9008430B2 (en) | 2010-07-20 | 2015-04-14 | Hisense Transtech Co., Ltd. | Identification method and apparatus of confusable character |
JP2013222461A (en) * | 2012-04-17 | 2013-10-28 | Xerox Corp | Secure cropping of license plate images |
JP2016091458A (en) * | 2014-11-10 | 2016-05-23 | 株式会社ブロードリーフ | Program, image processor, and image processing method |
KR20210010602A (en) * | 2019-02-25 | 2021-01-27 | 네이버 주식회사 | Apparatus and method for recognizing character |
KR102351578B1 (en) * | 2019-02-25 | 2022-01-14 | 네이버 주식회사 | Apparatus and method for recognizing character |
Also Published As
Publication number | Publication date |
---|---|
JP4324458B2 (en) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7636483B2 (en) | Code type determining method and code boundary detecting method | |
US8254683B2 (en) | Code image processing method | |
JP5334042B2 (en) | Character string recognition method and character string recognition apparatus | |
EP2270746B1 (en) | Method for detecting alterations in printed document using image comparison analyses | |
CN109993161B (en) | Text image rotation correction method and system | |
JP6177541B2 (en) | Character recognition device, character recognition method and program | |
JPH09245173A (en) | Picture processing method | |
JP4324458B2 (en) | Vehicle number reading device | |
JP2008250754A (en) | Character string recognition method and device | |
JP2000251082A (en) | Document image inclination detecting device | |
JP2006155126A (en) | Vehicle number recognition device | |
JP4224328B2 (en) | Car number recognition device | |
JPH08305795A (en) | Character recognizing method | |
JP5439069B2 (en) | Character recognition device and character recognition method | |
KR100295360B1 (en) | Image Processing Method Using Shading Algorithm | |
JP3552269B2 (en) | License plate detection device | |
JP2868134B2 (en) | Image processing method and apparatus | |
JP3640488B2 (en) | Image processing method | |
JP3281469B2 (en) | Document image inclination detecting method and apparatus | |
JP2004152048A (en) | Vehicle number reading device | |
JP3625245B2 (en) | Image processing method and image processing apparatus | |
JPH08272956A (en) | Method and device for noise removal | |
JPH0746372B2 (en) | Character recognition device | |
JP4395932B2 (en) | Image detection apparatus, image detection method, and recording medium | |
JP2005352623A (en) | Pattern collation device, image quality verification method, and image quality verification program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050729 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081016 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081028 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081225 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090303 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090421 |
|
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: 20090526 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090608 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130612 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |