Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,39 +1,30 @@
|
|
| 1 |
---
|
| 2 |
-
title: AegisRoad
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
app_port: 7860
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# AegisRoad v3.0
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Classes
|
| 16 |
-
| Code |
|
| 17 |
-
|------|------
|
| 18 |
| D00 | Longitudinal Crack | Low |
|
| 19 |
| D10 | Transverse Crack | Medium |
|
| 20 |
| D20 | Alligator Cracking | High |
|
| 21 |
| D40 | Pothole | Critical |
|
| 22 |
|
| 23 |
-
##
|
| 24 |
-
|
| 25 |
-
- `GET /` — Service info
|
| 26 |
-
- `GET /health` — Health check
|
| 27 |
-
- `GET /classes` — List all damage classes
|
| 28 |
-
- `POST /predict` — Upload image, get detections
|
| 29 |
-
|
| 30 |
-
## Usage
|
| 31 |
-
|
| 32 |
-
```bash
|
| 33 |
-
curl -X POST "https://YOUR-SPACE.hf.space/predict" \
|
| 34 |
-
-F "file=@road_image.jpg"
|
| 35 |
-
```
|
| 36 |
-
|
| 37 |
-
## Model
|
| 38 |
-
Upload your trained `best.pt` from Kaggle into the `models/` folder.
|
| 39 |
-
Without the model, the API runs in **demo mode** with simulated detections.
|
|
|
|
| 1 |
---
|
| 2 |
+
title: AegisRoad — Road Damage Detection
|
| 3 |
+
emoji: ⚡
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: docker
|
|
|
|
| 7 |
app_port: 7860
|
| 8 |
+
pinned: true
|
| 9 |
+
short_description: YOLOv11 road damage detection · D00/D10/D20/D40 · RDD2022
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# ⚡ AegisRoad v3.0
|
| 13 |
|
| 14 |
+
AI-powered road damage detection using YOLOv11.
|
| 15 |
+
|
| 16 |
+
## Endpoints
|
| 17 |
+
- `POST /predict` — upload an image, get detections + annotated image back
|
| 18 |
+
- `GET /health` — check if model is loaded
|
| 19 |
+
- `GET /classes` — list damage classes
|
| 20 |
|
| 21 |
## Classes
|
| 22 |
+
| Code | Name | Severity |
|
| 23 |
+
|------|------|----------|
|
| 24 |
| D00 | Longitudinal Crack | Low |
|
| 25 |
| D10 | Transverse Crack | Medium |
|
| 26 |
| D20 | Alligator Cracking | High |
|
| 27 |
| D40 | Pothole | Critical |
|
| 28 |
|
| 29 |
+
## Activating Real Inference
|
| 30 |
+
Upload `best.pt` to the `models/` folder after Kaggle training. Space auto-restarts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|