GithubAdSeratowicz.mp4
- 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)
- 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
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.
This program takes a picture and outputs an altered image.
Showcase of live abilities to detect human pose.