Theme: Smart Automation / Urban Intelligence
Concept: Transforming public transport buses into mobile edge-sensing units equipped with onboard AI perception cameras, GPS telemetry, spatial defect clustering, automated incident triage, and a centralized GIS Command & Control Dashboard.
┌─────────────────────────────────────────────────────────────────────────────┐
│ BUS ONBOARD AI UNIT (EDGE) │
│ • Dashcam Video / Webcam Feed / Video Upload │
│ • Ultralytics YOLOv11n Inference (Vehicles, Pedestrians, Two-Wheelers) │
│ • Multi-Camera Sensors: Front Bumper Optical, Windshield ANPR, Rear Scanner│
│ • DefectNet (Potholes, Waterlogging, Missing Signage) │
│ • ANPR Scanner (Indian Registration Plates) │
└──────────────────────────────────────┬──────────────────────────────────────┘
│ HTTP Frame POST / Simulated Telemetry
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ FASTAPI BACKEND & SIMULATOR │
│ • /api/buses - Fleet GPS, Speed, Occupancy, Telemetry │
│ • /api/events - Road Defects & Recurrence Escalation Engine │
│ • /api/alerts - Incident Management & PDF Report Generation │
│ • /api/analytics - Spatial Aggregations, Recurrence Logic, RQI │
│ • /api/detection - YOLOv11n Real-time Inference on Video/Frames │
│ • /ws - Live WebSocket Broadcast (Bus Telemetry & Alerts) │
│ • SQLite Database - Auto-seeded with realistic Vijayawada urban data │
└──────────────────────────────────────┬──────────────────────────────────────┘
│ WebSocket (Push) + REST (Pull)
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ ASTRA COMMAND & CONTROL GIS DASHBOARD (CIVIC TECH THEME) │
│ • Modern White Civic Theme (High-contrast, native OpenStreetMap cartography│
│ • 5 Moving Virtual Buses with Dynamic Bearing Rotation & Map FlyTo Focus │
│ • Web Audio API Incident Chime Synthesizer on WebSocket Dispatch │
│ • PWD Work-Order Dispatch Workflow (SLA Assignment & Crew Allocation) │
│ • Defect Markers with Multi-Bus Recurrence Escalation (x1, x2, x3+ High) │
│ • Traffic Congestion Heatmap & Corridor Density │
│ • Onboard AI Edge Simulator with Multi-Camera Feeds & Snapshot Export │
│ • Official Incident PDF Dossier Export (ReportLab) & CSV Database Exports │
└─────────────────────────────────────────────────────────────────────────────┘
yolo11n.pt).car, bus, truck, motorcycle, person, bicycle).bg-white border-slate-200 shadow-sm).OPEN → IN_PROGRESS → REPAIRED).cd backend
python -m pip install -r requirements.txt
python -m uvicorn main:app --host 127.0.0.1 --port 8000 --reload
http://127.0.0.1:8000/http://127.0.0.1:8000/docsws://127.0.0.1:8000/wscd frontend
npm install
npm run dev
Open your browser at:
http://localhost:5173/
# S I H _ P r o j e c t