/body_posture_analysis

Body Posture Analyzer using Mediapipe and OpenCV in Python.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

body_posture_analysis

 

Body Posture Analyzer using Mediapipe and OpenCV in Python

About Project

Our System detects a person from a perfect side view and measures the neck and torso inclination to some reference axis. By monitoring the inclination angle when the person bends below a certain threshold angle. Other features include measuring the time of a particular posture.

Our system is deployed in a Raspberry Pi and it can be used portably as the Flask server runs on WiFi and can be connected by any smartphone or

Software Used

  • Python 3.x

Libraries Used

  • flask
  • mediapipe (pip install mediapipe)
  • opencv (pip install opencv-python)

Clone this Repository

git clone https://github.com/nilutpolkashyap/body_posture_analysis.git

Run the Code

python main.py

Output

Incorrect pose
Incorrect pose

Output Video🎬 - https://youtu.be/MPmzmUKnbig

Project Created by -

Created as part of hackathon submission to SF Hacks 2022

Hackathon Submission Link - Body Posture Analyzer