Instance Method

performRequests:onCIImage:orientation:error:

Schedules one or more Vision requests to be performed on CIImage data with known orientation.

Declaration

- (BOOL)performRequests:(NSArray<VNRequest *> *)requests onCIImage:(CIImage *)image orientation:(CGImagePropertyOrientation)orientation error:(NSError * _Nullable *)error;

Parameters

requests

An array of VNRequest requests to perform.

image

The input CIImage on which to perform the request.

orientation

The orientation of the input image.

error

An optional error parameter populated when problems arise in scheduling the requests. Check if the return value is NO.

Return Value

Returns YES if all requests were scheduled and performed. Check the error parameter if the return value is NO.

See Also

Performing a Sequence Request

- performRequests:onCGImage:error:

Schedules Vision requests to be performed on a Core Graphics image.

- performRequests:onCGImage:orientation:error:

Schedules one or more Vision requests to be performed on a Core Graphics image with known orientation.

- performRequests:onCIImage:error:

Schedules one or more Vision requests to be performed on CIImage data.

- performRequests:onCVPixelBuffer:error:

Schedules one or more Vision requests to be performed on a Core Video pixel buffer.

- performRequests:onCVPixelBuffer:orientation:error:

Schedules one or more Vision requests to be performed on a Core Video pixel buffer with known orientation.

- performRequests:onImageData:error:

Schedules one or more Vision requests to be performed on raw image data.

- performRequests:onImageData:orientation:error:

Schedules one or more Vision requests to be performed on raw data containing an image with known orientation.

- performRequests:onImageURL:error:

Schedules one or more Vision requests to be performed on an image.

- performRequests:onImageURL:orientation:error:

Schedules one or more Vision requests to be performed on an image with known orientation, at a specific URL.