Class: Aws::Rekognition::Types::Emotion
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::Emotion
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
The API returns a prediction of an emotion based on a person’s facial expressions, along with the confidence level for the predicted emotion. 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. The API is not intended to be used, and you may not use it, in a manner that violates the EU Artificial Intelligence Act or any other applicable law.
Constant Summary collapse
- SENSITIVE =
[]
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.
2781 2782 2783 2784 2785 2786 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2781 class Emotion < Struct.new( :type, :confidence) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
Type of emotion detected.
2781 2782 2783 2784 2785 2786 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2781 class Emotion < Struct.new( :type, :confidence) SENSITIVE = [] include Aws::Structure end |