---
title: "perform(on:orientation:)"
framework: vision
role: symbol
role_heading: Instance Method
path: "vision/imageprocessingrequest/perform(on:orientation:)-85ex1"
---

# perform(on:orientation:)

Performs the request on a Core Image image and produces observations.

## Declaration

```swift
func perform(on image: CIImage, orientation: CGImagePropertyOrientation?) async throws -> Self.Result
```

## Parameters

- `image`: The input doc://com.apple.documentation/documentation/CoreImage/CIImage on which to perform the request.
- `orientation`: The orientation of the input image. Default is nil.

## Return Value

Return Value The observation — or list of observations — the request produces.

## See Also

### Performing a request

- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-80bya.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3f3f1.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-qxxx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-xspx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3hddl.md)
