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

Description

 
Synopsis

Documentation

data EyeOpen Source #

Indicates whether or not the eyes on the face are open, and the confidence level in the determination.

See: newEyeOpen smart constructor.

Constructors

EyeOpen' 

Fields

Instances

Instances details
FromJSON EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Generic EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Associated Types

type Rep EyeOpen :: Type -> Type #

Methods

from :: EyeOpen -> Rep EyeOpen x #

to :: Rep EyeOpen x -> EyeOpen #

Read EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Show EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

NFData EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Methods

rnf :: EyeOpen -> () #

Eq EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Methods

(==) :: EyeOpen -> EyeOpen -> Bool #

(/=) :: EyeOpen -> EyeOpen -> Bool #

Hashable EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

Methods

hashWithSalt :: Int -> EyeOpen -> Int #

hash :: EyeOpen -> Int #

type Rep EyeOpen Source # 
Instance details

Defined in Amazonka.Rekognition.Types.EyeOpen

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

newEyeOpen :: EyeOpen Source #

Create a value of EyeOpen 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:confidence:EyeOpen', eyeOpen_confidence - Level of confidence in the determination.

$sel:value:EyeOpen', eyeOpen_value - Boolean value that indicates whether the eyes on the face are open.

eyeOpen_confidence :: Lens' EyeOpen (Maybe Double) Source #

Level of confidence in the determination.

eyeOpen_value :: Lens' EyeOpen (Maybe Bool) Source #

Boolean value that indicates whether the eyes on the face are open.