Skip to content

4.6.0.20221107

Compare
Choose a tag to compare
@cudawarped cudawarped released this 07 Nov 12:33
· 136 commits to 4.x since this release
3725898

Winows OpenCV python wheel built against CUDA 11.8 Nvidia Video Codec SDK 11.1 and cuDNN 8.6.0.

Suitable for all devices of compute capability >= 3.5 with binary compatible code for devices of compute capability 3.5-8.6.

Nvidia GPU Computing Toolkit v11.8 is required for import cv2 to work and cuDNN 8.6.0 for accelerated inference when using the dnn module.

CMAKE_ARGS

-DWITH_CUDA=ON
-DCUDA_FAST_MATH=ON
-DWITH_CUBLAS=ON
-DCUDA_ARCH_PTX=8.6
-DWITH_NVCUVID=ON
-DWITH_NVCUVENC=ON

Windows

set CMAKE_ARGS="-DWITH_CUDA=ON -DCUDA_FAST_MATH=ON -DWITH_CUBLAS=ON -DCUDA_ARCH_PTX=8.6 -DWITH_NVCUVID=ON -DWITH_NVCUVENC=ON"
set ENABLE_CONTRIB=1
set ENABLE_ROLLING=1
python.exe setup.py bdist_wheel --py-limited-api=cp36