Instructions to use mfranzon/pothole-yolo26 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use mfranzon/pothole-yolo26 with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("mfranzon/pothole-yolo26") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
Pothole Detector (YOLO26m)
A YOLO26m detector finetuned to spot road potholes from dashcam and street-level footage. Part of the Model Garden collection of finetuned computer-vision models.
Class
Pothole
Intended use
Built for road-condition surveys: pair it with a tracker and a GPS track to turn a dashcam drive into a geotagged map of pavement defects. Bounding boxes can be refined into tight masks with a promptable segmenter (e.g. SAM2) for area estimation.
Training
- Base: YOLO26m (about 21.8M params)
- Data:
pothole.yaml - Epochs: 30
- Image size: 512
- Runtime: Apple Silicon (MPS)
Usage
from ultralytics import YOLO
model = YOLO("best.pt")
results = model("dashcam.mp4", stream=True)
for r in results:
r.plot()
Limitations
Trained on street-level views; performance drops on aerial or very low-light footage. Detection is per-frame, so dedupe across frames before counting unique potholes. A research tool, not a certified road-safety inspection system.
- Downloads last month
- -