Update README.md
Browse files
README.md
CHANGED
@@ -1,80 +1,13 @@
|
|
1 |
-
# π License Plate Detection & Refinement
|
2 |
-
|
3 |
-
A **Streamlit-based application** for detecting and refining license plate images using **YOLO for detection** and **OpenCV for image enhancements**.
|
4 |
-
|
5 |
-
[](your-streamlit-app-link)
|
6 |
-
|
7 |
---
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
### **π Refine Image for Detection**
|
18 |
-
- Upload an image and apply **pre-processing techniques** to enhance detection.
|
19 |
-
- Select from detected license plates to refine specific sections.
|
20 |
-
- **Image enhancement options:**
|
21 |
-
- **Noise Reduction** (Bilateral & Non-Local Means Denoising)
|
22 |
-
- **Sharpening** (Enhances edges for better OCR accuracy)
|
23 |
-
- **Grayscale Conversion** (Improves contrast)
|
24 |
-
- **Adaptive Thresholding** (Dynamic brightness adjustment)
|
25 |
-
- **Edge Detection** (Canny filter for better boundary detection)
|
26 |
-
- **Invert Colors** (Helpful for light text on dark backgrounds)
|
27 |
-
- **Auto Enhancement** (Applies recommended adjustments automatically)
|
28 |
-
- **Gamma Correction, CLAHE, Histogram Equalization, Scaling, Blur, Contrast & Brightness adjustments**
|
29 |
-
|
30 |
---
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
### **1οΈβ£ Install dependencies**
|
35 |
-
```sh
|
36 |
-
pip install -r requirements.txt
|
37 |
-
```
|
38 |
-
|
39 |
-
### **2οΈβ£ Run the application**
|
40 |
-
```sh
|
41 |
-
streamlit run app.py
|
42 |
-
```
|
43 |
-
|
44 |
-
---
|
45 |
-
|
46 |
-
## π Project Structure
|
47 |
-
```
|
48 |
-
π License-Plate-Detection
|
49 |
-
βββ app.py # Main navigation & home page
|
50 |
-
βββ pages/
|
51 |
-
β βββ detect.py # License plate detection module
|
52 |
-
β βββ refine.py # Image enhancement module
|
53 |
-
βββ requirements.txt # Required Python packages
|
54 |
-
βββ README.md # Project documentation
|
55 |
-
```
|
56 |
-
|
57 |
-
---
|
58 |
-
|
59 |
-
## π Deployment
|
60 |
-
You can deploy this app on **Streamlit Cloud** or **Hugging Face Spaces**:
|
61 |
-
|
62 |
-
1. **Fork & Push to GitHub**
|
63 |
-
2. **Deploy via Streamlit Sharing / Hugging Face Spaces**
|
64 |
-
|
65 |
-
[](your-huggingface-link)
|
66 |
-
|
67 |
-
---
|
68 |
-
|
69 |
-
## π Future Enhancements
|
70 |
-
- **Real-time tracking of license plates**.
|
71 |
-
- **OCR post-processing to correct errors**.
|
72 |
-
- **Additional denoising & image restoration techniques**.
|
73 |
-
|
74 |
-
---
|
75 |
-
|
76 |
-
## π License
|
77 |
-
This project is **open-source** under the **MIT License**. Feel free to modify and improve it!
|
78 |
-
|
79 |
-
π If you like this project, donβt forget to **star the repository**!
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: License Plate Detection System
|
3 |
+
emoji: π
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: gray
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: 1.43.2
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|