FaceLandmarkType

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

Entries

Link copied to clipboard

MLKFaceLandmarkTypeMouthBottom - The center of the bottom lip.

Link copied to clipboard

MLKFaceLandmarkTypeMouthRight - The right corner of the mouth.

Link copied to clipboard

MLKFaceLandmarkTypeMouthLeft - The left corner of the mouth.

Link copied to clipboard

MLKFaceLandmarkTypeRightEye - The right eye.

Link copied to clipboard

MLKFaceLandmarkTypeLeftEye - The left eye.

Link copied to clipboard

MLKFaceLandmarkTypeRightEar - The midpoint of the right ear tip and right ear lobe.

Link copied to clipboard

MLKFaceLandmarkTypeLeftEar The midpoint of the left ear tip and left ear lobe.

Link copied to clipboard

MLKFaceLandmarkTypeRightCheek - The right cheek.

Link copied to clipboard

MLKFaceLandmarkTypeLeftCheek - The left cheek.

Link copied to clipboard

MLKFaceLandmarkTypeNoseBase The midpoint between the nostrils where the nose meets the face.

Link copied to clipboard

Unknown landmark 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 landmark.

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.