| Literature DB >> 35890962 |
Piyush Batra1, Imran Hussain1, Mohd Abdul Ahad1, Gabriella Casalino2, Mohammad Afshar Alam1, Aqeel Khalique1, Syed Imtiyaz Hassan3.
Abstract
With the rapid development of deep learning techniques, new innovative license plate recognition systems have gained considerable attention from researchers all over the world. These systems have numerous applications, such as law enforcement, parking lot management, toll terminals, traffic regulation, etc. At present, most of these systems rely heavily on high-end computing resources. This paper proposes a novel memory and time-efficient automatic license plate recognition (ALPR) system developed using YOLOv5. This approach is ideal for IoT devices that usually have less memory and processing power. Our approach incorporates two stages, i.e., using a custom transfer learned model for license plate detection and an LSTM-based OCR engine for recognition. The dataset that we used for this research was our dataset consisting of images from the Google open images dataset and the Indian License plate dataset. Along with training YOLOv5 models, we also trained YOLOv4 models on the same dataset to illustrate the size and performance-wise comparison. Our proposed ALPR system results in a 14 megabytes model with a mean average precision of 87.2% and 4.8 ms testing time on still images using Nvidia T4 GPU. The complete system with detection and recognition on the other hand takes about 85 milliseconds.Entities:
Keywords: ALPR; IoT; OCR; YOLOv5; urban mobility; vehicle license plate detection and recognition
Mesh:
Year: 2022 PMID: 35890962 PMCID: PMC9317241 DOI: 10.3390/s22145283
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1Architecture of YOLOv5s.
Figure 2EasyOCR pipeline [12].
Summary of the state-of-the-art research in ALPR [24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45].
| Sr No | Ref | Technique Used | Dataset Used | Accuracy Achieved |
|---|---|---|---|---|
| 1 | [ | Unified DNN | CarFlag-Large, China | 97.13% |
| 2 | [ | YOLOv3 and YOLOv3-SPP | KarPlate, Korea | 98.93% |
| 3 | [ | Multi-task Convolutional Neural Networks (MTCNN) | Chinese City Parking Dataset (CCPD) | 98% |
| 4 | [ | OKM-CNN (Deep Learning-based K-Means) CNN | Stanford Cars dataset, FZU Cars Dataset, HumAIn 2019 Dataset | 98.1% |
| 5 | [ | Cascade Framework | SeeCar library | 98.25% |
| 6 | [ | two-layer probabilistic neural network (PNN) | Self- created sample set | 86% |
| 7 | [ | CNN-based MD-YOLO | ImageNet dataset and Application Oriented License Plate (AOLP) dataset | F Score 99.5% |
| 8 | [ | Image processing part-based detector mechanism | Self-created dataset | 99.4% |
| 9 | [ | Vertical Edge Detection | Self-created dataset | 91.6% |
| 10 | [ | Image processing | Self Created Dataset | 91% |
| 11 | [ | Two-Step Key frames identification approach | Video Dataset | F score 91% |
| 12 | [ | (YOLO)-darknet deep learning framework using sliding-window approach | AOLP dataset | 78% |
| 13 | [ | Two-stage Convolutional Neural Networks (CNNs) using YOLOv3 framework | JALPR dataset | 87% |
| 14 | [ | Deep Learning based real-time video monitoring | UFPRALPR dataset, SSIG-SegPlate dataset, and Low-Quality Plate-Videos dataset | 95.83% for the AOLP dataset and 98.9% for CCPD datasets |
| 15 | [ | mask region convolutional neural networks | AOLP, Caltech dataset | 99.3% on AOLP and 98.9% on Caltech dataset. |
Figure 3Random samples from the dataset (https://www.kaggle.com/datasets/dataturks/vehicle-number-plate-detection, accessed on 5 June 2022) (https://storage.googleapis.com/openimages/web/index.html, accessed on 5 June 2022).
Figure 4Overview of the methodology.
Dataset Details.
| Train | Validation | Test | Total | |
|---|---|---|---|---|
| License Plate | 4201 | 1188 | 602 | 5991 |
| 70.12% | 19.83% | 10.05% |
Results.
| Model | Epoch | Test (%) | Validation (%) | Size | Avg Test Time | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| mAP | mAP.95 | R | P | mAP | mAP.95 | R | P | ||||
| YOLOv5s | 100 | 87.2 | 46.5 | 82.2 | 88.2 | 88.4 | 49.5 | 84.3 | 87.8 | 14 MB | 4.8 ms |
Comparison between YOLOv5s and tiny YOLOv4.
| Model | Test mAP | Validation mAP | Size | Test Time |
|---|---|---|---|---|
| YOLOv5s | 87.2% | 88.4 | 14 MB | 4.8 ms |
| Tiny YOLOv4 | 82.68% | 83.95 | 22 MB | 23.1 ms |
Comparison with other work completed with YOLOv5.
| Model | mAP@0.5 | mAP@0.5:0.95 | Recall | Precision |
|---|---|---|---|---|
| Our model | 87.2% | 46.5% | 82.2% | 88.2% |
| Other work [ | 9.1% | 2.4% | 18.3% | 17.9% |