Steps to reproduce:
- Load an image with an aspect ratio of 16 to 9
- call
resized_image = imutils.resize(image, width=400, height=300)
Expected Behavior:
resized_image should have a resolution of 400 by 300 pixels
Actual Behavior:
resized_image has a resolution of 400 by 255 pixels
Steps to reproduce:
resized_image = imutils.resize(image, width=400, height=300)Expected Behavior:
resized_imageshould have a resolution of 400 by 300 pixelsActual Behavior:
resized_imagehas a resolution of 400 by 255 pixels