Skip to content

Posture detection algorithm using MediaPipe and OpenCV. Can be used in the application requiring posture detection

Notifications You must be signed in to change notification settings

yashsharma127/mediapipe-posture-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Posture Detection Algorithm

This repo contain Posture detection related code. The intent of this project was to include this algorithm design in the Posture detection website. Code contain levels of algo development in which first the camera is setup using openCV and then mediapipe is used to provide it the posture detection ability, this is only camer invocation and posture detection code , no client side code is written here.

Features and Technologies used

  • USed OpenCV for the camera invocation

  • USed MediaPipe for Posture detection

  • Can detect the posture and indicate it using nodes and edges in camer

  • Able to detect angles between nodes i.e. joints in the body

  • Added Couter to count bicep curls according to the angle between nodes

Prerequisites

Before you can use this application, ensure you have the following prerequisites:

  • Jupytr notebook

  • Python Knowledge

  • MediaPipe and OpenCV knowledge

Setup

  1. No serious setup is required if using Jupytr notebook just copy the code in your jupytr notebook and run the cells accordingly

Note

Make sure you have camera.

This is a starting point and can be expanded with additional features and improvements. Happy chatting!

About

Posture detection algorithm using MediaPipe and OpenCV. Can be used in the application requiring posture detection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published