Contents

exposure

An option for augmenting training data by lightening or darkening each image.

Declaration

static let exposure: MLImageClassifier.ImageAugmentationOptions

Discussion

Use this option to tell the image classifier to augment your training data set by creating darker or lighter versions of the original images.

[Image]

The classifier creates four new images with random exposure variations for each original.

See Also

Selecting augmentation options