Face Engine SDK  5.8.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::EmotionsEstimation Struct Reference

Emotions estimation structure. Each estimation is given in normalized [0, 1] range. More...

#include <IEmotionsEstimator.h>

Public Types

enum  Emotions {
  Anger = 0, Disgust, Fear, Happiness,
  Sadness, Surprise, Neutral, Count
}
 

Public Member Functions

Emotions getPredominantEmotion () const
 Returns emotion with greatest score.
 
float getEmotionScore (Emotions emotion) const
 Returns score of required emotion. More...
 

Public Attributes

float anger
 0(not angry)..1(angry);
 
float disgust
 0(not disgusted)..1(disgusted);
 
float fear
 0(no fear)..1(fear);
 
float happiness
 0(not happy)..1(happy);
 
float sadness
 0(not sad)..1(sad);
 
float surprise
 0(not surprised)..1(surprised);
 
float neutral
 0(not neutral)..1(neutral).
 

Detailed Description

Emotions estimation structure. Each estimation is given in normalized [0, 1] range.

Member Function Documentation

float fsdk::EmotionsEstimation::getEmotionScore ( Emotions  emotion) const
inline

Returns score of required emotion.

Parameters
[in]emotionemotion
See Also
Emotions for details.

The documentation for this struct was generated from the following file: