คำจำกัดความของประเภท
คำจำกัดความของประเภทต่อไปนี้มีให้บริการทั่วโลก
-
รูปทรงของใบหน้า
คำประกาศ
Swift
struct FaceContourType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
บล็อกที่มีอาร์เรย์ของใบหน้าหรือ
nilหากมีข้อผิดพลาดคำประกาศ
Swift
typealias FaceDetectionCallback = ([MLKFace]?, Error?) -> Voidพารามิเตอร์
facesอาร์เรย์ของใบหน้าที่ตรวจพบในรูปภาพหรือ
nilหากมีข้อผิดพลาดerrorข้อผิดพลาดหรือ
nil -
@enum FaceDetectorClassificationMode โหมดการแยกประเภทสำหรับการตรวจจับใบหน้า
คำประกาศ
Swift
struct FaceDetectorClassificationMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@enum FaceDetectorPerformanceMode ค่ากําหนดด้านประสิทธิภาพด้านความแม่นยำหรือความเร็วของการตรวจจับใบหน้า
คำประกาศ
Swift
struct FaceDetectorPerformanceMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@enum FaceDetectorLandmarkMode โหมดการตรวจจับจุดสังเกตสำหรับการตรวจจับใบหน้า
คำประกาศ
Swift
struct FaceDetectorLandmarkMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
@enum FaceDetectorContourMode โหมดการตรวจจับรูปร่างสำหรับการตรวจจับใบหน้า
คำประกาศ
Swift
struct FaceDetectorContourMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
จุดสังเกตบนใบหน้า
คำประกาศ
Swift
struct FaceLandmarkType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable