|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 | 9 | <width>289</width>
|
10 |
| - <height>540</height> |
| 10 | + <height>621</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="sizePolicy">
|
|
19 | 19 | <property name="minimumSize">
|
20 | 20 | <size>
|
21 | 21 | <width>289</width>
|
22 |
| - <height>540</height> |
| 22 | + <height>621</height> |
23 | 23 | </size>
|
24 | 24 | </property>
|
25 | 25 | <property name="maximumSize">
|
26 | 26 | <size>
|
27 | 27 | <width>289</width>
|
28 |
| - <height>540</height> |
| 28 | + <height>621</height> |
29 | 29 | </size>
|
30 | 30 | </property>
|
31 | 31 | <property name="cursor">
|
|
46 | 46 | <x>10</x>
|
47 | 47 | <y>180</y>
|
48 | 48 | <width>271</width>
|
49 |
| - <height>101</height> |
| 49 | + <height>181</height> |
50 | 50 | </rect>
|
51 | 51 | </property>
|
52 | 52 | <property name="title">
|
53 | 53 | <string>Capture Settings</string>
|
54 | 54 | </property>
|
55 |
| - <widget class="QCheckBox" name="force_print_window_checkbox"> |
56 |
| - <property name="enabled"> |
57 |
| - <bool>true</bool> |
58 |
| - </property> |
59 |
| - <property name="geometry"> |
60 |
| - <rect> |
61 |
| - <x>6</x> |
62 |
| - <y>73</y> |
63 |
| - <width>204</width> |
64 |
| - <height>20</height> |
65 |
| - </rect> |
66 |
| - </property> |
67 |
| - <property name="toolTip"> |
68 |
| - <string>Force a full render of the capture window, which is required for some applications to be captured</string> |
69 |
| - </property> |
70 |
| - <property name="whatsThis"> |
71 |
| - <string/> |
72 |
| - </property> |
73 |
| - <property name="text"> |
74 |
| - <string>Force Full Render (slower Max FPS)</string> |
75 |
| - </property> |
76 |
| - <property name="checked"> |
77 |
| - <bool>false</bool> |
78 |
| - </property> |
79 |
| - <property name="tristate"> |
80 |
| - <bool>false</bool> |
81 |
| - </property> |
82 |
| - </widget> |
83 | 55 | <widget class="QSpinBox" name="fps_limit_spinbox">
|
84 | 56 | <property name="geometry">
|
85 | 57 | <rect>
|
|
143 | 115 | <bool>false</bool>
|
144 | 116 | </property>
|
145 | 117 | </widget>
|
| 118 | + <widget class="QComboBox" name="capture_method_combobox"> |
| 119 | + <property name="geometry"> |
| 120 | + <rect> |
| 121 | + <x>6</x> |
| 122 | + <y>97</y> |
| 123 | + <width>251</width> |
| 124 | + <height>22</height> |
| 125 | + </rect> |
| 126 | + </property> |
| 127 | + </widget> |
| 128 | + <widget class="QLabel" name="capture_method_label"> |
| 129 | + <property name="geometry"> |
| 130 | + <rect> |
| 131 | + <x>6</x> |
| 132 | + <y>75</y> |
| 133 | + <width>151</width> |
| 134 | + <height>16</height> |
| 135 | + </rect> |
| 136 | + </property> |
| 137 | + <property name="text"> |
| 138 | + <string>Capture method:</string> |
| 139 | + </property> |
| 140 | + </widget> |
| 141 | + <widget class="QLabel" name="capture_device_label"> |
| 142 | + <property name="geometry"> |
| 143 | + <rect> |
| 144 | + <x>6</x> |
| 145 | + <y>126</y> |
| 146 | + <width>151</width> |
| 147 | + <height>16</height> |
| 148 | + </rect> |
| 149 | + </property> |
| 150 | + <property name="text"> |
| 151 | + <string>Capture device:</string> |
| 152 | + </property> |
| 153 | + </widget> |
| 154 | + <widget class="QComboBox" name="capture_device_combobox"> |
| 155 | + <property name="enabled"> |
| 156 | + <bool>false</bool> |
| 157 | + </property> |
| 158 | + <property name="geometry"> |
| 159 | + <rect> |
| 160 | + <x>6</x> |
| 161 | + <y>148</y> |
| 162 | + <width>251</width> |
| 163 | + <height>22</height> |
| 164 | + </rect> |
| 165 | + </property> |
| 166 | + <property name="placeholderText"> |
| 167 | + <string>Scanning for existing devices...</string> |
| 168 | + </property> |
| 169 | + </widget> |
146 | 170 | </widget>
|
147 | 171 | <widget class="QGroupBox" name="image_settings_groupbox">
|
148 | 172 | <property name="geometry">
|
149 | 173 | <rect>
|
150 | 174 | <x>10</x>
|
151 |
| - <y>290</y> |
| 175 | + <y>370</y> |
152 | 176 | <width>271</width>
|
153 | 177 | <height>241</height>
|
154 | 178 | </rect>
|
|
175 | 199 | </rect>
|
176 | 200 | </property>
|
177 | 201 | <property name="toolTip">
|
178 |
| - <string/> |
179 |
| - </property> |
180 |
| - <property name="whatsThis"> |
181 |
| - <string notr="true"/> |
| 202 | + <string>L2 Norm: |
| 203 | +This method should be fine to use for most cases. |
| 204 | +It finds the difference between each pixel, squares it, sums it over the entire image and takes the square root. |
| 205 | +This is very fast but is a problem if your image is high frequency. |
| 206 | +Any translational movement or rotation can cause similarity to be very different. |
| 207 | + |
| 208 | +Histograms: |
| 209 | +An explanation on Histograms comparison can be found here |
| 210 | +https://mpatacchiola.github.io/blog/2016/11/12/the-simplest-classifier-histogram-intersection.html |
| 211 | +This is a great method to use if you are using several masked images. |
| 212 | + |
| 213 | +Perceptual Hash: |
| 214 | +An explanation on pHash comparison can be found here |
| 215 | +http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html |
| 216 | +It is highly recommended to NOT use pHash if you use masked images. It is very inaccurate.</string> |
182 | 217 | </property>
|
183 | 218 | <item>
|
184 | 219 | <property name="text">
|
|
192 | 227 | </item>
|
193 | 228 | <item>
|
194 | 229 | <property name="text">
|
195 |
| - <string>Perceptual Hash</string> |
| 230 | + <string>pHash</string> |
196 | 231 | </property>
|
197 | 232 | </item>
|
198 | 233 | </widget>
|
|
646 | 681 | <tabstop>loop_splits_checkbox</tabstop>
|
647 | 682 | <tabstop>fps_limit_spinbox</tabstop>
|
648 | 683 | <tabstop>live_capture_region_checkbox</tabstop>
|
649 |
| - <tabstop>force_print_window_checkbox</tabstop> |
650 | 684 | </tabstops>
|
651 | 685 | <resources/>
|
652 | 686 | <connections/>
|
|
0 commit comments