常數
下列常數可在全球使用。
-
描繪臉孔橢圓形的一組點。
聲明
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