summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-24 17:55:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-24 19:34:46 +0200
commite9e291bb7c571337745cabc81ec7141f80e9a629 (patch)
treefe1baebf06eff92678d4f26b03198a1b90f2a86a /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
parentbc8ad8274d9dd0d5693fa48db5325bcacff9cadf (diff)
use gain class already for debugging sake
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 97830c9a..e216d319 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -214,6 +214,8 @@ void Tracker::run()
grayscale = channel[2];
} else
cv::cvtColor(color, grayscale, cv::COLOR_BGR2GRAY);
+
+ gain.tick(camera, grayscale);
const int scale = frame.cols > 480 ? 2 : 1;
detector.setThresholdParams(scale > 1 ? 11 : 7, 4);