Flip Augmentation

Randomly flip images horizontally or vertically so your model is insensitive to subject orientation.

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