diff options
-rw-r--r-- | facetracknoir/tracker.cpp | 2 | ||||
-rw-r--r-- | ftnoir_filter_accela/ftnoir_filter_accela.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index 7292076b..a0b827e4 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -203,7 +203,7 @@ void Tracker::run() { }
//for lower cpu load
- msleep(16);
+ msleep(8);
}
for (int i = 0; i < 6; i++)
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp index 66744c2f..f2306204 100644 --- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp +++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp @@ -37,7 +37,7 @@ void FTNoIR_Filter::loadSettings() { static double parabola(const double a, const double x)
{
const double a1 = 1./a;
- return a1 * a1 * x * x;
+ return a1 * x * x;
}
void FTNoIR_Filter::FilterHeadPoseData(double *current_camera_position,
|