Closed rubyruins closed 3 years ago
Creates connection between filters.py and Augmentations.py in such a way that user should be able to apply filters on augmented images and vice versa
Fixes #92
Running the following code to apply augmentations on filters
filters = ["median", "laplacian"] flow.applyFilters( filters ) operations = {'flipped': 'horizontal', 'rotated': 90, 'apply_on_filters': ['laplacian']} flow.applyAugmentation( operations )
Rotatedlaplacianapple_2 and Rotatedlaplacianapple_3
Running the following code to apply filters on augmentations
operations = {'flipped': 'horizontal', 'rotated': 90} flow.applyAugmentation( operations ) filters = ["median", "laplacian", {'apply_on_augmentation': ['rotated']}] flow.applyFilters( filters )
MedianRotatedorange_2 and MedianRotatedorange_3
Description:
Creates connection between filters.py and Augmentations.py in such a way that user should be able to apply filters on augmented images and vice versa
Fixes #92
Type of change:
Screenshots / Video:
Running the following code to apply augmentations on filters
Rotatedlaplacianapple_2 and Rotatedlaplacianapple_3
Running the following code to apply filters on augmentations
MedianRotatedorange_2 and MedianRotatedorange_3