summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-28 04:55:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-28 04:55:27 +0100
commitb0769de5dfd0e01039dbadcf4b0469e77175fd4f (patch)
tree1403df6f3485052dd94513dbacda5e03a5bf14df /facetracknoir/tracker.cpp
parent8342cffaaf496021c452b0a3166428fb3beb4316 (diff)
remove broken scaling code
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r--facetracknoir/tracker.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index ce9af054..50c7ad9d 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -160,9 +160,6 @@ void Tracker::run() {
for (int i = 0; i < 3; i++)
output_camera.axes[i] = ret.at<double>(i);
-
- output_camera.axes[Yaw] += atan2(output_camera.axes[TZ], output_camera.axes[TX]) * yi;
- output_camera.axes[Pitch] -= atan2(output_camera.axes[TZ], output_camera.axes[TY]) * pi;
}
if (Libraries->pProtocol) {