Squat Sensei
Squat Sensei is an iOS squat counter that uses your iPhone camera and on-device pose detection to count reps automatically.
Core trick
Counts squats from on-device body-pose keypoints, then sends rep milestones to TTS for spoken coaching.
Description
Squat Sensei is an iOS squat counter that uses your iPhone camera and on-device pose detection to count reps automatically. An energetic AI coach delivers motivational voice lines powered by Gemini 3.1 Flash TTS. The app was built with Google Antigravity.
Problem: Most fitness apps make you tap to count reps or need extra hardware. Squat Sensei keeps it simple — open the app, squat, and get coached in real time with expressive AI voice.
README excerpt
# Squat Sensei An AI squat counter for iOS — on-device pose detection, real-time coaching, and expressive voice lines powered by **Gemini 3.1 Flash TTS**. Built with **Google Antigravity**. ## About Squat Sensei uses your iPhone camera and Apple Vision to count squats automatically. From rep 3 onward, an energetic AI coach delivers motivational voice lines generated with Gemini 3.1 Flash TTS. Complete 20 reps to finish today's session and keep your streak alive. This project was developed for the Google I/O Hackathon using **Google Antigravity** as the primary development agent, from SwiftUI UI and camera pipeline to Gemini TTS audio integration. ## Features - **Automatic rep counting** — Apple Vision body pose detection; no wearables or manual tapping - **Real-time skeleton overlay** — green pose overlay so you know tracking is working - **Gemini 3.1 Flash TTS coach voice** — pre-generated Fenrir voice lines with audio tags like `[shouting]` and `[energetic]`; bundled for offline playback - **Daily streak tracker** — complete 20 reps to mark the day; weekly progress on the home screen - **Face Cover** — choose from 24 emoji masks to cover your face during sessions for privacy ## Tech Stack | Layer | Technology | |-------|------------| | App | SwiftUI, Swift 6, Observation | | Pose | On-device `VNDetectHumanBodyPoseRequest`, `VNDetectFaceRectanglesRequest` | | Voice | Gemini 3.1 Flash TTS (Fenrir voice) | | Development | Google Antigravity | | Audio playback | AVAudio