MLKitडिजिटलInkRecognition फ़्रेमवर्क रेफ़रंस

MLKDigitalInkRecognitionModel


@interface MLKDigitalInkRecognitionModel : MLKRemoteModel

डाउनलोड करने लायक पहचान मॉडल दिखाता है.

download तरीका इस्तेमाल करने पर, पहचान करने वाले मॉडल डिवाइस पर डाउनलोड किए जाते हैं. डाउनलोड किए गए मॉडल अनज़िप हो जाते हैं. ऐसा तब होता है, जब DigitalInkRecognizer, अनुमान के समय पर पहली बार इसे लोड करता है. इस वजह से, पहली पहचान करने की प्रोसेस, दूसरी बार की तुलना में थोड़ी धीमी हो जाती है.

इस ऑब्जेक्ट में ऐसी प्रॉपर्टी हैं जो पहचान मॉडल के पूरे जीवनकाल में एक ही रहती हैं.

उन प्रॉपर्टी के लिए DigitalInkRecognitionContext देखें जो इंक की पहचान करने पर निर्भर करती हैं.

  • पहचान के इस मॉडल का आइडेंटिफ़ायर.

    एलान

    Objective-C

    @property (nonatomic, readonly) MLKDigitalInkRecognitionModelIdentifier *_Nonnull modelIdentifier;
  • यह सुविधा उपलब्ध नहीं है. इसके बजाय, init(modelIdentifier:) का इस्तेमाल करें.

    एलान

    Objective-C

    - (nonnull instancetype)init;
  • तय किए गए मॉडल आइडेंटिफ़ायर से एक नया इंस्टेंस बनाता है.

    एलान

    Objective-C

    - (nonnull instancetype)initWithModelIdentifier:
        (nonnull MLKDigitalInkRecognitionModelIdentifier *)modelIdentifier;

    पैरामीटर

    modelIdentifier

    मान्य DigitalInkRecognitionModelIdentifier.

    रिटर्न वैल्यू

    DigitalInkRecognitionModel का एक नया इंस्टेंस.