openpose 安装与测试

sudo apt-get install cmake-qt-gui
sudo apt-get install libopencv-dev
sudo apt install protobuf-compiler libgoogle-glog-dev
sudo apt install libboost-all-dev libhdf5-dev libatlas-base-dev
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
cd openpose/
git submodule update --init --recursive --remote

mkdir build/
cd build/
cmake-gui ..
如果您的计算机没有任何 GPU,请将GPU_MODE标志设置为CPU_ONLY
make -j`nproc`
在没有姿势的情况下渲染脸部和手部
# CPU rendering (faster)
./build/examples/openpose/openpose.bin --render_pose 0 --face --face_render 1 --hand --hand_render 1
# GPU rendering
./build/examples/openpose/openpose.bin --render_pose 0 --face --face_render 2 --hand --hand_render 2


视频:
./build/examples/openpose/openpose.bin --video examples/media/video.avi

摄像头:
./build/examples/openpose/openpose.bin --face --hand

图片:
./build/examples/openpose/openpose.bin --image_dir examples/media/ --face --hand

你可能感兴趣的:(openpose)