Code QuizIntermediate Resizing with OpenCV
A resize call passes the target size in the wrong dimension order.
Codepython
import cv2
new_width, new_height = 640, 480
resized = cv2.resize(img, (new_height, new_width),
interpolation=cv2.INTER_LINEAR)What is the bug in this resize call?