> 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/90o-rotate-augmentation.md).

# 90° Rotate Augmentation

Randomly rotate images 90 or 180 degrees so your model is insensitive to camera orientation.

90° Rotate turns an image, along with its annotations, a quarter or half turn. Your model learns to recognize objects whether the image was taken in portrait, landscape, or upside down.

## Settings

Select one or more rotations:

* "CW" ("Clockwise" on the "Create New Version" page): rotates the image 90° clockwise.
* "CCW" ("Counter-Clockwise"): rotates the image 90° counter-clockwise.
* "180°" ("Upside Down"): rotates the image 180°.

Each augmented image gets one of the rotations you selected, or no rotation, chosen at random with equal odds. 90° Rotate is not available for keypoint detection.

## When to Use

* Orientation does not matter for your objects (ex: images taken from above, microscopy, parts on a table).
* Images may arrive in portrait or landscape orientation.

## When Not to Use

* Objects always appear upright in production (ex: street scenes, people standing, text). A rotated street scene teaches the model something it never sees.
* Orientation carries meaning (ex: an arrow pointing up versus right).

For small tilts instead of quarter turns, use [Rotation](https://docs.roboflow.com/datasets/versions/dataset-versions/image-augmentation/augmentation-types/rotation-augmentation.md).

## Example

<figure><img src="https://2252499186-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVfRxNsvCh4GOyqrjmzX%2Fuploads%2Fgit-blob-16d0f2b26944b682d3e27381f8a2a0facb4e9571%2Faugmentation-example-90-rotate.png?alt=media" alt="One image with person and box annotations, and its CW, CCW, and 180° rotations with the boxes rotated to match"><figcaption><p>Example: each rotation you can select. CW and CCW swap the width and height, and the boxes rotate with the 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-a1684e01fdb97bbbe887e299114fc07ee9da587b%2Faugmentation-90-rotate-modal.png?alt=media" alt="The 90 degree Rotate modal with Clockwise and Counter-Clockwise checked, Upside Down unchecked, and clockwise and counter-clockwise previews"><figcaption><p>The "Create New Version" page names the options "Clockwise", "Counter-Clockwise", and "Upside Down".</p></figcaption></figure>
