Setting up OpenPose on NVIDIA Jetson TX2: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 19: Line 19:
==Setting up OpenPose on Ubuntu 16.04 for Desktop==
==Setting up OpenPose on Ubuntu 16.04 for Desktop==


===<u>Requirements</u>===
===Requirements===


====cuDNN (highly recommended)====
====cuDNN (highly recommended)====
Line 64: Line 64:
An output of “Test passed!” should appear.
An output of “Test passed!” should appear.


===<u>Dependencies</u>===
===Dependencies===


====OpenCV (2.X or 3.X)====
====OpenCV (2.X or 3.X)====
Line 109: Line 109:
  $make runtest
  $make runtest


===<u>OpenPose Installation</u>===
===OpenPose Installation===


'''1.''' First clone the OpenPose repository:
'''1.''' First clone the OpenPose repository:
Line 127: Line 127:
* Press “Generate” and close CMake.
* Press “Generate” and close CMake.


===<u>OpenPose Building</u>===
===OpenPose Building===


Go into the build directory and run:
Go into the build directory and run:
Line 135: Line 135:
  $sudo make install
  $sudo make install


===<u>Verify OpenPose Installation</u>===
===Verify OpenPose Installation===


'''1.''' Go to the OpenPose directory
'''1.''' Go to the OpenPose directory
Line 150: Line 150:


==Setting up OpenPose on NVIDIA Jetson TX2==
==Setting up OpenPose on NVIDIA Jetson TX2==
===<u>Requirements and Dependencies</u>===
===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.
Line 182: Line 182:
     $./removeOpenCVSources.sh  
     $./removeOpenCVSources.sh  


===<u>Installing OpenPose</u>===
===Installing OpenPose===
Once all the requirements and dependencies are ready, installing OpenPose is really easy to install.
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


===<u>Verify OpenPose Installation</u>===
===Verify OpenPose Installation===
Testing if OpenPose was successfully installed can be done 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
Line 199: Line 199:


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


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