Skip to content

David27322/Forma

Repository files navigation

Forma

An Exercise and Diet App

Features

Form Check (camera vision)

  • On-device pose detection with MediaPipe (@mediapipe/tasks-vision) — video never leaves your phone.
  • You pick the exercise (squat, push-up, lunge, overhead press), and the analyzer tracks the relevant joints, drawing a live skeleton that turns red when it detects a fault.
  • It counts reps via a hysteresis state machine and checks the scientifically-grounded cues you asked about: joint angle, range of motion / depth, tempo, symmetry, and breathing, plus better variations to try.
  • Stopping a set generates a report with a form score, clean-rep count, average depth/tempo, and a ranked list of exactly what to fix with coaching tips.

Diet Tracker

  • Log meals from a ~40-food database; it scales 19 nutrients (macros, minerals, vitamins) per serving.
  • "Today" shows live progress bars and flags problems, while "Trends" averages your intake over 3/7/14/30 days to surface chronic gaps.
  • Each warning gives a plain-language fix (e.g. "Iron is low — spinach, lentils, and lean red meat help, pair with vitamin C").

Everything persists in localStorage for now.

About

An Exercise and Diet App

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors