CompletedFeb 2025 · BrickHack
YogiSync — Real-Time Pose Correction
Thirty-three skeletal landmarks, joint angles computed per frame, and corrective feedback drawn over live webcam video — built in a weekend.
Tool flow6 nodes · 6 toolsReady
Webcam videoJavaScriptcaptured in the browser
Pose landmarksMediaPipe33 landmarks per frame
Joint anglesPythoncamera- and body-invariant
Pose classifierscikit-learncustom-trained model
Corrective feedbackFlaskangle deviation → overlay
Coaching chatbotGemini APIteammate's, off the video loop
Corrective feedback
Coaching chatbot
Story
How it came together
Output
Results
Output4 items
- 1Real-time pose classification and corrective feedback on live webcam video
- 2Joint-angle features providing invariance to camera position and body proportion
- 3Trained on a custom-collected pose dataset spanning a range of body types, lighting, and camera angles
- 4Built and demoed at BrickHack 2025, spanning backend pose detection through to a responsive full-stack app
Nodes
Stack
- Python
- Flask
- MediaPipe
- scikit-learn
- JavaScript
- Gemini API
Screens
Inside the build
demo video
InteractiveJoint angle calculator
Draggable mode
v1 (shoulder − elbow) = (-70.0, -80.0) | |v1| = 106.3
v2 (wrist − elbow) = (-55.0, 95.0) | |v2| = 109.8
v1 · v2 = -3750.0
cos θ = (v1 · v2) / (|v1| |v2|) = -0.321
θ = acos(-0.321) = 108.7°
Drag the three points (or tab to one and use the arrow keys) to see the elbow angle and the vector math behind it update live.