From 946c91f92d20a7b53953759dc3df50947587605d Mon Sep 17 00:00:00 2001 From: Ben Klein Date: Mon, 21 Jul 2014 11:52:39 -0400 Subject: [PATCH] Append eyes to src template as points --- openbr/janus.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/janus.cpp b/openbr/janus.cpp index be9158f..f68a543 100644 --- a/openbr/janus.cpp +++ b/openbr/janus.cpp @@ -64,6 +64,8 @@ janus_error janus_augment(const janus_image image, const janus_attribute_list at t.file.set("Affine_0", QPointF(t.file.get("RIGHT_EYE_X"), t.file.get("RIGHT_EYE_Y"))); t.file.set("Affine_1", QPointF(t.file.get("LEFT_EYE_X"), t.file.get("LEFT_EYE_Y"))); + t.file.appendPoint(t.file.get("Affine_1")); + t.file.appendPoint(t.file.get("Affine_0")); Template u; transform->project(t, u); template_->append(u); -- libgit2 0.21.4