init(cvPixelBuffer:orientation:options:)
Creates a handler for performing requests on a Core Video pixel buffer of a known orientation.
Declaration
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.
See Also
Creating a Request Handler
init(cgImage:options:)init(cgImage:orientation:options:)init(ciImage:options:)init(ciImage:orientation:options:)init(cvPixelBuffer:options:)init(cvPixelBuffer:depthData:orientation:options:)init(cmSampleBuffer:options:)init(cmSampleBuffer:orientation:options:)init(cmSampleBuffer:depthData:orientation:options:)init(data:options:)init(data:orientation:options:)init(url:options:)init(url:orientation:options:)