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
show all
Defined in:
(unknown)

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)

    Level of confidence in the determination.

#typeString

Type of emotion detected.

Possible values:

  • HAPPY
  • SAD
  • ANGRY
  • CONFUSED
  • DISGUSTED
  • SURPRISED
  • CALM
  • UNKNOWN

Returns:

  • (String)

    Type of emotion detected.