FIRVisionImageLabeler
@interface FIRVisionImageLabeler : NSObjectAn on-device or cloud image labeler for labeling images.
-
The image labeler type.
Declaration
Objective-C
@property (nonatomic, readonly) FIRVisionImageLabelerType type; -
Unavailable. Use
Visionfactory methods.Declaration
Objective-C
- (nonnull instancetype)init; -
Processes the given image for on-device or cloud image labeling.
Declaration
Objective-C
- (void)processImage:(nonnull FIRVisionImage *)image completion:(nonnull FIRVisionImageLabelerCallback)completion;Parameters
imageThe image to process.
completionHandler to call back on the main queue with labels or error.