FaceLandmarks

data class FaceLandmarks(val rightEye: Point, val leftEye: Point, val nose: Point, val rightMouth: Point, val leftMouth: Point)

The five facial landmarks produced by the detector.

"Right"/"left" are anatomical (the subject's right eye appears on the left side of a non-mirrored image). asList returns them in the canonical order used by alignment templates: right eye, left eye, nose, right mouth corner, left mouth corner.

Constructors

Link copied to clipboard
constructor(rightEye: Point, leftEye: Point, nose: Point, rightMouth: Point, leftMouth: Point)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val nose: Point
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun asList(): List<Point>