A Real-Time Multi-Person Keypoint Detection 实时姿态检测demo跑通

来源:互联网 发布:芈姝 知乎 编辑:程序博客网 时间:2024/05/21 09:56
下载网址:
https://github.com/CMU-Perceptual-Computing-Lab/caffe_rtpose
参考网址:
https://github.com/CMU-Perceptual-Computing-Lab/openpose
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation.md#installation---demo

在Caffe_rtpose-master里中修改makefile文件,第197行LIBRARIES += opencv_core opencv_highgui opencv_imgproc后加入opencv_imgcodecs opencv_videoio。

1.装好Cuda8.0 和Cudnn5.1

2.装好opencv2.4.13

3.Ubuntu14.04/Ubuntu16.04
编译修改好的caffe(Caffe_rtpose-master).编译前改makefile文件,第一行提供了修改方法。
chmod u+x install_caffe_and_cpm.sh
./install_caffe_and_cpm.sh
这个命令就是编译caffe,会下载一些模型,可以打开install_caffe_and_cpm.sh,看看里面的内容。

4.demo运行
# Ubuntu
./build/examples/openpose/openpose.bin --video examples/media/video.avi
# With face and hands
./build/examples/openpose/openpose.bin --video examples/media/video.avi --face --hand

#Running on your webcam:
./build/examples/rtpose/rtpose.bin

运行结果:



遇到的一些问题的解决方案:
http://www.cnblogs.com/wangxiaocvpr/p/5200837.html
https://github.com/facebook/C3D/issues/253
http://blog.csdn.net/cumt08113684/article/details/53006376



阅读全文
0 0
原创粉丝点击