3DiVi Face SDK  3.21.0
 Указатель Классы Пространства имен Файлы Функции Переменные Определения типов Перечисления Элементы перечислений Свойства Группы
EmotionsEstimator

Классы

class  face_sdk.modules.emotions_estimator.Emotion
 Эмоции. Подробнее...
 
class  face_sdk.modules.emotions_estimator.EmotionConfidence
 Эмоция с коэффициентом уверенности. Подробнее...
 
class  face_sdk.modules.emotions_estimator.EmotionsEstimator
 Интерфейсный объект для определения эмоций. Подробнее...
 

Функции

def face_sdk.modules.emotions_estimator.EmotionConfidence.__init__
 Эмоция. Подробнее...
 
def face_sdk.modules.emotions_estimator.EmotionConfidence.__repr__
 
def face_sdk.modules.emotions_estimator.EmotionsEstimator.__init__
 
def face_sdk.modules.emotions_estimator.EmotionsEstimator.estimate_emotions
 Определить эмоцию поданного лица. Подробнее...
 

Переменные

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_NEUTRAL = 0
 Нейтральный. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_HAPPY = 1
 Счастливый. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_ANGRY = 2
 Злой. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SURPRISE = 3
 Удивленный. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_DISGUSTED = 4
 Испытывающий отвращение. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SCARED = 5
 Напуганный. Подробнее...
 
int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SAD = 6
 Грустный. Подробнее...
 
 face_sdk.modules.emotions_estimator.EmotionConfidence.emotion
 
 face_sdk.modules.emotions_estimator.EmotionConfidence.confidence
 

Подробное описание

Функции

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

Эмоция.

Положительное вещественное число из диапазона [0; 1].

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

Определить эмоцию поданного лица.

Аргументы
[in]sampleЛицо.
Возвращает
Определенные эмоции с коэффициентами уверенности. В порядке уменьшения уверенности. Сумма всех коэффициентов равна 1.

Переменные

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_ANGRY = 2
static

Злой.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_DISGUSTED = 4
static

Испытывающий отвращение.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_HAPPY = 1
static

Счастливый.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_NEUTRAL = 0
static

Нейтральный.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SAD = 6
static

Грустный.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SCARED = 5
static

Напуганный.

int face_sdk.modules.emotions_estimator.Emotion.EMOTION_SURPRISE = 3
static

Удивленный.