I have an image of size 720 x 1280, and I can resize it to 256 x 256 like this
import cv2
img = cv2.imread('sample_img.jpg')
img_small = cv2.resize(img, (256, 256), interpolation=cv2.INTER_CUBIC)
Say I have a bounding box in the original image (top left corner (50, 100), bottom right corner (350, 300)), how do I get the coordinates of new bounding box?