Commit 02fd142434802227e2ac76f9455432de5d16ed6c

Authored by Josh Klontz
2 parents b1c88730 a8dad531

Merge branch 'master' of https://github.com/biometrics/openbr

Showing 1 changed file with 1 additions and 0 deletions
openbr/plugins/register.cpp
... ... @@ -72,6 +72,7 @@ class AffineTransform : public UntrainableTransform
72 72 (src.file.contains("Affine_2") || twoPoints)) {
73 73 srcPoints[0] = OpenCVUtils::toPoint(src.file.get<QPointF>("Affine_0"));
74 74 srcPoints[1] = OpenCVUtils::toPoint(src.file.get<QPointF>("Affine_1"));
  75 +
75 76 dst.file.set("Affine_0", OpenCVUtils::fromPoint(dstPoints[0]));
76 77 dst.file.set("Affine_1", OpenCVUtils::fromPoint(dstPoints[1]));
77 78 if (!twoPoints) srcPoints[2] = OpenCVUtils::toPoint(src.file.get<QPointF>("Affine_2"));
... ...