summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-17 18:46:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-17 18:46:52 +0200
commit09d09f5f2cb210cfc84003f03b0b4aaf88870bf9 (patch)
tree4db1f03433071a0184fb89fbe032cafe7e743794
parent0f84ec2de58309bcb670463cd0eb4affca4397f6 (diff)
tracker/aruco: switch back to 2.3.9 constants -- #770
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp3
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 50f621e9..28eea60e 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -40,9 +40,10 @@ static const int adaptive_sizes[] =
30,
80,
#else
+ 5,
7,
9,
- 13,
+ 11,
#endif
};
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h
index 419f3e3a..6c249c6a 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.h
+++ b/tracker-aruco/ftnoir_tracker_aruco.h
@@ -113,8 +113,8 @@ private:
static constexpr inline int adaptive_thres = 3;
#endif
- static constexpr inline double timeout = 1;
- static constexpr inline double timeout_backoff_c = 4./11;
+ static constexpr inline double timeout = .35;
+ static constexpr inline double timeout_backoff_c = .25;
static constexpr inline float size_min = 0.05;
static constexpr inline float size_max = 0.5;