Succor
Your AI backup when every second counts.


๐Ÿ“„ Project Description

๐Ÿšจ Problem I'm Solving

Every year, emergency calls are mishandled due to dispatcher errors caused by stress, human limitations, or communication issues. These delays can cost lives. I wanted to explore how AI could help support dispatchers in real-time.

๐Ÿ‘ค Who Itโ€™s For

  • Trainee 911 dispatchers
  • Emergency response educators
  • Developers interested in voice-based AI
  • Anyone who wants to practice emergency simulations using just their voice

โš™๏ธ How It Works

  1. I speak into the mic to simulate a 911 call.
  2. Succor transcribes my speech using Speech-to-Text.
  3. It analyzes my voice for signs of emotion (nervousness, panic, calm).
  4. It detects keywords, classifies the type of emergency, and estimates the likelihood of it being real, hidden, or a prank.
  5. It visually highlights potential injuries and suggests what to do next โ€” all in real-time.

โค๏ธ Why It Matters

This project helped me appreciate how demanding a dispatcherโ€™s job is. By combining voice emotion and language processing in the browser, Succor could eventually serve as a tool to train dispatchers, reduce mistakes, and save lives.


๐Ÿš€ What It Does

  • ๐ŸŽ™๏ธ Listens to voice input like a real 911 call
  • โœ๏ธ Transcribes speech to text live
  • ๐Ÿ“ˆ Analyzes emotional tone using audio features
  • ๐Ÿง  Detects and classifies emergency scenarios
  • ๐Ÿฉป Highlights potential injury zones
  • ๐Ÿ“Š Adjusts probabilities of the situation type
  • ๐Ÿ’ป Runs entirely in the browser

โš™๏ธ Tech Stack Used

  • Languages: JavaScript, JSX
  • Frameworks: React (Next.js), Tailwind CSS,
  • Libraries & APIs:
    • Web Speech API (for STT)
    • Meyda.js for voice emotion analysis
    • Custom JSON logic for accident classification

๐Ÿ› ๏ธ How I Built It

I used Next.js for the frontend and designed everything with Tailwind CSS and Framer Motion for a dark, sci-fi theme. I integrated the Web Speech API for continuous speech recognition and Meyda.js for voice signal analysis. I created a JSON-based classification system that reacts to transcribed text and inferred emotions, updating visuals and probabilities live.


โš”๏ธ Challenges I Ran Into

  • Getting STT to run continuously
  • Syncing audio feature extraction and live transcription
  • Designing meaningful emotion-to-risk logic
  • Making everything work without a backend or external ML engine

๐Ÿ† Accomplishments Iโ€™m Proud Of

  • Built a fully working voice-based emergency assistant
  • Integrated emotion detection and speech analysis together
  • Created a live simulation tool that's both useful and educational
  • Designed it to be browser-only โ€” no installs or servers needed

๐Ÿ“š What I Learned

  • How to analyze voice features like pitch and energy using JavaScript
  • How dispatchers think under pressure
  • How to structure real-time UI updates in React
  • The power of combining audio and language data in one interface

๐Ÿ”ฎ Whatโ€™s Next for Succor

  • ๐Ÿง  Add machine learning with TensorFlow.js for better emotion detection
  • ๐ŸŒ Multilingual support
  • ๐Ÿ”Š Text-to-Speech (TTS) responses
  • ๐Ÿงช Training mode with simulated calls
  • ๐Ÿ“ฑ Mobile-first redesign so anyone can train anywhere

Built With

Share this project:

Updates

Submission history