From 3c33345ffd65de1bb121c0ed5486953c75cd1c78 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Jul 2015 07:10:34 +0200 Subject: pt camera: small tweaks --- ftnoir_tracker_pt/camera.cpp | 4 ++-- 1 file 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"; } } -- cgit v1.2.3