Skip to content

AkosoCodes/HumanPoseTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human Pose Tracker

This is a Computer Vision application developed in Python, which tracks the posture whilst doing a squatting movement.

📝 | Table of Contents

📸 | Demo

The snippet below shows the application in action. The application tracks the posture of the person in the video, and displays the results in real time. It displays the following information:

  • The number of repetitions completed
  • Depth angle of the squat
  • The current stage of the movement
  • The tilt position of the shoulders
  • The stance of the feet

Demonstration:

Video of Squat

🧰 | Languages & Tools

The application was built using Python, alongside the use of OpenCV and Media Pipe libraries.

Python OpenCV Media Pipe

🏁 | Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Requirements:

  • Python 3.11 or higher
  • The following dependencies:
    • numpy == 1.23.5
    • opencv-python == 4.9.0
    • mediapipe == 0.10.9

Guide:

  1. Download and install Python
  2. Clone the repository
  3. Open the repository using the IDE of your choice
  4. Install the required dependencies using pip install -r requirements.txt
  5. Configure the video_path variable in the main.py file to the path of the video you want to use. (Use 0 if you want to use your webcam)
  6. Run the main.py file

🫂 | Credits and Acknowledgments

The video used for the demo and in the repository is not mine, and serves to demonstrate how the application works. The original video was taken from here.

⚖ | License

This repository is under the MIT license.

About

This is a Computer Vision Model that provides feedback about your posture while performing a lift.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages