MLKitImageLabeling Framework Reference

  • ImageLabelerOptions are used to configure an image labeler.

  • The confidenceThreshold property determines the minimum confidence required for a label to be considered, defaulting to 0.5 if unset.

  • Initializing ImageLabelerOptions with init() sets confidenceThreshold to nil, allowing the default value to be used.

ImageLabelerOptions

class ImageLabelerOptions : CommonImageLabelerOptions

Options for an image labeler.

  • Initializes an ImageLabelerOptions instance with the confidenceThreshold property set to nil. If it remains unset, a default confidence threshold value of 0.5 will be used.

    Declaration

    Swift

    init()