> For the complete documentation index, see [llms.txt](https://nx.docs.scailable.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nx.docs.scailable.net/ai-manager-v6.1.4/ai-manager-plugin/configure-the-plugin/plugin-settings/resize-method.md).

# Resize Method

In nearly all cases, the video stream will not be the same resolution as the model's input. While the frame can be resized, if the aspect ratio is different there are a couple of ways to adapt the input frames to the aspect ratio the model expects:

* **Letterbox:** ( default ) The AI Manager will add black bars to the sides or the top and bottom of the frame to correct the aspect ratio for the model.
* **Stretch**: The frame will be stretched to the aspect ratio of the model. This could influence the performance of the model if the aspect ratios are significantly different.
* **Crop:** The sides or top and bottom of the frame is cut off to fit the input frame to the aspect ratio of the model. This could mean that detections on the edge of the frame will be missed.

<figure><img src="/files/SVayAN5LHtthN5zhVcPZ" alt="Model Resizing Method setting showing Crop, Stretch, and Letterbox options"><figcaption><p>The Resize Method setting, with Letterbox selected</p></figcaption></figure>

The resize method is currently only available in the AI Manager cloud available when using a custom cloud pipeline

<figure><img src="/files/JT7W9mEdwy9nsL4sAtoP" alt="Plugin settings showing AI Pipeline set to Custom with Manage Device and Reselect Runtime buttons, and Device Overview showing the active pipeline summary"><figcaption><p>The Manage Device button: available when using a custom cloud pipeline</p></figcaption></figure>
