# Shear Augmentation

Randomly distort an image across its horizontal or vertical axis. This adds variability to perspective to help your model be more resilient to camera and subject pitch and yaw.

* Horizontal: Select the highest amount an image will be randomly sheared across its x-axis.
* Vertical: Select the highest amount an image will be randomly sheared across its y-axis.

## Example

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

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2Fgit-blob-047651845313e13c29296b1d9ea3402f09f78cdb%2Fimage.png?alt=media" alt=""><figcaption><p>Shear Augmentation with 10° X-axis and 10° Y-axis Shear</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/datasets/dataset-versions/image-augmentation/augmentation-types/shear-augmentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
