perform(_:onImageData:orientation:)
Schedules one or more Vision requests to be performed on raw data containing an image with known orientation.
Declaration
func perform(_ requests: [VNRequest], onImageData imageData: Data, orientation: CGImagePropertyOrientation) throwsParameters
- requests:
An array of Vnrequest requests to perform.
- imageData:
The input image data on which to perform the request.
- orientation:
The orientation of the input image.