An AI-powered solution designed to detect, track, and geotag potholes using video inputs. This project leverages the YOLO object detection model to analyze video frames and extract GPS metadata for accurate geolocation of potholes. The system aims to assist road maintenance teams by automating the identification of road damage, enhancing safety, and streamlining repair workflows.
- Pothole Detection: Detect potholes in video frames using a YOLO-based object detection model.
- Tracking: Assign unique IDs to detected potholes and track them across video frames.
- Geotagging: Extract GPS metadata from videos to associate potholes with real-world locations.
- Video Annotation: Annotate video outputs with bounding boxes, confidence scores, and unique IDs for visual insights.
- Scalable Deployment: Compatible with dashcams, drones, or other video input sources.
The primary objective of this project is to provide a robust, AI-driven pothole detection and tracking system that enables:
- Real-time or post-event analysis of road conditions.
- Integration with mapping tools for geotagged pothole locations.
- Improved road safety and reduced maintenance costs by identifying and prioritizing pothole repairs.
-
Clone the repository:
git clone https://github.com/your-username/pothole-detection.git cd pothole-detection -
Install dependencies:
pip install -r requirements.txt
-
Download the trained YOLO model weights and place them in the appropriate directory:
/path/to/weights/best.pt -
Add your Google Map API in the templates/index.html:
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY" defer></script>
pothole-detection/
├── app.py # Main script for video processing
├── requirements.txt # List of required Python packages
├── Model/ # Directory for YOLO model weights
└── README.md # Project documentation
- Enhanced Model Accuracy: Train on diverse datasets to improve performance in different environments.
- Real-Time Processing: Optimize for live monitoring applications.
- Integration: Seamlessly integrate with mapping tools and dashboards for maintenance planning.
- Predictive Analytics: Analyze historical data for proactive road maintenance insights.
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.