This project detects UK number plates from images or videos using YOLOv8 and EasyOCR, and displays vehicle details using a public API in a simple Streamlit web interface.
- YOLOv8 (Ultralytics)
- EasyOCR
- OpenCV
- Streamlit (for UI)
- SQLite & CSV/Excel Export
- 📸 Image and Video Input – Upload from browser UI
🅿️ Automatic Plate Detection – Detects and crops plates using YOLOv8- 🔡 OCR for Plate Text – EasyOCR reads plate numbers
- 🌍 Vehicle Info Lookup – Integration with a public vehicle data API
- 📂 Export Results – Outputs CSV, Excel, cropped images, and annotated frames
- 💡 Simple Web Interface – Built with Streamlit for ease of use
- 🧹 Validates UK Format – Filters out invalid or foreign plates
- 🗂️ Database Storage – Records results in SQLite
Make sure you have Python installed, then run:
pip install streamlit opencv-python ultralytics easyocr pandas numpy requestsStart the application with:
streamlit run app.pyOnce started, it will open in your browser at:
http://localhost:
-
Cropped number plate images
-
Annotated image frames
-
Extracted plate numbers
-
Vehicle information:
Make, Model, Year, Region
-
Data export to:
-
CSV file
-
Excel file
-
SQLite database