demo.mp4
This project develops a real-time vehicle detection and license plate recognition system using advanced deep learning techniques. By integrating the YOLO (You Only Look Once) model for object detection and the SORT (Simple Online and Realtime Tracking) algorithm for tracking, the system efficiently identifies and tracks vehicles in video footage. Additionally, it utilizes a specialized model for accurately detecting and reading license plate numbers.
The video I used in this tutorial can be downloaded here.
A Yolov8 pre-trained model (YOLOv8n) was used to detect vehicles.
A licensed plate detector was used to detect license plates. The model was trained with Yolov8 using this dataset.
The sort module needs to be downloaded from this repository.
To get started, follow these steps:
- Clone the repository:
git clone https://github.com/arij01/automatic-number-plate-recognition.git
- Navigate to the project directory:
cd automatic-number-plate-recognition
- Install dependencies:
pip install -r requirements.txt
- Run main.py:
python main.py
- Run the add_missing_data.py file:
python add_missing_data.py
- Run the visualize.py file:
python visualize.py