for Pascal GPUs this version number should be 6.1 ) When cMake does not show any errors in red fonts, check the cMake output for the corresponding version number at CUDA, the cuDNN for CUDNN: YES (Ver X.X.X), and CUDA_ARCH_BIN for the graphics card’s arithmetic version.If cMake prompts you to check cMakeDownloadLog.txt during the build process, you should follow this article to resolve the problem. For users in China, cMake will automatically download some content from GitHub during the build process, but this may not be possible due to the GFW issues in China.If some of the above options don’t appear at first, click the configure button for the first time and then search for them. Once you’ve configured it as described above, click the configure button again.For Pascal GPUs, it should be 6.1 delete other version and only keep your GPU's computing ability. OPENCV_EXTRA_MODULES_PATH: Select "modules" folder under "opencv_contrib" directoryĬUDA_ARCH_BIN: Choose your GPU's computing ability, e.g. Adjust these configurations in CMake as follows:ĭISABLE: All contents after searching "python"ĭISABLE: All contents after searching "java"ĭISABLE: All contents after searching "test".Click “Configure”, select Visual Studio 2019 and 圆4, click “Yes”. Open CMake, select the source and build path accoring to your opencv directory. new a folder named 圆4_cuda_build under D:\opencv\build\.Extract the opencv-contrib.zip and puts it under D:\opencv\sources\ The reason why we need to download this source is that OpenCV puts some new features into opencv-contrib, such as CUDA computation support. Go to OpenCV Contrib Release Tags and download OpenCV Contrib source code according to your OpenCV Version. exe programme of OpenCV Windows in the OpenCV extracted directory. Or you can find a folder called “sources” after you run the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |