Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Emotion' | |
|
Instances
Eq Emotion Source # | |
Read Emotion Source # | |
Show Emotion Source # | |
Generic Emotion Source # | |
NFData Emotion Source # | |
Defined in Amazonka.Rekognition.Types.Emotion | |
Hashable Emotion Source # | |
Defined in Amazonka.Rekognition.Types.Emotion | |
FromJSON Emotion Source # | |
type Rep Emotion Source # | |
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.