Contents

init(url:orientation:options:)

Creates a handler to be used for performing requests on an image with known orientation, at the specified URL.

Declaration

init(url imageURL: URL, orientation: CGImagePropertyOrientation, options: [VNImageOption : Any] = [:])

Parameters

  • imageURL:

    A URL pointing to the image to be used for performing the requests. The image must be in a format supported by Imageio. Image content is immutable.

  • orientation:

    The orientation of the input image.

  • options:

    An optional dictionary containing Vnimageoption keys to auxiliary image data.

See Also

Creating a Request Handler