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

interface ComparedFace {
    BoundingBox?: BoundingBox;
    Confidence?: number;
    Emotions?: Emotion[];
    Landmarks?: Landmark[];
    Pose?: Pose;
    Quality?: ImageQuality;
    Smile?: Smile;
}

Properties

BoundingBox?: BoundingBox

Bounding box of the face.

Confidence?: number

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

Emotions?: Emotion[]

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".

Landmarks?: Landmark[]

An array of facial landmarks.

Pose?: Pose

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

Quality?: ImageQuality

Identifies face image brightness and sharpness.

Smile?: Smile

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