FaceContourType

Facial contour types detectable by MLKit. (common IDs to support different Android and iOS implementation of them in MLKit).

Entries

Link copied to clipboard

MLKFaceContourTypeFace - A set of points that outline the face oval.

Link copied to clipboard

MLKFaceContourTypeLeftEyebrowTop - A set of points that outline the top of the left eyebrow.

Link copied to clipboard

MLKFaceContourTypeLeftEyebrowBottom - A set of points that outline the bottom of the left eyebrow.

Link copied to clipboard

MLKFaceContourTypeRightEyebrowTop - A set of points that outline the top of the right eyebrow.

Link copied to clipboard

MLKFaceContourTypeRightEyebrowBottom A set of points that outline the bottom of the right eyebrow.

Link copied to clipboard

MLKFaceContourTypeLeftEye - A set of points that outline the left eye.

Link copied to clipboard

MLKFaceContourTypeRightEye - A set of points that outline the right eye.

Link copied to clipboard

MLKFaceContourTypeUpperLipTop - A set of points that outline the top of the upper lip.

Link copied to clipboard

MLKFaceContourTypeUpperLipBottom - A set of points that outline the bottom of the upper lip.

Link copied to clipboard

MLKFaceContourTypeLowerLipTop - A set of points that outline the top of the lower lip.

Link copied to clipboard

MLKFaceContourTypeLowerLipBottom - A set of points that outline the bottom of the lower lip.

Link copied to clipboard

MLKFaceContourTypeNoseBridge - A set of points that outline the nose bridge.

Link copied to clipboard

MLKFaceContourTypeNoseBottom - A set of points that outline the bottom of the nose.

Link copied to clipboard

MLKFaceContourTypeLeftCheek - A center point on the left cheek.

Link copied to clipboard

MLKFaceContourTypeRightCheek - A center point on the right cheek.

Link copied to clipboard

Unknown contour type value (indicates an error unless MLKit extends the list of types in the future).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Int

The common type ID of the contour.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.