Inspiration

When Shashank Chidige first started his fitness journey, he felt intimidated by the gym environment. The complex equipment and seasoned gym-goers made him second-guess his efforts, especially when it came to maintaining proper exercise form. Despite his determination, the lack of real-time feedback hindered his progress and confidence.

He soon realized he wasn't alone. Many others faced the same challenges and felt overwhelmed by the fitness world. Motivated to find a solution, Shashank gathered a team of like-minded individuals who had experienced similar struggles. Together, they envisioned a form-tracking fitness app that would serve as a personal trainer in everyone’s pocket.

Shashank’s vision of intimidation to empowerment sparked the creation of a transformative tool. By working with others who shared his challenges, he helped build a platform that made fitness accessible and effective for everyone. The form-tracking fitness app became more than a tool—it became a movement towards inclusive and confident fitness journeys for all.

What it does

Our application offers a comprehensive fitness solution with a built-in RAG (Retrieval-Augmented Generation) based chat system, trained to provide personalized workout and health advice. Acting like your own personal trainer, it not only customizes fitness routines but also ensures you perform exercises correctly by checking your form in real-time. This dual functionality helps optimize your workouts and minimize the risk of injury, making your fitness journey both effective and safe.

We are delivering the experience of having a personal trainer in the comfort of your own home—all for FREE. Our application offers personalized workout and health advice through a built-in RAG based chat system, which is designed to customize fitness routines to meet your specific needs. Additionally, our app ensures you perform exercises correctly by checking your form in real time, thereby optimizing your workouts and minimizing the risk of injury. Whether you're a beginner or a seasoned athlete, our app brings expert guidance and support directly to you, making your fitness journey both effective and enjoyable without any cost.

How we built it

Building HammyFit was an exciting journey that involved integrating several advanced technologies. We utilized computer vision to accurately track exercise form and provide real-time feedback, ensuring users perform exercises safely and effectively. Custom audio integration was implemented to enhance the user experience, making interactions more engaging and interactive. By leveraging OpenAI's chat capabilities and a RAG (Retrieval-Augmented Generation) system, we were able to offer personalized workout and health advice through an intuitive chat interface. For the frontend, we chose Streamlit, which enabled us to swiftly develop a user-friendly and visually appealing interface. Combining these technologies allowed us to create a powerful, accessible fitness solution that brings the experience of a personal trainer into the comfort of users' homes.

Challenges we ran into

Building HammyFit came with its share of challenges, particularly in the realms of framework selection and technical implementation.

One of our earliest decisions involved choosing the appropriate frameworks for each component of the app. We evaluated various options for the frontend before deciding on Streamlit, which offered the perfect balance of ease-of-use, flexibility, and rapid development capabilities. However, integrating Streamlit with other technologies posed its own set of challenges, especially when it came to maintaining a seamless user experience across different features.

The integration of computer vision technology for exercise form tracking required extensive research and experimentation. Training models to accurately recognize and correct exercise form in real-time was a complex task that required substantial computational resources and fine-tuning to ensure accuracy and responsiveness.

Custom audio integration presented another set of hurdles. Ensuring that audio feedback was both timely and contextually appropriate demanded meticulous attention to detail and numerous iterations to get it right.

Our decision to embed OpenAI's chat capabilities, enhanced by a RAG (Retrieval-Augmented Generation) system, brought about challenges related to latency, context management, and ensuring the reliability of responses. Balancing the need for quick, accurate, and relevant feedback with the constraints of real-time processing was no small feat.

Throughout these technical endeavors, we also faced the inevitable debugging and optimization issues that come with complex multi-technology projects. Cross-compatibility between different libraries and ensuring optimal performance across diverse device configurations required continuous effort and innovative problem-solving.

Despite these challenges, our team's resilience and collaborative decision-making enabled us to overcome these obstacles and deliver a robust, user-friendly fitness application that redefines at-home workout experiences. Each resolved issue not only made HammyFit stronger but also enriched our team’s expertise and preparedness for future innovations.

Accomplishments that we're proud of

We take immense pride in the technical accomplishments achieved while building HammyFit. Our successful integration of computer vision technology to track exercise form and provide real-time feedback has significantly enhanced user safety and effectiveness during workouts. Implementing custom audio integration added depth to the user experience, making interactions more engaging and interactive.

We are also proud of our use of OpenAI's chat capabilities combined with a RAG (Retrieval-Augmented Generation) system. This sophisticated setup allows us to deliver personalized workout and health advice, essentially providing users with a virtual personal trainer.

Moreover, developing the frontend with Streamlit enabled us to create a seamless, user-friendly interface that is both visually appealing and highly functional. This technological synergy has allowed us to build a comprehensive fitness solution that is innovative, accessible, and free for users, effectively bringing the personal trainer experience into the comfort of their homes.

These technical milestones not only highlight our team's capabilities but also set the stage for future innovations and expansions in making fitness guidance more accessible and effective for everyone.

What we learned

Throughout the development of HammyFit, we gained valuable insights and expertise in several cutting-edge technologies. By leveraging BAML and Hugging Face, we significantly enhanced our app's ability to accurately track exercise form and provide real-time feedback. Utilizing OpenAI's API enabled us to offer personalized workout and health advice through an intuitive chat interface. OpenCV played a crucial role in the app’s computer vision capabilities, while multithreading allowed us to handle concurrent video and audio processing efficiently. Python proved to be an invaluable language for integrating these technologies seamlessly. These combined elements have culminated in an innovative fitness solution that brings the experience of a personal trainer to the comfort of users' homes.

What's next for HammyFit

Currently, HammyFit features computer vision form-tracking models for a select number of exercises. In the future, we plan to expand our capabilities with several key enhancements:

Expanding Exercise Library: We aim to include form-tracking models for a comprehensive range of exercises, covering all major muscle groups and various fitness routines. This will ensure users have access to detailed guidance for a wide array of workouts.

Improving AI Precision: Our goal is to continuously refine our computer vision algorithms to provide even more precise form correction and feedback, helping users perform exercises with optimal technique and reducing the risk of injury.

Developing Personalized Training Plans: We plan to offer more sophisticated, data-driven workout plans that adapt to each user's progress, providing highly personalized and effective fitness routines.

Introducing Interactive Features: Future updates will include interactive features such as live feedback sessions with virtual trainers and possibly even virtual reality (VR) integration to create a truly immersive training experience.

Integrating with Wearable Devices: We seek to integrate our app with popular wearable devices to monitor users' vital statistics in real-time, offering a comprehensive view of their fitness and health.

Building a Supportive Community: A major focus will be fostering a strong community where users can share their progress, provide mutual motivation, and receive encouragement from others.

Seamless Multi-Platform Experience: We envision expanding HammyFit's availability across multiple platforms, including smartphones, tablets, and smart TVs, ensuring users have access to their training no matter where they are.

HammyFit is committed to evolving and enhancing its features to provide the most effective, user-friendly, and accessible fitness experience available, all while keeping the essence of personalized training intact.

Built With

  • baml
  • huggingface
  • multithreading
  • open-cv
  • openai
  • pinecone
  • python
Share this project:

Updates