---
title: crop
framework: createml
role: symbol
role_heading: Type Property
path: createml/mlimageclassifier/imageaugmentationoptions/crop
---

# crop

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

## Declaration

```swift
static let crop: MLImageClassifier.ImageAugmentationOptions
```

## Discussion

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

The classifier creates four new images with random amounts of crop for each original.

## See Also

### Selecting augmentation options

- [rotation](createml/mlimageclassifier/imageaugmentationoptions/rotation.md)
- [blur](createml/mlimageclassifier/imageaugmentationoptions/blur.md)
- [exposure](createml/mlimageclassifier/imageaugmentationoptions/exposure.md)
- [noise](createml/mlimageclassifier/imageaugmentationoptions/noise.md)
- [flip](createml/mlimageclassifier/imageaugmentationoptions/flip.md)
