crop
An option for augmenting training data by creating cropped versions of each image.
Declaration
static let crop: MLImageClassifier.ImageAugmentationOptionsDiscussion
Use this option to tell the image classifier to augment your training data set by creating cropped versions of the original images.
[Image]
The classifier creates four new images with random amounts of crop for each original.