From 3bc73d412f7a1efd18b2e5deec5c09cdc3354598 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 14 Sep 2016 16:35:14 +0100 Subject: [PATCH] Fix featurename --- www/faces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/faces.php b/www/faces.php index aab3f3d..592143c 100644 --- a/www/faces.php +++ b/www/faces.php @@ -28,7 +28,7 @@ foreach(range(0, 100, 10) as $i) { /* @var $hitRepo EmotionHero\Models\HitRepository */ $hitRepo = $em->getRepository(EmotionHero\Models\Hit::class); $hit = $hitRepo->getClosestHit("anger", $i); - $img = $hit->getFeatureImgAsString("anger"); + $img = $hit->getFeatureImgAsString("brows"); $score = $hit->getEmotions()->getEmotionScore("anger"); $percentage = sprintf("%.4f %%",$score);