summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat/trackhat.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-16 12:46:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-03-29 00:04:47 +0200
commit2aa7936fca6df11f6f7ce03ba8209027ec90f45f (patch)
treec958f2c60c130ad43561a5f2202c227ffa70e810 /tracker-trackhat/trackhat.hpp
parent20fc4b1b648ffc8e403c7b13e933ecd92b0458c7 (diff)
tracker/trackhat: buffer flush
Diffstat (limited to 'tracker-trackhat/trackhat.hpp')
-rw-r--r--tracker-trackhat/trackhat.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tracker-trackhat/trackhat.hpp b/tracker-trackhat/trackhat.hpp
index 2cdc083b..9f87da66 100644
--- a/tracker-trackhat/trackhat.hpp
+++ b/tracker-trackhat/trackhat.hpp
@@ -1,10 +1,11 @@
#pragma once
#include "../tracker-pt/pt-api.hpp"
-#include "track_hat_driver.h"
#include "compat/macros.hpp"
#include "options/options.hpp"
+#include <track_hat_driver.h>
+
#include <array>
#include <atomic>
#include <opencv2/core.hpp>
@@ -25,7 +26,7 @@ using namespace options;
struct trackhat_settings : opts
{
trackhat_settings();
- value<slider_value> exposure{b, "exposure", {0xfff0, 1, 0xfff0}};
+ value<slider_value> exposure{b, "exposure", {0x80, 0x10, 0xff}};
value<slider_value> threshold{b, "threshold", {0x97, 64, 0xff}};
value<model_type> model{b, "model", model_mini_clip_left};
value<double> min_pt_size{b, "min-point-size", 2};
@@ -111,7 +112,7 @@ private:
struct trackhat_frame final : pt_frame
{
- void init_points(trackHat_ExtendedPoints_t points, double min_size, double max_size);
+ void init_points(const trackHat_ExtendedPoints_t& points, double min_size, double max_size);
trackhat_frame() = default;
~trackhat_frame() override = default;