cropAndScaleAction
An optional setting that tells the Vision algorithm how to scale an input image.
Declaration
var cropAndScaleAction: ImageCropAndScaleActionDiscussion
Scaling an image ensures that the entire image fits into the algorithm’s input image dimensions, which may require a change in aspect ratio. The default value is ImageCropAndScaleAction.scaleToFill.