الثوابت
الثوابت التالية متاحة على مستوى العالم.
-
مجموعة من النقاط التي تحدد الشكل البيضاوي للوجه.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeFace
-
مجموعة نقاط ترسم الجزء العلوي من الحاجب الأيسر.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowTop
-
مجموعة نقاط ترسم الجزء السفلي من الحاجب الأيسر.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowBottom
-
مجموعة نقاط ترسم الجزء العلوي من الحاجب الأيمن.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowTop
-
مجموعة نقاط ترسم الجزء السفلي من الحاجب الأيمن.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowBottom
-
مجموعة من النقاط التي تحدد العين اليسرى.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEye
-
مجموعة من النقاط التي تحدد العين اليمنى.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEye
-
مجموعة من النقاط التي تحدد أعلى الشفة العلوية.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipTop
-
مجموعة من النقاط التي تحدد أسفل الشفة العلوية.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipBottom
-
مجموعة من النقاط التي تحدد أعلى الشفاه السفلى.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipTop
-
مجموعة من النقاط التي تحدد أسفل الشفاه السفلى.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipBottom
-
مجموعة من النقاط التي تحدد جسر الأنف.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBridge
-
مجموعة من النقاط التي تحدد الجزء السفلي من الأنف.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBottom
-
نقطة مركزية على الخد الأيسر.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftCheek
-
نقطة مركزية على الخد الأيمن.
التعريف
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightCheek
-
وضع تصنيف الوجوه الذي يشير إلى أنّ أداة الرصد لا تصنِّف أي تصنيف.
التعريف
Objective-C
static const MLKFaceDetectorClassificationMode MLKFaceDetectorClassificationModeNone = 1
-
وضع تصنيف الوجوه الذي يشير إلى أنّ أداة الرصد تنفّذ جميع التصنيفات.
التعريف
Objective-C
static const MLKFaceDetectorClassificationMode MLKFaceDetectorClassificationModeAll = 2
-
يعمل وضع أداء ميزة "التعرّف على الوجوه" بشكل أسرع، ولكن قد يرصد وجوهًا أقل و/أو يعرض نتائج بدقة أقل.
التعريف
Objective-C
static const MLKFaceDetectorPerformanceMode MLKFaceDetectorPerformanceModeFast = 1
-
يعمل وضع أداء ميزة "التعرّف على الوجوه" بشكل أبطأ، ولكن قد يرصد المزيد من الوجوه و/أو يعرض نتائج بدقة أعلى.
التعريف
Objective-C
static const MLKFaceDetectorPerformanceMode MLKFaceDetectorPerformanceModeAccurate = 2
-
وضع معالم الوجه الذي يشير إلى أنّ أداة الرصد لا تعمل على رصد أي مَعلم
التعريف
Objective-C
static const MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeNone = 1
-
وضع معالم الوجه الذي يشير إلى أنّ أداة الرصد تُجري رصد المعالم
التعريف
Objective-C
static const MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeAll = 2
-
يشير هذا الوضع إلى أنّ أداة الكشف لا تعمل على رصد أي محيط.
التعريف
Objective-C
static const MLKFaceDetectorContourMode MLKFaceDetectorContourModeNone = 1
-
وضع تحديد الوجه يشير إلى أن أداة الكشف تُجري اكتشافًا لمحيط الوجه.
التعريف
Objective-C
static const MLKFaceDetectorContourMode MLKFaceDetectorContourModeAll = 2
-
منتصف الشفة السفلى.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthBottom
-
الجانب الأيمن من الفم
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthRight
-
الزاوية اليسرى من الفم
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthLeft
-
منتصف رأس الأذن اليسرى وفصوص الأذن اليسرى.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEar
-
منتصف رأس الأذن اليمنى وفصوص الأذن اليمنى.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEar
-
العين اليسرى.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEye
-
العين اليمنى:
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEye
-
الخد الأيسر.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftCheek
-
الخد الأيمن.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightCheek
-
نقطة المنتصف بين فتحتَي الأنف حيث يلتقي الأنف بالوجه.
التعريف
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeNoseBase