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

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

Overview

The emotions detected on the face, and the confidence level in the determination. For example, HAPPY, SAD, and ANGRY.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Level of confidence in the determination.

Returns:

  • (Float)


593
594
595
596
597
# File 'lib/aws-sdk-rekognition/types.rb', line 593

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

#typeString

Type of emotion detected.

Returns:

  • (String)


593
594
595
596
597
# File 'lib/aws-sdk-rekognition/types.rb', line 593

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