Ask Your Question

Revision history [back]

It sounds like you are trying to build opencv 4 using instructions for opencv 3. In opencv 4 the cuda modules were moved to the contrib repo. I would follow a more up to date guide like Accelerating OpenCV 4 with CUDA if i were you and use CUDA 10. The guide also has instructions for accelerating the build with ninja and including bindings for accessing the opencv cuda modules from within python.

It sounds like you Those instructions are trying to build opencv 4 using instructions for opencv 3. In opencv 4 the cuda modules were moved to the contrib repo. really old, I would follow a more up to date guide like Accelerating OpenCV 4 with CUDA if i were you and use CUDA 10. The That guide also has instructions for accelerating the build with ninja and including bindings for accessing the opencv cuda modules from within python.

Those instructions are really old, I would follow a more up to date guide like Accelerating OpenCV 4 4.2.0 with CUDA if i were you and use CUDA 10. That guide also has instructions for accelerating the build with ninja and including bindings for accessing the opencv cuda modules from within python.