Created
January 26, 2019 15:49
-
-
Save rfdickerson/841697d238d5f89d148e271914b10196 to your computer and use it in GitHub Desktop.
Build OpenCV with CUDA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | |
-D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D INSTALL_PYTHON_EXAMPLES=ON \ | |
-D WITH_CUDA=ON \ | |
-D ENABLE_FAST_MATH=1 \ | |
-D CUDA_FAST_MATH=1 \ | |
-D WITH_CUBLAS=1 \ | |
-D INSTALL_C_EXAMPLES=OFF \ | |
-D OPENCV_ENABLE_NONFREE=ON \ | |
-D OPENCV_EXTRA_MODULES_PATH=~/Libraries/opencv_contrib-4.0.1/modules \ | |
-D PYTHON_EXECUTABLE=/home/rfdickerson/anaconda3/envs/bert/bin/python \ | |
-D BUILD_EXAMPLES=ON .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yields: