summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 07:10:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 07:10:34 +0200
commit3c33345ffd65de1bb121c0ed5486953c75cd1c78 (patch)
tree98ff827d22f919ee5014ed40d5b66a03034e0482 /ftnoir_tracker_pt/camera.cpp
parent1b00f064f5f10692af63d786bb9d27ea1356d946 (diff)
pt camera: small tweaks
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r--ftnoir_tracker_pt/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp
index 78a37b71..63b401a8 100644
--- a/ftnoir_tracker_pt/camera.cpp
+++ b/ftnoir_tracker_pt/camera.cpp
@@ -57,7 +57,7 @@ bool Camera::get_frame(float dt, cv::Mat* frame)
{
bool new_frame = _get_frame(frame);
// measure fps of valid frames
- const float dt_smoothing_const = 0.9;
+ const float dt_smoothing_const = 0.95;
dt_valid += dt;
if (new_frame)
{
@@ -102,7 +102,7 @@ void CVCamera::stop()
// give opencv time to exit camera threads, etc.
if (opened)
portable::sleep(500);
- qDebug() << "camera: assuming stopped";
+ qDebug() << "pt camera: assuming stopped";
}
}