<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/ImageProcessingRequest/perform(on:orientation:)-85ex1",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision22ImageProcessingRequestP7perform2on11orientation6ResultQzSo7CIImageC_So26CGImagePropertyOrientationVSgtYaKF"
  },
  "title" : "perform(on:orientation:)"
}
-->

# perform(on:orientation:)

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

```
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

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

## Discussion

---

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)