@interface MLKImageLabeler : NSObject
An image labeler that processes and labels images.
Returns an image labeler with the given options.
+ (nonnull instancetype)imageLabelerWithOptions: (nonnull MLKCommonImageLabelerOptions *)options;
Options for configuring the image labeler.
An image labeler configured with the given options.
Unavailable. Use the class methods.
- (nonnull instancetype)init;
Returns label results in the given image or
nilif there was an error. The image labeling is performed synchronously on the calling thread.
It is advised to call this method off the main thread to avoid blocking the UI. As a result, an
NSExceptionis raised if this method is called on the main thread.
The image to get results in.
An optional error parameter populated when there is an error getting results.
Array of label results in the given image or
nilif there was an error.