---
title: MLObjectDetector.AnnotationType
framework: createml
role: symbol
role_heading: Enumeration
path: createml/mlobjectdetector/annotationtype
---

# MLObjectDetector.AnnotationType

The available types of image annotations.

## Declaration

```swift
enum AnnotationType
```

## Mentioned in

Building an object detector data source

## Overview

Overview Use MLObjectDetector.AnnotationType to tell Create ML how to interpret your object annotations.

## Topics

### Bounding box annotations

- [MLObjectDetector.AnnotationType.boundingBox(units:origin:anchor:)](createml/mlobjectdetector/annotationtype/boundingbox(units:origin:anchor:).md)
- [MLBoundingBoxUnits](createml/mlboundingboxunits.md)
- [MLBoundingBoxAnchor](createml/mlboundingboxanchor.md)
- [MLBoundingBoxCoordinatesOrigin](createml/mlboundingboxcoordinatesorigin.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Supporting types

- [MLObjectDetector.DataSource](createml/mlobjectdetector/datasource.md)
- [MLObjectDetector.ModelParameters](createml/mlobjectdetector/modelparameters-swift.struct.md)
