ComparedFace

Provides face metadata for target image faces that are analyzed by CompareFaces and RecognizeCelebrities.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

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
val 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
val smile: Smile?

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

Functions

Link copied to clipboard
inline fun copy(block: ComparedFace.Builder.() -> Unit = {}): ComparedFace
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String