VNImageCropAndScaleOption
Options that define how Vision crops and scales an input-image.
Declaration
enum VNImageCropAndScaleOptionOverview
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
VNImageCropAndScaleOption.centerCropVNImageCropAndScaleOption.scaleFitVNImageCropAndScaleOption.scaleFillVNImageCropAndScaleOption.scaleFitRotate90CCWVNImageCropAndScaleOption.scaleFillRotate90CCW