opencv-python-cuda

Pre-built NVIDIA® CUDA™ enabled OpenCV packages for Python.

Download

Latest Release: 4.12.0-dev0

By downloading and using the software, you agree to fully comply with the terms and conditions of the CUDA EULA.

About opencv-python-cuda

This project provides pre-built NVIDIA® CUDA™ enabled OpenCV packages for Python that come with all batteries included. It is a fork of the official opencv-python project. Currently, packages are only produced for Windows x64, and devices must be Maxwell class (GeForce 900 series) or newer.

Once installed via pip (or another Python package manager like uv), the following should just work:

import cv2
print(cv2.cuda.getCudaEnabledDeviceCount())