Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danish-jamil-01/image-resizer

Resize Images with the help of OpenCV
https://github.com/danish-jamil-01/image-resizer

glob image-manipulation image-resize image-resizer image-resizing opencv opencv-python python

Last synced: 4 days ago
JSON representation

Resize Images with the help of OpenCV

Awesome Lists containing this project

README

        

# Image Resizing with OpenCV

This Python script utilizes the OpenCV library to resize images in a specified folder and saves the resized images in a new directory. It's particularly useful for batch resizing images.


## Prerequisites
- Python 3.x

- OpenCV (pip install opencv-python)


## Usage

  1. Clone the repository to your local machine:



    ```bash
    git clone https://github.com/Danish-Jamil-01/Image-Resizer.git
    ```


  2. Navigate to the directory containing the script:



    ```bash
    cd Image-Resizer
    ```


  3. Ensure your images are placed in the Images folder.

  4. Run the script:

    ```bash
    python image_resizer.py
    ```


  5. Resized images will be saved in the Resized Images folder.


## Customization

- You can modify the dimensions of the resized images by changing the parameters in the 'cv2.resize()' function.

- Adjust the input folder name ('Images') and output folder name ('Resized Images') as per your requirements.


## License

This project is licensed under the [MIT License](LICENSE).