AI-Powered Road Infrastructure Analysis & Cost Estimation Platform
Transforming road maintenance with computer vision and deep learning
# Public_link= https://potholewebapp-production.up.railway.app/π Table of Contents
-
Overview
-
Features
-
Quick Start
-
Installation
-
Usage Guide
-
API Documentation
-
Developer Guide
-
Deployment
-
Support
Pothole Inspector Pro is a comprehensive web application that leverages artificial intelligence to automatically detect potholes in road images and videos. It provides detailed analysis including dimension measurement, repair cost estimation, and professional reporting for road maintenance teams, government agencies, and infrastructure companies.
- Manual Inspection Costs: Reduces time and cost of manual road surveys
- Data-Driven Decisions: Provides accurate measurements and cost estimates
- Preventive Maintenance: Identifies high-risk areas before accidents occur
- Documentation: Generates professional reports for audit and planning
- Interactive Dashboard with Chart.js visualizations
- Regional Risk Analysis identifying high-priority zones
- Historical Trend Analysis for preventive maintenance
- Economic Impact Assessment with cost-benefit analysis
- Drag & Drop Interface for easy file upload
- GPS Auto-Location with reverse geocoding
- Real-time Progress Tracking during processing
- Responsive Design works on all devices
- Upload a road image or video
- Enter location and cost parameters
- Get instant analysis with cost breakdown
- Download professional PDF report
- git clone https://github.com/your-username/pothole-detection.git
- cd pothole_detection
- pip install -r requirements.txt
- cp .env.example .env
- cd pothole_webapp
- python app.py
-
Python 3.13.2 (Required)
-
pip package manager
-
Cloudinary account (free tier available)
- Upload Media
- Drag & drop or click to upload images/videos
- Supported formats: JPG, PNG, MP4, AVI, MOV
- Max size: 16MB
- Location Information
- Click π Get Location for automatic GPS detection Or manually enter: Road name, city, coordinates Additional notes for context
- Cost Parameters
-
Material Cost: βΉ per liter (40-55 range)
-
Labor Cost: βΉ per hour per worker (300-400 range)
-
Team Size: Number of workers (typically 2-4)
-
Overhead: Percentage for admin costs (10-20%)
- View Results
-
Pothole Count: Total detected potholes
-
Dimensions: Width, depth, volume for each pothole
-
Cost Breakdown: Detailed repair cost estimation
-
Annotated Image: Visual result with bounding boxes
- Export Reports Click Download PDF Report for professional documentation Report includes all analysis data and cost breakdowns
- Visit /analytics for comprehensive insights
- View accident trends and economic impact
- Identify high-risk zones
- Track historical data
The application uses OpenStreetMap Nominatim API for reverse geocoding:

- Free and open-source geocoding service
- No API key required
YOLOv8 by Ultralytics for object detection
Cloudinary for reliable cloud storage
OpenCV for computer vision processing
Chart.js for analytics visualization
ReportLab for PDF generation
Making roads safer, one pothole at a time
