Inspiration

As a few gym bros with ADHD, we have a difficult time keeping track of the amount of reps that we've already completed. That's where we developed YourFitnessPal primarily as a rep counter. As time went on, we realized that there are lot's of people that want to begin their fitness journey but don't know where to begin! YourFitnessPal is a great place to start as it will critique your form at the low price of $0.

What it does

YourFitnessPal uses Python's openCV library to measure the angle between several joints on one's body which were used to measure rep progression, and form correctness.

How we built it

  • Python
  • Electron
  • Mediapipe
  • Node.js
  • Javascript
  • React
  • SCSS
  • Flask
  • OpenCV

Challenges we ran into

  • Determining a criterion for "correct form"
  • Connecting Electron to a python back-end
  • Reducing video feed latency for accurate body tracking

Accomplishments that we're proud of

We delegated tasks successfully according to our skill sets, effectively communicated our ideas and problem solved efficiently when unexpected errors occured whilst using unfamiliar libraries

What we learned

The largest thing we learned during this hackathon was the importance of planning and being flexible if one's timeline is currently not being followed. We all learned a lot about adaptability.

What's next for YourFitnessPal

YourFitnessPal's next big steps are to implement a seq2seq ML algorithm which learns what correct form generally entails such that YourFitnessPal can be used for hundreds of exercises!

Share this project:

Updates