Design of a Rapid License Plate Localization Algorithm Utilizing Color Statistical Features
Abstract
1. Introduction
1.1. Research Background and Significance
1.2. Research Status at Home and Abroad
1.3. Research Content and Innovations
1.3.1. Mask Extraction Mechanism Integrating HSV Color Features and Statistical Modeling
1.3.2. Multi-Dimensional Candidate Scoring Mechanism Based on Color Statistical Features
1.3.3. Superior Efficiency over YOLOv12n with High Deployment Performance
2. Overall System Architecture Design
Overview of the System Workflow
3. Image Preprocessing and HSV Color Statistical Analysis
3.1. Adaptive Brightness Enhancement and Color Correction Method
3.1.1. Adaptive Linear Exposure Compensation
3.1.2. Dynamic Gamma Correction
3.1.3. Adaptive Local Contrast Enhancement Based on Lab Space
3.1.4. Mean Normalized White Balance Correction
3.2. Dynamic Mask Extraction Strategy for HSV Color Space
3.2.1. HSV Dynamic Mask and Failure Detection Path
3.2.2. Three Round Dynamic Threshold Trimming Mechanism
3.2.3. Auxiliary Parameter Adjustment Mechanism of Hue Histogram
3.2.4. Description of Color Space Contrast Experiment
3.3. Mask Cleaning and Region Enhancement Algorithm
- (1)
- Erosion kernel size.
- (2)
- Dilation kernel size.
- (3)
- Dilation iteration count.
- to adaptively address two typical scenarios:
- (1)
- Weak connectivity in small-area masks.
- (2)
- Excessive noise in large-area masks.
- (1)
- Single erosion operation → noise suppression.
- (2)
- Controlled dilation operations → structure enhancement.
- (1)
- M denotes the original blue mask.
- (2)
- Mclean represents the processed mask after morphological cleaning.
- (3)
- ke and kd specify the kernel sizes for erosion and dilation respectively.
- (4)
- N indicates the iteration count for dilation operations.
- (1)
- Preserving the structural continuity of license plate characters.
- (2)
- Simultaneously suppressing background noise and false connection regions.
4. License Plate Location and Candidate Box Selection Method
4.1. Color Feature and Edge Density Analysis
4.2. Candidate Region Merging and Size Dynamic Threshold Design
4.3. Optimal License Plate Area Scoring and Selection Algorithm
5. Performance Test and Model Comparison Experiment
5.1. Description of Experimental Platform and Test Data Set
5.2. Performance Comparison Between Yolov12n Model and This Scheme
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Li, Z.Y.; Wang, J.X.; Dang, R.; Liu, C.; Li, C.; Shi, T.; Fang, B. Research on license plate detection based on OpenCV and CNN. J. Hebei Univ. Archit. Eng. 2022, 40, 189–192. [Google Scholar]
- Hinton, G.E.; Salakhutdinov, R.R. Reducing the dimensionality of data with neural networks. Science 2006, 313, 504–507. [Google Scholar] [CrossRef] [PubMed]
- Deb, K.; Kang, S.J.; Jo, K.H. A vehicle license plate detection method for intelligent transportation system applications. Cybern. Syst. Int. J. 2009, 7, 90–96. [Google Scholar] [CrossRef]
- Shashirangana, J.; Padmasiri, H.; Meedeniya, D.; Perera, C. Automated license plate recognition: A survey on methods and techniques. IEEE Access 2020, 9, 11203–11225. [Google Scholar] [CrossRef]
- Gao, M.Q. Low-light image enhancement algorithm based on Retinex and HSV color space. J. Guangdong Light Ind. Vocat. Tech. Coll. 2024, 23, 9–13. [Google Scholar] [CrossRef]
- Subhalakhsmi, K.; Siva Soundharam, V. Automatic license plate recognition system based on color features and vehicle tracking. Proc. Int. Conf. Eng. Res. Technol. (IJERT) 2018, 3, 123–128. [Google Scholar]
- Mahmood, Z.; Khan, K.; Khan, U.; Adil, S.H.; Ali, S.S.A.; Shahzad, M. Towards automatic license plate detection. Sensors 2022, 22, 1245. [Google Scholar] [CrossRef] [PubMed]
- Xu, F. Research and Implementation of License Plate Recognition Algorithm. Master’s Thesis, Yangzhou University, Yangzhou, China, 2020. [Google Scholar]
- Ma, X.F. Research on image dehazing based on the HSV-improved Retinex algorithm. J. Jingdezhen Univ. 2024, 39, 53–57. [Google Scholar]
- Wang, Y.R.; Zhou, F.X.; Chen, J.S.; Zheng, H.N. Research on license plate recognition system based on OpenCV and LSD. Inf. Comput. (Theor. Version) 2023, 35, 36–38+69. [Google Scholar]
- Huang, B. Research on Multi-License Plate Character Recognition Algorithm Based on Deep Learning. Master’s Thesis, Hefei University of Technology, Hefei, China, 2019. [Google Scholar]
- Yang, L. Research and Implementation of License Plate Recognition System Based on OpenCV. Master’s Thesis, Hunan University, Changsha, China, 2017. [Google Scholar]
- Rezaei, M.; Isehaghi, I. An efficient method for license plate localization using statistical features. In Proceedings of the RoboCup Symposium; Springer: Cham, Switzerland, 2019; pp. 1–6. [Google Scholar]
- Wang, L.Y.; Bai, J.; Li, W.J.; Jiang, J.Z. Research progress on YOLO series object detection algorithms. J. Comput. Eng. Appl. 2023, 59, 15–29. [Google Scholar]













