summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.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_pt/ftnoir_tracker_pt_settings.h
parent95624a290d9894966e3dab9ffc7064bbb2b51f18 (diff)
pt, aruco, ht: select camera by name, not index
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
index 20ede0dd..fba755bd 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
@@ -15,8 +15,8 @@ using namespace options;
struct settings : opts
{
- value<int> cam_index,
- cam_res_x,
+ value<QString> camera_name;
+ value<int> cam_res_x,
cam_res_y,
cam_fps,
threshold,
@@ -38,7 +38,7 @@ struct settings : opts
settings() :
opts("tracker-pt"),
- cam_index(b, "camera-index", 0),
+ camera_name(b, "camera-name", ""),
cam_res_x(b, "camera-res-width", 640),
cam_res_y(b, "camera-res-height", 480),
cam_fps(b, "camera-fps", 30),