<!--
{
  "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/VNImageRequestHandler/init(cvPixelBuffer:orientation:options:)-9fxug",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNImageRequestHandler(im)initWithCVPixelBuffer:orientation:options:"
  },
  "title" : "init(cvPixelBuffer:orientation:options:)"
}
-->

# init(cvPixelBuffer:orientation:options:)

Creates a handler for performing requests on a Core Video pixel buffer of a known orientation.

```
init(cvPixelBuffer pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation, options: [VNImageOption : Any] = [:])
```

## Parameters

`pixelBuffer`

A pixel buffer that contains the image to use for performing the requests. The contents can’t change for the lifetime of the request handler.

`orientation`

The orientation of the input image.

`options`

A dictionary that specifies auxiliary information about the 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)