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:options:)init(CGImage:orientation:options:)init(cgImage:orientation:options:)init(CIImage:options:)init(ciImage:options:)init(CIImage:orientation:options:)init(ciImage:orientation:options:)init(CVPixelBuffer:options:)init(cvPixelBuffer:options:)init(CVPixelBuffer:orientation:options:)init(CVPixelBuffer:depthData:orientation:options:)init(cvPixelBuffer:depthData:orientation:options:)init(CMSampleBuffer:options:)init(cmSampleBuffer:options:)