From 806f710b10fda7be8571cb0d2900ac9a99187cf8 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 21 Jan 2016 11:14:35 -0500 Subject: [PATCH] fixed flipped LeftEye/RightEye bug, whitespace --- openbr/plugins/classification/dlib.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/classification/dlib.cpp b/openbr/plugins/classification/dlib.cpp index 905363d..acd4d8e 100644 --- a/openbr/plugins/classification/dlib.cpp +++ b/openbr/plugins/classification/dlib.cpp @@ -55,9 +55,9 @@ private: void setFacePoints(Template &dst) const { const QList points = dst.file.points(); - dst.file.set("LeftEye",averagePoints(points,36,42)); - dst.file.set("RightEye",averagePoints(points,42,48)); - dst.file.set("Chin",points[8]); + dst.file.set("RightEye", averagePoints(points, 36, 42)); + dst.file.set("LeftEye" , averagePoints(points, 42, 48)); + dst.file.set("Chin", points[8]); } void project(const Template &src, Template &dst) const -- libgit2 0.21.4