Skip to content

4.6.0.20221102

Compare
Choose a tag to compare
@cudawarped cudawarped released this 03 Nov 09:00
· 149 commits to 4.x since this release
3725898

Linux OpenCV python wheel built against CUDA 11.7, Nvidia Video Codec SDK 11.1 and cuDNN 8.4.1.

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.7 is required for import cv2 to work and cuDNN 8.4.1 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

Linux

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