Skip to content

aayushrajthakur/Tech-Neurons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš‘ ERS-2: AI-Powered Smart Ambulance Dispatcher

TechNeurons Hackathon Project – Emergency Response System


πŸ“Œ Overview

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.


🧠 Features

  • πŸŽ™οΈ 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.

🧰 Tech Stack

Frontend

  • React.js
  • Tailwind CSS
  • Leaflet.js + OpenStreetMap

Backend

  • Node.js + Express.js
  • MongoDB Atlas
  • Socket.IO

AI Service (Python)

  • Whisper (Speech-to-Text)
  • spaCy / scikit-learn (NLP)
  • Flask (REST API)

πŸ“ Folder Structure

ERS2-Smart-Ambulance/ β”œβ”€β”€ backend/ # Node.js + Express APIs β”œβ”€β”€ frontend/ # React Dashboard with Map + Alerts β”œβ”€β”€ ai-service/ # Python Flask AI modules


πŸš€ How to Run

1. Backend

cd backend
npm install
npm run dev
  1. Frontend
cd frontend
npm install
npm run dev
  1. 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •