An intelligent system for real-time vehicle license plate detection and recognition using YOLOv8 and EasyOCR.
- Real-time vehicle detection and tracking
- License plate detection using custom-trained YOLOv8 model
- Optical Character Recognition (OCR) for plate text extraction
- Vehicle tracking using SORT algorithm
- CSV output generation with detection results
- Result visualization tools
- Python 3.10+
- CUDA-compatible GPU
- Dependencies:
ultralytics opencv-python easyocr numpy pandas filterpy scikit-image
-
Clone the repository:
git clone https://github.com/SakshamJr/Automatic-Vehicle-Number-Plate-Recognition cd Automatic-Vehicle-Number-Plate-Recognition -
Install dependencies:
pip install -r requirements.txt
-
Train the model:
python main.ipynb
-
Run detection:
python main.py
βββ π Automatic-Vehicle-Number-Plate-Recognition
βββ π dataset
β βββ π train
β βββ π images
β βββ π labels
β βββ π dataset.yaml
βββ π main.py
βββ π main.ipynb
βββ π utils.py
βββ π sort.py
βββ π visualize.py
βββ π README.md
- Vehicle Detection: YOLOv8 model for vehicle detection
- License Plate Detection: Custom YOLOv8 model
- Tracking: SORT algorithm implementation
- OCR: EasyOCR integration
- Data Processing: Automated CSV generation and result handling
Generated CSV includes:
- Frame number
- Vehicle ID
- Vehicle bounding box coordinates
- License plate location
- Detected license plate text
- Confidence scores
- Multi-GPU support
- API integration
- Web interface
- Real-time streaming support
- Multiple camera support
Saksham Sapkota