This script is designed to augment an existing dataset of images of maize plants with symptoms of various diseases. The augmentation is performed using the imgaug library in Python.
- Python 3.x
- imgaug library
- Numpy
- OpenCV
- Clone or download the repository
- Place the original dataset in the
data
folder. - Run the script using command : python augment_images.py
- The augmented images will be saved in the
augmented_data
folder.
- Flipping (horizontal and vertical)
- Rotation
- Scaling
- Shearing
- Changing Brightness and Contrast
- Make sure to modify the path to the dataset in the script according to the location on your local machine.
- The script can be easily modified to perform different types of augmentations or to change the augmentation parameters as per requirements.