From fc03209f0819e2d247f0b24ed02842fc5505ef73 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 1 Jun 2015 17:10:06 +0200 Subject: pt, aruco, ht: select camera by name, not index --- ftnoir_tracker_ht/ftnoir_tracker_ht.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.h') diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index ce264b8c..cd4ffa16 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -20,12 +20,13 @@ using namespace options; struct settings : opts { value fov; - value fps, camera_idx, resolution; + value camera_name; + value fps, resolution; settings() : opts("HT-Tracker"), fov(b, "fov", 56), + camera_name(b, "camera-name", ""), fps(b, "fps", 0), - camera_idx(b, "camera-index", 0), resolution(b, "resolution", 0) {} }; -- cgit v1.2.3