3DiVi Face SDK  3.24.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
EmotionsEstimator

Classes

class  face_sdk.modules.emotions_estimator.Emotion
 Emotions. More...
 
class  face_sdk.modules.emotions_estimator.EmotionConfidence
 Emotion with confidence. More...
 
class  face_sdk.modules.emotions_estimator.EmotionsEstimator
 Interface object for estimation of emotions. More...
 

Functions

def face_sdk.modules.emotions_estimator.EmotionConfidence.__init__
 Emotion. More...
 
def face_sdk.modules.emotions_estimator.EmotionsEstimator.estimate_emotions
 Estimates the emotion of a given face sample. More...
 

Variables

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_NEUTRAL = 0
 Neutral.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_HAPPY = 1
 Happy.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_ANGRY = 2
 Angry.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SURPRISE = 3
 Surprised.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_DISGUSTED = 4
 Disgusted.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SCARED = 5
 Scared.
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SAD = 6
 Sad.
 

Detailed Description

Function Documentation

def face_sdk.modules.emotions_estimator.EmotionConfidence.__init__ (   self,
  emotion 
)

Emotion.

Positive real number in the range of [0; 1].

def face_sdk.modules.emotions_estimator.EmotionsEstimator.estimate_emotions (   self,
  sample 
)

Estimates the emotion of a given face sample.

Parameters
[in]sampleFace sample.
Returns
Vector of estimated emotions with confidence coefficients. In descending confidence order. The sum of all confidence coefficients equals 1.