amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.ComparedFace

Description

 
Synopsis

Documentation

data ComparedFace Source #

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

See: newComparedFace smart constructor.

Constructors

ComparedFace' 

Fields

  • boundingBox :: Maybe BoundingBox

    Bounding box of the face.

  • confidence :: Maybe Double

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

  • emotions :: Maybe [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 :: Maybe [Landmark]

    An array of facial landmarks.

  • pose :: Maybe Pose

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

  • quality :: Maybe ImageQuality

    Identifies face image brightness and sharpness.

  • smile :: Maybe Smile

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

Instances

Instances details
FromJSON ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

Generic ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

Associated Types

type Rep ComparedFace :: Type -> Type #

Read ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

Show ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

NFData ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

Methods

rnf :: ComparedFace -> () #

Eq ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

Hashable ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

type Rep ComparedFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedFace

newComparedFace :: ComparedFace Source #

Create a value of ComparedFace with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:boundingBox:ComparedFace', comparedFace_boundingBox - Bounding box of the face.

ComparedFace, comparedFace_confidence - Level of confidence that what the bounding box contains is a face.

$sel:emotions:ComparedFace', comparedFace_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".

$sel:landmarks:ComparedFace', comparedFace_landmarks - An array of facial landmarks.

$sel:pose:ComparedFace', comparedFace_pose - Indicates the pose of the face as determined by its pitch, roll, and yaw.

$sel:quality:ComparedFace', comparedFace_quality - Identifies face image brightness and sharpness.

$sel:smile:ComparedFace', comparedFace_smile - Indicates whether or not the face is smiling, and the confidence level in the determination.

comparedFace_confidence :: Lens' ComparedFace (Maybe Double) Source #

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

comparedFace_emotions :: Lens' ComparedFace (Maybe [Emotion]) Source #

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

comparedFace_landmarks :: Lens' ComparedFace (Maybe [Landmark]) Source #

An array of facial landmarks.

comparedFace_pose :: Lens' ComparedFace (Maybe Pose) Source #

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

comparedFace_quality :: Lens' ComparedFace (Maybe ImageQuality) Source #

Identifies face image brightness and sharpness.

comparedFace_smile :: Lens' ComparedFace (Maybe Smile) Source #

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