resize

Description

This function resizes the image down to or up to the specified size.

Signature

cv2.resize(src, dsize[, dst[, fx[, fy[,interpolation]]]]) → dst

Parameters

Explanation

Resizing, by default, does only change the width and height of the image. The aspect ratio can be preserved or not, based on the requirement.

Notes


References

Created with OpenCV 4.4.0