常量
以下常量可在全局范围内使用。
-
一组点,用于勾勒面部椭圆形。
声明
Swift
static let face: FaceContourType
-
一组点,勾勒出左眉毛顶部的轮廓。
声明
Swift
static let leftEyebrowTop: FaceContourType
-
一组画出左眉毛底部的点。
声明
Swift
static let leftEyebrowBottom: FaceContourType
-
一组点,勾勒出右眉毛顶部的轮廓。
声明
Swift
static let rightEyebrowTop: FaceContourType
-
一组勾勒出右眉毛底部的点。
声明
Swift
static let rightEyebrowBottom: FaceContourType
-
一组勾勒出左眼的点。
声明
Swift
static let leftEye: FaceContourType
-
一组点,勾勒出右眼的轮廓。
声明
Swift
static let rightEye: FaceContourType
-
一组勾勒出上唇顶部的轮廓。
声明
Swift
static let upperLipTop: FaceContourType
-
一组勾勒出上唇底部的轮廓。
声明
Swift
static let upperLipBottom: FaceContourType
-
一组突起下唇顶部的轮廓。
声明
Swift
static let lowerLipTop: FaceContourType
-
一组画下唇底部的轮廓。
声明
Swift
static let lowerLipBottom: FaceContourType
-
一组点,用于勾勒鼻梁。
声明
Swift
static let noseBridge: FaceContourType
-
一组端点,用于勾勒鼻子底部。
声明
Swift
static let noseBottom: FaceContourType
-
左脸颊上的中心点。
声明
Swift
static let leftCheek: FaceContourType
-
右脸颊上的中心点。
声明
Swift
static let rightCheek: FaceContourType
-
人脸分类模式,指示检测器不执行分类。
声明
Swift
static let none: FaceDetectorClassificationMode
-
人脸分类模式,指示检测器执行所有分类。
声明
Swift
static let all: FaceDetectorClassificationMode
-
人脸检测性能模式,该模式运行速度较快,但可能会检测较少的人脸并/或返回准确性较低的结果。
声明
Swift
static let fast: FaceDetectorPerformanceMode
-
人脸检测性能模式,此模式运行速度较慢,但可以检测更多人脸并/或返回准确性更高的结果。
声明
Swift
static let accurate: FaceDetectorPerformanceMode
-
人脸特征点模式,表示检测器不执行任何特征点检测。
声明
Swift
static let none: FaceDetectorLandmarkMode
-
人脸特征点模式,指示检测器执行特征点检测。
声明
Swift
static let all: FaceDetectorLandmarkMode
-
脸部轮廓模式,表示检测器不执行轮廓检测。
声明
Swift
static let none: FaceDetectorContourMode
-
脸部轮廓模式,表示检测器执行轮廓检测。
声明
Swift
static let all: FaceDetectorContourMode
-
下唇中心。
声明
Swift
static let mouthBottom: FaceLandmarkType
-
嘴角右角
声明
Swift
static let mouthRight: FaceLandmarkType
-
嘴巴左角
声明
Swift
static let mouthLeft: FaceLandmarkType
-
左耳尖与左耳垂的中点。
声明
Swift
static let leftEar: FaceLandmarkType
-
右耳尖与右耳垂的中点。
声明
Swift
static let rightEar: FaceLandmarkType
-
左眼。
声明
Swift
static let leftEye: FaceLandmarkType
-
右眼。
声明
Swift
static let rightEye: FaceLandmarkType
-
左脸颊。
声明
Swift
static let leftCheek: FaceLandmarkType
-
右脸颊。
声明
Swift
static let rightCheek: FaceLandmarkType
-
鼻孔之间的中点(鼻子与面部的交汇处)。
声明
Swift
static let noseBase: FaceLandmarkType