Spaces:
Sleeping
Sleeping
| title: PlateVision | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: pink | |
| sdk: streamlit | |
| pinned: false | |
| sdk_version: 1.50.0 | |
| short_description: AI-Powered License Plate Detection & Recognition from Images | |
| # π PlateVision π | |
| ### AI-Powered License Plate Detection & Recognition from Images and Videos | |
| --- | |
| ## π§ Overview | |
| **PlateVision** is an AI-powered web app built with **Streamlit** that detects and recognizes vehicle license plates from **images** and **videos** using a **fine-tuned YOLOv8 model** and **EasyOCR**. | |
| It seamlessly combines **object detection** and **optical character recognition (OCR)** to deliver a simple, intuitive, and interactive platform where users can upload their media files and get annotated results in seconds β complete with **confidence scores** and **recognized text overlays**. | |
| --- | |
| ## β¨ Features | |
| β Detects license plates from both **images** and **videos** | |
| β Extracts **license numbers** using OCR (EasyOCR) | |
| β Displays **detection confidence** and recognized text on output | |
| β Supports multiple formats β `.jpg`, `.jpeg`, `.png`, `.mp4`, `.mkv` | |
| β Shows **real-time progress** while processing videos | |
| β Provides a **clean Streamlit interface** for easy interaction | |
| β Outputs processed results with bounding boxes and plate numbers drawn on frames | |
| --- | |
| ## βοΈ How It Works | |
| 1. **Upload Input File** | |
| - The user uploads an image or video through the Streamlit interface. | |
| 2. **License Plate Detection (YOLOv8)** | |
| - A **custom fine-tuned YOLOv8 model** detects the position of license plates in the media. | |
| 3. **Text Recognition (EasyOCR)** | |
| - The detected plate region is passed through **EasyOCR** to read and extract the license number. | |
| 4. **Annotation & Output** | |
| - Detected plates are annotated with bounding boxes, confidence percentages, and extracted text. | |
| - For videos, frames are processed sequentially and stitched back together using **MoviePy**. | |
| 5. **Display** | |
| - The processed media (image or video) is displayed directly in the Streamlit app. | |
| --- | |
| ## π§© Tech Stack | |
| | Component | Technology / Library | Purpose | | |
| |------------|----------------------|----------| | |
| | π§± Frontend & UI | **Streamlit** | Builds the interactive web interface | | |
| | π§ Object Detection | **YOLOv8 (Ultralytics)** | Detects license plate locations | | |
| | π OCR Engine | **EasyOCR** | Recognizes alphanumeric text from plates | | |
| | π₯ Video Handling | **MoviePy** | Processes and reconstructs video frames | | |
| | ποΈ Computer Vision | **OpenCV** | Image manipulation and annotation | | |
| | πΎ Language | **Python 3.11+** | Development language | | |
| --- | |