summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 06:57:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 06:57:13 +0200
commit5a080ad806f217946c9cbdc48aad90bc197b55f9 (patch)
tree06e24cb48a895841acf6bdbde3c39d8206623052
parent5dd1e7b611901d65ac6e251144c84af2b4376d5b (diff)
Update opencv, fix incompatibility in latest point-release
-rw-r--r--bin/tracker-ht/headtracker-ftnoir.exebin4483584 -> 4474880 bytes
-rw-r--r--ftnoir_tracker_pt/point_extractor.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/tracker-ht/headtracker-ftnoir.exe b/bin/tracker-ht/headtracker-ftnoir.exe
index 6a4d16aa..9541d430 100644
--- a/bin/tracker-ht/headtracker-ftnoir.exe
+++ b/bin/tracker-ht/headtracker-ftnoir.exe
Binary files 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<Vec2f>& 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);