Commit 806f710b10fda7be8571cb0d2900ac9a99187cf8
1 parent
412d8058
fixed flipped LeftEye/RightEye bug, whitespace
Showing
1 changed file
with
3 additions
and
3 deletions
openbr/plugins/classification/dlib.cpp
| @@ -55,9 +55,9 @@ private: | @@ -55,9 +55,9 @@ private: | ||
| 55 | void setFacePoints(Template &dst) const | 55 | void setFacePoints(Template &dst) const |
| 56 | { | 56 | { |
| 57 | const QList<QPointF> points = dst.file.points(); | 57 | const QList<QPointF> points = dst.file.points(); |
| 58 | - dst.file.set("LeftEye",averagePoints(points,36,42)); | ||
| 59 | - dst.file.set("RightEye",averagePoints(points,42,48)); | ||
| 60 | - dst.file.set("Chin",points[8]); | 58 | + dst.file.set("RightEye", averagePoints(points, 36, 42)); |
| 59 | + dst.file.set("LeftEye" , averagePoints(points, 42, 48)); | ||
| 60 | + dst.file.set("Chin", points[8]); | ||
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | void project(const Template &src, Template &dst) const | 63 | void project(const Template &src, Template &dst) const |