Dataset preparation
The notebook downloads and prepares an annotated pothole dataset, validates the file structure and organizes the images for model training and evaluation.
An end-to-end computer-vision pipeline for detecting potholes in road images, covering dataset preparation, COCO-to-YOLO annotation conversion, custom dataset configuration, model training and inference.
Select a thumbnail or use the arrows to move through representative YOLOv8 detection results.
The notebook downloads and prepares an annotated pothole dataset, validates the file structure and organizes the images for model training and evaluation.
COCO-style bounding boxes are transformed into normalized YOLO labels so the dataset can be used directly with the Ultralytics training pipeline.
A custom YAML configuration defines the training and validation paths together with the pothole class used by the detector.
YOLOv8 is initialized from pretrained weights, fine-tuned on the custom road dataset and then used to detect and visualize potholes on test images.
The project is structured as a sequential Colab workflow: install the required libraries, obtain the data, convert annotations, build the dataset configuration, train the model and inspect inference results.