Ask Your Question

Revision history [back]

The OpenCV pre-built binaries are not built with CUDA and do not include the CUDA modules (anything in the cv::cuda namespace).

To use compile the code you found on the internet you will have to build OpenCV 4.2.0 with CUDA yourself first.