summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-05 11:56:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-05 11:56:37 +0200
commit23afc7945f7058224b656c13572b2e97fc1da8b9 (patch)
treeb04ae66d7ff0bce55418ae884de16d06310acbf3 /ftnoir_tracker_pt
parent46c297050898737745ad0b620796df9de30b63eb (diff)
require opencv 3.0 and fix build
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/point_extractor.cpp b/ftnoir_tracker_pt/point_extractor.cpp
index 94096f9d..2c39c2e2 100644
--- a/ftnoir_tracker_pt/point_extractor.cpp
+++ b/ftnoir_tracker_pt/point_extractor.cpp
@@ -35,7 +35,7 @@ std::vector<Vec2f> PointExtractor::extract_points(Mat& frame)
// convert to grayscale
Mat frame_gray;
- cvtColor(frame, frame_gray, CV_RGB2GRAY);
+ cvtColor(frame, frame_gray, cv::COLOR_RGB2GRAY);
int secondary = s.threshold_secondary;
int primary = s.threshold;