Enhanced YOLOv8-Based System for Automatic Number Plate Recognition
Abstract
:1. Introduction
- Developing a robust ANPR system adapted to recognize Qatari LPs accurately, even in challenging environmental conditions;
- Integrating advanced machine learning (ML) techniques, such as the YOLOv8 model, to improve the system’s performance and adaptability;
- Creating enhanced datasets that simulate real-life scenarios, including low-quality LP images, to increase the system’s robustness;
- Exploring innovative pre-processing techniques, such as edge detection, k-mean thresholding, and Bayesian optimization, to refine the specific pipeline for Qatari ANPR;
- Developing a comprehensive, ready-to-deploy ANPR system with API connectivity for effective integration into the existing infrastructure.
2. Background and Literature Review
- Challenges with studying newer versions of YOLO, such as YOLOv8, due to their recent emergence and the limited research available;
- Lack of comparative analyses of various YOLO versions, which are crucial for understanding the strengths and limitations of each version and selecting the most suitable model for specific ANPR requirements;
- Need for enhanced datasets adaptable to real-life situations and that can continuously evolve to improve model performance;
- Requirement for adaptable models that can handle diverse environments and challenges, providing a framework for continuous improvement.
3. Methodology
3.1. Dataset Creation and Annotation
3.2. Model Selection and Training
3.3. Exploration of Pre-Processing Techniques
- Edge detection: We implemented and compared several edge detection algorithms, including Canny, high-pass, Laplacian, and Sobel filters. These techniques aim to enhance the clarity of features within the image, potentially improving LP and number recognition [51].
3.4. Enhanced Dataset Creation
- Identification of challenging scenarios: We identified several challenging LP categories, listed in Table 2, based on common issues encountered in real-world ANPR applications.
- Development of simulation functions: We developed image processing functions using OpenCV to simulate various conditions. These functions transformed high-quality LP images to mimic desired effects. For example, the FD function combined binary thresholding with custom noise to simulate number erosion and flash effects, while the ‘No painting’ function used edge detection and contrast enhancement to replicate the look of unpainted, embossed numbers.
- Automated dataset enhancement: We developed a Python script to automate the enhancement of our dataset by applying simulated conditions. The script iterated through each image, applied various simulation functions to generate multiple variations, created new filenames for these modified images, and saved the modified images along with their corresponding label files.
- Label management: To maintain dataset integrity, we developed a method for managing labels with the modified images. This process involved copying the original label files for each modified image and adjusting the label coordinates if the simulation functions altered image dimensions or object positions.
- Dataset Expansion: Through this process, we significantly increased the size and diversity of our dataset. For each original image, multiple variations were created: each representing a different challenging scenario.
- Quality control: After the automated enhancement process, we manually reviewed a subset of the enhanced images to ensure the simulations accurately represented real-world challenges and that the labels remained accurate.
4. System Integration and Deployment
- Car function: This function utilizes a YOLOv8 model trained on the COCO dataset to detect vehicles in the input image. It identifies various vehicle types, including cars, motorcycles, buses, and trucks.
- Plate function: This function employs our custom-trained YOLOv8 model to locate and isolate an LP within the detected vehicle area.
- Number function: This function uses another specialized YOLOv8 model to recognize and interpret the individual numbers on the isolated LP.
- ANPR function: This main function orchestrates the entire process, calling the above functions in sequence and handling any exceptions or fallback scenarios.
5. Results and Discussion
5.1. Overall Model Performance
5.2. Model Performance Comparison
5.2.1. LP Detection
5.2.2. Number Recognition
5.3. Impact of Dataset Enhancement
5.4. Evaluation of Pre-Processing Techniques
5.5. System Performance in Real-World Deployment
5.5.1. Processing Speed
5.5.2. Accuracy in Various Conditions
- Daylight, clear weather: This represents optimal conditions with good lighting and clear visibility, allowing for high-quality image capture and easy LP detection.
- Night-time: Reduced lighting conditions can lead to lower image quality and contrast, making LP detection and OCR more challenging. However, our dataset augmentation techniques simulating low-light conditions help maintain relatively high accuracy.
- Rainy conditions: Rain can cause image blur, reflections, and reduced contrast. These factors can obscure LP details and boundaries, increasing the difficulty of accurate detection and recognition.
- Partial occlusion: When parts of the LP are obscured, the model must infer missing information, which can lead to increased errors. The relatively high accuracy in this challenging scenario demonstrates the robustness of our approach.
5.6. Comparative Analysis with Existing Works and Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Al-Hasan, T.M.; Shibeika, A.S.; Attique, U.; Bensaali, F.; Himeur, Y. Smart speed camera based on automatic number plate recognition for residential compounds and institutions inside Qatar. In Proceedings of the 2022 5th International Conference on Signal Processing and Information Security (ICSPIS), Dubai, United Arab Emirates, 7–8 December 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 42–45. [Google Scholar] [CrossRef]
- Ahmad, M.B.; Musa, U.F.; Dahiru, M.; Abimbola, M.B. Advantages of Automated License Plate Recognition Technology. Eng. Technol. 2024, 4, 10–15. [Google Scholar] [CrossRef]
- Job, R.; Truong, J.; Sakashita, C. The ultimate safe system: Redefining the safe system approach for road safety. Sustainability 2022, 14, 2978. [Google Scholar] [CrossRef]
- Khalai, I. Road safety performance monitoring practices: A literature review. Eurasia Proc. Sci. Technol. Eng. Math. 2023, 22, 99–110. [Google Scholar] [CrossRef]
- Consunji, R.; Peralta, R.; Al-Thani, H.; Latifi, R. The implications of the relative risk for road mortality on road safety programmes in qatar. Inj. Prev. 2014, 21, e105–e108. [Google Scholar] [CrossRef] [PubMed]
- Tahmasseby, S. The implementation of smart mobility for smart cities: A case study in qatar. Civ. Eng. J. 2022, 8, 2154–2171. [Google Scholar] [CrossRef]
- Timmermans, C.; Alhajyaseen, W.; Reinolsmann, N.; Nakamura, H.; Suzuki, K. Traffic safety culture of professional drivers in the State of Qatar. IATSS Res. 2019, 43, 286–296. [Google Scholar] [CrossRef]
- Shaaban, K. Comparative study of road traffic rules in Qatar compared to western countries. Procedia-Soc. Behav. Sci. 2012, 48, 992–999. [Google Scholar] [CrossRef]
- Consunji, R.; Alinier, G.; Fathi Abeid, A.; Murray, L.M.; Fildes, B. Recommendations to improve young and novice driver safety in the State of Qatar. J. Emerg. Med. Trauma Acute Care 2022, 2022, 4. [Google Scholar] [CrossRef]
- Rathore, M.M.; Paul, A.; Rho, S.; Khan, M.; Vimal, S.; Shah, S.A. Smart traffic control: Identifying driving-violations using fog devices with vehicular cameras in smart cities. Sustain. Cities Soc. 2021, 71, 102986. [Google Scholar] [CrossRef]
- Qatar General Secretariat for Development Planning. Qatar National Vision 2030. 2008. Available online: https://www.psa.gov.qa/en/qnv1/Pages/default.aspx (accessed on 17 August 2024).
- Sillitoe, P. Sustainable Development: An Appraisal from the Gulf Region; Berghahn Books: New York, NY, USA, 2014; Chapter 2; pp. 65–81. [Google Scholar]
- Alam, N.A.; Ahsan, M.; Based, M.A.; Haider, J. Intelligent system for vehicles number plate detection and recognition using convolutional neural networks. Technologies 2021, 9, 9. [Google Scholar] [CrossRef]
- Zhai, X.; Bensaali, F. Improved number plate character segmentation algorithm and its efficient FPGA implementation. J. Real-Time Image Process. 2015, 10, 91–103. [Google Scholar] [CrossRef]
- El-Harby, A.; Behery, G.; Al-Dhawi, A. Automatic recognition system of vehicle plate for recording incoming vehicles to the university campus and the outgoing. Am. J. Appl. Sci. 2017, 14, 469–477. [Google Scholar] [CrossRef]
- Khaparde, D.; Detroja, H.; Shah, J.; Dikey, R.; Thakare, B. Automatic Number Plate Recognition System. Int. J. Comput. Appl. 2018, 179, 26–29. [Google Scholar] [CrossRef]
- Agrawal, R.; Agarwal, M.; Krishnamurthi, R. Cognitive number plate recognition using machine learning and data visualization techniques. In Proceedings of the 2020 6th International Conference on Signal Processing and Communication (ICSC), Noida, India, 5–7 March 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 101–107. [Google Scholar] [CrossRef]
- Ahmad, I.S.; Boufama, B.; Habashi, P.; Anderson, W.; Elamsy, T. Automatic license plate recognition: A comparative study. In Proceedings of the 2015 IEEE International Symposium on Signal Processing and Information Technology (ISSPIT), Abu Dhabi, United Arab Emirates, 7–10 December 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 635–640. [Google Scholar] [CrossRef]
- Babu, K.M.; Raghunadh, M. Vehicle number plate detection and recognition using bounding box method. In Proceedings of the 2016 International Conference on Advanced Communication Control and Computing Technologies (ICACCCT), Ramanathapuram, India, 25–27 May 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 106–110. [Google Scholar] [CrossRef]
- Laroca, R.; Zanlorensi, L.A.; Gonçalves, G.R.; Todt, E.; Schwartz, W.R.; Menotti, D. An efficient and layout-independent automatic license plate recognition system based on the YOLO detector. IET Intell. Transp. Syst. 2021, 15, 483–503. [Google Scholar] [CrossRef]
- Ding, H.; Gao, J.; Yuan, Y.; Wang, Q. An End-to-End Contrastive License Plate Detector. IEEE Trans. Intell. Transp. Syst. 2023, 25, 503–516. [Google Scholar] [CrossRef]
- Jocher, G.; Chaurasia, A.; Qiu, J. Ultralytics YOLO. AGPL-3.0 License. 2023. Available online: https://github.com/ultralytics/ultralytics (accessed on 16 August 2024).
- Daniel, M.; Tiwari, S. Advanced Traffic Monitoring and Enforcement Using YOLOv8. Int. J. Res. Publ. Rev. 2024, 5, 2070–2073. [Google Scholar] [CrossRef]
- Hussain, M. YOLO-v1 to YOLO-v8, the Rise of YOLO and Its Complementary Nature Toward Digital Manufacturing and Industrial Defect Detection. Machines 2023, 7, 677. [Google Scholar] [CrossRef]
- Lei, C.; Zeng, J.; Xia, Y.; Pang, F. Aircraft Type Recognition Based on YOLOv8. J. Phys. Conf. Ser. 2024, 2787, 012047. [Google Scholar] [CrossRef]
- Wang, S.; Cao, X.; Wu, M.; Yi, C.; Zhang, Z.; Fei, H.; Zheng, H.; Jiang, H.; Jiang, Y.; Zhao, X.; et al. Detection of Pine Wilt Disease Using Drone Remote Sensing Imagery and Improved YOLOv8 Algorithm: A Case Study in Weihai, China. Forests 2023, 14, 2052. [Google Scholar] [CrossRef]
- Huang, H.; Wang, B.; Xiao, J.; Zhu, T. Improved Small-Object Detection Using YOLOv8: A Comparative Study. Appl. Comput. Eng. 2024, 41, 80–88. [Google Scholar] [CrossRef]
- Ma, P.; He, X.; Chen, Y.; Liu, Y. ISOD: Improved Small Object Detection Based on Extended Scale Feature Pyramid Network. Vis. Comput. 2024, 1–15. [Google Scholar] [CrossRef]
- Sholahuddin, M.R.; Harika, M.; Awaludin, I.; Dewi, Y.C.; Fauzan, F.D.; Sudimulya, B.P.; Widarta, V.P. Optimizing YOLOv8 for Real-Time CCTV Surveillance: A Trade-Off Between Speed and Accuracy. J. Online Inform. 2023, 8, 261–270. [Google Scholar] [CrossRef]
- Hawaldar, V.; Jain, R.; Mengde, M.; Agrawal, S. Revolutionizing Plant Disease Detection in Agriculture: A Comparative Study of YOLOv5 and YOLOv8 Deep Learning Models; Research Square Platform LLC.: Raleigh, NC, USA, 2024. [Google Scholar] [CrossRef]
- Apeināns, I. Optimal Size of Agricultural Dataset for YOLOv8 Training. In Proceedings of the 15th International Scientific and Practical Conference, Rezekne, Latvia, 27–28 June 2024; Volume 2, pp. 38–42. [Google Scholar] [CrossRef]
- Mustafa, T.; Karabatak, M. Deep Learning Model for Automatic Number/License Plate Detection and Recognition System in Campus Gates. In Proceedings of the 2023 11th International Symposium on Digital Forensics and Security (ISDFS), Chattanooga, TN, USA, 11–12 May 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Sferle, R.M.; Moisi, E.V. Automatic number plate recognition for a smart service auto. In Proceedings of the 2019 15th international conference on engineering of modern electric systems (EMES), Oradea, Romania, 13–14 June 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 57–60. [Google Scholar] [CrossRef]
- Wang, C.-Y.; Bochkovskiy, A.; Liao, H.-Y.M. YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 17–24 June 2023; pp. 7464–7475. [Google Scholar] [CrossRef]
- Sankhe, P.; Ramani, J.; Shishodiya, T. License Plate Detection Using YOLOv7 and Optical Character Recognition. In Proceedings of the 2023 7th International Conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India, 22–24 November 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1881–1886. [Google Scholar] [CrossRef]
- Hingorani, B.; Makhija, K.; Sharma, S.; Roychowdhury, S. Automated Toll System Using License Plate Identification. In IOT with Smart Systems; Choudrie, J., Mahalle, P.N., Perumal, T., Joshi, A., Eds.; Springer Nature: Singapore, 2023; pp. 577–586. [Google Scholar] [CrossRef]
- Angelika Mulia, D.; Safitri, S.; Gede Putra Kusuma Negara, I. YOLOv8 and Faster R-CNN Performance Evaluation with Super-resolution in License Plate Recognition. Int. J. Comput. Digit. Syst. 2024, 16, 365–375. [Google Scholar] [CrossRef] [PubMed]
- Chopade, R.; Ayarekar, B.; Mangore, S.; Yadav, A.; Gurav, U.; Patil, T.; Prabhavalkar, V.; Chanchal, A.K. Automatic Number Plate Recognition: A Deep Dive into YOLOv8 and ResNet-50 Integration. In Proceedings of the 2024 International Conference on Integrated Circuits and Communication Systems (ICICACS), Raichur, India, 23–24 February 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–8. [Google Scholar] [CrossRef]
- Tang, J.; Wan, L.; Schooling, J.; Zhao, P.; Chen, J.; Wei, S. Automatic number plate recognition (ANPR) in smart cities: A systematic review on technological advancements and application cases. Cities 2022, 129, 103833. [Google Scholar] [CrossRef]
- Cheng, Y.H.; Chen, P.Y. Using Generative Adversarial Network Technology for Repairing Dynamically Blurred License Plates. In Proceedings of the 2023 Sixth International Symposium on Computer, Consumer and Control (IS3C), Taichung, Taiwan, 30 June–3 July 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 126–129. [Google Scholar] [CrossRef]
- Liu, X.; Gan, H.; Yan, Y. Study on improvement of YOLOv3 algorithm. J. Phys. Conf. Ser. 2021, 1884, 012031. [Google Scholar] [CrossRef]
- Ma, H.; Zhang, D.; Fan, L.; Li, Y.; Xu, Z. A Deep Learning-Based Framework for End-To-End Identification of IMO Numbers on Ships. In Proceedings of the 2023 7th International Conference on Transportation Information and Safety (ICTIS), Xi’an, China, 4–6 August 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 596–602. [Google Scholar] [CrossRef]
- Sahu, C.K.; Pattnayak, S.B.; Behera, S.; Mohanty, M.R. A comparative analysis of deep learning approach for automatic number plate recognition. In Proceedings of the 2020 Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 7–9 October 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 932–937. [Google Scholar] [CrossRef]
- Salma; Saeed, M.; ur Rahim, R.; Gufran Khan, M.; Zulfiqar, A.; Bhatti, M.T. Development of ANPR framework for Pakistani vehicle number plates using object detection and OCR. Complexity 2021, 2021, 5597337. [Google Scholar] [CrossRef]
- Putri, S.A.; Ramadhan, G.; Alwildan, Z.; Irwan, I.; Afriansyah, R. Perbandingan Kinerja Algoritma YOLO Dan RCNN Pada Deteksi Plat Nomor Kendaraan. J. Inov. Teknol. Terap. 2023, 1, 145–154. [Google Scholar] [CrossRef]
- Aqaileh, T.; Alkhateeb, F. Automatic jordanian license plate detection and recognition system using deep learning techniques. J. Imaging 2023, 9, 201. [Google Scholar] [CrossRef]
- Al-Batat, R.; Angelopoulou, A.; Premkumar, S.; Hemanth, J.; Kapetanios, E. An end-to-end automated license plate recognition system using YOLO based vehicle and license plate detection with vehicle classification. Sensors 2022, 22, 9477. [Google Scholar] [CrossRef]
- Choudhaury, S.R.; Narendra, A.; Mishra, A.; Misra, I. Chaurah: A Smart Raspberry Pi Based Parking System. arXiv 2023, arXiv:2312.16894. [Google Scholar] [CrossRef]
- Notonogoro, I.W.; Jondri; Arifianto, A. Indonesian License Plate Recognition Using Convolutional Neural Network. In Proceedings of the 2018 6th International Conference on Information and Communication Technology (ICoICT), Bandung, Indonesia, 3–5 May 2018; pp. 366–369. [Google Scholar] [CrossRef]
- Terven, J.; Córdova-Esparza, D.M.; Romero-González, J.A. A comprehensive review of yolo architectures in computer vision: From yolov1 to yolov8 and yolo-nas. Mach. Learn. Knowl. Extr. 2023, 5, 1680–1716. [Google Scholar] [CrossRef]
- Ahmed, A. Contextual Scene Understanding: Template Objects Detector and Feature Descriptors for Indoor/Outdoor Scenarios. Master’s Thesis, AIR University, Islamabad, Pakistan, 2020. [Google Scholar]
- Gupta, D.; Sharma, A.; Kaur, P.; Gupta, R. Experimental analysis of clustering based models and proposal of a novel evaluation metric for static video summarization. Multimed. Tools Appl. 2024, 83, 3259–3284. [Google Scholar] [CrossRef]
- Ranjbarzadeh, R.; Dorosti, S.; Ghoushchi, S.J.; Caputo, A.; Tirkolaee, E.B.; Ali, S.S.; Arshadi, Z.; Bendechache, M. Breast tumor localization and segmentation using machine learning techniques: Overview of datasets, findings, and methods. Comput. Biol. Med. 2023, 152, 106443. [Google Scholar] [CrossRef]
- Hasana, S.; Fitrianah, D. A Study on Enhanced Spatial Clustering Using Ensemble Dbscan and Umap to Map Fire Zone in Greater Jakarta, Indonesia. J. Ris. Inform. 2023, 5, 409–418. [Google Scholar] [CrossRef]
- Wan, X.; Li, D.; Lv, Y.; Kong, F.; Wang, Q. Hyperspectral image reconstruction based on low-rank coefficient tensor and global prior. Int. J. Remote Sens. 2023, 44, 4058–4085. [Google Scholar] [CrossRef]
- Al-Hasan, T.M.; Sayed, A.N.; Bensaali, F.; Nhlabatsi, A.; Hamila, R. Security-Driven Performance Analysis of Lightweight Cryptography for Energy Efficiency Applications. In Proceedings of the 2024 IEEE 8th Energy Conference (ENERGYCON), Doha, Qatar, 4–7 March 2024; pp. 1–6. [Google Scholar] [CrossRef]
Ref. | Study Description | Methodology | Key Findings |
---|---|---|---|
[1] | Smart speed camera system using ANPR for residential compounds and institutions in Qatar | ANPR integration with speed cameras | Highlighted the potential of ANPR in enhancing traffic safety in residential areas |
[15] | Automatic recognition system for recording incoming and outgoing vehicles | Conventional ANPR methodology | Demonstrated the effectiveness of ANPR in university campus settings |
[20] | Efficient and layout-independent ANPR system based on YOLO detector | DL (YOLO) | Showcased the robustness of YOLO in detecting LPs under diverse conditions |
[35] | Combines YOLOv7 and OCR to improve ANPR, addressing challenges in real-world scenarios | DL (YOLOv7, Pytesseract) | Improved detection accuracy and robustness against environmental challenges through data augmentation |
[36] | An ANPR system to improve toll collection efficiency in India | DL (YOLOv7) | Achieved high precision in LP detection and reduced processing time |
[37] | Evaluates the performance of YOLOv8 and Faster R-CNN object detection models for LP recognition and the impact of super-resolution on OCR accuracy | DL (YOLOv8, Faster R-CNN) | Incorporated super-resolution into an ANPR system, reducing the character error rate to 51.7% |
[38] | Proposes an ANPR system that integrates YOLOv8 for object detection and ResNet-50 for feature extraction, achieving high accuracy on Indian LPs | DL (YOLOv8, ResNet-50) | Succeeded in localizing single-line LPs and achieving high-accuracy character recognition under varying illumination conditions |
[39] | Systematic review of ANPR in smart cities | Literature review | Identified gaps in current research and emphasized the need for adaptable models |
[40] | Repairs dynamically blurred LPs using GAN technology | GANs | Demonstrated the potential of GANs in enhancing LP image quality |
[43] | Comparison of traditional ANPR approaches with YOLOv3 for real-time Indian LP detection | DL (YOLOv3) | Traditional approaches focused on contouring, segmentation, and edge detection processes yielded lower accuracy, while YOLOv3 provided more accurate results for Indian LP detection in real-time |
[44] | Develops an ANPR framework for Pakistani vehicle LPs using YOLO object detection and OCR | DL (LeNet-CNN, YOLOv4) | The proposed ANPR framework using YOLOv4 and OCR Tesseract demonstrated effective performance across diverse Pakistani LP formats |
[45] | Compares the performance of YOLO and R-CNN algorithms for vehicle LP detection | DL (YOLOv4, R-CNN) | YOLOv4 had higher accuracy than R-CNN |
[46] | Develops ANPR for Jordanian LPs and a recognition system using DL techniques, specifically the YOLOv3 model and transfer learning to enhance accuracy and efficiency | DL (YOLOv3, VGG16) | The proposed system effectively detects and recognizes Jordanian LPs and vehicle logos with high accuracy by utilizing DL models trained on extensive datasets |
[47] | Presents an end-to-end ANPR system using YOLOv4 for vehicle and LP detection, enhancing accuracy and robustness in real-world settings | DL (YOLOv4) | Achieved significant improvements in detection accuracy across diverse datasets, showcasing its generalizability under varying conditions |
[48] | Develops a smart parking system using a Raspberry Pi with RetinaNet for ANPR and Keras OCR for LP recognition. | DL (RetinaNet) | Achieved high accuracy and efficient processing and is suitable for various parking management applications |
[49] | Indonesian LP recognition using CNNs to handle various noise conditions | DL (CNN with sliding window method) | Achieved high accuracy on normal data and low accuracy on noisy data; sliding window performance decreased under noisy conditions |
Challenging Scenario | Description | LP from Original Dataset | LP with Developed Function |
---|---|---|---|
Flash and deteriorated (FD) | Simulating LPs affected by camera flash and physical deterioration | ||
Deteriorated with low contrast | Replicating plates with poor visibility due to wear and low contrast | ||
No painting | Mimicking plates for which the paint has worn off, leaving only embossed numbers | ||
Flash with bad focus | Simulating the effect of camera flash combined with poor focus | ||
Night-time | Dark environment; poor lighting | - | |
Rainy | Weather condition affecting visibility | - | |
Partial occlusion | LP blocked or obstructed by any object | - | |
Glare | Direct sun glare on the camera or from reflections | - |
Model | mAP50 | mAP75 | mAP50-95 |
---|---|---|---|
Original Dataset | 0.87 | 0.71 | 0.65 |
Enhanced Dataset | 0.92 | 0.79 | 0.73 |
Pre-Processing Method | mAP50 |
---|---|
No Pre-processing | 0.87 |
Edge Detection | 0.86 |
K-mean Thresholding | 0.87 |
DBSCAN | 0.85 |
GMM (6 clusters) | 0.86 |
GMM (12 clusters) | 0.85 |
GMM (24 clusters) | 0.84 |
Stage | Average Time (ms) |
---|---|
Image Capture (Raspberry Pi) | 50 |
Image Transmission | 100 |
LP Detection | 6.2 |
Number Recognition | 9.7 |
Total Processing Time | 166 |
Condition | Accuracy (%) |
---|---|
Daylight, Clear Weather | 98.5 |
Night-time | 95.2 |
Rainy Conditions | 93.7 |
Partial Occlusion | 91.8 |
Study | Model | Accuracy | Processing Time | Dataset Size | Environmental Conditions |
---|---|---|---|---|---|
[37] | YOLOv8, Faster R-CNN | 68.6% 51.0% | - | - | - |
[38] | YOLOv8, ResNet-50 | 98.6% 97.8% | - | 1300 | Day and night |
[43] | YOLOv3 | 90.0% | - | 2500 | - |
[44] | YOLOv4 | 70.38% | 2700 ms | 3000 | Day |
[45] | YOLOv4, R-CNN | 96.0% 87.8% | - | 150 | Day |
[46] | YOLOv3, VGG16 | 99.8% 99.1% | - | 7035 | Day |
[47] | YOLOv4 | 90.3% | - | Five public datasets | - |
[48] | RetinaNet | 89.38% | 143 ms | 4500 | Various |
[49] | CNN (sliding window) | 87.36% (normal) 44.93% (noisy) | 1.06 ms/character | 2518 | Various (normal, blur, and night) |
Our Work | YOLOv8s | 98.5% | Overall: 166 ms ANPR: 62.89 FPS | 2432 | Various (day, night, rain, occlusions) |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Al-Hasan, T.M.; Bonnefille, V.; Bensaali, F. Enhanced YOLOv8-Based System for Automatic Number Plate Recognition. Technologies 2024, 12, 164. https://doi.org/10.3390/technologies12090164
Al-Hasan TM, Bonnefille V, Bensaali F. Enhanced YOLOv8-Based System for Automatic Number Plate Recognition. Technologies. 2024; 12(9):164. https://doi.org/10.3390/technologies12090164
Chicago/Turabian StyleAl-Hasan, Tamim Mahmud, Victor Bonnefille, and Faycal Bensaali. 2024. "Enhanced YOLOv8-Based System for Automatic Number Plate Recognition" Technologies 12, no. 9: 164. https://doi.org/10.3390/technologies12090164
APA StyleAl-Hasan, T. M., Bonnefille, V., & Bensaali, F. (2024). Enhanced YOLOv8-Based System for Automatic Number Plate Recognition. Technologies, 12(9), 164. https://doi.org/10.3390/technologies12090164