Opencv 4.2 contribute cuda10 安装(orb-slam)

ORBSLAM opencv cuda_stereo 安装

opencv 4.2 下载

OpenCV 4.2.0:

https://github.com/opencv/opencv/releases/tag/4.2.0

OpenCV Contib 4.2.0:

https://github.com/opencv/opencv_contrib/releases/tag/4.2.0

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/lab316/Documents/DeepSLAM/SLAM/Opencv/opencv4.2_cu10_contribu -D OPENCV_EXTRA_MODULES_PATH=/home/lab316/Documents/DeepSLAM/SLAM/Opencv/opencv_contrib-4.2.0/modules -D WITH_CUDA=ON -D INSTALL_PYTHON_EXAMPLES=ON -D INSTALL_C_EXAMPLES=OFF -D OPENCV_ENABLE_NONFREE=ON -D WITH_CUDA=ON BUILD_EXAMPLES=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_GTK=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D BUILD_TIFF=ON ..   

你可能感兴趣的:(代码调试,opencv,计算机视觉,人工智能)