If you are building a fitness, wellness or rehab app, sooner or later you want the phone to see the user move: count a squat, check a posture, measure a range of motion. The first step is always the same. You need the position of the body's joints, on every camera frame, without sending video to a server.
This tutorial gets you there in a fresh Expo project: 17 body keypoints per frame, computed on the device, with no API key and no backend. I am the founder of PoseTracker, the SDK used here, so take that into account; the code below is the same as in our public docs.
What you will build
A single screen that opens the camera, draws a skeleton over the person, and logs the keypoints in JavaScript. The pose model is MoveNet, running on the phone inside a WebView. Nothing is uploaded.
1.…