MLKitImageLabelingCommon फ़्रेमवर्क रेफ़रंस

MLKImageLabel


@interface MLKImageLabel : NSObject

किसी इमेज के लेबल को दिखाता है.

  • क्लासिफ़ायर मॉडल से लौटाए गए लेबल का टेक्स्ट.

    एलान

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull text;
  • लेबल का इंडेक्स.

    एलान

    Objective-C

    @property (nonatomic, readonly) NSInteger index;
  • लेबल का भरोसा. इसकी रेंज, इस्तेमाल किए गए क्लासिफ़ायर मॉडल पर निर्भर करती है. हालांकि, कन्वेंशन के हिसाब से यह [0, 1] होनी चाहिए. ImageLabelerOptions की मदद से बनाए गए ImageLabeler के लिए, रेंज [0, 1] है.

    एलान

    Objective-C

    @property (nonatomic, readonly) float confidence;
  • उपलब्ध नहीं हैं.

    एलान

    Objective-C

    - (nonnull instancetype)init;