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.
-
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
Before you can use this application, ensure you have the following prerequisites:
-
Jupytr notebook
-
Python Knowledge
-
MediaPipe and OpenCV knowledge
- No serious setup is required if using Jupytr notebook just copy the code in your jupytr notebook and run the cells accordingly
Make sure you have camera.
This is a starting point and can be expanded with additional features and improvements. Happy chatting!