diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-17 17:51:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-18 07:10:25 +0200 |
commit | 8012733bbda634f1449b2a03272a5f3c08d727ab (patch) | |
tree | 3edba3f707e09285240972fb2dd1e6081ceeae62 /ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | |
parent | df14cc706efe3966713dc0cd5d7951bbbf25e2b7 (diff) |
aruco: fix typo breaking red only CCD mode
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 87c5315e..fa7bf398 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -209,8 +209,6 @@ void Tracker::run() // red only, best on CCD, also artifacts on blue ps3eye grayscale = tmp[2]; } - cv::cvtColor(color, grayscale, cv::COLOR_BGR2GRAY); - const int scale = frame.cols > 480 ? 2 : 1; detector.setThresholdParams(scale > 1 ? 11 : 7, 4); |