diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-15 10:15:13 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-15 10:15:13 +0200 |
commit | 70051136d8b805a7460a3e82885139a540a4b439 (patch) | |
tree | 537176fce61f8bd0abcbe102aa3e56b06d369d62 | |
parent | 4d38a5084cfed47e0953cc435b021b5cd0689a24 (diff) |
Easy Tracker: Using C++ style cv constants.
-rw-r--r-- | tracker-easy/point-extractor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <opencv2/imgproc/types_c.h> #include <cmath> #include <algorithm> @@ -80,7 +79,7 @@ namespace EasyTracker // Contours detection std::vector<std::vector<cv::Point> > 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++) |