How prajwalm75/ai-potholes-detection works
RoadGuard is a reproducible pothole-screening prototype with two deliverables: a Jupyter computer-vision workflow and a browser demonstration. The notebook workflow prepares RDD2022 data, trains a one-class YOLO detector, evaluates it, and supports image, batch, video, and webcam inference. The browser demo is a separate static presentation with an animated, human-review-oriented result; the README says it has no application API or database. The notebook contents were not sampled, so its internal stages and connections are based on README documentation rather than inspected notebook code.
Main entry points: index.html Demo page and interaction · AI_Potholes_Detection.ipynb YOLO training · prepare_rdd2022.py Dataset downloader and converter · data YOLO dataset
Components 14
Dataset preparation
- Dataset downloader and converter
scripts/prepare_rdd2022.py - YOLO dataset
data
Model workflow
- Experiment notebook
notebooks/AI_Potholes_Detection.ipynb - YOLO training
notebooks/AI_Potholes_Detection.ipynb - Validation metrics
notebooks/AI_Potholes_Detection.ipynb - Image and video inference
notebooks/AI_Potholes_Detection.ipynb
Browser demonstration
- Static file server
web_demo/server.js - Demo page and interaction
web_demo/public/index.html - Scan animation and review result
web_demo/public/app.js - Responsive presentation
web_demo/public/styles.css - Pothole scan video
web_demo/public/pothole-loop.mp4 - Demo image configuration
web_demo/app.config.ts
Other components
- Inspector / operator
- RDD2022 archive
Connections 16
- Inspector / operator → Dataset downloader and converter: prepares data
README.md - RDD2022 archive → Dataset downloader and converter: downloads archive
README.md - Dataset downloader and converter → YOLO dataset: converts annotations
README.md - Inspector / operator → Experiment notebook: runs workflow
README.md - Experiment notebook → Dataset downloader and converter: invokes preparation
README.md - Experiment notebook → YOLO training: trains detector
README.md - YOLO dataset → YOLO training: supplies dataset
README.md - YOLO training → Validation metrics: validates model
README.md - YOLO training → Image and video inference: uses trained model
README.md - Inspector / operator → Static file server: opens demo
README.md - Static file server → Demo page and interaction: serves files
web_demo/server.js - Demo page and interaction → Scan animation and review result: runs interaction
README.md - Demo page and interaction → Responsive presentation: uses styling
README.md - Demo page and interaction → Pothole scan video: shows scan video
README.md - Demo page and interaction → Demo image configuration: configures image
- Scan animation and review result → Inspector / operator: presents review result
README.md