Class: Aws::Rekognition::Types::Emotion

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rekognition/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Level of confidence in the determination.

Returns:

  • (Float)


2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-rekognition/types.rb', line 2722

class Emotion < Struct.new(
  :type,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Type of emotion detected.

Returns:

  • (String)


2722
2723
2724
2725
2726
2727
# File 'lib/aws-sdk-rekognition/types.rb', line 2722

class Emotion < Struct.new(
  :type,
  :confidence)
  SENSITIVE = []
  include Aws::Structure
end