Open ogencoglu opened 5 years ago
Scaling scales the image while keeping the dimensions constant. If you were to scale a image 2x, you will see a zooming effect with some part of the image expelled from the frame. Now I think I should rename it to zooming. The dimensions don't change.
Resize is a case where the actual dimensions of the image change say (1920 x 720) -> (416,416)
It looks like the Resize function doesn't allow you to change the aspect ratio though:
It looks like it takes a tuple of integers but letterbox_image is expecting a single integer (despite the docstring to the contrary):
What is the difference between resizing and scaling? Seems like scaling is just a special case of resizing.