<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/exposure",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLImageClassifierV24ImageAugmentationOptionsV8exposureAEvpZ"
  },
  "title" : "exposure"
}
-->

# exposure

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

```
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.

![Diagram showing how the original image results in four variants with different exposures.](images/com.apple.createml/MLImageClassifier-ImageAugmentationOptions-exposure-1@2x.png)

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)