Contents

init(targetedImageURL:options:completionHandler:)

Creates a new request targeting an image at the specified URL, executing the completion handler when done.

Declaration

init(targetedImageURL imageURL: URL, options: [VNImageOption : Any] = [:], completionHandler: VNRequestCompletionHandler? = nil)

Parameters

  • imageURL:

    The URL of 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