From 23afc7945f7058224b656c13572b2e97fc1da8b9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Jun 2015 11:56:37 +0200 Subject: require opencv 3.0 and fix build --- ftnoir_tracker_pt/point_extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_tracker_pt') 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 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; -- cgit v1.2.3