summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
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>