HiralShah62 commited on
Commit
2251026
Β·
verified Β·
1 Parent(s): 860c4dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -77
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
- [![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](your-streamlit-app-link)
6
-
7
  ---
8
-
9
- ## πŸ”§ Features
10
-
11
- ### **🚘 Real-Time License Plate Detection**
12
- - Upload an **image** or **video**, or use a **webcam** for real-time detection.
13
- - Uses **YOLOv11** for accurate license plate detection.
14
- - Extracts text using **EasyOCR**.
15
- - Displays detected plates in a structured table.
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
- ## πŸ“Œ How to Run Locally
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
- [![Deploy on Hugging Face](https://huggingface.co/datasets/huggingface/badges/resolve/main/hf-badge-open.svg)](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