summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-13 19:04:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-13 19:04:59 +0200
commit513d3d0f71670493f8cb95eda80ad55e041680df (patch)
tree148fcaf60ae34745b33d3292032af1b13aeee374 /ftnoir_tracker_ht
parent279d6c1b0534edd7c49f2f1fbf56acf9ed1c4a21 (diff)
pt, ht, aruco: use calibration data. rename fov to diagonal in UI
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp1
-rw-r--r--ftnoir_tracker_ht/ht-trackercontrols.ui2
2 files changed, 2 insertions, 1 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index deb90ee5..1ec0e13f 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -42,6 +42,7 @@ void Tracker::load_settings(ht_config_t* config)
break;
}
+ static constexpr float pi = 3.14159265358979323846f;
config->classification_delay = 500;
config->field_of_view = s.fov;
config->max_keypoints = 150;
diff --git a/ftnoir_tracker_ht/ht-trackercontrols.ui b/ftnoir_tracker_ht/ht-trackercontrols.ui
index dd5e57f3..29b80c8d 100644
--- a/ftnoir_tracker_ht/ht-trackercontrols.ui
+++ b/ftnoir_tracker_ht/ht-trackercontrols.ui
@@ -55,7 +55,7 @@
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
- <string>Horizontal FOV</string>
+ <string>Diagonal FOV</string>
</property>
</widget>
</item>