| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Rekognition.Types.Emotion
Description
Synopsis
- data Emotion = Emotion' {}
- newEmotion :: Emotion
- emotion_confidence :: Lens' Emotion (Maybe Double)
- emotion_type :: Lens' Emotion (Maybe EmotionName)
Documentation
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
| FromJSON Emotion Source # | |
| Generic Emotion Source # | |
| Read Emotion Source # | |
| Show Emotion Source # | |
| NFData Emotion Source # | |
Defined in Amazonka.Rekognition.Types.Emotion | |
| Eq Emotion Source # | |
| Hashable Emotion Source # | |
Defined in Amazonka.Rekognition.Types.Emotion | |
| type Rep Emotion Source # | |
Defined in Amazonka.Rekognition.Types.Emotion type Rep Emotion = D1 ('MetaData "Emotion" "Amazonka.Rekognition.Types.Emotion" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" '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.