This is a Docker container running openpose.
OpenPose represents the first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints (in total 135 keypoints) on single images.
- Docker CE 18.x
- docker-compose 1.23.x
- Nvidia Docker
Please refer to Offical docker documentation to install docker for Ubuntu 18.04
Official docker compose installation
Official repository
# Add the package repositories
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
# Install nvidia-docker2 and reload the Docker daemon configuration
sudo apt-get install -y nvidia-docker2
sudo pkill -SIGHUP dockerd
In your host machine type the following:
xhost +
Now we are ready to proceed
git clone [email protected]:VertexStudio/simbotic-openpose.git
Inside the recent clone repo type:
docker-compose up -d
This will build and start the container.
Now we need to enter:
docker exec -it simbotic-openpose bash
To support webcam through the container the device must be on /dev/video0
otherwise you must change the devices
to point to actual webcam.
docker exec -ti simbotic-openpose ./build/examples/simbotic/simbotic-openpose.bin
This will execute a binary using webcam and print the detected keypoints on console.