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

Description

 
Synopsis

Documentation

data ComparedSourceImageFace Source #

Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.

See: newComparedSourceImageFace smart constructor.

Constructors

ComparedSourceImageFace' 

Fields

Instances

Instances details
FromJSON ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

Generic ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

Associated Types

type Rep ComparedSourceImageFace :: Type -> Type #

Read ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

Show ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

NFData ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

Methods

rnf :: ComparedSourceImageFace -> () #

Eq ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

Hashable ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

type Rep ComparedSourceImageFace Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ComparedSourceImageFace

type Rep ComparedSourceImageFace = D1 ('MetaData "ComparedSourceImageFace" "Amazonka.Rekognition.Types.ComparedSourceImageFace" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "ComparedSourceImageFace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newComparedSourceImageFace :: ComparedSourceImageFace Source #

Create a value of ComparedSourceImageFace 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:ComparedSourceImageFace', comparedSourceImageFace_boundingBox - Bounding box of the face.

$sel:confidence:ComparedSourceImageFace', comparedSourceImageFace_confidence - Confidence level that the selected bounding box contains a face.

comparedSourceImageFace_confidence :: Lens' ComparedSourceImageFace (Maybe Double) Source #

Confidence level that the selected bounding box contains a face.