From 649f9524cf43dcea2fdbef815623102b3c606197 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 19 Jun 2017 17:24:37 +0200 Subject: tracker/{aruco,pt}: convert camera image with BGR weights We were using the wrong weights for all the years. Fuck me. --- tracker-aruco/ftnoir_tracker_aruco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-aruco') 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 { -- cgit v1.2.3