How can i resize image to bounding box?
I mean dynamically set (xmin, ymin, xmax, ymax) values to all images, for future model training. I think transforms.Resize() can help me, but Resize() only takes two arguments and its not accurate to bounding box