|
3DiVi Face SDK
3.24.0
|
Interface object for estimation of emotions. More...
#include <EmotionsEstimator.h>
Classes | |
| struct | EmotionConfidence |
| Emotion with confidence. More... | |
Public Types | |
| enum | Emotion { EMOTION_NEUTRAL = 0, EMOTION_HAPPY = 1, EMOTION_ANGRY = 2, EMOTION_SURPRISE = 3, EMOTION_DISGUSTED = 4, EMOTION_SCARED = 5, EMOTION_SAD = 6 } |
| Emotions. More... | |
|
typedef LightSmartPtr < EmotionsEstimator >::tPtr | Ptr |
| Alias for the type of a smart pointer to EmotionsEstimator. | |
|
typedef std::vector < EmotionConfidence > | EstimatedEmotionsVector |
| Vector of estimated emotions with confidence coefficients. In descending confidence order. The sum of all confidence coefficients equals 1. | |
Public Member Functions | |
| EstimatedEmotionsVector | estimateEmotions (const pbio::RawSample &sample) const |
| Estimates the emotion of a given face sample. More... | |
Interface object for estimation of emotions.
|
inline |
Estimates the emotion of a given face sample.
| [in] | sample | Face sample. |