Push-Ups with Python! (mediapipe + OpenCV)

Landmarks detected by the mediapipe Pose Module
  • Detect the human body.
  • Finds the position of the different landmarks on the human body based on the model. (Landmarks are shown in image above).
  • Finds the angle between joints (depending on which joints you select). For my Push Up program, I chose to find the angle at the elbow, shoulder, and hip as those are vital for proper push-up form.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aryan Vij

Aryan Vij


Machine Learning. CNN. Computer Vision. Looking to share simple and in-depth tutorials with the world! Sharing knowledge to help kick-start people’s interest!