summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
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 /ftnoir_tracker_pt
parent5dd1e7b611901d65ac6e251144c84af2b4376d5b (diff)
Update opencv, fix incompatibility in latest point-release
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 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);