A computer vision-based rep counter that tracks ideal range of motion (ROM) for exercises like pull-ups and bicep curls using OpenCV and MediaPipe.
-
Pull-Ups: The rep is counted when:
- Arms are fully extended at the bottom.
- Chin passes over the bar at the top.
-
Bicep Curls: The rep is counted when:
- The angle between the wrist, elbow, and shoulder is greater than 160ยฐ at full extension.
- The angle decreases below 30ยฐ at peak contraction.
- OpenCV โ For image processing.
- MediaPipe โ For pose estimation and motion tracking.
- Flask โ For serving the model via an API.


