> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/datasets/versions/dataset-versions/image-augmentation/augmentation-types/flip-augmentation.md).

# 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](https://numpy.org/) in the left/right direction.
* **Vertical:** Flip the image’s [NumPy array](https://numpy.org/) in the up/down direction.

## Example

<figure><img src="https://2252499186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVfRxNsvCh4GOyqrjmzX%2Fuploads%2Fgit-blob-2347cf534e5a3427388b281e11477df72becafab%2Fimage%20(16).png?alt=media" alt=""><figcaption><p>Original Image</p></figcaption></figure>

<figure><img src="https://2252499186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVfRxNsvCh4GOyqrjmzX%2Fuploads%2Fgit-blob-24d7af3160ff79e7aa632e953670bc2d7cf47995%2Fimage%20(17).png?alt=media" alt=""><figcaption><p>Flip Augmentation Horizontal</p></figcaption></figure>

<figure><img src="https://2252499186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVfRxNsvCh4GOyqrjmzX%2Fuploads%2Fgit-blob-de3aaa510e2532edf59b681b68aca5428fda19a4%2Fimage%20(18).png?alt=media" alt=""><figcaption><p>Flip Augmentation Vertical</p></figcaption></figure>

## Learn More

* [See how Flip Augmentation Improves Model Performance](https://blog.roboflow.com/how-flip-augmentation-improves-model-performance/)
