Contents

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) throws

Parameters

  • 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.

See Also

Performing a Sequence Request