Get started
- Download the
.whlfile for your platform from the release above. -
Install it with
pip(or another package manager likeuv):pip install opencv_python_cuda-*-win_amd64.whl -
Verify that CUDA is working:
import cv2 print(cv2.cuda.getCudaEnabledDeviceCount())
By downloading and using the software, you agree to fully comply with the terms and conditions of the CUDA EULA.
About
opencv-python-cuda is a fork of the official opencv-python project that ships CUDA-enabled OpenCV builds with all batteries included: every required runtime library is bundled directly in the wheel, including hardware video decoding and encoding (NVDEC/NVENC).
The only system requirement is an up-to-date NVIDIA driver - the wheel links directly
against driver components, so a working driver must be installed for import cv2
to succeed.