Baymax
A small humanoid robot that demonstrates physical therapy exercises, watches you do them, counts reps, checks your form, and stops the moment you say it hurts.
Measured highlights
- One 480p camera
- for full-body pose tracking
- On-device AI
- local compute on an ASUS Ascent GX10
Context
Most people quietly stop doing their physical therapy exercises between appointments. Nobody watches their form, and if something hurts, the therapist doesn't hear about it until the next visit. Baymax is meant to support the therapist in that gap, not replace them.
Baymax runs on a Hiwonder TonyPi Pro. For each exercise it says the name, does the move itself, and watches you through its camera while you do it. It counts reps, checks your form against joint angles, and logs the session so your therapist can see what actually happened. If you say "ow" or "stop", the servos freeze where they are.
How a session runs
- Seeing
The robot's camera streams to an ASUS GX10 on the same network. Pose landmarks give joint angles that drive the rep counter and the form checks.
- Hearing
The microphone streams to the GX10, where a local copy of Whisper transcribes each sentence. Pain words are handled by the thread that hears them, so stopping never waits on a language model.
- Reviewing
A FastAPI and React dashboard lets the therapist read a scored report, replay the session on a three.js copy of the robot, and ask an AI coach about it.

My role
- Responsibility
- Pose tracking and dashboard design
- Team
- Team of 4
- Tools
- Python · MediaPipe · Whisper · FastAPI · React · Three.js
I built the pose estimator that runs off the robot's single camera, and I led the direction and design of the therapist dashboard. The dashboard shows a score for each session, the reasons behind it in plain words, a chart for each reason, and a 3D replay on a digital twin of the robot.
Process & decisions
We dropped the 3D idea.
Our first estimator paired YOLO11n pose with a second model for monocular depth, so we could track the body in 3D. YOLO's landmarks were less accurate for us than MediaPipe's, and pulling depth out of a single cheap camera was very hard.
- Switch to MediaPipe landmarks
- MediaPipe tracked joints more accurately on our camera than YOLO pose, and joint angles were all the form checks needed.
- Smooth without adding lag
- A One Euro filter keeps the cutoff low while you hold still, which removes jitter, and raises it as you move, so the tracking doesn't fall behind.
- Keep the stop path out of the model
- Whisper runs locally on the GX10 and the pain words go straight to ordinary code, so the robot reacts as soon as you finish your sentence.
Outcome
The simpler version worked better than the complicated one ever did. A full-body tracker running off one cheap camera drove the rep counter and form checks, and the full loop worked: wave at the robot, get coached through a set, and read a scored report afterward.
- Before
- YOLO pose plus monocular depth
- After
- MediaPipe with a One Euro filter