Constants
The following constants are available globally.
-
A set of points that outline the face oval.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeFace
-
A set of points that outline the top of the left eyebrow.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowTop
-
A set of points that outline the bottom of the left eyebrow.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowBottom
-
A set of points that outline the top of the right eyebrow.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowTop
-
A set of points that outline the bottom of the right eyebrow.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowBottom
-
A set of points that outline the left eye.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEye
-
A set of points that outline the right eye.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightEye
-
A set of points that outline the top of the upper lip.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipTop
-
A set of points that outline the bottom of the upper lip.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipBottom
-
A set of points that outline the top of the lower lip.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipTop
-
A set of points that outline the bottom of the lower lip.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipBottom
-
A set of points that outline the nose bridge.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBridge
-
A set of points that outline the bottom of the nose.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBottom
-
A center point on the left cheek.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeLeftCheek
-
A center point on the right cheek.
Declaration
Objective-C
extern const MLKFaceContourType _Nonnull MLKFaceContourTypeRightCheek
-
Face classification mode indicating that the detector performs no classification.
Declaration
Objective-C
static const MLKFaceDetectorClassificationMode MLKFaceDetectorClassificationModeNone = 1
-
Face classification mode indicating that the detector performs all classifications.
Declaration
Objective-C
static const MLKFaceDetectorClassificationMode MLKFaceDetectorClassificationModeAll = 2
-
Face detection performance mode that runs faster, but may detect fewer faces and/or return results with lower accuracy.
Declaration
Objective-C
static const MLKFaceDetectorPerformanceMode MLKFaceDetectorPerformanceModeFast = 1
-
Face detection performance mode that runs slower, but may detect more faces and/or return results with higher accuracy.
Declaration
Objective-C
static const MLKFaceDetectorPerformanceMode MLKFaceDetectorPerformanceModeAccurate = 2
-
Face landmark mode indicating that the detector performs no landmark detection.
Declaration
Objective-C
static const MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeNone = 1
-
Face landmark mode indicating that the detector performs landmark detection.
Declaration
Objective-C
static const MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeAll = 2
-
Face contour mode indicating that the detector performs no contour detection.
Declaration
Objective-C
static const MLKFaceDetectorContourMode MLKFaceDetectorContourModeNone = 1
-
Face contour mode indicating that the detector performs contour detection.
Declaration
Objective-C
static const MLKFaceDetectorContourMode MLKFaceDetectorContourModeAll = 2
-
The center of the bottom lip.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthBottom
-
The right corner of the mouth
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthRight
-
The left corner of the mouth
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthLeft
-
The midpoint of the left ear tip and left ear lobe.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEar
-
The midpoint of the right ear tip and right ear lobe.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEar
-
The left eye.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEye
-
The right eye.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEye
-
The left cheek.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftCheek
-
The right cheek.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightCheek
-
The midpoint between the nostrils where the nose meets the face.
Declaration
Objective-C
extern const MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeNoseBase