Contents

VNImageCropAndScaleOption

Options that define how Vision crops and scales an input-image.

Declaration

enum VNImageCropAndScaleOption

Overview

Scaling an image ensures that it fits within the algorithm’s input image dimensions, which may require a change in aspect ratio. The figure below shows how each crop-and-scale option transforms the input image:

[Image]

Topics

Crop and Scale Options

Creating a Scale Option

See Also

Configuring Image Options