summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-14 00:19:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-14 00:19:17 +0100
commit253c206c171b5f064addccda266a1998039409ad (patch)
tree7c7ac4fc3be04ae809e18617f0ad4d00a2da2d65 /ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
parent971603e92c856df8aed4b6d788d0a96485e4eccd (diff)
pt: set correct focal length from camera fovopentrack-2.3-rc6
Issue: #96 Having user-supplied camera fov, we can prevent yaw and pitch occuring by itself when moving horizontally and vertically. Note PointExtractor::extract_points(Mat& frame) should enable same value for fx and fy: c[0] = (mx/m - W/2)/W; c[1] = -(my/m - H/2)/W;
Diffstat (limited to 'ftnoir_tracker_pt/FTNoIR_PT_Controls.ui')
-rw-r--r--ftnoir_tracker_pt/FTNoIR_PT_Controls.ui31
1 files changed, 30 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
index 63ed7f86..109e50cb 100644
--- a/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
+++ b/ftnoir_tracker_pt/FTNoIR_PT_Controls.ui
@@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>453</width>
+ <width>460</width>
<height>621</height>
</rect>
</property>
@@ -273,6 +273,35 @@
</property>
</widget>
</item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_4">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Field of view</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QSpinBox" name="fov">
+ <property name="suffix">
+ <string>°</string>
+ </property>
+ <property name="prefix">
+ <string/>
+ </property>
+ <property name="minimum">
+ <number>10</number>
+ </property>
+ <property name="maximum">
+ <number>90</number>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>