Dev Tools · 2h ago
Flutter dev cracks on-device rep counting for workout app
A developer built TrainWiz, a Flutter app that counts exercise reps from the camera without uploading frames. Initial attempts using joint-angle thresholds and body-line gates failed due to 2D perspective issues. The solution uses torso orientation and swappable rep signals, achieving robust on-device counting.
Meridian48 take
The article offers practical lessons for on-device ML, but the approach is still niche—most fitness apps will stick with server-side models for accuracy.
Read the full reporting
I built on-device workout rep counting in Flutter — here's what actually worked →
DEV Community
flutteron-device-ml