So we built a kiosk that scores how closely someone matches a reference dance routine. Everything runs locally on the machine, no server round trip, since it has to work with zero network at the venue.
setup, for context:
MediaPipe Pose Landmarker (lite variant, float16, GPU delegate via WebGL in Chromium/Electron) on an Ubuntu 24.04 booth PC, i5-12600K-class CPU, Intel UHD 730 integrated graphics, 16GB RAM. 3 cameras, software synced, 1920x1080 at 30fps (we feed inference 1080p, one camera gets scored live, the other two just record). Two scores run in parallel, one comparing joint angles against a hand-authored reference sequence, one measuring movement magnitude over time.
the stuff that actually gave us headaches:
1. timing alignment. Doing a straight frame-by-frame comparison against the reference fell apart the second there was any start offset or audio delay, people would nail the dance and still score low just because they started half a beat late. Ended up switching to keypoint scoring instead: find the "decisive poses" in the reference motion, snap them to the beat grid, and give each one a tolerance window (0.15 to 0.35s depending on difficulty). Best match inside the window counts, and we log the lag so we can use the median drift to calibrate audio delay. Still unsolved: at 0.5x practice speed the window probably needs to shrink in reference-time, since human reaction delay doesn't scale with playback speed, it's absolute.
2. multi-person. The second two people are in frame the score becomes meaningless, and realistically most people want to do this with a friend. What we're doing now: ask group size upfront (solo/duo/trio), force per-frame detection instead of tracking mode (tracking mode was straight up dropping overlapping people, we saw a 3.3% all-detected rate vs 76% with per-frame detection, wild difference), and keep identities stable with a lightweight tracking-by-detection layer anchored on the ear midpoint, doing exhaustive assignment since it's only 2-3 people max. Would love to hear if anyone's solved this without just grabbing the largest bounding box and calling it a day.
3. lighting and framing. In dim venues the webcams quietly throttle their own frame rate (our C922s go from 30 down to 24fps without warning). And people just stand too close, so legs and hips fall out of frame constantly. We gate on joint visibility per keypoint and a minimum coverage threshold, plus prompt them to "step into frame," but lower-body-heavy moves still score noticeably worse than they should.
If anyone's done reference-to-live pose comparison in production, genuinely curious what you used for temporal alignment. Happy to share our actual numbers if useful.