无法安装Ubuntu的Opencv_Contrib模块

时间:2019-04-02 12:25:34

标签: opencv3.0

我正在尝试使用OpenCV_Contrib模块安装OpenCV。我使用了以下命令:

cmake -D CMAKE_BUILD_TYPE=RELEASE \
      -D CMAKE_INSTALL_PREFIX=/usr/local \
      -D INSTALL_C_EXAMPLES=ON \
      -D INSTALL_PYTHON_EXAMPLES=ON \
      -D WITH_TBB=ON \
      -D WITH_V4L=ON \
      -D WITH_QT=ON \
      -D WITH_OPENGL=ON \
      -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \
      -D BUILD_EXAMPLES=ON ..

但是生成后,我得到了:

OpenCV modules:
--     To be built:                 cudev core cudaarithm flann hdf imgproc ml objdetect phase_unwrapping plot reg surface_matching video xphoto bgsegm cudabgsegm cudafilters cudaimgproc cudawarping dnn face freetype fuzzy img_hash imgcodecs photo shape videoio xobjdetect cudacodec highgui ts bioinspired dpm features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo cvv datasets rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc aruco optflow sfm stitching python2 python3
--     Disabled:                    js world contrib_world
--     Disabled by dependency:      -
--     Unavailable:                 java viz cnn_3dobj dnn_modern matlab

在完成安装后,它没有contrib lib!

0 个答案:

没有答案