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
init(cgImage:options:)init(cgImage:orientation:options:)init(ciImage:options:)init(ciImage:orientation:options:)init(cvPixelBuffer:options:)init(cvPixelBuffer:orientation:options:)init(cvPixelBuffer:depthData:orientation:options:)init(cmSampleBuffer:options:)init(cmSampleBuffer:orientation:options:)init(cmSampleBuffer:depthData:orientation:options:)init(data:options:)init(data:orientation:options:)init(url:options:)