FIRVisionLabelDetector


@interface FIRVisionLabelDetector : NSObject

A label detector that detects labels in an image.

  • Unavailable. Use Vision factory methods.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Detects labels in a given image.

    Declaration

    Objective-C

    - (void)detectInImage:(nonnull FIRVisionImage *)image
               completion:(nonnull FIRVisionLabelDetectionCallback)completion;

    Parameters

    image

    The image to use for detecting labels.

    completion

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