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

Description

 
Synopsis

Documentation

data AgeRange Source #

Structure containing the estimated age range, in years, for a face.

Amazon Rekognition estimates an age range for faces detected in the input image. Estimated age ranges can overlap. A face of a 5-year-old might have an estimated range of 4-6, while the face of a 6-year-old might have an estimated range of 4-8.

See: newAgeRange smart constructor.

Constructors

AgeRange' 

Fields

Instances

Instances details
FromJSON AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Generic AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Associated Types

type Rep AgeRange :: Type -> Type #

Methods

from :: AgeRange -> Rep AgeRange x #

to :: Rep AgeRange x -> AgeRange #

Read AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Show AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

NFData AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Methods

rnf :: AgeRange -> () #

Eq AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Hashable AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

Methods

hashWithSalt :: Int -> AgeRange -> Int #

hash :: AgeRange -> Int #

type Rep AgeRange Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AgeRange

type Rep AgeRange = D1 ('MetaData "AgeRange" "Amazonka.Rekognition.Types.AgeRange" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "AgeRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "high") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "low") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newAgeRange :: AgeRange Source #

Create a value of AgeRange 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:high:AgeRange', ageRange_high - The highest estimated age.

$sel:low:AgeRange', ageRange_low - The lowest estimated age.

ageRange_high :: Lens' AgeRange (Maybe Natural) Source #

The highest estimated age.

ageRange_low :: Lens' AgeRange (Maybe Natural) Source #

The lowest estimated age.