Push-Ups with Python! (mediapipe + OpenCV)

Landmarks detected by the mediapipe Pose Module
  • Activate mediapipe’s Pose Detection 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.

--

--

--

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!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Development Update on sSwap.io

WITH News Letter — November 2021

Illustrating Top Flutter Development Tools For 2021

Securing swagger ui in production in ASP.Net Core

manmatha8855 is Inviting you to join MContent, Use the referral code manmatha8855 and earn MContent…

What’s Driving DevOps Services Hiring? Reliability is No Longer Optional

There are No Stupid Questions, Just Insecure Developers

How To Run CUDA C/C++ on Jupyter notebook in Google Colaboratory

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!

More from Medium

Real time Background Changing in Python

Cartoonize an Image using OpenCV

Fundamentals of OpenCV in Python

Creating Image Mosaics with Python