FirebaseMLVision Framework Reference

VisionImageLabeler

class VisionImageLabeler : NSObject

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

  • The image labeler type.

    Declaration

    Swift

    var type: VisionImageLabelerType { get }
  • Unavailable. Use Vision factory methods.

  • Processes the given image for on-device or cloud image labeling.

    Declaration

    Swift

    func process(_ image: FIRVisionImage, completion: @escaping VisionImageLabelerCallback)

    Parameters

    image

    The image to process.

    completion

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