| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Pre-built NVIDIA® CUDA™ enabled OpenCV wheels for Python - batteries included.
This is a fork of the official opencv-python project that ships fully standalone CUDA-enabled OpenCV builds. No CUDA Toolkit, cuDNN, or other NVIDIA SDK needs to be installed - every required runtime library is bundled in the wheel, including hardware video decoding and encoding (NVDEC/NVENC). Once installed, the following should just work:
import cv2
print(cv2.cuda.getCudaEnabledDeviceCount())See the project homepage for more documentation.
Download the latest opencv_python_cuda-*-win_amd64.whl from the Releases page.
Install it with pip (or another package manager like uv):
pip install opencv_python_cuda-<version>-win_amd64.whl
Import the cv2 package as usual.
Note
If you have a previous manually-installed (not via pip) version of OpenCV (e.g. a cv2 module in the root of Python's site-packages), remove it before installing to avoid conflicts. Also make sure your pip is up to date (19.3 is the minimum supported version): pip install --upgrade pip.
Non-free algorithms (e.g. SURF) are excluded - see the FAQ below.
For general OpenCV questions, refer to the FAQ in the upstream project.
Q: Why can't I pip install opencv-python-cuda from PyPI?
A: The package is far too large for PyPI and exceeds its project size limits. Download wheels from the Releases page instead.
Q: Why does import cv2 fail with "DLL load failed"?
A: The wheel requires an NVIDIA driver to be installed. On machines without one (or with a very old driver), the bundled CUDA and video codec libraries cannot be loaded.
Q: Why are non-free algorithms excluded?
A: Non-free algorithms such as SURF are patented and cannot be distributed as built binaries. Note that SIFT is included, due to patent expiration as of OpenCV 4.3.0 / 3.4.10. See opencv-python#126 for more info.
The opencv-python-cuda package (i.e. the scripts in this repository) is available under the MIT license.
By downloading and using the software, you agree to fully comply with the terms and conditions of the CUDA EULA.
| Back | FazBrowse Home | New Git URL |