常量
以下常量可在全局范围内使用。
-
一组点,用于勾勒面部椭圆形。
声明
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