הפניה למסגרת של MLKitImageLabeling
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
MLKCommonImageLabelerOptions
@interface MLKCommonImageLabelerOptions : NSObject
אפשרויות למתייג התמונות.
-
סף הסמך לתוויות שהוחזרו על ידי מתייג התמונות. תוויות שהוחזרו על ידי
למתייג התמונות תהיה רמת סמך גבוהה או שווה לסף הנתון. הערך צריך להיות
להיות ערך של נקודה צפה (floating-point) בטווח [0, 1]. אין צורך להגדיר את המאפיין הזה. לפרטים
על ההתנהגות אם המדיניות confidenceThreshold לא מוגדרת, יש לעיין במסמכים במחלקה המשנית
קובצי כותרות. ערך ברירת המחדל הוא nil.
הצהרה
Objective-C
@property (nonatomic, nullable) NSNumber *confidenceThreshold;
-
לא זמינה. להשתמש בשיטות הכיתה בכיתות משנה.
הצהרה
Objective-C
- (nonnull instancetype)init;
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `MLKCommonImageLabelerOptions` class configures an image labeler. Key information includes the `confidenceThreshold` property, which filters returned labels based on a minimum confidence level (ranging from 0 to 1). If unset, behavior defaults are defined in subclass headers. The class initializer `-init` is unavailable, requiring use of class methods in subclasses for object creation. This configuration allows control over the confidence required for labels.\n"]]