This project involves detecting vehicles and reading their license plates from video footage. Utilizing YOLOv8 for object detection and the SORT algorithm for tracking, this system identifies vehicles and extracts license plate text, specifically focusing on Indian license plates.
This project aims to detect vehicles and read license plates from video footage. It leverages YOLOv8 for object detection and the SORT algorithm for tracking vehicles across frames. The detected license plates are then processed using EasyOCR to extract the text, with a focus on Indian license plate formats.
git clone https://github.com/vn33/IndianVehicleLicensePlateDetection-using-Yolov8-and-EasyOCR.git
cd vehicle-license-plate-detection
The pipeline for detecting and tracking vehicles and reading license plates is structured as follows:
For each frame in the video:
graph TD;
A[Load Models and Video] --> B[Initialize Tracker]
B --> C[Start Frame-by-Frame Processing]
C --> D[Vehicle Detection]
D --> E[Vehicle Tracking]
E --> F[License Plate Detection]
F --> G[Assign License Plates to Vehicles]
G --> H[License Plate Text Extraction]
H --> I[Store Results]
I --> J{More Frames?}
J --> |Yes| C
J --> |No| K[Write Results]
Thanks to the SORT repository for the implementation of the SORT tracking algorithm.
Contributions are welcome! Please submit a pull request or open an issue for any feature requests or bug reports.