GUIDE 02 · MOVE · 5 min read

On-Device Pose Estimation & 3-Phase Rep Referee Architecture

Technical overview of FITAI browser-side pose detection using YOLOv8n/YOLO11n ONNX models, One-Euro smoothing, 3-phase rep state machine, and manual parity.

Runtime

ONNX Runtime Web (WASM / WebGL)

Models

YOLOv8n-Pose / YOLO11n-Pose (17 keypoints)

Smoothing

One-Euro Filter + persistence guard

Fallback

100% Manual Logging Parity

How does FITAI count reps and score form in the browser?

FITAI decodes 17 COCO body keypoints locally via ONNX Runtime Web, smooths landmark jitter with a One-Euro Filter, and runs a 3-phase state machine (REST -> TRANSITION -> ACTIVE) against exercise-specific biomechanical angle rules.

  • Angles are computed directly from 2D joint vectors using arccos and atan2.
  • Persistence filtering prevents false error alerts from single-frame noise.
  • Cooldown timers separate warning and danger voice cues.

What happens if camera permissions or lighting are poor?

Live workout sessions always keep a complete Manual Mode path available. You can log sets, reps, timed holds, and RPE directly without camera input and earn full session credit in your roadmap.

Frequently Asked Questions

Does FITAI upload my workout camera video to the cloud?
Pose inference models run directly on-device inside your browser via ONNX Runtime Web so raw camera frames stay local during form analysis.
Why use a One-Euro Filter on pose keypoints?
The One-Euro Filter reduces high-frequency landmark jitter when holding still (such as Plank) while keeping low latency during fast Squat or Push-up transitions.
How many exercises have biomechanical rule specs in FITAI?
Twelve core exercises ship with explicit angle thresholds and coaching cues in the Movement Lab, alongside manual tracking for full workout routines.

Explore live biomechanical specs

See exact angle thresholds for all 12 supported exercises.

Open Movement Lab