diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-08-24 22:33:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-08-24 22:33:18 +0200 |
commit | d446d36911a87eb18dd0a776b40c63f4bcc631c9 (patch) | |
tree | 6aaac82e0eec8f72cc4f6a695b19df930e115a33 | |
parent | c9ea0a95c038f2ed95a725a3d2c97aa4e725c263 (diff) |
Undo the filtering clusterfuck following discussion with dbaarda
-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,
|