<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLImageClassifierV24ImageAugmentationOptionsV"
  },
  "title" : "MLImageClassifier.ImageAugmentationOptions"
}
-->

# MLImageClassifier.ImageAugmentationOptions

The variations that the training process can use to generate more training data from the training data you
provide.

```
struct ImageAugmentationOptions
```

## Overview

Augmentation generates new images from the training data you supply to increase the amount of training data
available to the model.

See [Improving Your Model’s Accuracy](/documentation/CreateML/improving-your-model-s-accuracy) for a discussion about when to use augmentation.

## Topics

### Selecting augmentation options

[`static let crop: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/crop)

An option for augmenting training data by creating cropped versions of each image.

[`static let rotation: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/rotation)

An option for augmenting training data by rotating each image.

[`static let blur: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/blur)

An option for augmenting training data by blurring each image.

[`static let exposure: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/exposure)

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

[`static let noise: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/noise)

An option for augmenting training data by adding random amounts of noise to each image.

[`static let flip: MLImageClassifier.ImageAugmentationOptions`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/flip)

An option for augmenting training data by flipping each image along the horizontal and vertical axes.

### Creating augmentation options

[`init(rawValue: Int)`](/documentation/CreateML/MLImageClassifier/ImageAugmentationOptions/init(rawValue:))

Creates an augmentation set with the given raw value.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

---

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)