Opencv2: bicubic interpolation on image resizing

I would like to do image resizing using an application cv2.resize

. I would like to do bicubic interpolation on resize. How should I do it?


source to share

1 answer

img = cv2.imread('source to image here')
cv2.resize(img,fx=scaleX,fy=scaleY, interpolation = cv2.INTER_CUBIC)


I have not tested this. More on



All Articles