MLKitImageLabeling Framework Reference

  • MLKImageLabelerOptions provides configuration options for an image labeler, primarily focusing on setting the confidence threshold.

  • Initializing MLKImageLabelerOptions with init sets the confidenceThreshold to nil, defaulting to 0.5 if left unchanged.

MLKImageLabelerOptions


@interface MLKImageLabelerOptions : MLKCommonImageLabelerOptions

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

    Objective-C

    - (nonnull instancetype)init;