AUScorer¶
-
class
scoring.AUScorer.
AUScorer
(dir, include_eyebrows=True)¶ Main scorer
-
get_emotions
(index: int)¶ Gets the emotions at a specific index.
Parameters: index – Index to look for emotions at Returns: Emotions at index if index is in the list of emotion indices, else None
-
-
scoring.AUScorer.
emotion_list
() → list¶ Create standard emotion list.
Returns: List with the emotions Angry, Fear, Sad, Happy, Surprise, and Disgust.
-
scoring.AUScorer.
replace
(arr: list, num: int, other_num: int)¶ Remove an element from an array and add another one. :param arr: Array. :param num: Element to remove. :param other_num: Element to add. :return: Changed array.