FirebaseMLVision Framework Reference

FIRVisionImageLabeler


@interface FIRVisionImageLabeler : NSObject

An on-device or cloud image labeler for labeling images.

  • The image labeler type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) FIRVisionImageLabelerType type;
  • Unavailable. Use Vision factory 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

    image

    The image to process.

    completion

    Handler to call back on the main queue with labels or error.