{% extends "base.html" %} {% block title %} resize {% endblock %} {% block description %}

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

{% endblock %} {% block signature %}
cv2.resize(src, dsize[, dst[, fx[, fy[,interpolation]]]]) → dst
{% endblock %} {% block parameters %} {% endblock %} {% block notes %} {% endblock %} {% block 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.

{% endblock %} {% block references %} {% endblock %}