From 9830011866f0817d08c3e3f0bd26e98e54c523e7 Mon Sep 17 00:00:00 2001 From: Stéphane Lenclud Date: Mon, 15 Apr 2019 10:15:13 +0200 Subject: Easy Tracker: Using C++ style cv constants. --- tracker-easy/point-extractor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tracker-easy/point-extractor.cpp') diff --git a/tracker-easy/point-extractor.cpp b/tracker-easy/point-extractor.cpp index 037d06c0..abaa0739 100644 --- a/tracker-easy/point-extractor.cpp +++ b/tracker-easy/point-extractor.cpp @@ -12,7 +12,6 @@ #include "cv/numeric.hpp" #include "compat/math.hpp" -#include #include #include @@ -80,7 +79,7 @@ namespace EasyTracker // Contours detection std::vector > contours; - cv::findContours(iFrameGray, contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE); + cv::findContours(iFrameGray, contours, cv::RETR_EXTERNAL, cv::CHAIN_APPROX_SIMPLE); // Workout which countours are valid points for (size_t i = 0; i < contours.size(); i++) -- cgit v1.2.3