Pose Demo container showcasing pose detection running on Jetson.
Pose Demo Container for Jetson
The pose demo container contains a demo of running pose detection models on Jetson. The container supports running pose detection on a video file input. The model used in this container is a Resnet-18 model which was originally in TensorFlow and was optimized for running on Jetson using TensorRT.
Note that the pose demo currently has TensorRT engine files built for Jetson AGX Xavier and Jetson Xavier NX and hence this demo can be run on Jetson AGX Xavier or Jetson Xavier NX only.
The container requires JetPack 4.4 Developer Preview (L4T R32.4.2)
Running Pose Detection Demo
Prerequisites
Ensure these prerequisites are available on your system:
-
Jetson device running L4T r32.4.2
-
JetPack 4.4 Developer Preview (DP)
Pulling the container
First, pull the container image:
sudo docker pull nvcr.io/nvidia/jetson-pose:r32.4.2
Running the container
To run pose detection on a built-in video, run the following commands:
sudo xhost +si:localuser:root
sudo docker run --runtime nvidia -it --rm --network host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/jetson-pose:r32.4.2 python3 run_pose_pipeline.py /videos/pose_video.mp4 --loop
To run pose detection on a your own video (.h264 format), run the following commands (you would need -v option to mount your video directory)
sudo xhost +si:localuser:root
sudo docker run --runtime nvidia -it --rm --network host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix -v /my_video_directory/:/userVideos/ nvcr.io/nvidia/jetson-pose:r32.4.2 python3 run_pose_pipeline.py /userVideos/my_video_name --loop
Replace my_video_directory with the full path to the directory where you have saved your video and replace my_video_name with the name of your video.
Running the container as part of cloud native demo on Jetson
Cloud native demo on Jetson showcases how Jetson is bringing cloud native methodolgoies like containarizaton to the edge. The demo is built around the example use case of AI applications for service robots and show cases people detection, pose detection, gaze detection and natural language processing all running simultaneously as containers on Jetson.
Please follow for instructions in https://github.com/NVIDIA-AI-IOT/jetson-cloudnative-demo gitlab on running People detection demo container as part of the cloud native demo.
License
The pose demo container includes various software packages with their respective licenses included within the container.
Getting Help & Support
If you have any questions or need help, please visit the Jetson Developer Forums.