This project is an image processing and augmentation tool designed to apply various transformations to images. Data augmentation in the context of machine learning and image processing is a technique used to enhance the size and quality of training datasets by creating modified versions of the data. This process helps in improving the robustness and effectiveness of models, especially in tasks like image recognition and classification.
- Apply multiple image augmentation techniques like flipping, brightness enhancement, contrast enhancement, sharpening, edge enhancement, gamma correction, and equalization.
- Ability to load processing parameters from a JSON file.
- Process images in bulk from a specified input directory.
- Python 3.x
- Pip package manager
- Clone the Repository
git clone https://github.com/renan-siqueira/python-data-augmentation-tool.git
cd python-data-augmentation-tool
- Create and Activate a Virtual Environment (Optional but recommended)
- For Windows:
python -m venv venv
.\venv\Scripts\activate
- For Unix or MacOS:
python3 -m venv venv
source venv/bin/activate
- Install Required Dependencies
pip install -r requirements.txt
-
Place your images in the input directory specified in the
settings/config.py
file. -
Modify the
json/params.json
file to set your desired augmentation parameters. -
Run the main script to process the images:
python main.py
- Processed images will be saved in the output directory specified in the
settings/config.py
file.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions to this project are welcome. Please adhere to this project's Code of Conduct.
- Renan Siqueira Antonio