I built an AI-powered Fitness Tracker that combines computer vision with personalized AI recommendations. It uses webcam feeds for real-time pose estimation (counting reps for curls/squats) and generates custom diet and exercise routines based on a user's specific biometrics and goals.
I wanted to build a fitness app that actually watches your form rather than just logging numbers. The system is split into a Next.js frontend and a Python/Flask backend.
The heavy lifting happens on the backend: I integrated MediaPipe and OpenCV to handle real-time video streaming and calculate smoothed joint angles to accurately track repetitions for left and right arms. Alongside the computer vision, I built AI API endpoints that take in JSON data like age, weight, and goals, and return fully tailored nutrition and workout schedules.
Note: The backend isn't deployed to production just yet, but the core idea, the computer vision architecture, and the local implementation are where this project really stands out right now!
Tech stack
- ChatGPT
- Perplexity
- Claude
Links
Prompt
I am building an AI fitness tracker with a Next.js frontend and a Python Flask backend. Write a Flask route that uses OpenCV and MediaPipe to process a webcam feed, detect human poses, calculate joint angles, and count repetitions for bicep curls. Also, create a separate JSON endpoint that accepts user biometrics and outputs a customized meal plan.
13 likes · 8 comments · 4 views
Comments (4)
Wow this looks really cool. I can’t wait to try it later!
Actually it is in public repo of ours and its and old project but i wanted to share it anyways if you want i can share you github link
That's really cool, you have great job man
Thank you anna
you killed it, will check this out and give my honest review
Thank you
everyone should find this useful, no need of a fitness trainer when theres this
True just need some improvements