| Percentage of Mask Area | Processing Strategy |
|---|---|
| <0.5% | Alternate strategy A |
| 0.5~30% | Main detection process |
| >30% | Alternate strategy A |
| Iteration | Condition Analysis | Fine-Tuning Actions | Trigger Mechanism |
|---|---|---|---|
| Initial Iteration | Image brightness estimation | Set basic hue range | Default execution |
| Second Iteration | Insufficient mask area or abnormal connectivity | Hue threshold adjustment approx. ±5 | Mask area or area structure does not meet requirements |
| Third Iteration | The second Iteration of adjustment is still invalid | Hue threshold adjusted to ±10 | The mask is still too small or too concentrated |
| Configuration | Configuration Instructions |
|---|---|
| operating system | Windows 11 23H2 |
| Processor (CPU) | Intel(R)Core(TM) i7-13650HX |
| Graphics Processing Unit (GPU) | Nvidia GeForce RTX 4060 Laptop |
| Framework | Torch 2.1.0+cu121 |
| CUDA | 13.0 |
| Python | 3.12.11 |
| Index | YOLOv12n (Windows Platform) | This System |
|---|---|---|
| Positioning correction rate | 99.5% | 93.7% |
| Character recognition accuracy | 96.5% | 95% |
| Average processing time per sheet | 13.76 ms | 9.52 ms |
| Whether to rely on deep learning models | Yes | No |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Li, M.; Tang, X.; Xiong, Y.; Guo, H.; Wu, J.; Jiang, C.; Han, R.; Xiang, H.; Wang, Z.; Zhang, Z.; et al. Design of a Rapid License Plate Localization Algorithm Utilizing Color Statistical Features. Electronics 2026, 15, 2232. https://doi.org/10.3390/electronics15112232
Li M, Tang X, Xiong Y, Guo H, Wu J, Jiang C, Han R, Xiang H, Wang Z, Zhang Z, et al. Design of a Rapid License Plate Localization Algorithm Utilizing Color Statistical Features. Electronics. 2026; 15(11):2232. https://doi.org/10.3390/electronics15112232
Chicago/Turabian StyleLi, Mingjin, Xianfeng Tang, Ying Xiong, Huajie Guo, Jingqian Wu, Chao Jiang, Rui Han, Hengjia Xiang, Zhe Wang, Zhongfu Zhang, and et al. 2026. "Design of a Rapid License Plate Localization Algorithm Utilizing Color Statistical Features" Electronics 15, no. 11: 2232. https://doi.org/10.3390/electronics15112232
APA StyleLi, M., Tang, X., Xiong, Y., Guo, H., Wu, J., Jiang, C., Han, R., Xiang, H., Wang, Z., Zhang, Z., & Gao, J. (2026). Design of a Rapid License Plate Localization Algorithm Utilizing Color Statistical Features. Electronics, 15(11), 2232. https://doi.org/10.3390/electronics15112232

