summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat/trackhat.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-17 14:34:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-03-29 00:04:48 +0200
commit0abd7625ad329e291f33f86c4771813dc34235c5 (patch)
tree3db488adf748b2072c7776513ceecc9b086d3cee /tracker-trackhat/trackhat.hpp
parent377a965bbb2661d6fa08dfc05e37c43ee172452f (diff)
tracker/trackhat: measure points by area
Diffstat (limited to 'tracker-trackhat/trackhat.hpp')
-rw-r--r--tracker-trackhat/trackhat.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-trackhat/trackhat.hpp b/tracker-trackhat/trackhat.hpp
index a6309f9c..01005e65 100644
--- a/tracker-trackhat/trackhat.hpp
+++ b/tracker-trackhat/trackhat.hpp
@@ -32,8 +32,8 @@ struct trackhat_settings : opts
value<slider_value> threshold{b, "threshold", {0x97, 64, 0xff}};
value<slider_value> threshold_2{b, "threshold-2", {0x03, 1, 0xfe}};
value<model_type> model{b, "model", model_mini_clip_left};
- value<double> min_pt_size{b, "min-point-size", 2};
- value<double> max_pt_size{b, "max-point-size", 8};
+ value<double> min_pt_size{b, "min-point-size", 10};
+ value<double> max_pt_size{b, "max-point-size", 50};
value<bool> enable_point_filter{b, "enable-point-filter", true };
value<slider_value> point_filter_coefficient{b, "point-filter-coefficient", { 1.5, 1, 4 }};
};
@@ -72,7 +72,7 @@ struct trackhat_metadata final : pt_runtime_traits
struct point
{
- int brightness = 0, x, y, W, H;
+ int brightness = 0, area, x, y, W, H;
bool ok = false;
};