Ask Your Question

Revision history [back]

How to install opencv/python in windows from source

Hi, I want to install opencv library to python in windows support cuda. I download source opencv, cuda and cudnn library and microsoft visual studio 2017 ( cmake and python install ). My build commands:

go to source directory opencv

mkdir build

cd build

cmake .. -G "Visual Studio 15 2017 Win64" -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D WITH_CUBLAS=1 -D CUDA_FAST_MATH=1 -D BUILD_opencv_python3=On -DCMAKE_PREFIX_PATH="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0" ../

msbuild opencv.sln /t:Build /p:Configuration=Release /v:m

what to do next? How to install python library ?