Inspiration

Most workout injuries don't happen because people push too hard they happen because nobody's watching your form. Personal trainers are expensive. We wanted to build something that actually watches you, understands what you're doing wrong, and tells you before you get hurt. Us and our parents both have gotten injured from lifting weights and doing exercises with incorrect form. We also know people who are scared to work out because they could get injured.

What it does

IntoYourPrime is an AI personal trainer that runs in your browser. Point your camera at yourself and it automatically detects your exercise, counts your reps, and scores your form in real time using computer vision. If something looks dangerous, it tells you out loud exactly what to fix before you get hurt. It can also recognize your face with easy set-up. After your workout it generates a personalized cooldown, tracks your recovery, and features Prime Intelligence, a group AI coach that ranks your friend group by performance.

How we built it

We initially started by planning what we wanted on a Google Document. We wrote over a page of information on what we wanted the app to have, and be able to do. We then started planning more about the exact API's and storage systems we were going to use. After this, we wrote the code, with the assistance of Claude to assist us.

Challenges we ran into

  • Firebase gave multiple problems in the integration
  • API could not be fully relied on for tracking movements
  • Some movements were not getting tracked correctly, so we had to test multiple formulas.

Accomplishments that we're proud of

  • The dual AI verification system: we are running local geometry and GPT-4o vision in parallel and fusing them is something no consumer fitness app does
  • Rep counting that actually works reliably across squats, pushups, lunges, deadlifts, shoulder press, curl-ups, and bicep curls, especially due to the amount of work that was necessary to make it work.
  • Prime Intelligence and the morphing group avatar, this went from a feature idea to a fully working group coaching system in a few hours inspired by and an homage to Duo from Duolingo.
  • A complete end-to-end fitness flow: warmup scoring → main workout → session summary → AI cooldown → recovery logging, all in one session
  • The whole thing runs in a browser with no install, no backend, and no hardware

What we learned

  • We learned how to integrate Firebase into our code
  • We learned the issues of integrating a TTS system
  • We learned how to collaborate pushing code on github while working on separate laptops.

What's next for Into Your Prime

  • Automatic injury detection: when the blended risk score crosses a critical threshold and GPT-4o confirms a dangerous movement pattern, immediately pause the session and show a stop alert
  • Expanded exercise library: currently detecting 7 exercises, targeting 20+ using a data-driven config system where adding a new exercise is just adding one object to a file
  • Progressive overload tracking: compare your rep counts, risk scores, and perceived effort across sessions to automatically recommend when to increase weight or intensity
  • Mobile app: the browser version works on phones, but a native app unlocks better camera access, background processing, and push reminders
  • Full Friends system: the social infrastructure and Firestore schema are already built; the next step is competitive streaks, head-to-head challenges, and weekly group leaderboards

Built With

Share this project:

Updates