Fliplr
Flip/mirror input images horizontally.
Note
The default value for the probability is 1.0
, i.e. all images
will be flipped.
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 1.0
, i.e. all images
will be flipped.
API link: Flipud
Example.
Flip 50% of all images vertically: