<!--
{
  "availability" : [
    "macOS: 10.15.0 - 13.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLObjectDetector/evaluation(on:imageColumn:annotationColumn:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML16MLObjectDetectorV10evaluation2on11imageColumn010annotationH0AA0cD7MetricsVAA11MLDataTableV_S2StF"
  },
  "title" : "evaluation(on:imageColumn:annotationColumn:)"
}
-->

# evaluation(on:imageColumn:annotationColumn:)

Generates metrics by evaluating the object detector’s performance using annotated images in a data table.

```
func evaluation(on annotatedImages: MLDataTable, imageColumn: String, annotationColumn: String) -> MLObjectDetectorMetrics
```

## Parameters

`annotatedImages`

An [`MLDataTable`](/documentation/CreateML/MLDataTable) instance that contains a set of images with object annotations.

`imageColumn`

The name of the column in the data table that contains the image file URLs.

`annotationColumn`

The name of the column in the data table that contains the object annotations.

## Return Value

An [`MLObjectDetectorMetrics`](/documentation/CreateML/MLObjectDetectorMetrics) instance that represents the object detector’s performance on the
annotated images.

---

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)