TX2 运行 OpenPose

下载代码 [openpose.git]
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
Compile & Install Caffe
cd openpose/3rdparty
git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe.git  caffe
./install_caffe_JetsonTX2_JetPack3.3.sh
Compile & Install Openpose
sudo bash scripts/ubuntu/install_openpose_JetsonTX2_JetPack3.3.sh

编译Caffe、Openpose、下载Caffe models,运行完成后会在./build_release 目录中生成相关运行文件,如: example/openpose/openpose.bin

准备环境
cd openpose

export caffe 路径:

export LC_ALL=en_US.UTF-8

export LD_LIBRARY_PATH=$PWD/3rdparty/caffe/build/lib/:$LD_LIBRARY_PATH

运行前需复制 ~/models 到 openpose.bin 目录,否则会提示:
·
Prototxt file not found: models/pose/body_25/pose_deploy.prototxt

运行openpose
./build/examples/openpose/openpose.bin --video ./examples/media/video.avi --model_folder ./models/

或者:

./build/examples/openpose/openpose.bin -camera_resolution 640x480 -net_resolution 128x96

你可能感兴趣的:(TX2)