From 36b82f354d9961eedbedbc709b637989e808d7d1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Oct 2014 14:01:53 +0200 Subject: pt: get camera fps/size on startup Issue: #86 --- ftnoir_tracker_pt/camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp index 7c2c09ce..fec503e1 100644 --- a/ftnoir_tracker_pt/camera.cpp +++ b/ftnoir_tracker_pt/camera.cpp @@ -151,6 +151,8 @@ void CVCamera::start() // extract camera info if (cap->isOpened()) { + _set_fps(); + _set_res(); active = true; active_index = desired_index; cam_info.res_x = cap->get(CV_CAP_PROP_FRAME_WIDTH); -- cgit v1.2.3