Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/danish-jamil-01/image-resizer
- Owner: Danish-Jamil-01
- License: mit
- Created: 2024-03-06T18:26:19.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-09T23:32:37.000Z (8 months ago)
- Last Synced: 2024-03-10T22:42:22.485Z (8 months ago)
- Topics: glob, image-manipulation, image-resize, image-resizer, image-resizing, opencv, opencv-python, python
- Language: Python
- Homepage:
- Size: 22.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
- Clone the repository to your local machine:
```bash
git clone https://github.com/Danish-Jamil-01/Image-Resizer.git
```
- Navigate to the directory containing the script:
```bash
cd Image-Resizer
```
- Ensure your images are placed in the Images folder.
- Run the script:
```bash
python image_resizer.py
```
- 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).