summaryrefslogtreecommitdiffhomepage
path: root/tracker-easy
diff options
context:
space:
mode:
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++)