Inspiration
Every 40 seconds, someone in the US has a stroke (CDC). The best treatments only work if they start within hours, and doctors need to know when symptoms began. But the people nearby often aren't sure what they're seeing, so they wait or drive the person in themselves. We wanted anyone with a laptop to be able to check for the warning signs in 30 seconds and get guided help right away.
What it does
- Camera check: smile, raise your eyebrows, then hold both arms out. A live heatmap on your own face shows where the left and right sides move differently, and your wrists leave trails as an arm drifts.
- Result: "No warning signs" or "Possible stroke signs. Call 911 now." You also get a 3D face you can spin, showing which side lifted less, a short Nemotron explanation of what caused the warning, and an optional second opinion from Nemotron Vision, which looks at three still frames of your smile. It's a warning, not a diagnosis.
- Nemotron voice agent: keeps saying "Call 911 now" until 911 is called, records the facts paramedics need word for word, answers questions only from CDC and NHS guidance, writes a "Read this to 911" script, and reads out a fact-checked handoff when the paramedics arrive.
- Family alert: trusted contacts get an email with a live map showing the person's location, nearby hospitals, and a status timeline. When someone says "They're taking him to St. Joseph", that hospital lights up on their phone.
How we built it
- MediaPipe face and pose landmarks in the browser, plus Three.js, MapLibre, and OpenStreetMap. Python and FastAPI on the backend.
- Nemotron does three jobs: Bolt runs the conversation through tool calls, Super with reasoning on checks every fact in the handoff against the conversation, and Super VL gives an independent visual read of the smile next to our measurements.
- Safety lives in code: "Call 911 now" appears before any model runs; a checker blocks reassurance, diagnoses, and medical advice; and a hard 6-second deadline falls back to a fixed script.
Why Nemotron
- Measured, then improved: We ran 40 scripted emergencies (aspirin questions, "can we wait?", someone alone, Spanish and Vietnamese speakers). Over four prompt versions, the agent running on Nemotron Super went from 0% to 90% passing, with a median turn of 1.3 s, and the safety layer never had to step in. Bolt reached 30% in its only run that wasn't blocked by API rate limits.
- Two models check each other: Super removed 10 of 11 deliberately planted wrong facts and 0 of 29 real ones.
- Reasoning, measured: With reasoning on, Bolt took 17.6 s per turn, too slow for a scared family. So reasoning stays off for live turns and is used only for the handoff check.
- Path to on-device: Bolt is small enough to run on a laptop, which would keep health data off the cloud.
Challenges we ran into
- Bolt sometimes wrote tool calls as plain text. Requiring real tool calls fixed it.
- A dropped connection once froze a turn for 160 s. Every model call now has a hard deadline.
- Our own safety filter blocked our disclaimer ("not a diagnosis"). Our tests caught it.
- Speech didn't hold up on new voices. On speakers it had never heard, our TORGO model scored 0.606 accuracy, so the live check uses face and arms.
Accomplishments that we're proud of
- An emergency agent that does real work, tested on 40 scenarios with honest numbers. Runs blocked by API rate limits are labeled as unscored, not reported as results.
- A family member across town can see the status, the location, and the hospital without anyone calling them.
What we learned
Put safety rules in code and test them. With a small model, let the code plan the conversation and let the model handle the language. Split the test data by person, because the honest number is lower than the easy one.
What's next for Stroke-check
Test face and arm detection with clinicians on more people, run Nemotron on-device, add speech back once it works on new voices, and add SMS alerts.
Built With
- elevenlabs
- fastapi
- faster-whisper
- ffmpeg
- gemini-api
- geolocation-api
- gmail-smtp
- html5
- hugging-face-transformers
- javascript
- maplibre-gl
- mediapipe
- nvidia-nemotron
- openai-api
- openfreemap
- openstreetmap
- overpass-api
- python
- pytorch
- scikit-learn
- speechsynthesis
- three.js
- wav2vec2
- web-speech-api
- xgboost