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

Added multiple image augmentation methods #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kvanuy
Copy link
Contributor

@kvanuy kvanuy commented Jun 6, 2024

Description

Multiple image augmentation methods were implemented: Gaussian blur, directional blur, contrast, brightness, saturation, exposure, random rotation, and random flip. Comments have been included to try to explain the method implemented. Unique ids are generated for every new image made based on time stamps down to the microseconds because the images are generated so fast.

Tasks

Implemented and tested the creation of images for all the methods independently. I have not tested the result of the pipeline when all are included.

Test Plan

I verified random rotation visually by drawing a circle for the new calculated coordinates on the rotated image and checked for alignment. I did not run that through flip because flip is more simple than random rotation. The annotated circles are not saved on the photos; they only served for debugging purposes

A few photo examples;
0191_3_754767
0191_3_605901

#18 should be solved by this PR

To run the sample pipeline, you can run data_augmentation.py by itself. Currently it only has directional and rotational in its pipeline list.

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 this pull request may close these issues.

1 participant