vinothvikas1987/pothole-detection-yolov8
0365
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
Distribution of bounding boxes across classes, positions, and sizes in the training set
Example training images with augmented bounding boxes during training
Realistic Capabilities
Where This Model Works Best
Limitations
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
Per-Class Performance
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 markingsQuick 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.25Adjusting 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
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
