For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resize Method

The three ways a video frame can be adapted to a model's expected aspect ratio.

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.

Model Resizing Method setting showing Crop, Stretch, and Letterbox options
The Resize Method setting, with Letterbox selected

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

Plugin settings showing AI Pipeline set to Custom with Manage Device and Reselect Runtime buttons, and Device Overview showing the active pipeline summary
The Manage Device button: available when using a custom cloud pipeline

Last updated