I built OpenCV 4.4.0 with CUDA support. I want to do different operations on an image.
First, I resize an image:
gpu_src = cv2.cuda_GpuMat() gpu_src.up