Skip to content

Files

Latest commit

 

History

History

Rescale Image

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Resize Images

To resize the width and height of the image.

Setup instructions

To set up and run the script, follow the instructions below:

  1. Install the required dependencies:

    • cv2
  2. Run the script:

    • Execute the script using a Python interpreter.

Detailed explanation of script

The script performs the following steps:

  1. Imports the necessary libraries (cv2).
  2. Take an image named 'input_image.jpg'.
  3. Execute the script, you will see the output_image.jpg file generated by the script which is resized.

Output

The script saves the generated output image as "output_image.jpg" in the current directory which contains the resized image.

Author(s)

Author: Tisha Garg