Views
No views yet


| 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 |
| 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 |
| Metric | Value |
|---|---|
| mAP@0.5 | 0.629 |
| mAP@0.5:0.95 | 0.345 |
| Precision | 0.662 |
| Recall | 0.583 |
| Class | mAP50 | Precision | Recall |
|---|---|---|---|
| Longitudinal Crack | 0.571 | 0.618 | 0.537 |
| Transverse Crack | 0.562 | 0.631 | 0.521 |
| Alligator Crack | 0.671 | 0.663 | 0.639 |
| Pothole | 0.782 | 0.706 | 0.740 |
| Other | 0.494 | 0.628 | 0.451 |
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 markings1from ultralytics import YOLO
2
3model = YOLO("best.pt")
4results = model.predict("road_image.jpg", conf=0.25, save=True)
5# Results saved to runs/detect/predict/1# CLI
2yolo predict model=best.pt source=video.mp4 conf=0.25
3yolo predict model=best.onnx source=image.jpg conf=0.251# For pothole detection (high precision) — use conf=0.4
2results = model.predict("image.jpg", conf=0.4)
3
4# For crack screening (high recall, more false positives) — use conf=0.15
5results = model.predict("image.jpg", conf=0.15)| File | Size | Format |
|---|---|---|
best.pt | 67 MB | PyTorch (Ultralytics YOLO) |
best.onnx | 45 MB | ONNX (cross-platform) |
best.torchscript | 45 MB | TorchScript (C++ inference) |
training/train_improved.py1@misc{pothole-detection-yolov8-2026,
2 author = {vinothvikas1987},
3 title = {Pothole and Road Distress Detection with YOLOv8s},
4 year = {2026},
5 publisher = {Hugging Face},
6 howpublished = {https://huggingface.co/vinothvikas1987/pothole-detection-yolov8}
7}