summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.h')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h
index 8531bef9..4b3bde73 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.h
+++ b/tracker-aruco/ftnoir_tracker_aruco.h
@@ -31,6 +31,9 @@
// value 0->1
//#define DEBUG_UNSHARP_MASKING .75
+//canny thresholding
+//#define USE_EXPERIMENTAL_CANNY
+
using namespace options;
struct settings : opts {
@@ -127,11 +130,15 @@ private:
static constexpr const int adaptive_sizes[] =
{
+#if defined USE_EXPERIMENTAL_CANNY
+ 3,
+ 5,
+ 7,
+#else
7,
9,
- //11,
13,
- //5,
+#endif
};
static constexpr int adaptive_thres = 6;