A powerful and efficient license plate detection system that utilizes YOLOv8 for vehicle detection, a custom YOLO model for license plate detection, and PaddleOCR for optical character recognition. This system allows users to upload images and extract vehicle license plates with high accuracy.
You can preview it here.
- Python 3.7+
- Required Python libraries:
- streamlit
- opencv-python
- ultralytics (for YOLO models)
- numpy
- pillow
- pandas
- paddleocr
- io
- regex
- Clone the repo:
git clone https://github.com/yourusername/license-plate-detection cd license-plate-detection
- Install the required Python packages:
pip install -r requirements.txt
- Run the application:
streamlit run app.py
- Navigate to the displayed local URL to access the application.
- The app uses pre-trained YOLOv8 models for vehicle and license plate detection.
- PaddleOCR is used for license plate recognition with high accuracy.
- Upload and process multiple images at once
- Detect vehicles in the uploaded images
- Extract license plates from detected vehicles
- Use OCR to recognize the text on license plates
- Basic validation for detected license plates
- Display the vehicle and license plate images with confidence score
This project is licensed under the MIT License - see the LICENSE.md file for details.