Fliplr
Flip/mirror input images horizontally.
Note
The default value for the probability is 0.0.
So, to flip all input image use Fliplr(1.0) and not just
Fliplr().
API link: Fliplr
Example.
Flip 50% of all images horizontally:
import imgaug.augmenters as iaa
aug = iaa.Fliplr(0.5)
Flipud
Flip/mirror input images vertically.
Note
The default value for the probability is 0.0.
So, to flip all input image use Flipud(1.0) and not just
Flipud().
API link: Flipud
Example.
Flip 50% of all images vertically: