How to scale or resize images in OpenCV?

In scaling we can modify the size of images. In scaling we can increase or decrease the size of image. In OpenCV we can resize image by cv2.resize() method. We can specify size of the images manually or by the scaling factor. OpenCV provide various interpolation methods.