Skip to content

opencv-python-cuda 4.12.0-dev2

Pre-release
Pre-release

Choose a tag to compare

@Breakthrough Breakthrough released this 08 Jun 07:17
· 1 commit to 4.x-cuda since this release

Preview build with CUDA hardware video encode/decode support and updated NVIDIA dependencies.

Installation

pip install opencv_python_cuda-4.12.0+92b5dbe-cp37-abi3-win_amd64.whl

Make sure to uninstall any existing OpenCV packages first. This package can be uninstalled via pip uninstall opencv-python-cuda.

Build/Version Information

  • Build Run
  • OpenCV 4.12.0 with all features excluding non-free
  • Nvidia CUDA Toolkit v12.9.1
  • Nvidia CuDNN 9.18.1.3
  • Nvidia Video Codec SDK 13.0.37 (hardware video decode/encode)
  • Device compatibility: Maxwell through Blackwell (SASS: 5.0, 5.2, 6.0, 6.1, 7.0, 7.5, 8.0, 8.6, 8.9, 9.0, 10.0; PTX: 10.0)

System Requirements

  • Windows 7 64-bit or newer
  • Python 3.7 or newer
  • Nvidia GPU that is Maxwell-class or newer (GeForce 900-series)
  • Nvidia display driver must be installed: cv2 links against nvcuvid.dll / nvEncodeAPI64.dll, which ship with the driver, so import cv2 fails on machines without it

Changes from dev1

  • Fixed NVDEC/NVENC hardware video decode/encode: the Video Codec SDK was not detected at build time in earlier builds, so cv2.cudacodec raised "functionality is disabled" at runtime
  • Switch compression to DEFLATE instead of LZMA (see astral-sh/uv#13192)

Changes from dev0

  • Added NVIDIA Video Codec SDK support for hardware video decode/encode
  • Updated CUDA Toolkit from 12.4 to 12.9.1
  • Updated cuDNN from 8.9.7.29 to 9.18.1.3
  • Extended GPU architecture support through Blackwell (compute capability 10.0)
  • Removed unused CUDA DLLs from wheel (~500 MB smaller)