今天安装了openpose,发现安装过程挺坎坷的,还把我以前的环境搞乱了,但是梳理了一下:
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose
git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe
git clone https://github.com/pybind/pybind11.git
然后把caffe和pybind11放到openpose的3rdparty目录下。
跳转到openpose目录,然后执行下面的目录:
mkdir build
cmake-gui
按照截图的方式选定目录,然后点击configure和generate,中间会弹出框,默认确定就行。
安装一下opencv
sudo apt-get install libopencv-dev
编译
make -j8
执行通过后,就可以测试:
./build/examples/openpose/openpose.bin --video ./examples/media/video.avi
参考文献
[1].ubuntu18.04+cuda10+cudnn7+openpose+st-gcn 安装. https://mp.weixin.qq.com/s/a7KDj_12VJfRgWrhp2FxdA