Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- object-detection
|
| 5 |
+
- yolov8
|
| 6 |
+
- pothole-detection
|
| 7 |
+
- road-repair-verification
|
| 8 |
+
- computer-vision
|
| 9 |
+
- india
|
| 10 |
+
datasets:
|
| 11 |
+
- roboflow/indian-pothole-dataset
|
| 12 |
+
- custom
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# QuickFix It — YOLOv8 Pothole Detection Model
|
| 18 |
+
|
| 19 |
+
Fine-tuned YOLOv8n model for detecting and verifying pothole repairs on Indian roads.
|
| 20 |
+
|
| 21 |
+
## Model Details
|
| 22 |
+
|
| 23 |
+
- **Architecture**: YOLOv8n (nano)
|
| 24 |
+
- **Task**: Pothole detection & repair verification
|
| 25 |
+
- **Training Images**: 2,281
|
| 26 |
+
- ~1,243 from Roboflow Indian Pothole Dataset
|
| 27 |
+
- 1,002 from 501 custom before/after road repair pairs
|
| 28 |
+
- **Epochs**: 25
|
| 29 |
+
- **Model Size**: ~6.2 MB
|
| 30 |
+
|
| 31 |
+
## Usage
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from ultralytics import YOLO
|
| 35 |
+
from huggingface_hub import hf_hub_download
|
| 36 |
+
|
| 37 |
+
# Download model
|
| 38 |
+
model_path = hf_hub_download(
|
| 39 |
+
repo_id="RoxieRoller/QuickFixIt-model",
|
| 40 |
+
filename="best.pt"
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
# Load and run inference
|
| 44 |
+
model = YOLO(model_path)
|
| 45 |
+
results = model("your_road_image.jpg")
|
| 46 |
+
results[0].show()
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## About QuickFix It
|
| 50 |
+
|
| 51 |
+
This model is part of the **QuickFix It** civic tech platform — an AI-powered pothole repair verification system for Indian municipalities.
|
| 52 |
+
|
| 53 |
+
GitHub: [https://github.com/mohammedhussain06/QuickFix](https://github.com/mohammedhussain06/QuickFix)
|
| 54 |
+
|
| 55 |
+
The model is used in a 5-step verification pipeline:
|
| 56 |
+
1. Image Integrity Check
|
| 57 |
+
2. GPS Consistency Check
|
| 58 |
+
3. Camera Angle Analysis
|
| 59 |
+
4. Landmark Matching
|
| 60 |
+
5. **Repair Detection (this model)**
|
| 61 |
+
|
| 62 |
+
## License
|
| 63 |
+
|
| 64 |
+
MIT
|