From 5a080ad806f217946c9cbdc48aad90bc197b55f9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Apr 2013 06:57:13 +0200 Subject: Update opencv, fix incompatibility in latest point-release --- 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 b6e9ad3a..4213eb06 100644 --- a/ftnoir_tracker_pt/point_extractor.cpp +++ b/ftnoir_tracker_pt/point_extractor.cpp @@ -39,7 +39,7 @@ const vector& PointExtractor::extract_points(Mat frame, float dt, bool dr // convert to grayscale Mat frame_bw; - cvtColor(frame, frame_bw, CV_RGB2GRAY); + cvtColor(frame, frame_bw, COLOR_BGR2GRAY); // convert to binary threshold(frame_bw, frame_bw, threshold_val, 255, THRESH_BINARY); -- cgit v1.2.3