Vanguard-EMS transforms ambulance routing in chaotic Indian urban traffic into a high-concurrency coordination engine — combining AI vision, shared state, and dynamic signal control.
The simulator feeds live GPS positions to the backend, which calculates green-wave corridors and clears intersections ahead of the ambulance.
Each component was designed to solve a specific failure mode of conventional ambulance coordination in dense urban environments.
The architecture maps directly to how emergency response actually fails — and fixes each failure mode.
Every technology choice was made to maximize throughput and minimize latency on constrained infrastructure.
| Layer | Technology | Purpose | Type |
|---|---|---|---|
| Backend | Python 3.10 + FastAPI | Coordination engine, WebSocket server, REST API | CORE |
| Frontend | HTML / CSS / JavaScript | Real-time monitoring dashboard | CORE |
| AI / Vision | Google Gemini API | Roadblock detection from environment images | AI |
| Database | MongoDB Atlas | Performance metrics, routing decisions, event logs | DATABASE |
| Infra | Docker + Docker Compose | Containerized service orchestration | INFRA |
| Simulation | Python Ambulance Driver | Generates realistic GPS trajectories for testing | CORE |
Docker handles all the dependencies. You only need a Gemini API key.