summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
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-pt
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-pt')
-rw-r--r--tracker-pt/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index c2780392..5cefcbcd 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -88,8 +88,8 @@ void PointExtractor::extract_points(const cv::Mat& frame, cv::Mat& preview_frame
}
// convert to grayscale
- cv::cvtColor(frame, frame_gray, cv::COLOR_RGB2GRAY);
+ cv::cvtColor(frame, frame_gray, cv::COLOR_BGR2GRAY);
const double region_size_min = s.min_point_size;
const double region_size_max = s.max_point_size;