Emotion
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.
Contents
- Confidence
-
Level of confidence in the determination.
Type: Float
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- Type
-
Type of emotion detected.
Type: String
Valid Values:
HAPPY | SAD | ANGRY | CONFUSED | DISGUSTED | SURPRISED | CALM | UNKNOWN | FEAR
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: