tx2 opense

it2024-12-14  16

下载代码 [openpose.git]

git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose 1

Compile & Install Caffe

cd openpose/3rdparty git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe.git caffe ./install_caffe_JetsonTX2_JetPack3.3.sh 123

Compile & Install Openpose

sudo bash scripts/ubuntu/install_openpose_JetsonTX2_JetPack3.3.sh 1

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

准备环境

cd openpose 1

export caffe 路径:

export LC_ALL=en_US.UTF-8 export LD_LIBRARY_PATH=$PWD/3rdparty/caffe/build/lib/:$LD_LIBRARY_PATH 123

运行前需复制 ~/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/ 1

或者:

./build/examples/openpose/openpose.bin -camera_resolution 640x480 -net_resolution 128x96 ./build/examples/openpose/openpose.bin -camera_resolution 640x480 -net_resolution 256x192
最新回复(0)