(Cont.) OpenPose OpenCV Caffe QT

Cont.

conda deactivate

Remember to deactivate conda before compiling

conda deactivate

caffe colas.h

在这里插入图片描述

(Cont.) OpenPose OpenCV Caffe QT_第1张图片

Path: openpose/3rdparty/caffe/include/cblas.h

Case 1:
如果没有 寻找一下 (大概率在python directory有)复制过来即可
exactly寻找命令:find $(pwd)
可显示路径

find $(pwd) -iname cblas.h

Case 2
caffe does not open blas
set parameter as open

cmake -DBLAS=Open .

cmake openpose

Scenario 2: if opencv and caffe has installed

cmake -DOpenCV_INCLUDE_DIRS=/home/........./opencv-3.4.16/build/include \
  -DOpenCV_LIBS_DIR=/home/.......l/opencv-3.4.16/build/lib \
  -DCaffe_INCLUDE_DIRS=/home/......../openpose/3rdparty/caffe/include \
  -DCaffe_LIBS=/home/......../openpose/3rdparty/caffe/lib/libcaffe.so -DBUILD_CAFFE=OFF ..

在这里插入图片描述

command directly or set in config.cmake
(Cont.) OpenPose OpenCV Caffe QT_第2张图片

OpenCV & QT reference

undefined reference to
opencv找不到对应的qt符号

在这里插入图片描述

open the QT through set the parameter as on
(Cont.) OpenPose OpenCV Caffe QT_第3张图片

cmake -DWITH_QT=ON ..

未完待续……

你可能感兴趣的:(CV,#,opencv,#,OpenPose,caffe,opencv,qt,计算机视觉)