PROJECT 04 • DAY 20 OF 90 • COMPUTER VISION & CIVIC AI

PAVENZA
ROAD DEFECT AI.

An AI-powered civic road maintenance platform detecting potholes, alligator cracks, and base failures via YOLOv8 computer vision — featuring interactive repair verification sliders, Tirunelveli ward-level GIS heatmaps, and automated SLA priority triage.

Python 3.10+FastAPIYOLOv8 (Ultralytics)OpenCVReact 19TypeScript 5.7Tailwind CSS v4.023/23 Pytest
PAVENZA Preview
CV DETECTOR
YOLOv8 Defect Weights
PYTEST SUITE
23 / 23 Passed
YOLOv8
Deep CV Defect Detection
GIS Heatmap
Tirunelveli Road Health
Repair Slider
Before/After Inspection
23 / 23
Automated Pytest Passed
01 / Overview

AI-GROUNDED CIVIC ROAD INFRASTRUCTURE MONITORING.

Municipal road auditing typically relies on slow citizen complaints or manual inspections. PAVENZA accelerates urban road maintenance by automating deep-learning defect identification, estimating severity indices, and enforcing verifiable contractor repair SLAs.

01

YOLOv8 Defect Detector

Analyzes uploaded road imagery to detect potholes, longitudinal cracks, and alligator fatigue zones with bounding-box confidence scores.

02

Interactive Repair Slider

Visual before/after split slider allowing municipal engineers to verify contractor patch repairs against original defect photos.

03

Tirunelveli GIS Heatmap

Geospatial coordinate mapping with clustering and severity-weighted heat layers across urban ward boundaries.

04

Civic SLA Triage Queue

Calculates priority scores from traffic density, defect depth, and weather risk to route work orders before monsoon degradation.

05

Duplicate Suppression

Spatial radius matching and perceptual image similarity prevent redundant complaints for identical road potholes.

06

Bilingual Tamil Interface

Localized Tamil & English UI enabling grassroots civic field workers to register complaints and log repairs seamlessly.

02 / Architecture

HOW IT WORKS.

High-throughput OpenCV and YOLOv8 inference pipeline backed by FastAPI and React 19.

STAGE 01

Ingest Imagery

Mobile citizen upload or dashcam batch via multipart API.

→
STAGE 02

CV Inference

YOLOv8 detects defect classes, dimensions & confidence.

→
STAGE 03

Geospatial Triage

Leaflet GIS binds coordinates to municipal ward polygons.

→
STAGE 04

Repair Verification

Contractor after-photo verified via visual diff slider.

→
STAGE 05

SLA Resolution

Closed defect logged to immutable public audit ledger.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

PLATFORM CAPABILITIES & VERIFIED SPECS.

Key modules, rules, safety checks, and automated test results documented in the repository.

Subsystem Technical Implementation Verified Capability
Computer Vision Engine YOLOv8 + OpenCV Preprocessing Multi-class pothole & crack detection
Geospatial Telemetry Leaflet GIS + Ward Polygons Real-time spatial clustering & heatmap
Repair Verification Canvas Split Slider + Image Alignment Sub-pixel contractor repair validation
Backend Architecture FastAPI + Pytest Verification Suite 23 / 23 automated tests passed
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in PAVENZA.

CORE VISION
Ultralytics YOLOv8 • OpenCV
BACKEND API
FastAPI (Python 3.10+)
FRONTEND UI
React 19 • TypeScript 5.7
STYLING & MAPS
Tailwind CSS v4 • Leaflet GIS
DATA STORAGE
SQLite WAL • SQLAlchemy
TEST SUITE
Pytest (23/23 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for PAVENZA.

Edge-compute Raspberry Pi dashcam deployment for automated municipal patrol vehicles.
LiDAR point-cloud integration for sub-centimeter pothole volume & asphalt cost estimation.
Automated integration with CPGRAMS and state municipal grievance portals.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.