Setting up OpenPose on NVIDIA Jetson TX2: Difference between revisions

m
no edit summary
m (Spalli moved page Setting up OpenPose on NVidia Jetson TX2 to Setting up OpenPose on NVIDIA Jetson TX2: as per the NVIDIA naming convention)
mNo edit summary
Line 1: Line 1:
==Introduction==
==Introduction==
This wiki is intended to give a quick and easy to understand guide to the reader for setting up OpenPose and all its dependencies on either a computer with Ubuntu 16.04 or a Nvidia Jetson TX2.
This wiki is intended to give a quick and easy to understand guide to the reader for setting up OpenPose and all its dependencies on either a computer with Ubuntu 16.04 or a NVIDIA Jetson TX2.


==Setting up OpenPose on Ubuntu 16.04 for Desktop==
==Setting up OpenPose on Ubuntu 16.04 for Desktop==
Line 10: Line 10:
'''Prerequisites'''
'''Prerequisites'''


- GPU of compute capability 3.0 or higher.
- GPU of computing capability 3.0 or higher.
- CUDA
- CUDA
- NVIDIA Graphics Drivers
- NVIDIA Graphics Drivers
Line 134: Line 134:
  $./build/examples/openpose/openpose.bin --face --hand
  $./build/examples/openpose/openpose.bin --face --hand


==Setting up OpenPose on NVidia Jetson TX2==
==Setting up OpenPose on NVIDIA Jetson TX2==
===Requirements and Dependencies===
===Requirements and Dependencies===
====Requirements====
====Requirements====
* It is required for the Jetson TX2 board to be flashed with either JetPack 3.1 or JetPack 3.3.
* It is required for the Jetson TX2 board to be flashed with either JetPack 3.1 or JetPack 3.3.
     For instructions on how to install JetPack 3.3 please refer to the [https://developer.nvidia.com/embedded/dlc/jetpack-install-guide-3_3 Nvidia JetPack 3.3 Installation Guide].
     For instructions on how to install JetPack 3.3 please refer to the [https://developer.nvidia.com/embedded/dlc/jetpack-install-guide-3_3 NVIDIA JetPack 3.3 Installation Guide].


* Please make sure to install CUDA and cuDNN before installing OpenPose.
* Please make sure to install CUDA and cuDNN before installing OpenPose.
Line 150: Line 150:


'''Note:'''
'''Note:'''
For OpenCV to be able to access the Jetson's on board camera via GStreamer, it is required to rebuild OpenCV after GStreamer has been installed.
For OpenCV to be able to access Jetson's onboard camera via GStreamer, it is required to rebuild OpenCV after GStreamer has been installed.


1- Please make sure GStreamer is already installed in the Jetson Board.
1- Please make sure GStreamer is already installed in the Jetson Board.
Line 164: Line 164:


===Installing OpenPose===
===Installing OpenPose===
Once all the requirements and dependencies are ready, installing OpenPose is really easy to instal.
Once all the requirements and dependencies are ready, installing OpenPose is really easy to install.
     $git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
     $git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
     $bash ./scripts/ubuntu/install_caffe_and_openpose_JetsonTX2_JetPack3.3.sh
     $bash ./scripts/ubuntu/install_caffe_and_openpose_JetsonTX2_JetPack3.3.sh


===Verify OpenPose Installation===
===Verify OpenPose Installation===
Testing if OpenPose was successfully installed can be one by running one of its examples.
Testing if OpenPose was successfully installed can be done by running one of its examples.
     ./build/examples/openpose/openpose.bin -camera_resolution 640x480 -net_resolution 128x96
     ./build/examples/openpose/openpose.bin -camera_resolution 640x480 -net_resolution 128x96
If OpenPose is properly installed, the example should be able to show live video from the camera with an skeleton overlay on each body on the scene.
If OpenPose is properly installed, the example should be able to show live video from the camera with a skeleton overlay on each body on the scene.


==Links==
==See Also==


1. https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md
1. https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md
Line 180: Line 180:


3. http://caffe.berkeleyvision.org/installation.html
3. http://caffe.berkeleyvision.org/installation.html
 
<br>
{{ContactUs}}
{{ContactUs}}


[[Category:Jetson]]
[[Category:GStreamer]][[Category:Jetson]][[Category:JetsonNano]][[Category:JetsonTX2]][[Category:NVIDIA Xavier]][[Category:JetsonXavierNX]]