MLKitDigitalInkRecognition Framework Referansı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
MLKDigitalInkRecognitionModel
İndirilebilir bir tanıma modelini temsil eder.
download
yöntemi çağrıldığında tanıma modelleri cihaza indirilir. İlgili içeriği oluşturmak için kullanılan
DigitalInkRecognizer
, bu model için çıkarım zamanında yüklediğinde sıkıştırılmış model açılır
Bu nedenle, ilk tanıma işlemi sonrakilere göre biraz daha yavaş olacaktır.
Bu nesne, tanıma modelinin ömrü boyunca sabit olan özellikler içerir.
Tanınan mürekkebin türüne bağlı özellikler için DigitalInkRecognitionContext
adresine bakın.
-
Bu tanıma modelinin tanımlayıcısı.
-
Yok. Bunun yerine init(modelIdentifier:)
politikasını kullanın.
Bildirim
Objective-C
- (nonnull instancetype)init;
-
Belirtilen model tanımlayıcısından yeni bir örnek oluşturur.
Parametreler
modelIdentifier
|
Geçerli bir DigitalInkRecognitionModelIdentifier .
|
Döndürülen Değer
Yeni bir DigitalInkRecognitionModel
örneği.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-23 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-23 UTC."],[[["`MLKDigitalInkRecognitionModel` represents a downloadable recognition model for use with `DigitalInkRecognizer`."],["Models are downloaded to the device and unzipped upon first use, impacting initial recognition speed."],["This class includes immutable properties of the recognition model, while `DigitalInkRecognitionContext` handles ink-specific properties."],["You must create an instance using `initWithModelIdentifier:` with a valid `DigitalInkRecognitionModelIdentifier`."]]],["The `MLKDigitalInkRecognitionModel` represents a downloadable recognition model. Models are downloaded via the `download` method and unzipped upon the initial load by `DigitalInkRecognizer`, causing a slight delay in the first recognition. This class has a read-only `modelIdentifier` property. Instances are created using `initWithModelIdentifier:`, providing a `DigitalInkRecognitionModelIdentifier`. An invalid `init` method is not available. The model's properties remain constant throughout its use, while `DigitalInkRecognitionContext` handles ink-dependent properties.\n"]]