libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Rekognition.Types.Emotion

Description

 
Synopsis

Documentation

data Emotion Source #

The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally.

See: newEmotion smart constructor.

Constructors

Emotion' 

Fields

Instances

Instances details
Eq Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Methods

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

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

Read Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Show Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Generic Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Associated Types

type Rep Emotion :: Type -> Type #

Methods

from :: Emotion -> Rep Emotion x #

to :: Rep Emotion x -> Emotion #

NFData Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Methods

rnf :: Emotion -> () #

Hashable Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

Methods

hashWithSalt :: Int -> Emotion -> Int #

hash :: Emotion -> Int #

FromJSON Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

type Rep Emotion Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Emotion

type Rep Emotion = D1 ('MetaData "Emotion" "Amazonka.Rekognition.Types.Emotion" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Emotion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EmotionName))))

newEmotion :: Emotion Source #

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

$sel:type':Emotion', emotion_type - Type of emotion detected.

emotion_confidence :: Lens' Emotion (Maybe Double) Source #

Level of confidence in the determination.

emotion_type :: Lens' Emotion (Maybe EmotionName) Source #

Type of emotion detected.