FlexiFit AI

FlexiFit AI is a health and fitness platform designed by a woman, for women.
It provides a safe space to explore exercises tailored to your condition, with real-time AI guidance that checks posture and angles.
If the AI detects difficulty, it suggests modified poses to keep you consistent, while also tracking your progress and maintaining a private 90-day health record.


The Story Behind FlexiFit AI

“I built FlexiFit AI because I’ve lived the problem myself.”

I’ve been dealing with PCOS, fatigue, weight gain, and months of missed periods.
Due to financial struggles, I couldn’t visit a doctor regularly, so I turned to YouTube for workouts.

One day, I tried the Cobra Pose it looked easy, so I thought I was doing it right.
Later, I learned that arms shouldn’t be fully straight; elbows should be slightly bent. I realized many of my poses were incorrect, causing fatigue, pain, and no results.

Even when I asked ChatGPT for diet advice, it couldn’t track progress or monitor exercises, and I lost motivation.
Other apps required premium subscriptions for nutrition guidance or pose correction.

During this hackathon, I decided to build something that truly understands women like me.
That’s how FlexiFit AI was born an affordable, empathetic AI that doesn’t just talk; it sees, learns, guides, and remembers.


Why FlexiFit AI?

Feature YouTube ChatGPT FlexiFit AI
Real-time form correction No Text only Live pose & angle detection
Adaptive difficulty No Doesn’t adapt Auto-switch to easier poses
Progress tracking No No memory 90-day health tracking
Budget-conscious diet General budget meal videos, not personalized Provides general budget-friendly advice Personalized, affordable meals tailored to user’s needs
Injury prevention No feedback No vision Red alerts for wrong angles
Motivation & engagement Passive engagement only No gamification Round system & progress tracking
Doctor-ready reports No data No reports Exportable summaries

Current Setup

Streamlit App

Why Streamlit?
Chosen to rapidly prototype AI + UI workflows for the hackathon, supporting pose detection, video uploads, and health tracking.
Note: If the app lags, refresh the page Streamlit prototype mode may slow under load.


Features

Workout

Displays 5 demo exercises with images, category, difficulty, duration, reps, and description.

Analyze Video

Upload workout videos and get AI feedback:

  • Green lines = correct pose
  • Red lines = incorrect pose
  • Download annotated videos
    Currently, the annotated video is available after processing; a short wait may be required for download.

AI Coach Chat

Ask about health, diet, or exercises.
Powered by RAG / ElasticSearch / Gemini AI, it provides condition-aware, personalized guidance.
Double-click the “Clear Chat” button to reset the conversation and clear all previous messages.
Budget-friendly diet suggestions are included if requested.
Note: Current recommendations are for demo purposes; future versions will integrate real-time symptom tracking for fully personalized advice.

Health Tracker

Displays weight, symptoms, and trends over 90 days.
(Demo data; real version will use secure, consent-based storage.)
In the current demo, the AI Coach reads your latest health entries to provide guidance.
Full integration will expand this to track progress and suggest personalized next steps.

Progress Stats

Displays recent workouts and chat history.
All data, including previous chats and uploaded videos, is temporary and will be lost when the session is refreshed or closed.


Live Webcam Mode

Why a Separate Module?

Streamlit cannot handle real-time pose estimation efficiently.
A dedicated OpenCV + MediaPipe module provides smooth live feedback.

Features

  • Pose Detection: Real-time skeleton overlay — Green = correct, Red = incorrect
  • Round System: Each correct pose counts as one “round” (2 rounds, 5-second duration, 3-second rest)
  • Auto Switch Mode: After 10 failed frames, AI switches to a modified pose. (Currently, for demo purposes, this is implemented only for the Tree Pose, divided into Standard and Modified Tree Pose.)
  • Angle Visualization: Demonstration only; real-time scoring in progress

Exercises Implemented

  1. Downward Dog
  2. Warrior II
  3. Plank
  4. Standard Tree Pose
  5. Modified Tree Pose

Tech Stack

Component Technology
Frontend Streamlit
AI / ML PyTorch, MediaPipe
Backend / Database Elasticsearch
Cloud & ML Platform Google Cloud Vertex AI
Video & Image Processing OpenCV, Pillow
Data Handling NumPy
Future Frontend React Native (mobile app)

Limitations (Prototype)

Area Current Next Steps
Pose Angles Visualization only 3D landmark scoring
Streamlit Live Feed Not real-time React Native + WebRTC
Session Data Resets on refresh Persistent local storage with consent
Demo Data Fake 90-day Secure real user data
Exercise Range 5 demo poses Expand to 50+
Language Support English only Hindi, Tamil, Bengali, regional languages
Speech Recognition Not implemented Live voice guidance (“Raise your arm”)
Auto Switch Quick trigger Smooth threshold adjustment
UI/UX Prototype Guided voice feedback & modern mobile UI

Future Scope

Real-time AI Guidance & Voice Feedback

3D angle-based posture correction with voice guidance (e.g., “Straighten your spine” or “Bend your elbow 45°”) while tracking performance automatically.

Multilingual Support

Support for Hindi, Tamil, Bengali, Marathi, and voice assistants so every woman can interact comfortably.

Mobile App

Full React Native mobile app for real-time AI coaching.

Doctor Integration

Verified doctors/physiotherapists can review summaries and provide feedback.

Community Support

Safe, moderated space for women to share experiences, advice, and motivation.

Expanded Health Library

Condition-specific workouts for PCOS, thyroid imbalance, back pain, anxiety, and fatigue recovery.

Privacy by Design

All personal data is encrypted, anonymized, and stored with explicit consent.


Our Vision

In India, many women silently struggle with PCOS, fatigue, or pain, often unable to afford trainers or clearly explain symptoms to doctors.
Many don’t open up due to societal shame or fear of judgment.

FlexiFit AI provides empathy, science, and a safe digital space where women can improve their health, gain confidence, and grow stronger physically and emotionally.

Built With

Share this project:

Updates