diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-01-25 20:52:17 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-01-25 20:52:17 +0000 |
commit | de8ca77801f1f7de1e553967f80147ad89345912 (patch) | |
tree | 211b8ab371938fd3917324bde2bba0d206d9631e /FaceTrackNoIR/tracker.cpp | |
parent | 5a63e2a7735fa982885b1164e35aedbaabf95047 (diff) |
Fixed beta filter-initialize
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@44 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index c054873d..bc7b45f8 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -335,13 +335,6 @@ void Tracker::run() { smEngineHeadPoseData temp_head_pose; // headpose from faceAPI
# endif
- new_camera_position.x = 0.0f;
- new_camera_position.y = 0.0f;
- new_camera_position.z = 0.0f;
- new_camera_position.yaw = 0.0f;
- new_camera_position.pitch = 0.0f;
- new_camera_position.roll = 0.0f;
-
//
// Test some Filter-stuff
//
@@ -432,6 +425,13 @@ void Tracker::run() { Z.rawList.clear();
Z.prevPos = 0.0f;
+ current_camera_position.x = 0.0f;
+ current_camera_position.y = 0.0f;
+ current_camera_position.z = 0.0f;
+ current_camera_position.yaw = 0.0f;
+ current_camera_position.pitch = 0.0f;
+ current_camera_position.roll = 0.0f;
+
_engine->start();
}
else {
|