Inspiration

During the pandemic, it is significantly harder to be motivated to dedicate time to workout. This app encourages the user to set a time to workout, increase goals throughout their process, and track their past sets. It creates a more motivational environment for working out at home.

What it does

Healthy Habits counts the number of repetitions you do in each workout. It uses machine learning to detect when you finish one repetition. It keeps track of all past workouts. It shows the user the type of workout and the number of repetitions.

How we built it

We coded in JavaScript for interactability and HTML and CSS for styling and format. We used React.js to design, create, and publish our website. We also used Google's Teachable Machine by classifying various images as the "up" and "down" position of a push-up, pull-up, sit-up, and squat. We used a counter variable to update based on the changes between the "up" and "down" positions when a user is working out, and the video camera tracks the footage for the application to analyze.

Challenges we ran into

Local storage and Firebase. We had initial issues getting the firebase database setup and getting it to work with react.

Accomplishments that we're proud of

We are proud of our application for recognizing when a user finishes a pushup, pull-up, or squat. We are proud of our ability to keep track of all of the user's past workouts. We are proud of getting real google authentication working with the application and storing data that is specific to a user.

What we learned

We learned how to create a Navigation bar using React. We also learned how to integrate a Teachable Machine model to work with react and to store data collected on our site to a firebase database.

What's next for Healthy Habits

We want to add an alarm for the user when it is time to workout. We also want to create a graph to display their progress. We would also like to add more workout options, and an input feature for when the user goes for runs.

Built With

Share this project:

Updates