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.


