Commit a3093cc6990607323db8bc375a0816e248659848
Merge branch 'master' of https://github.com/biometrics/openbr
Showing
1 changed file
with
2 additions
and
0 deletions
openbr/janus.cpp
| ... | ... | @@ -64,6 +64,8 @@ janus_error janus_augment(const janus_image image, const janus_attribute_list at |
| 64 | 64 | |
| 65 | 65 | t.file.set("Affine_0", QPointF(t.file.get<float>("RIGHT_EYE_X"), t.file.get<float>("RIGHT_EYE_Y"))); |
| 66 | 66 | t.file.set("Affine_1", QPointF(t.file.get<float>("LEFT_EYE_X"), t.file.get<float>("LEFT_EYE_Y"))); |
| 67 | + t.file.appendPoint(t.file.get<QPointF>("Affine_1")); | |
| 68 | + t.file.appendPoint(t.file.get<QPointF>("Affine_0")); | |
| 67 | 69 | Template u; |
| 68 | 70 | transform->project(t, u); |
| 69 | 71 | template_->append(u); | ... | ... |