cropAndScale
The option you use to crop and scale an image when creating an image feature value.
Declaration
static let cropAndScale: MLFeatureValue.ImageOptionDiscussion
Use this value as a dictionary key for the options argument of an image-based MLFeatureValue initializer. Pair this key with a VNImageCropAndScaleOption value in the initializer’s options dictionary. For example, see init(cgImage:pixelsWide:pixelsHigh:pixelFormatType:options:).