Skip to content

Ujjwal-code-py/Week1

Repository files navigation

πŸ›£οΈ Pothole Inspector Pro

AI-Powered Road Infrastructure Analysis & Cost Estimation Platform

Transforming road maintenance with computer vision and deep learning

Pi7_GIF_CMP

# Public_link= https://potholewebapp-production.up.railway.app/

Dataset

πŸ“– Table of Contents

  • Overview

  • Features

  • Quick Start

  • Installation

  • Usage Guide

  • API Documentation

  • Developer Guide

  • Deployment

  • Support

Overview

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.

What Problem We Solve

  • 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

✨ Features

image

πŸ“Š Advanced Analytics

  • 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

User Experience

  • 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

Quick Start

  • Upload a road image or video
  • Enter location and cost parameters
  • Get instant analysis with cost breakdown
  • Download professional PDF report

Installation

Clone & setup

Configure environment

  • cp .env.example .env

Edit .env with your Cloudinary credentials

Run application

  • cd pothole_webapp
  • python app.py

Prerequisites

  • Python 3.13.2 (Required)

  • pip package manager

  • Cloudinary account (free tier available)

πŸ“± Usage Guide

  1. Upload Media
  • Drag & drop or click to upload images/videos
  • Supported formats: JPG, PNG, MP4, AVI, MOV
  • Max size: 16MB
  1. Location Information
  • Click πŸ“ Get Location for automatic GPS detection Or manually enter: Road name, city, coordinates Additional notes for context
  1. 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%)

  1. 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

  1. Export Reports Click Download PDF Report for professional documentation Report includes all analysis data and cost breakdowns

πŸ“Š Analytics Dashboard

  • Visit /analytics for comprehensive insights
  • View accident trends and economic impact
  • Identify high-risk zones
  • Track historical data

πŸ”Œ API Documentation

image

Location Services API

The application uses OpenStreetMap Nominatim API for reverse geocoding: image

  • Free and open-source geocoding service
  • No API key required

πŸ› οΈ Developer Guide

Project Structure

image

πŸ™ Acknowledgments

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

Built with ❀️ using Python 3.13.2

Making roads safer, one pothole at a time

## Referance: https://www.ijmrset.com/upload/30_Pothole.pdf

About

Pothole Detection and Repair Cost Estimation using CNN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors