How sharvarisalkar/yoga_pose_detection_and_correction_project works
This is a Flask yoga-practice site: users start a webcam session, hold poses for real-time correction and timed progress, advance through poses and two rounds, then review saved session history. The backend routes requests and video frames to the pose detector; the browser practice client displays feedback and controls round transitions. The README also describes six supported poses and the web interface. Source excerpts show session persistence and detector logic; templates and history-page wiring were not sampled, so those links are limited to documented or visible relationships.
Main entry points: app.py Flask routes · pose_detector.py Pose detector · practice.js Practice browser · style.css Interface styling
Components 16
Practice interface
- Practice browser
static/practice.js - Web pages
templates - Interface styling
static/style.css
Session backend
- Flask routes
app.py - Video feed
app.py - Pose status API
app.py - Session and rounds
app.py
Pose processing
- Pose detector
pose_detector.py - Landmark estimation
pose_detector.py - Pose validation
pose_detector.py - Hold and meditation timing
pose_detector.py - Pose and round sequence
pose_detector.py
Session history
- Session history
data/session_history.json - History view
templates/history.html
Other components
- Practitioner
- Webcam
Connections 17
- Practitioner → Practice browser: practices through
README.md - Practice browser → Web pages: renders
- Practice browser → Flask routes: requests session actions
static/practice.js - Flask routes → Pose detector: creates
app.py - Flask routes → Webcam: captures frames
app.py - Flask routes → Video feed: serves video
app.py - Flask routes → Pose status API: serves status
app.py - Pose status API → Pose detector: processes frames
app.py - Video feed → Pose detector: processes frames
app.py - Pose detector → Landmark estimation: estimates landmarks
pose_detector.py - Pose detector → Pose validation: validates pose
pose_detector.py - Pose detector → Hold and meditation timing: tracks timing
pose_detector.py - Session and rounds → Pose detector: advances poses
app.py - Flask routes → Session and rounds: handles actions
app.py - Flask routes → Session history: reads and writes
app.py - Flask routes → History view: renders history
app.py - Interface styling → Practice browser: styles interface