Aller au contenu
ModelPrésentéExterne
Télécharger

Pothole Detection Yolov8

Fine-tuned YOLOv8s model for detecting 5 types of road surface distress from drone and dashcam imagery.

TypeOtherVersionRevision b001687BClasse

Source du modèle

Type
Other
Taille du fichier
42,7–64,0 MB
Version
vRevision b001687
Mis à jour
16 sept. 2026
Téléchargements
409
Source
Hugging Face

Description de la source

Pothole & Road Distress Detection (YOLOv8s)

Fine-tuned YOLOv8s model for detecting 5 types of road surface distress from drone and dashcam imagery.

Training Data Labels

Label Distribution Distribution of bounding boxes across classes, positions, and sizes in the training set

Training Batch Samples Example training images with augmented bounding boxes during training

Realistic Capabilities

Where This Model Works Best

ScenarioPerformanceNotes
Drone/ aerial road survey✅ GoodModel trained on Japan/India drone datasets
Dashcam footage✅ GoodStandard road-facing camera angles
Well-lit conditions✅ GoodTraining data is mostly daylight
Pothole detectionmAP50=0.782Best-performing class — distinct visual features
Alligator crack detectionmAP50=0.671Moderate — interconnected cracks are distinctive
Longitudinal/ Transverse cracksmAP50~0.57Harder — thin features, requires good resolution
"Other" class (manholes, patches)mAP50=0.494Weakest — too diverse, consider ignoring

Limitations

LimitationWhy
Poor in heavy rain/ fogTraining data lacks adverse weather
Night detection degradedNo night-time training images
Thin hairline cracksMay miss cracks thinner than ~5px at 640px input
Class imbalance"Other" class has few examples (965 instances vs 3890 for Longitudinal)
Overlapping cracksStruggles when multiple crack types intersect
Very wide potholes (>5m)Rare in training data

Recommended Use

  • Automated road inspection from drones for municipal maintenance
  • Pre-screening dashcam footage for pothole alerts
  • Asset management — quantifying crack density per road segment
  • NOT recommended for safety-critical real-time braking systems (use as advisory only)

Model Performance

MetricValue
[email protected]0.629
[email protected]:0.950.345
Precision0.662
Recall0.583

Per-Class Performance

ClassmAP50PrecisionRecall
Longitudinal Crack0.5710.6180.537
Transverse Crack0.5620.6310.521
Alligator Crack0.6710.6630.639
Pothole0.7820.7060.740
Other0.4940.6280.451

Classes

0: Longitudinal Crack — cracks parallel to road direction (thin, linear)
1: Transverse Crack   — cracks across the road (thin, linear)
2: Alligator Crack    — interconnected web of cracks (fatigue cracking)
3: Pothole            — bowl-shaped depressions (most detectable)
4: Other              — manholes, patches, oil spills, road markings

Quick Usage

from ultralytics import YOLO

model = YOLO("best.pt")
results = model.predict("road_image.jpg", conf=0.25, save=True)
# Results saved to runs/detect/predict/
# CLI
yolo predict model=best.pt source=video.mp4 conf=0.25
yolo predict model=best.onnx source=image.jpg conf=0.25

Adjusting Confidence Threshold

# For pothole detection (high precision) — use conf=0.4
results = model.predict("image.jpg", conf=0.4)

# For crack screening (high recall, more false positives) — use conf=0.15
results = model.predict("image.jpg", conf=0.15)

Model Files

FileSizeFormat
best.pt67 MBPyTorch (Ultralytics YOLO)
best.onnx45 MBONNX (cross-platform)
best.torchscript45 MBTorchScript (C++ inference)

Training Details

  • Base model: YOLOv8s (COCO pretrained, 11.1M params)
  • Dataset: RDD (Road Damage Dataset) — 26,869 training images from Japan, India, Czech Republic
  • Epochs: 76 (stopped by Kaggle 9h time limit, still improving)
  • Input size: 640×640
  • Hardware: NVIDIA Tesla T4 (16GB) × 2
  • Batch: 64
  • Training time: ~9 hours

Training script: training/train_improved.py

Citation

@misc{pothole-detection-yolov8-2026,
  author = {vinothvikas1987},
  title = {Pothole and Road Distress Detection with YOLOv8s},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {https://huggingface.co/vinothvikas1987/pothole-detection-yolov8}
}

License

Apache 2.0

Sources

1 source
Hugging FacePrincipalVersion b001687443175e43442f63bef4691c3546629def
huggingface.co/vinothvikas1987/pothole-detection-yolov8/tree/b001687443175e43442f63bef4691c3546629def

Vérifié 2 sept.

Artefacts du modèle

2 artefacts

best.onnx

onnx · 42,7 MB · SHA-256 590a20e8c4a7…753f · Hugging Face

Télécharger

best.pt

pt · 64,0 MB · SHA-256 8b8a587c021b…94f1 · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- license: apache-2.0 library_name: ultralytics tags: - yolov8 - pothole-detection - road-distress - road-damage - computer-vision - object-detection datasets: [] pipeline_tag: object-detection metrics: - mAP50: 0.629 - mAP50-95: 0.345 - precision: 0.662 - recall: 0.583 --- # Pothole & Road Distress Detection (YOLOv8s) Fine-tuned [YOLOv8s](https://github.com/ultralytics/ultralytics) model for detecting 5 types of road surface distress from drone and dashcam imagery. ## Training Data Labels ![Label Distribution](./assets/labels.jpg) *Distribution of bounding boxes across classes, positions, and sizes in the training set* ![Training Batch Samples](./assets/train_batch0.jpg) *Example training images with augmented bounding boxes during training* ## Realistic Capabilities ### Where This Model Works Best | Scenario | Performance | Notes | |----------|-------------|-------| | Drone/ aerial road survey | ✅ Good | Model trained on Japan/India drone datasets | | Dashcam footage | ✅ Good | Standard road-facing camera angles | | Well-lit conditions | ✅ Good | Training data is mostly daylight | | **Pothole detection** | **mAP50=0.782** | Best-performing class — distinct visual features | | Alligator crack detection | mAP50=0.671 | Moderate — interconnected cracks are distinctive | | Longitudinal/ Transverse cracks | mAP50~0.57 | Harder — thin features, requires good resolution | | "Other" class (manholes, patches) | mAP50=0.494 | Weakest — too diverse, consider ignoring | ### Limitations | Limitation | Why | |------------|-----| | Poor in heavy rain/ fog | Training data lacks adverse weather | | Night detection degraded | No night-time training images | | Thin hairline cracks | May miss cracks thinner than ~5px at 640px input | | Class imbalance | "Other" class has few examples (965 instances vs 3890 for Longitudinal) | | Overlapping cracks | Struggles when multiple crack types intersect | | Very wide potholes (>5m) | Rare in training data | ### Recommended Use - **Automated road inspection** from drones for municipal maintenance - **Pre-screening** dashcam footage for pothole alerts - **Asset management** — quantifying crack density per road segment - **NOT recommended** for safety-critical real-time braking systems (use as advisory only) ## Model Performance | Metric | Value | |--------|-------| | [email protected] | **0.629** | | [email protected]:0.95 | **0.345** | |...

Source context: 409 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo vinothvikas1987/pothole-detection-yolov8