Contents

init(targetedCVPixelBuffer:options:completionHandler:)

Creates a new request targeting an image in a pixel buffer.

Declaration

init(targetedCVPixelBuffer pixelBuffer: CVPixelBuffer, options: [VNImageOption : Any] = [:], completionHandler: VNRequestCompletionHandler? = nil)

Parameters

  • pixelBuffer:

    The pixel buffer containing the targeted image.

  • options:

    A dictionary with options specifying auxiliary information for the image.

  • completionHandler:

    The block to invoke when the request has finished executing.

See Also

Creating a Request