ข้อมูลอ้างอิงเฟรมเวิร์ก MLKitDigitalInkRecognition
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
DigitalInkRecognitionResult
class DigitalInkRecognitionResult : NSObject
ออบเจ็กต์ที่แสดงเอาต์พุตของการจดจำหมึก
เครื่องมือจดจำมักจะให้ทางเลือกในการจดจำหลายอย่าง เพราะจุดประสงค์ของผู้ใช้ไม่ใช่
ชัดเจนเสมอ เช่น ถ้าผู้ใช้เขียนเส้นแนวตั้งแล้วตามด้วยวงกลม ก็แสดงว่า
ตัวเลือกอื่นอาจรวมถึง “10”, “IO” และ “lo”
ตัวเลือกอื่นๆ เรียกว่า "ผู้สมัคร" ออบเจ็กต์นี้แสดงชุดของตัวเลือกเป็นรายการ
DigitalInkRecognitionCandidate
ใช้ DigitalInkRecognizer
เพื่อจดจำตัวเอง ถ้าระบบไม่รู้จักอะไรเลย
พร็อพเพอร์ตี้ candidates
จะเป็นอาร์เรย์ว่างเปล่า
-
คำประกาศ
Swift
var candidates: [MLKDigitalInkRecognitionCandidate] { get }
-
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"],[[["`DigitalInkRecognitionResult` stores the output of an ink recognition process, offering multiple interpretations of the user's input."],["Recognition results are presented as a ranked list of `DigitalInkRecognitionCandidate` objects, with the most likely interpretation appearing first."],["The number of candidates provided depends on the configuration of the `DigitalInkRecognitionModel` and `DigitalInkRecognizerOptions` used during recognition."],["If the recognizer cannot interpret the ink input, the `candidates` list will be empty."],["`DigitalInkRecognitionResult` objects are generated by the `DigitalInkRecognizer` and should not be manually instantiated."]]],[]]