Contents

init(targetedCIImage:orientation:options:completionHandler:)

Creates a new request targeting a Core Image image of known orientation, executing the completion handler when done.

Declaration

init(targetedCIImage ciImage: CIImage, orientation: CGImagePropertyOrientation, options: [VNImageOption : Any] = [:], completionHandler: VNRequestCompletionHandler? = nil)

Parameters

  • ciImage:

    The Ciimage encapsulating the targeted image.

  • orientation:

    The orientation of the image buffer, based on EXIF specification and superseding other orientation information. The value must be an integer from 1 to 8; see Kcgimagepropertyorientation for details.

  • 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