Flip Augmentation

Randomly flip (reflect) an image vertically or horizontally to help your model be insensitive to subject orientation.

  • Horizontal: Flip the image’s NumPy array in the left/right direction.

  • Vertical: Flip the image’s NumPy array in the up/down direction.

Example

Original Image
Flip Augmentation Horizontal
Flip Augmentation Vertical

Learn More

Last updated

Was this helpful?