You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Rekognition::Types::Emotion
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Emotion
- Defined in:
- (unknown)
Overview
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.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Level of confidence in the determination.
-
#type ⇒ String
Type of emotion detected.
Instance Attribute Details
#confidence ⇒ Float
Level of confidence in the determination.
#type ⇒ String
Type of emotion detected.
Possible values:
- HAPPY
- SAD
- ANGRY
- CONFUSED
- DISGUSTED
- SURPRISED
- CALM
- UNKNOWN
- FEAR