סימוכין למסגרת של MLKitDigitalInkRecognition
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
MLKDigitalInkRecognitionResult
@interface MLKDigitalInkRecognitionResult : NSObject
אובייקט שמייצג את הפלט של זיהוי דיו.
בדרך כלל המזהה מספק כמה חלופות לזיהוי, כי כוונת המשתמש אינה
ברורה תמיד. לדוגמה, אם המשתמש כותב קו אנכי ואז מעגל, הזיהוי
הערכים החלופיים יכולים לכלול את '10', 'IO' ו-'lo'.
האפשרויות החלופיות נקראות "מועמדים". האובייקט הזה מייצג קבוצה של מועמדים כרשימה של
DigitalInkRecognitionCandidate
משתמשים ב-DigitalInkRecognizer
כדי לבצע את הזיהוי עצמו. אם לא ניתן לזהות שום דבר,
המאפיין candidates
יהיה מערך ריק.
-
רשימה של אפשרויות לזיהוי.
המועמדים מסודרים מהסביר ביותר לנמוך ביותר. כשמספקים ציון, הם
נמצאים בסדר הולך וגדל.
מספר המועמדים תלוי באפשרויות ששימשו לאתחול המזהה. צפייה
אפשר לקרוא פרטים נוספים בDigitalInkRecognitionModel
ובDigitalInkRecognizerOptions
.
-
האובייקט הזה מיועד רק ליצירת אובייקט DigitalInkRecognizer
.
הצהרה
Objective-C
- (nonnull instancetype)init;
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-23 (שעון 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-23 (שעון UTC)."],[[["`MLKDigitalInkRecognitionResult` represents the output of an ink recognition process, potentially containing multiple interpretations (candidates) of the user's input."],["Candidates are ranked by likelihood, with the most probable interpretation listed first within the `candidates` property."],["The number of candidates returned depends on the configuration of the `DigitalInkRecognizer` and its associated options."],["This object is created internally by a `DigitalInkRecognizer` and should not be manually instantiated."]]],["The `MLKDigitalInkRecognitionResult` object represents the output of ink recognition, providing a list of recognition alternatives (candidates). These candidates, stored in the `candidates` property, are ordered by likelihood, with higher scores indicating greater certainty. The number of candidates is determined by the recognizer's initialization options. This object is created and used exclusively by a `DigitalInkRecognizer` object during the recognition process. If the recognizer can't identify the strokes, the candidate array is empty.\n"]]