FirebaseMLVision Framework Reference Stay organized with collections Save and categorize content based on your preferences.
Constants
The following constants are available globally.
All contour points including left and right cheeks.
Declaration
Swift
staticletall:FaceContourTypeA set of points that outline the face oval.
Declaration
Swift
staticletface:FaceContourTypeA set of points that outline the top of the left eyebrow.
Declaration
Swift
staticletleftEyebrowTop:FaceContourTypeA set of points that outline the bottom of the left eyebrow.
Declaration
Swift
staticletleftEyebrowBottom:FaceContourTypeA set of points that outline the top of the right eyebrow.
Declaration
Swift
staticletrightEyebrowTop:FaceContourTypeA set of points that outline the bottom of the right eyebrow.
Declaration
Swift
staticletrightEyebrowBottom:FaceContourTypeA set of points that outline the left eye.
Declaration
Swift
staticletleftEye:FaceContourTypeA set of points that outline the right eye.
Declaration
Swift
staticletrightEye:FaceContourTypeA set of points that outline the top of the upper lip.
Declaration
Swift
staticletupperLipTop:FaceContourTypeA set of points that outline the bottom of the upper lip.
Declaration
Swift
staticletupperLipBottom:FaceContourTypeA set of points that outline the top of the lower lip.
Declaration
Swift
staticletlowerLipTop:FaceContourTypeA set of points that outline the bottom of the lower lip.
Declaration
Swift
staticletlowerLipBottom:FaceContourTypeA set of points that outline the nose bridge.
Declaration
Swift
staticletnoseBridge:FaceContourTypeA set of points that outline the bottom of the nose.
Declaration
Swift
staticletnoseBottom:FaceContourTypeCenter of the bottom lip.
Declaration
Swift
staticletmouthBottom:FaceLandmarkTypeRight corner of the mouth
Declaration
Swift
staticletmouthRight:FaceLandmarkTypeLeft corner of the mouth
Declaration
Swift
staticletmouthLeft:FaceLandmarkTypeMidpoint of the left ear tip and left ear lobe.
Declaration
Swift
staticletleftEar:FaceLandmarkTypeMidpoint of the right ear tip and right ear lobe.
Declaration
Swift
staticletrightEar:FaceLandmarkTypeLeft eye.
Declaration
Swift
staticletleftEye:FaceLandmarkTypeRight eye.
Declaration
Swift
staticletrightEye:FaceLandmarkTypeLeft cheek.
Declaration
Swift
staticletleftCheek:FaceLandmarkTypeRight cheek.
Declaration
Swift
staticletrightCheek:FaceLandmarkTypeMidpoint between the nostrils where the nose meets the face.
Declaration
Swift
staticletnoseBase:FaceLandmarkType
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.