summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-19 17:24:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-19 17:24:37 +0200
commit649f9524cf43dcea2fdbef815623102b3c606197 (patch)
tree4b889f75e6259c972a0e2643c8ec7a5566a8d168 /tracker-aruco
parent52852e7b95151ded0d3f43e20731efd7a0431a24 (diff)
tracker/{aruco,pt}: convert camera image with BGR weights
We were using the wrong weights for all the years. Fuck me.
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 745ce50d..0090aa12 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -376,7 +376,7 @@ void aruco_tracker::run()
continue;
}
- cv::cvtColor(color, grayscale, cv::COLOR_RGB2GRAY);
+ cv::cvtColor(color, grayscale, cv::COLOR_BGR2GRAY);
#ifdef DEBUG_UNSHARP_MASKING
{