Skip to content
Pothole Mapper

Pothole Mapper

Making Roads Smarter, Safer, and Smoother with AI.

Created on 11th April 2025

•

Pothole Mapper

Pothole Mapper

Making Roads Smarter, Safer, and Smoother with AI.

The problem Pothole Mapper solves

🚧 The Problem It Solves – Pothole Mapper
Across cities and rural areas alike, potholes and deteriorating road surfaces are a major cause of road accidents, vehicle damage, and increased maintenance costs. Poor road conditions not only affect public safety but also hamper logistics, increase fuel consumption, and lead to public dissatisfaction.

The current method of road inspection is manual, time-consuming, and inconsistent. It depends heavily on field workers and visual assessments, which are prone to human error and delays. Often, road issues are identified only after citizen complaints — by then, damage has worsened, increasing repair costs and risk.

Pothole Mapper is designed to solve this problem using AI-powered computer vision. It automatically detects potholes, measures their area, and scores road quality from regular video input — such as from dashcams, surveillance cameras, or drones. The system delivers fast, scalable, and objective road analysis, replacing hours of manual labor with a few minutes of automated insight.

What It Enables:
Faster Inspections: Analyze long stretches of road within minutes.

Better Prioritization: Identify the most damaged roads to focus maintenance budgets.

Increased Safety: Catch early signs of road wear to prevent accidents.

Cost Efficiency: No need for expensive sensors or LIDAR systems — just a video feed.

Scalable Monitoring: Deploy across large regions with minimal manpower.

It serves governments, road contractors, logistics companies, and smart city initiatives by turning any video into a detailed road condition report — saving time, money, and lives.

In short, Pothole Mapper brings automation, intelligence, and precision to an outdated and inefficient process — making roads safer, smarter, and more reliable.

Challenges we ran into

Challenges We Ran Into

Building Pothole Mapper was an exciting yet technically demanding journey. While we achieved a lot, we also ran into several roadblocks that taught us valuable lessons. Here are a few notable ones:

1. Training on Custom Datasets Was Tricky

Getting high-quality, annotated pothole datasets was difficult. Public datasets were limited, and most lacked the format required for YOLOv8 instance segmentation. We overcame this by manually annotating hundreds of images using tools like Roboflow and CVAT, and converting them into YOLO format.

2. Tuning the YOLOv8 Model

YOLOv8 is powerful, but achieving accurate results required extensive parameter tuning — including confidence thresholds, non-max suppression values, and data augmentations. We went through multiple training iterations, each time refining the hyperparameters to improve model precision and recall.

3. Handling Video Input and Frame Processing

Extracting frames from video and ensuring real-time detection without heavy lag was challenging. We implemented efficient frame-skipping strategies and used OpenCV to process videos in a memory-optimized way.

4. Area Estimation and Road Quality Scoring

Calculating the real-world area of potholes from a 2D video was complex due to lack of depth information. We addressed this by approximating area based on bounding box sizes and using consistent reference points across frames. While not 100% accurate, it gave us usable metrics for a road quality score.

5. Versioning and Package Conflicts

Conflicts between PyTorch, Ultralytics, and OpenCV versions led to environment crashes and bugs. We resolved this by setting up a clean virtual environment and locking dependencies in a requirements.txt file.


Every challenge improved our understanding of real-world ML deployment and helped us build a more reliable, production-ready system.

Tracks Applied (1)

Main Track

Pothole Mapper fits into the Main Track as it tackles a real-world problem using innovative technology. The project focu...Read More

Discussion

Builders also viewed

See more projects on Devfolio