This package represents the face detection SDK. It contains face detection classes and APIs.
| Class name | Class description |
| MLFace | Represents a face detected by the face analyzer (MLFaceAnalyzer). Facial attributes include the width, height, rotation, eyes open, smiling, facial key-point, and shape. |
| MLFaceAnalyzer | Represents the face analyzer, which detects faces (MLFace) in a supplied image. |
| MLFaceAnalyzerSetting | Represents the face analysis configurator, which sets the attributes of the face analyzer. |
| MLFaceAnalyzerSetting.Factory | Creates an instance of the face analysis configurator (MLFaceAnalyzerSetting). |
| MLFaceEmotion | Represents a facial expression class. Seven facial expressions are included: smiling, neutral, anger, disgust, fear, sadness, and surprise. |
| MLFaceFeature | Represents a facial feature class. Seven facial features are included: 1. Measurement of opening the left eye 2. Measurement of opening the right eye 3. Measurement of wearing glasses 4. Gender measurement 5. Measurement of wearing a hat 6. Measurement of wearing a beard 7. Age |
| MLFaceKeyPoint | Represents a facial key-point on a detected face. Key-point types include: TYPE_BOTTOM_OF_MOUTH: The value is 1, representing the center of the lower lip. TYPE_LEFT_CHEEK: The value is 2, representing the center of the left cheek. TYPE_LEFT_EAR: The value is 3, representing the center of the left ear tragus. TYPE_TIP_OF_LEFT_EAR: The value is 4, representing the tip of the left ear. TYPE_LEFT_EYE: The value is 5, representing the center of the left eyeball. TYPE_LEFT_SIDE_OF_MOUTH: The value is 6, representing the left mouth corner point. TYPE_TIP_OF_NOSE: The value is 7, representing the center of the nasal tip. TYPE_RIGHT_CHEEK: The value is 8, representing the center of the right cheek. TYPE_RIGHT_EAR: The value is 9, representing the center of the right ear tragus. TYPE_TIP_OF_RIGHT_EAR: The value is 10, representing the tip of the right ear. TYPE_RIGHT_EYE: The value is 11, representing the center of the right eyeball. TYPE_RIGHT_SIDE_OF_MOUTH: The value is 12, representing the right mouth corner point. |
| MLFaceShape | Represents a key facial shape, which contains a set of points that outlines a facial region. Shape types include: TYPE_ALL: The value is 0, representing all shapes of a face. TYPE_FACE: The value is 1, representing the overall facial shape. TYPE_LEFT_EYE: The value is 2, representing the shape of the left eye. TYPE_RIGHT_EYE: The value is 3, representing the shape of the right eye. TYPE_BOTTOM_OF_LEFT_EYEBROW: The value is 4, representing the bottom shape of the left eyebrow. TYPE_BOTTOM_OF_RIGHT_EYEBROW: The value is 5, representing the bottom shape of the right eyebrow. TYPE_TOP_OF_LEFT_EYEBROW: The value is 6, representing the top shape of the left eyebrow. TYPE_TOP_OF_RIGHT_EYEBROW: The value is 7, representing the top shape of the right eyebrow. TYPE_BOTTOM_OF_LOWER_LIP: The value is 8, representing the bottom shape of the lower lip. TYPE_TOP_OF_LOWER_LIP: The value is 9, representing the top shape of the lower lip.TYPE_TOP_OF_UPPER_LIP: The value is 10, representing the top shape of the upper lip. TYPE_BOTTOM_OF_UPPER_LIP: The value is 11, representing the bottom shape of the upper lip. TYPE_BOTTOM_OF_NOSE: The value is 12, representing the bottom shape of the nose. TYPE_BRIDGE_OF_NOSE: The value is 13, representing the shape of the nose bridge. |
| MLMaxSizeFaceTransactor | Represents the largest face processor, which processes only the largest face in an image at a certain time. |
| MLMaxSizeFaceTransactor.Creator | Creates an instance of the largest face processor. |