summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_tracker_pt/camera.cpp2
1 files changed, 2 insertions, 0 deletions
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);