This tutorial is an introduction to basic image processing.
The code has been thoroughly commented to give a brief idea of the various functions.
The image used in the code has also been provided.
The given code can also be reused with any image of your choice.
This tutorial was based on the following blog from PyImageSearch:
Adrian Rosebrock, Basic Image Manipulations in Python and OpenCV: Resizing (scaling), Rotating, and Cropping, PyImageSearch, https://www.pyimagesearch.com/2014/01/20/basic-image-manipulations-in-python-and-opencv-resizing-scaling-rotating-and-cropping/, accessed on 1 May 2021