diff options
Diffstat (limited to 'FaceTrackNoIR')
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.ui | 9 | ||||
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.ui b/FaceTrackNoIR/FaceTrackNoIR.ui index eec447bc..f04108a8 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.ui +++ b/FaceTrackNoIR/FaceTrackNoIR.ui @@ -552,6 +552,9 @@ Support FaceTrackNoIR!</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLCDNumber" name="lcdNumRotX">
<property name="geometry">
@@ -565,6 +568,9 @@ Support FaceTrackNoIR!</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
@@ -706,6 +712,9 @@ color:white;</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLCDNumber" name="lcdNumX">
<property name="geometry">
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 71f47f36..a24b58f8 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -363,13 +363,13 @@ T6DOF offset_camera(0,0,0,0,0,0); T6DOF gamezero_camera(0,0,0,0,0,0);
T6DOF gameoutput_camera(0,0,0,0,0,0);
-bool bInitialCenter = true;
+bool bInitialCenter = false;
bool bTracker1Confid = false;
bool bTracker2Confid = false;
Tracker::do_tracking = true; // Start initially
Tracker::do_center = false; // Center initially
- bInitialCenter = true;
+// bInitialCenter = true;
//
// Test some Filter-stuff
@@ -692,6 +692,7 @@ bool bTracker2Confid = false; target_camera = target_camera - offset_camera;
if (Tracker::useFilter && pFilter) {
+// qDebug() << "Tracker::run() says target_camera.yaw = " << target_camera.yaw;
pFilter->FilterHeadPoseData(¤t_camera, &target_camera, &new_camera, Tracker::Pitch.newSample);
}
else {
|