Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,76 @@
|
|
| 1 |
---
|
| 2 |
title: PlateVision
|
| 3 |
emoji: π
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: streamlit
|
| 7 |
pinned: false
|
| 8 |
sdk_version: 1.50.0
|
| 9 |
short_description: AI-Powered License Plate Detection & Recognition from Images
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# π PlateVision π
|
| 14 |
### AI-Powered License Plate Detection & Recognition from Images and Videos
|
| 15 |
|
|
@@ -17,29 +78,53 @@ short_description: AI-Powered License Plate Detection & Recognition from Images
|
|
| 17 |
|
| 18 |
## π§ Overview
|
| 19 |
|
| 20 |
-
**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 **
|
| 21 |
|
| 22 |
-
It combines **object detection** and **optical character recognition (OCR)**
|
| 23 |
|
| 24 |
---
|
| 25 |
|
| 26 |
## β¨ Features
|
| 27 |
|
| 28 |
-
β
Detects license plates from images
|
| 29 |
-
β
Extracts
|
| 30 |
-
β
Displays detection confidence and recognized text
|
| 31 |
-
β
Supports multiple
|
| 32 |
-
β
|
| 33 |
-
β
|
| 34 |
-
β
Outputs processed results with bounding boxes and
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
---
|
| 37 |
|
| 38 |
## π§© Tech Stack
|
| 39 |
|
| 40 |
-
|
| 41 |
-
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: PlateVision
|
| 3 |
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: streamlit
|
| 7 |
pinned: false
|
| 8 |
sdk_version: 1.50.0
|
| 9 |
short_description: AI-Powered License Plate Detection & Recognition from Images
|
| 10 |
+
---
|
| 11 |
+
# π PlateVision π
|
| 12 |
+
### AI-Powered License Plate Detection & Recognition from Images and Videos
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
|
| 16 |
+
## π§ Overview
|
| 17 |
+
|
| 18 |
+
**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**.
|
| 19 |
+
|
| 20 |
+
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**.
|
| 21 |
|
| 22 |
---
|
| 23 |
+
|
| 24 |
+
## β¨ Features
|
| 25 |
+
|
| 26 |
+
β
Detects license plates from both **images** and **videos**
|
| 27 |
+
β
Extracts **license numbers** using OCR (EasyOCR)
|
| 28 |
+
β
Displays **detection confidence** and recognized text on output
|
| 29 |
+
β
Supports multiple formats β `.jpg`, `.jpeg`, `.png`, `.mp4`, `.mkv`
|
| 30 |
+
β
Shows **real-time progress** while processing videos
|
| 31 |
+
β
Provides a **clean Streamlit interface** for easy interaction
|
| 32 |
+
β
Outputs processed results with bounding boxes and plate numbers drawn on frames
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## βοΈ How It Works
|
| 37 |
+
|
| 38 |
+
1. **Upload Input File**
|
| 39 |
+
- The user uploads an image or video through the Streamlit interface.
|
| 40 |
+
|
| 41 |
+
2. **License Plate Detection (YOLOv8)**
|
| 42 |
+
- A **custom fine-tuned YOLOv8 model** detects the position of license plates in the media.
|
| 43 |
+
|
| 44 |
+
3. **Text Recognition (EasyOCR)**
|
| 45 |
+
- The detected plate region is passed through **EasyOCR** to read and extract the license number.
|
| 46 |
+
|
| 47 |
+
4. **Annotation & Output**
|
| 48 |
+
- Detected plates are annotated with bounding boxes, confidence percentages, and extracted text.
|
| 49 |
+
- For videos, frames are processed sequentially and stitched back together using **MoviePy**.
|
| 50 |
+
|
| 51 |
+
5. **Display**
|
| 52 |
+
- The processed media (image or video) is displayed directly in the Streamlit app.
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## π§© Tech Stack
|
| 57 |
+
|
| 58 |
+
| Component | Technology / Library | Purpose |
|
| 59 |
+
|------------|----------------------|----------|
|
| 60 |
+
| π§± Frontend & UI | **Streamlit** | Builds the interactive web interface |
|
| 61 |
+
| π§ Object Detection | **YOLOv8 (Ultralytics)** | Detects license plate locations |
|
| 62 |
+
| π OCR Engine | **EasyOCR** | Recognizes alphanumeric text from plates |
|
| 63 |
+
| π₯ Video Handling | **MoviePy** | Processes and reconstructs video frames |
|
| 64 |
+
| ποΈ Computer Vision | **OpenCV** | Image manipulation and annotation |
|
| 65 |
+
| πΎ Language | **Python 3.11+** | Development language |
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## π Quick Start
|
| 70 |
+
|
| 71 |
+
### 1οΈβ£ Install Dependencies
|
| 72 |
+
```bash
|
| 73 |
+
pip install -r requirements.txt
|
| 74 |
# π PlateVision π
|
| 75 |
### AI-Powered License Plate Detection & Recognition from Images and Videos
|
| 76 |
|
|
|
|
| 78 |
|
| 79 |
## π§ Overview
|
| 80 |
|
| 81 |
+
**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**.
|
| 82 |
|
| 83 |
+
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**.
|
| 84 |
|
| 85 |
---
|
| 86 |
|
| 87 |
## β¨ Features
|
| 88 |
|
| 89 |
+
β
Detects license plates from both **images** and **videos**
|
| 90 |
+
β
Extracts **license numbers** using OCR (EasyOCR)
|
| 91 |
+
β
Displays **detection confidence** and recognized text on output
|
| 92 |
+
β
Supports multiple formats β `.jpg`, `.jpeg`, `.png`, `.mp4`, `.mkv`
|
| 93 |
+
β
Shows **real-time progress** while processing videos
|
| 94 |
+
β
Provides a **clean Streamlit interface** for easy interaction
|
| 95 |
+
β
Outputs processed results with bounding boxes and plate numbers drawn on frames
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
## βοΈ How It Works
|
| 100 |
+
|
| 101 |
+
1. **Upload Input File**
|
| 102 |
+
- The user uploads an image or video through the Streamlit interface.
|
| 103 |
+
|
| 104 |
+
2. **License Plate Detection (YOLOv8)**
|
| 105 |
+
- A **custom fine-tuned YOLOv8 model** detects the position of license plates in the media.
|
| 106 |
+
|
| 107 |
+
3. **Text Recognition (EasyOCR)**
|
| 108 |
+
- The detected plate region is passed through **EasyOCR** to read and extract the license number.
|
| 109 |
+
|
| 110 |
+
4. **Annotation & Output**
|
| 111 |
+
- Detected plates are annotated with bounding boxes, confidence percentages, and extracted text.
|
| 112 |
+
- For videos, frames are processed sequentially and stitched back together using **MoviePy**.
|
| 113 |
+
|
| 114 |
+
5. **Display**
|
| 115 |
+
- The processed media (image or video) is displayed directly in the Streamlit app.
|
| 116 |
|
| 117 |
---
|
| 118 |
|
| 119 |
## π§© Tech Stack
|
| 120 |
|
| 121 |
+
| Component | Technology / Library | Purpose |
|
| 122 |
+
|------------|----------------------|----------|
|
| 123 |
+
| π§± Frontend & UI | **Streamlit** | Builds the interactive web interface |
|
| 124 |
+
| π§ Object Detection | **YOLOv8 (Ultralytics)** | Detects license plate locations |
|
| 125 |
+
| π OCR Engine | **EasyOCR** | Recognizes alphanumeric text from plates |
|
| 126 |
+
| π₯ Video Handling | **MoviePy** | Processes and reconstructs video frames |
|
| 127 |
+
| ποΈ Computer Vision | **OpenCV** | Image manipulation and annotation |
|
| 128 |
+
| πΎ Language | **Python 3.11+** | Development language |
|
| 129 |
+
|
| 130 |
+
---
|