---
title: imagesWithObjectAnnotations()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mlobjectdetector/datasource/imageswithobjectannotations()
---

# imagesWithObjectAnnotations()

Generates a data table where each row represents an image, and its columns are the image file URLs and its annotations.

## Declaration

```swift
func imagesWithObjectAnnotations() throws -> MLDataTable
```

## Return Value

Return Value An MLDataTable containing the contents of the data source.
