This project aims to detect license plates in images using the YOLOv8 model and extract text from the detected license plates. It includes the complete workflow from data preparation and model training to model deployment using OpenVINO. The main components of this project include:
-
Data Preparation:
- Collect and preprocess a dataset containing images with license plates and labels for car/non-car objects.
-
Model Training:
- Train the YOLOv8 model on the prepared dataset for license plate and car detection.
-
License Plate Text Extraction:
- Implement Optical Character Recognition (OCR) to extract text from detected license plates.
-
Model Selection:
- Evaluate multiple trained models and select the best-performing one based on detection accuracy and OCR performance.
-
Model Format Conversion:
- Convert the selected model to various formats, including ONNX, and quantize it for optimized inference.
-
OpenVINO Integration:
- Use the OpenVINO toolkit to optimize the model for deployment on Intel hardware.
-
Deployment:
- Deploy the OpenVINO-optimized model for real-time license plate detection and text recognition.
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
Before you begin, make sure you have the following prerequisites installed:
- Python 3.x
- Clone this repository.
git clone https://github.com/your-username/license-plate-detection.git cd license-plate-detection