Contents

rotation

An option for augmenting training data by rotating each image.

Declaration

static let rotation: MLImageClassifier.ImageAugmentationOptions

Discussion

Use this option to tell the image classifier to augment your training data set by rotating the original images.

[Image]

The classifier creates four new images with random rotation angles for each original.

See Also

Selecting augmentation options