summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-01 17:10:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-01 17:10:06 +0200
commitfc03209f0819e2d247f0b24ed02842fc5505ef73 (patch)
treec1ee719eaf89babd9e90f5bd13863d43fa841a51 /ftnoir_tracker_ht/ftnoir_tracker_ht.h
parent95624a290d9894966e3dab9ffc7064bbb2b51f18 (diff)
pt, aruco, ht: select camera by name, not index
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.h')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.h5
1 files changed, 3 insertions, 2 deletions
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<double> fov;
- value<int> fps, camera_idx, resolution;
+ value<QString> camera_name;
+ value<int> 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)
{}
};