MLKitImageLabelingCommon Framework Reference

ImageLabel

class ImageLabel : NSObject

Represents a label for an image.

  • The human readable label text in American English. For example: “Balloon”.

    This string is not fit for display purposes, as it is not localized.

    Declaration

    Swift

    var text: String { get }
  • The index of the label.

    Declaration

    Swift

    var index: Int { get }
  • Confidence for the label in range [0, 1].

    Declaration

    Swift

    var confidence: Float { get }
  • Unavailable.