ข้อมูลอ้างอิงเฟรมเวิร์ก MLKitImageLabeling

MLKImageLabelerOptions


@interface MLKImageLabelerOptions : MLKCommonImageLabelerOptions

ตัวเลือกสำหรับผู้ติดป้ายกำกับรูปภาพ

  • เริ่มต้นอินสแตนซ์ ImageLabelerOptions ด้วยการตั้งค่าพร็อพเพอร์ตี้ confidenceThreshold เป็น nil หากไม่ได้ตั้งค่า ระบบจะใช้ค่าเกณฑ์ความเชื่อมั่นเริ่มต้นของ 0.5

    คำประกาศ

    Objective-C

    - (nonnull instancetype)init;