مرجع إطار عمل MLKitFaceDetection

تعريفات الأنواع

تتوفر تعريفات الأنواع التالية في جميع أنحاء العالم.

  • خطوط الوجه.

    التعريف

    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