About the Road Condition Monitor

This map shows potholes found automatically in ordinary dashcam footage of Zambian roads. Each frame's GPS overlay is read with OCR, and an object-detection model (YOLOv8) flags potholes in the image. Every marker is a detection by the model, not a manual inspection, so some will be wrong. Colours show the model's confidence.

How it works

  1. 1
    Record
    An ordinary dashcam records the drive; its overlay shows speed, GPS position and time.
  2. 2
    Keyframes
    One frame per second is taken from every clip of the drive.
  3. 3
    GPS overlay
    The overlay on each frame is read with OCR to place it on the map.
  4. 4
    Detection
    A YOLOv8 model trained on potholes scans each frame.
  5. 5
    Map
    Detections of the same pothole within 15 m are merged into one marker, with a close-up photo.

Privacy

Only close-up crops of the road surface around each detection are published. Full video frames, which may show people or number plates, are not made public.

Credits

Built by the DataLab Research Group, led by Dr Lighton Phiri. It extends a 2024 undergraduate capstone project on pothole detection and mapping. Source code: GitHub.

Base maps © OpenStreetMap contributors and Esri. Pothole model: Samdutse/pothole-yolov8 (Hugging Face). Ward and constituency boundaries (2016–2021): Zambia Electoral Geospatial Dataset, DataLab Research Group (CC BY 4.0).