summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-04-15 10:15:13 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commit9830011866f0817d08c3e3f0bd26e98e54c523e7 (patch)
tree66f0a201a5ce4106050da9f3e8b74a130c933b56 /tracker-easy
parent36df4734dcd3cd50565336e2e81b38971bfc3934 (diff)
Easy Tracker: Using C++ style cv constants.
Diffstat (limited to 'tracker-easy')
-rw-r--r--tracker-easy/point-extractor.cpp3
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++)