Skip to content

his script came from the need to improve the quality of images in a simple and automated way, especially useful for those dealing with a large number of images. Whether it's for a machine learning model or for a personal project, this script can be your tool to enhance the quality of any image.

License

Notifications You must be signed in to change notification settings

v-k-dev/python-image-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Image Enhancement Script

Python Badge OpenCV Badge PIL Badge Numpy Badge tqdm Badge

This Python script, created by Vell Void, enhances image sharpness, contrast, and applies Gaussian blur using the OpenCV and PIL libraries. This can be used to preprocess images for machine learning models, for photo editing, or any other use where image quality needs to be enhanced programmatically.

πŸš€ Idea behind this script

This script came from the need to improve the quality of images in a simple and automated way, especially useful for those dealing with a large number of images. Whether it's for a machine learning model or for a personal project, this script can be your tool to enhance the quality of any image.

πŸ“ Requirements

  • Python 3.6+. You can download it here
  • OpenCV 4.x
  • PIL (Python Imaging Library) 7.x
  • Numpy 1.19.x
  • tqdm (latest)

πŸ›  Installation and Usage

Usage

Run the script:

bash

python image_enhancer.py

You can modify the script to process your own directory by changing the parameters in the process_directory() function.

πŸ”„ Modification Feel free to modify the script as per your requirement. You can change parameters like sharpness, contrast, and blur as per your need in the process_directory() function. Additionally, you can add more features and enhancements as per your requirements.

🀝 Contributing Contributions are welcomed! For major changes, please open an issue first to discuss what you would like to change.

πŸ“„ License

This project is licensed under the [GNU Affero General Public License v3.0 (AGPL-3.0)](https://www.gnu.org/licenses

And remember, a picture is worth a thousand words, but an enhanced picture...

  1. Download or clone this repository using:
git clone https://github.com/VellVoid/image-enhancement-script.git 

About

his script came from the need to improve the quality of images in a simple and automated way, especially useful for those dealing with a large number of images. Whether it's for a machine learning model or for a personal project, this script can be your tool to enhance the quality of any image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages