This project presents a license plate detection and recognition pipeline, leveraging YOLOv11 for object detection, OpenCV for image processing, and optical character recognition (OCR) for text extraction.
Build a model to detect and recognize vehicle number plates, enabling seamless parking entrance and exit as an alternative to using an access card. Utilize YOLOv11 for object detection, OpenCV for image processing, and EasyOCR for text recognition.
I collected 70 number plate images from various vehicles (SUVs, Trucks, Sedans, etc.) on the street using a phone camera. Out of these, 50 images were used for training and 20 for testing.
Python environment => 3.12.1
git clone https://github.com/withabubaker/ANPR_Yolov11.git
pip install -r requirements.txt
python deploy.py <folder_path | image_path | video_path>
The model's mPA scores are as follows: . mAP50-95(B): 0.807 . mAP50(B): 0.995
Sample results:
Sometimes, the model confuses the "W" with the "H", as shown in the image below: