Skip to content

This Python script performs data augmentation on images in a specified input directory and saves the augmented images to a specified output directory.

License

Notifications You must be signed in to change notification settings

sangoi-exe/das-dataAugmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

das-dataAugmentation - Python Image Data Augmentation Script

This Python script performs data augmentation on images in a specified input directory and saves the augmented images to a specified output directory. The following types of data augmentation are performed on each image:

  • Random rotations
  • Random crops
  • Random brightness adjustments
  • Random contrast adjustments

Dependencies

This script requires the following Python packages to be installed:

  • OpenCV (cv2)
  • NumPy
  • Tkinter (included with Python)

Usage

  1. Run the script in a Python environment that has the required dependencies installed.
  2. Select the input directory containing the images to be augmented.
  3. Select the output directory where the augmented images will be saved.
  4. Enter the number of rotations, random crops, brightness adjustments, and contrast adjustments to be performed on each image.
  5. Wait for the script to complete.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

CC BY-NC-SA 4.0

About

This Python script performs data augmentation on images in a specified input directory and saves the augmented images to a specified output directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages