Ask Your Question

Revision history [back]

resize in cuda from python.

Hello, I am trying to use resize in cuda from python with 4.1.1 compiled with cuda. cv2.cuda.remap is already working.

sdLum is an image

    lumGPU0 = cv2.cuda_GpuMat()
    lumGPU = cv2.cuda_GpuMat()
    cv2.cuda.resize(lumGPU0,lumGPU,0, imgHDX, imgHDY, interpolation=cv2.INTER_CUBIC)

I get this runtime error : TypeError: Expected Ptr<cv::umat> for argument '%s'

Has anybody succedeed in using cv2.cuda.resize ?

Thanks in advance.