<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNSequenceRequestHandler/perform(_:on:orientation:)-3gcmv",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNSequenceRequestHandler(im)performRequests:onCGImage:orientation:error:"
  },
  "title" : "perform(_:on:orientation:)"
}
-->

# perform(_:on:orientation:)

Schedules one or more Vision requests to be performed on a Core Graphics image with known orientation.

```
func perform(_ requests: [VNRequest], on image: CGImage, orientation: CGImagePropertyOrientation) throws
```

## Parameters

`requests`

An array of [`VNRequest`](/documentation/Vision/VNRequest) requests to perform.

`image`

The input <doc://com.apple.documentation/documentation/CoreGraphics/CGImage> on which to perform the request.

`orientation`

The orientation of the input `image`.

## 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)