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"],
|
'inner_brow_raiser' => ["RightInnerBrowUp","LeftInnerBrowUp"],
|
||||||
'chin_raiser' => ["ChinForward"],
|
'chin_raiser' => ["ChinForward"],
|
||||||
'smirk' => ["MouthLeftPullUp"],
|
'smirk' => ["MouthLeftPullUp"],
|
||||||
'lip_suck' => ["UpperLipBackward","LowerLipBackward"],
|
'lip_suck' => ["UpperLipBackward","lowerLipBackward"],
|
||||||
'upper_lip_raiser' => ["UpperLipUp"],
|
'upper_lip_raiser' => ["UpperLipUp"],
|
||||||
'lip_pucker' => ["LipsKiss"],
|
'lip_pucker' => ["LipsKiss"],
|
||||||
'lip_pucker' => ["UpperLipForward","LowerLipForward"],
|
'lip_pucker' => ["UpperLipForward","lowerLipForward"],
|
||||||
'eye_closure' => ["RightUpperLidClosed","LeftUpperLidClosed"],
|
'eye_closure' => ["RightUpperLidClosed","LeftUpperLidClosed"],
|
||||||
'engagement' => [],
|
'engagement' => [],
|
||||||
'valence' => [],
|
'valence' => [],
|
||||||
|
@ -262,6 +262,12 @@ class ScoreControllerProvider implements ControllerProviderInterface
|
||||||
// <!-- platysma?? -->
|
// <!-- platysma?? -->
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$exprs = "";
|
||||||
|
|
||||||
|
foreach($hit->getExpressions()::$EXPRESSIONS as $expr) {
|
||||||
|
$exprs .= " $expr {$hit->getExpressions()->getExpressionScore($expr)}%.";
|
||||||
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
"license" => "AGPL3",
|
"license" => "AGPL3",
|
||||||
"name" => "hit_{$hit->getId()}",
|
"name" => "hit_{$hit->getId()}",
|
||||||
|
|
Loading…
Reference in a new issue