VNImageCropAndScaleOption.centerCrop
An option that scales the image to fit its shorter side within the input dimensions, while preserving its aspect ratio, and center-crops the image.
Declaration
case centerCropAn option that scales the image to fit its shorter side within the input dimensions, while preserving its aspect ratio, and center-crops the image.
case centerCrop