American Journal of Computational and Applied Mathematics
p-ISSN: 2165-8935 e-ISSN: 2165-8943
2012; 2(3): 105-111
doi: 10.5923/j.ajcam.20120203.07
R. F. Mansour
Department of Science and Mathematics, Faculty of Education, New Valley, Assiut University, EL kharaga, Egypt
Correspondence to: R. F. Mansour, Department of Science and Mathematics, Faculty of Education, New Valley, Assiut University, EL kharaga, Egypt.
| Email: | ![]() |
Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved.
This paper provides a new and fast method for matching and recognition of characters in Arabic license plate images. For this purpose, various methods have been proposed in literature. However, most of them suffer from: sensitivity to non-uniform illumination distribution, existence of shade in license plate, license plate color and the need for receiving an exact image of the license plate. The main contributions of our work include (I) chain code use to bounded the shape and distinguishing similar characters by local structural features. The moving window matching algorithm has been implemented. The distance measure (squared Euclidean distance) technique has been used for measuring the similarities between the moving window and the plate image. (2) Developing a system architecture combining statistical and structural recognition methods. We tested the method with 300 of plate images captured in different environments from real applications. The result yield 93.93% recognition accuracy.
Keywords: License Plate Recognition, Template Matching, Moving Window, Segmentation and Chain Code
![]() | Figure 1. show samples of plates from Egypt and kingdom of Saudi Arabia |
is defined as follows:
Step 1: Find out all the connected regions. Let the connected region sets be
, and
has a height
and width
Step 2: For each connected region, check if it is a "valid" region. A connected region
, is said to be "valid" if .
Where
are predefined values. As for a standard, the rate between width and height of each character ranges from 0.3 - 0.8 in a given Arabic car plate. Therefore, in our implementation,
are set to 0.3 and 1.0 respectively.Step 3: For each "valid" connected region, calculate its centered
:
Step 4: Perform the skew correction by least-squares based on the centered
. Approximatesets
by least-square, and compute the skew angle
. Given that
is the skew image and
the corrected image, the skew correction equation is defined as following:
Figure 2 show image before and after skew correction. After skew correction of the character images, characters are segmented from the corrected images.![]() | Figure 2. show image before skew correction and after skew correction |
of
is obtained by
where M, N is the height and width of normalized Figure 3 shows some normalization results.![]() | Figure 3. Character images before and after size normalization |
![]() | Figure 4. Example of a contour following on a digital figure |
![]() | Figure 5. Directions of the neighbors:(a) 4-connected; (b) 8-connected |
![]() | Figure 6. Four conditions to remove the old pixels. |
![]() | Figure 7. show the applied chain code method to real plate |
![]() | Figure 8. shown the output segmentation (a) vertical segmentation and (b) horizontal segmentation |
with
is called an edge point. The left edge sequence of the input image
is defined, which is a left edge point set
. For point
, the value ki can be obtained by the following process: In the i -th row, the column index j moves from left to right until
is a left edge point, and ki = j (the last value). Then the curve direction of edge point
is defined as follows:
Let the curve direction sequence be :
, if
and
; satisfy the following conditions:
Then the sequence is said to contain a curve point, The left edge contour feature is calculated as follows: Step 1: Obtain the left edge sequence
of the inputimage
.Step 2: Compute the curve direction of the left edge sequence.
Step 3: Compute the total of the curve point set (denoted by total curve ) from the direction of the left edge sequence.Step 4: Approximate the left edge sequence by using a least-square method. Compute the approximate error (denoted by error )The two types of structural features are feed into a binary decision tree to distinguish "8" and "B". The decision tree doesn’t always give the precise result. If the decision rejects the character, the final recognize result is set back to preprocessing stage. In our system, several parameters(such as W) and decision parameters used in binary decision tree need to be predefined, and they can be obtained by some optimization algorithm, and we use genetic algorithm for optimization parameters.
where x, y are two N dimensional feature vectors, and r is a Minkowski factor. And when r is 2, it is actually Euclidean distance.In our case there are two discrete signals f, t represent two images denoting the object to be searched and the template respectively. The object is of dimension I x J pixels and the template is of dimension M x N see Figure 9.
where the sum is over i, j under the window containing the feature positioned at x, y. To reduce the computing time, the above equation can be simplified to Manhattan distance:
![]() | Figure 9. Moving window template matching scheme |
Where
and
are the minimal error and the average error respectively.![]() | Figure 10. Illustration of the threshold determination |
![]() | Figure 11. The comparison of the average ROC curves for our method and others |
| [1] | Wei-jian Zhu, Liang-zheng Xia, “Practical and Fast Algorithm for Character Segmentation of License Plate,” JOURNAL OF NANJING UNIVERSITY OF SCIENCE AND TECHNOLOGY(NATURAL SCIENCE). vol. 29(z1), pp. 26–28, 2005. |
| [2] | Zhi-li Chen, Wei Zhao, “A fast and efficient location algorithm of dynamic vehicle license plate,” MACHINERY DESIGN & MANUFACTURE. vol.11, pp. 11–13,2008. |
| [3] | Ni-na Zhou, Min Wang and Xin-han Hang,and so on. “Pretreatment Algorithm of Auto Plate Characters' Recognition,” COMPUTER ENGINEERING AND APPLICATIONS. vol.39(15), pp. 220–221,2003. |
| [4] | Yong-li Ma, Qiu-hua Xia, “Algorithmic Research of License Plate Location Based on Mathematics Morphology,” CONTROL & AUTOMATION. vol.24(1), pp. 227–228,2008 |
| [5] | Anagnostopoulos, C. N. E., Anagnostopoulos, I. E., Loumos, V., & Kayafas, E. (2006). A license plate-recognition algorithm for intelligent transportation system applications. IEEE Transactions on Intelligent Transportation Systems, 377–391. |
| [6] | Zhang, H., Jia, W., He, X., & Wu, Q. (2006). Learning-based license plate detection using global and local features. In International conference on pattern recognition (pp. 1102–1105). |
| [7] | Youssef, M., & AbdelRahman, B. (2008). A smart access control using an efficient license plate location and recognition approach. Expert Systems with Applications, 256–265. |
| [8] | Franc, V., & Hlava, V. (2005). License plate character segmentation using hidden Markov chains. In: Proceedings of the 27th DAGM symposium (Vol. 1, pp. 385–392). |
| [9] | Duan, T. D., Hong Du, T. L., Phuoc, T. V., & Hoang, N. V. (2005). Building an automatic vehicle license plate recognition system. In Proceedings of international conference on computer science RIVF (pp. 59–63). |
| [10] | Kamat, V., & Ganesan, S. (1995). Efficient implementation of the Hough transform for detecting vehicle license plates using DSP’S. In First IEEE real-time technology and applications symposium (pp. 58–61). |
| [11] | Wang, S. Z., & Lee, H. M. (2003). Detection and recognition of license plate characters with different appearances. In Proceedings of conference on intelligent transportation systems (Vol. 2, pp. 979–984). |
| [12] | Wang, T. H., Ni, F. C., Li, K. T., & Chen, Y. P. (2004). Robust license plate recognition based on dynamic projection warping. In Proceedings of IEEE international conference on network, sensing and control (pp. 784–788). |
| [13] | Zhang, H., Jia, W., He, X., & Wu, Q. (2006). Learning-based license plate detection using global and local features. In International conference on pattern recognition (pp. 1102–1105). |
| [14] | Zheng, D., Zhao, Y., & Wang, J. (2005). An efficient method of license plate location. Pattern Recognition Letters, 2431–2438. |
| [15] | Barroso, J., Rafel, A., Dagless, E. L., & BulasCruz, J. (1997). Number plate reading using computer vision. In IEEE international symposium on ind. electron. ISIE’97 (pp. 761–766). |
| [16] | Hegt, H. A., De la Haye, R. J., & Khan, N. A. (1998). A high performance license plate recognition system. In Proceedings of IEEE international conference on system, man and cybernetics (Vol. 5, pp. 4357–4362). |
| [17] | Xin N., and Lansun, S. (1999). Research on license plate recognition technology. Measurement & Control Technology, 14–17. |
| [18] | Brad, R. (2005). License plate recognition system. Computer Science Department, Lucian Blaga. Univ; Sibiu, Romania. |
| [19] | Lee, B. R., Park, K., Kang, H., Kim, H., & Kim, C. (2004). Adaptive local binarization method for recognition of vehicle license plates. In Lecture notes on computer science (Vol. 2004, pp. 646–655). |
| [20] | Naito, T., Tsukada, T., Yamada, K., Kozuka, K., & Yamamoto, S. (2000). Robust license plate recognition method for passing vehicles under outside environment. IEEE Transactions on Vehicular Technology, 49, 2309–2319. |
| [21] | Duda R.O. and P.E. Hart. Pattern classification and scene analysis. Wiley, New York, 1973 |
| [22] | Lucas J. Van and Ben J.H. Verwer, "A Contour Processing Method for Fast Binary Neighborhood Operations ", Pattern Recognition Letters, Vol. 7, No. 1, pp. 27-36,1998 |
| [23] | Zhang P., L. H. Chen, 2002. A Novel Feature Extraction Method and Hybrid Tree Classification for Handwritten Numeral Recognition, Pattern Recognition Letters. 23: 45-56 |
| [24] | P., Y. Xiuzi and Z. Sanyuan, "A Hybrid Method for Robust Car Plate Character Recognition",2004 IEEE International Conference on Systems, Man and Cybernetics |
| [25] | Fairhurst M.C and M.S Hoque, Moving Window Classifier: a new approach to off-line image recognition. Electronics letters, 36(7): 628-630 : 2000. |
| [26] | Hoque M.S and M.C Fairhurst, Face recognition using the moving window classifier. In proc. Of 11th British Machine Vision Conference (BMVC2000), Bristol, UK, |
| [27] | Mohamed S. Mansoor Roomi, M. Anitha, R. Bhargavi, "Accurate License Plate Localization" International Conference on Computer, Communication & Electrical Technology ICCCET2011, March 2011 |
| [28] | Li Li and Feng Gua ngli,"The License Plate Recognition System Based on Fuzzy Theory and BP Neural Network", Fourth International Conference on Intelligent Computation Technology and Automation, 2011. |