AI-Coach-PT / ExerSights

Mediapipe-powered AI coach/physical therapist; improve anytime, anywhere.
https://exersights.web.app/
Apache License 2.0
2 stars 1 forks source link

Solved Issue #18, add feedback for SquatPage regarding hip angle (keeping chest up) #19

Closed Anish701 closed 1 month ago

Anish701 commented 1 month ago

Not only should knee angle be measure in the Squats Page, but also hip angle. The hip angle is an indicator of whether or not the user is keeping their chest upright, which is an important element of proper squat form. https://www.menshealth.com/fitness/a39110810/how-to-do-bodyweight-squats/

A new method checkChestUp has been added to Squats.js page. SquatPage pulls this and gives users feedback if their chest/hip falls below the minimum threshold. This minimum hip angle threshold can be adjusted by the user using the settings modal.

JamesKnee commented 1 month ago

Looks good merging to main :)