تعريفات الأنواع
تتوفر تعريفات الأنواع التالية للجميع.
-
ملامح الوجه.
التعريف
Swift
struct FaceContourType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
حظر يحتوي على مجموعة من الوجوه أو
nil
في حال حدوث خطأ.التعريف
Swift
typealias FaceDetectionCallback = ([MLKFace]?, Error?) -> Void
المَعلمات
faces
تم رصد مصفوفة من الوجوه في الصورة أو
nil
في حال حدوث خطأ.error
الخطأ أو
nil
-
@enum FaceDetectorClassvisionMode وضع التصنيف للتعرّف على الوجوه.
التعريف
Swift
struct FaceDetectorClassificationMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
-
@enum FaceDetector PerformanceMode يُفضّل الأداء بدقة أو سرعة ميزة التعرّف على الوجوه.
التعريف
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