Baymax’s most compelling feature isn’t his technology—it’s that he notices when someone might need help. We wanted to bring a small part of that experience into everyday life.

We built MedMax, a hands-free healthcare companion that combines visual monitoring, natural conversation, and practical follow-up. Instead of waiting for someone to open a chatbot and explain everything, MedMax can notice concerning movement and start the conversation. What it does MedMax monitors a live webcam in Upper Body or Full Body mode. It looks for sustained behaviors such as holding the chest or stomach, possible coughing or sneezing, asymmetric walking, prolonged lying, and a possible choking gesture.

Users can say “Hey Baymax” to begin a voice-to-voice conversation. The assistant receives the current vision context, asks short follow-up questions, and can request a visual inspection to better understand what the user is describing.

When it recommends care supplies, MedMax saves them to SpacetimeDB and uses an external product-search API to find matching products, prices, and purchase links. Users review those suggestions in a separate searchable database view; MedMax does not automatically purchase anything.

For sustained danger signals, MedMax starts a safety check-in. An explicit request for help or an unanswered check-in can trigger an SMS to a configured demo contact. Possible choking gestures held for more than three seconds trigger that request immediately.

MedMax is a prototype companion, not a diagnostic system or a replacement for emergency services. How we built it We built the frontend with React and Vite and the backend with FastAPI.

YOLO11 pose estimation runs locally in the browser through ONNX Runtime. It identifies body keypoints, while our temporal heuristics calculate joint distances, posture angles, movement velocities, and how long a behavior persists. We normalize measurements against torso size so the rules are less dependent on camera distance.

NVIDIA Nemotron powers the conversation, using transcribed speech, recent dialogue, and vision context. Nemotron VL provides a second visual assessment of suspicious pose events and supports symptom-specific camera checkups.

Browser speech recognition captures the user’s voice, and ElevenLabs generates spoken responses. Recognition pauses during playback to prevent the assistant from hearing itself.

SpacetimeDB stores care recommendations. Rainforest API supplies matching Amazon products and prices, while Twilio handles demo SMS escalation and delivery-status checks. Structured decisions also persist locally for review and text export. Challenges we ran into The hardest challenge was turning body coordinates into useful behavior observations. A hand touching someone’s chest does not necessarily indicate distress, and a person lying down has not necessarily fallen. We added rolling histories, minimum hold durations, velocity measurements, and visibility checks to reduce reactions to brief or ambiguous movements.

Voice interaction introduced another challenge: microphone recognition, speech playback, model requests, and safety alerts all needed to coordinate without interrupting or trapping the conversation.

We also encountered browser model-loading errors, slow database responses, Windows dependency-installation limits, and SMS trial restrictions. Debugging these issues taught us to distinguish between a request being submitted, accepted, and actually completed. Accomplishments that we're proud of We connected several independent systems into one working interaction: observe a behavior, start a conversation, recommend care, save the recommendation, find a product, and request outside help when appropriate.

We’re especially proud of keeping pose inference local, building a hands-free conversation loop, and making the interface feel like a companion rather than a traditional chatbot. We also added automated tests for timing thresholds, interrupted conversations, persistent history, and notification failures. What we learned We learned that reliable assistance depends on the transitions between components as much as the models themselves. A capable model is not enough if a slow response leaves the interface stuck or an alert incorrectly claims that help has arrived.

We also learned to communicate uncertainty clearly. Pose scores are evidence—not diagnoses—and recognizing a gesture is different from understanding its cause. What's next for MedMax Our next priority is evaluating detection against a labeled set of real-world videos across different lighting conditions, camera positions, and body types. That will help us measure false alarms and tune thresholds with evidence.

We also want to improve conversation recovery, add more personalized monitoring preferences, and expand product matching. Future escalation work would include richer messages and carefully designed trusted-contact workflows.

Built With

Share this project:

Updates

Submission history