Skip to content

ComparedFace

Source code in docs_src/capo_rekognition/types/compared_face.py
class ComparedFace(TypedDict, closed=True):
    bounding_box: NotRequired["capo_rekognition.types.bounding_box.BoundingBox"]
    """<p>Bounding box of the face.</p>"""
    confidence: NotRequired["capo_rekognition.types.percent.Percent"]
    """<p>Level of confidence that what the bounding box contains is a face.</p>"""
    landmarks: NotRequired["capo_rekognition.types.landmarks.Landmarks"]
    """<p>An array of facial landmarks.</p>"""
    pose: NotRequired["capo_rekognition.types.pose.Pose"]
    """<p>Indicates the pose of the face as determined by its pitch, roll, and yaw.</p>"""
    quality: NotRequired["capo_rekognition.types.image_quality.ImageQuality"]
    """<p>Identifies face image brightness and sharpness. </p>"""
    emotions: NotRequired["capo_rekognition.types.emotions.Emotions"]
    """<p> 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". </p>"""
    smile: NotRequired["capo_rekognition.types.smile.Smile"]
    """<p> Indicates whether or not the face is smiling, and the confidence level in the determination. </p>"""

bounding_box instance-attribute

bounding_box: NotRequired[BoundingBox]

Bounding box of the face.

confidence instance-attribute

confidence: NotRequired[Percent]

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

emotions instance-attribute

emotions: NotRequired[Emotions]

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 instance-attribute

landmarks: NotRequired[Landmarks]

An array of facial landmarks.

pose instance-attribute

pose: NotRequired[Pose]

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

quality instance-attribute

quality: NotRequired[ImageQuality]

Identifies face image brightness and sharpness.

smile instance-attribute

smile: NotRequired[Smile]

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