summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-21 11:09:15 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-21 11:09:15 +0000
commitddc63cdda186fe31435fde839c3d5b68040a0d0f (patch)
tree2bedd8baf61757c802a95949f2cd20f1d53a4bdc /FaceTrackNoIR/tracker.h
parentc2eac43ebb6f05fd88f2718e2de942d845e04c70 (diff)
Fixed centering when no filter is selected
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@154 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index df259708..d7c0506e 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -116,7 +116,7 @@ public:
void initHeadPoseData(){
headPos = 0.0f;
- offset_headPos = 0.0f;
+// offset_headPos = 0.0f;
invert = 0.0f;
red = 0.0f;
rawList.clear();
@@ -132,7 +132,7 @@ public:
}
float headPos; // Current position (from faceTracker, radials or meters)
- float offset_headPos; // Offset for centering
+// float offset_headPos; // Offset for centering
float invert; // Invert measured value (= 1.0f or -1.0f)
float red; // Reduction factor (used for EWMA-filtering, between 0.0f and 1.0f)
QList<float> rawList; // List of 'n' headPos values (used for moving average)