Skip to content

LukasSeratowicz/HumanPoseDetectionDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human Pose Estimation Demo


GithubAdSeratowicz.mp4

Pre-Requirements:

  • Computer (preferably with CUDA GPU)
  • Python

    Tested on :
    Windows 11 with Python 3.11 and CUDA installed (torch v2.3), using an RTX 3060 Mobile - WORKING
    MacOS with Python 3.11.8 (with latest torch available as v2.2.2) - WORKING ( reinstallation of torch was needed - torch.cuda/torch.utils were not recongized)

Requirements:

  • Copy the repository or download and unzip the file
  • Run pip install -r requirements.txt to install the following dependencies: a) OpenCV b) Ultralitycs c) NumPy d) PyTorch

Running on GPU is not necessary, but highly advised due to speed advantage. If you want to run on GPU, follow instructions below:

Please run GPUcheck.py to see if your GPU is available and is using CUDA.
If the program reports the usage of CPU instead, you can install CUDA with the following link:
CUDA Installation Guide for Microsoft Windows
If you have CUDA installed but the program still reports CPU as the main device:

  • Uninstall torch and torchvision
  • Check what CUDA version you have using nvcc --version
  • Install PyTorch with CUDA selected from the following link: PyTorch Installation
GPUcheck.py in action



Webcam not detected?

  • The most common issue is that you might be running it in a virtual machine that does not have direct access to your webcam.

image2image.py - Image to Image

This program takes a picture and outputs an altered image.
image2image in action PRE

image2image in action POST

webcam.py - Webcam Live Preview

Showcase of live abilities to detect human pose.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages