Builder

class Builder

Properties

Link copied to clipboard

Bounding box of the face.

Link copied to clipboard

Level of confidence that what the bounding box contains is a face.

Link copied to clipboard

The emotions that appear to be expressed on the face, and the confidence level in the determination. Valid values include "Happy", "Sad", "Angry", "Confused", "Disgusted", "Surprised", "Calm", "Unknown", and "Fear".

Link copied to clipboard

An array of facial landmarks.

Link copied to clipboard
var pose: Pose?

Indicates the pose of the face as determined by its pitch, roll, and yaw.

Link copied to clipboard

Identifies face image brightness and sharpness.

Link copied to clipboard
var smile: Smile?

Indicates whether or not the face is smiling, and the confidence level in the determination.

Functions

Link copied to clipboard
Link copied to clipboard
fun pose(block: Pose.Builder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
fun smile(block: Smile.Builder.() -> Unit)