TechNeurons Hackathon Project β Emergency Response System
ERS-2 is an intelligent, AI-powered ambulance dispatch system designed to optimize emergency response using:
- Voice-based emergency detection
- Real-time ambulance tracking
- AI-based hospital and ambulance dispatch logic
- Predictive emergency hotspot mapping
The project is built using the MERN stack for the core system and Python for AI components.
- ποΈ Voice AI Emergency Detection β Converts emergency voice calls to text and classifies urgency using NLP.
- πΊοΈ Real-Time Ambulance Tracking β Live ambulance locations with traffic-aware routing.
- π₯ AI-Powered Dispatch β Matches emergency with the best ambulance and hospital based on traffic, location, and specialties.
- π₯ Hotspot Prediction β Predicts future emergency-prone areas using past data and displays as a heatmap.
- β‘ Socket.IO Integration β Real-time alert system for instant updates to dashboard.
- React.js
- Tailwind CSS
- Leaflet.js + OpenStreetMap
- Node.js + Express.js
- MongoDB Atlas
- Socket.IO
- Whisper (Speech-to-Text)
- spaCy / scikit-learn (NLP)
- Flask (REST API)
ERS2-Smart-Ambulance/ βββ backend/ # Node.js + Express APIs βββ frontend/ # React Dashboard with Map + Alerts βββ ai-service/ # Python Flask AI modules
cd backend
npm install
npm run dev- Frontend
cd frontend
npm install
npm run dev- AI Service (Python)
cd ai-service
pip install -r requirements.txt
python app.pyπ API Endpoints Backend (Express) POST /emergency β Create emergency entry
GET /emergency β Get all emergencies
POST /dispatch β Run dispatch AI logic
GET /ambulance β Get live ambulance data
GET /heatmap β Get predicted emergency zones
AI Service (Flask) POST /classify β Classify emergency priority from audio
POST /dispatch-ai β Suggest best ambulance & hospital
π Demo Features Real-time emergency feed and alerts
Ambulance route visualization on map
Heatmap overlays of predicted emergencies
Simulation mode for emergency testing
π¨βπ» Team Roles
Yash Machhi β Frontend + Backend (Full MERN stack)
Dipesh Chaudhary β AI Voice/NLP & Flask API
Aayush Raj Thakur β Dispatch Logic & Predictive Mapping
Vridhi Taory - Management & Presentation
π License MIT License β Feel free to reuse or build on this project for educational purposes.
π€ Contributions Pull requests and issues are welcome!