---
title: "perform(_:on:orientation:)"
framework: Vision
role: symbol
role_heading: Instance Method
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.1+, macOS 10.13+, tvOS 11.0+, visionOS 1.0+]
path: vision/vnsequencerequesthandler/2880308-perform
---

# perform(_:on:orientation:)

Schedules one or more Vision requests to be performed on a Core Video pixel buffer with known orientation.

## Declaration

```swift
func perform(_ requests: [VNRequest], on pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation) throws
```

## Parameters

- `requests`: An array of [doc://Vision/documentation/Vision/VNRequest](vision/vnrequest.md) requests to perform.
- `pixelBuffer`: The input [doc://com.apple.documentation/documentation/CoreVideo/CVPixelBuffer](corevideo/cvpixelbuffer.md) on which to perform the request.
- `orientation`: The orientation of the input `image`.

## See Also

### Performing a Sequence Request

- [perform(_:on:)](perform(_:on:)-3zt7l.md)
- [perform(_:on:orientation:)](perform(_:on:orientation:)-3gcmv.md)
- [perform(_:on:)](perform(_:on:)-9jtgj.md)
- [perform(_:on:orientation:)](perform(_:on:orientation:)-1bkm1.md)
- [perform(_:on:)](perform(_:on:)-3d7nt.md)
- [perform(_:on:)](perform(_:on:)-45e73.md)
- [perform(_:on:orientation:)](perform(_:on:orientation:)-6b7rk.md)
- [perform(_:onImageData:)](perform(_:onimagedata:).md)
- [perform(_:onImageData:orientation:)](perform(_:onimagedata:orientation:).md)
- [perform(_:onImageURL:)](perform(_:onimageurl:).md)
- [perform(_:onImageURL:orientation:)](perform(_:onimageurl:orientation:).md)
