openpose compilation tells undefined reference to cv::VideoCapture::VideoCapture(cv::String const&)

前端 未结 2 1317
遇见更好的自我
遇见更好的自我 2020-12-21 22:09

I have comipled caffe with GPU disabled,then

cp caffe/build/Makefile openpose/Makefile.conf

run

 make all -j 6
2条回答
  •  轮回少年
    2020-12-21 22:43

    With CMake installer (recommended one):

    This error should never occur with the CMake installer, so I would recommend you to use the recommended installer.

    With Makefile installer (deprecated one):

    I have compiled caffe with GPU disabled: You cannot disable GPU for OpenPose (nor the Caffe that OpenPose will use). I am sorry but the CPU code is not finished at all (and not expected to be finished at the moment given the very slow speed). You will have to use CUDA + cuDNN.

    In order to fix the OpenCV not found problem, you need to enable in both Makefile.conf files (the one from OpenPose and Caffe), the use OpenCV 3 flag.

提交回复
热议问题