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 --- bin/tracker-ht/headtracker-ftnoir.exe | Bin 4483584 -> 4474880 bytes ftnoir_tracker_pt/point_extractor.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tracker-ht/headtracker-ftnoir.exe b/bin/tracker-ht/headtracker-ftnoir.exe index 6a4d16aa..9541d430 100644 Binary files a/bin/tracker-ht/headtracker-ftnoir.exe and b/bin/tracker-ht/headtracker-ftnoir.exe differ 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