More mhm info
This commit is contained in:
parent
332467c939
commit
7d5719fd08
1 changed files with 8 additions and 2 deletions
|
@ -246,10 +246,10 @@ class ScoreControllerProvider implements ControllerProviderInterface
|
|||
'inner_brow_raiser' => ["RightInnerBrowUp","LeftInnerBrowUp"],
|
||||
'chin_raiser' => ["ChinForward"],
|
||||
'smirk' => ["MouthLeftPullUp"],
|
||||
'lip_suck' => ["UpperLipBackward","LowerLipBackward"],
|
||||
'lip_suck' => ["UpperLipBackward","lowerLipBackward"],
|
||||
'upper_lip_raiser' => ["UpperLipUp"],
|
||||
'lip_pucker' => ["LipsKiss"],
|
||||
'lip_pucker' => ["UpperLipForward","LowerLipForward"],
|
||||
'lip_pucker' => ["UpperLipForward","lowerLipForward"],
|
||||
'eye_closure' => ["RightUpperLidClosed","LeftUpperLidClosed"],
|
||||
'engagement' => [],
|
||||
'valence' => [],
|
||||
|
@ -262,6 +262,12 @@ class ScoreControllerProvider implements ControllerProviderInterface
|
|||
// <!-- platysma?? -->
|
||||
];
|
||||
|
||||
$exprs = "";
|
||||
|
||||
foreach($hit->getExpressions()::$EXPRESSIONS as $expr) {
|
||||
$exprs .= " $expr {$hit->getExpressions()->getExpressionScore($expr)}%.";
|
||||
}
|
||||
|
||||
$data = [
|
||||
"license" => "AGPL3",
|
||||
"name" => "hit_{$hit->getId()}",
|
||||
|
|
Loading…
Reference in a new issue