ข้อมูลอ้างอิงเฟรมเวิร์ก MLKitDigitalInkRecognition
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
DigitalInkRecognitionModel
แสดงโมเดลการจดจำที่ดาวน์โหลดได้
ระบบจะดาวน์โหลดโมเดลการจดจำลงในอุปกรณ์เมื่อมีการเรียกใช้เมธอด download
ระบบจะคลายการบีบอัดโมเดลที่ดาวน์โหลดเมื่อ DigitalInkRecognizer
โหลดโมเดลในเวลาอนุมานสำหรับ
ครั้งแรก ซึ่งทำให้การจดจำครั้งแรกช้ากว่าการตรวจจับที่ตามมาเล็กน้อย
วัตถุนี้มีสมบัติที่คงที่ตลอดอายุของโมเดลการจดจำ
โปรดดู DigitalInkRecognitionContext
สำหรับคุณสมบัติที่ใช้หมึกที่ยอมรับ
-
ตัวระบุของโมเดลการจดจำนี้
-
-
สร้างอินสแตนซ์ใหม่จากตัวระบุโมเดลที่ระบุ
ผลลัพธ์
อินสแตนซ์ DigitalInkRecognitionModel
ใหม่
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-08-22 UTC"],[[["Represents a downloadable recognition model that can be used for digital ink recognition."],["The model is downloaded when the `download` method is called and unzipped when the recognizer loads it for the first time."],["This object holds properties that remain constant throughout the model's lifetime, while ink-dependent properties are found in `DigitalInkRecognitionContext`."],["It is initialized using a `DigitalInkRecognitionModelIdentifier` and its properties can be accessed using its `modelIdentifier` property."]]],["The `DigitalInkRecognitionModel` class represents a downloadable model used for digital ink recognition. Models are downloaded via the `download` method and are unzipped upon first use by `DigitalInkRecognizer`. The class features a read-only `modelIdentifier` property. Instances are created using `init(modelIdentifier:)`, which accepts a `DigitalInkRecognitionModelIdentifier`. The model identifier specifies which recognition model to use. This model provides constant properties for the duration of use. The `init` method is not available.\n"]]