How to get opencv-contrib binary package with CUDA

Could please tell me how you manage to have this method? The only opencv_contrib that I find available is only for cpu and if I use the opencv_python it doesn´t recognize this method.
Thanks in advance

Did you build with CUDA support?


I simply installed with pip the python packages

If you want CUDA support you need to build yourself. The contrib module contains the CUDA modules however the opencv_contrib python wheel is not built with CUDA support.

Check the manual build section if you wish to compile the bindings from source to enable additional modules such as CUDA.

there are no prebuilt opencv libs with cuda support,
you will have to build this from src (with cuda sdk installed)

this is a pity, it would be really useful