Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a python script for doing image augmentation #112

Closed
yashk2000 opened this issue Jun 14, 2020 · 0 comments · Fixed by #113
Closed

Create a python script for doing image augmentation #112

yashk2000 opened this issue Jun 14, 2020 · 0 comments · Fixed by #113

Comments

@yashk2000
Copy link
Collaborator

yashk2000 commented Jun 14, 2020

Current Status

We have a Jupyter Notebook that contains the augmentation techniques. But this notebook only processes only one image at a time and the path to the image is also hardcoded. Also, each piece of code has to executed individually. While this is good for visualizing what is happening, it is too cumbersome to change the paths and run each segment of the code for around a 100 images or so when we'll be creating a dataset.

Work done

I have made a python script that just needs an input folder and an output folder. It will read all the images in the input folder, perform all the augmentation techniques on each image and store the images in the output folder.

For this a user just needs to enter the following command:

python GenerateImages.py -i [path to input folder] -o [path to output folder]

I also plan to make the Jupyter notebook better by allowing user to at least give an input image on their own rather than a hardcoded path so that the process of visualizing the changes is also improved.

yashk2000 added a commit to yashk2000/ppi-vision that referenced this issue Jun 14, 2020
yashk2000 added a commit that referenced this issue Jun 15, 2020
fix #112 Create python script for augmentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant