summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pupil-detect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/pupil-detect.cpp b/pupil-detect.cpp
index e1dc7fe..6e51c94 100644
--- a/pupil-detect.cpp
+++ b/pupil-detect.cpp
@@ -23,8 +23,7 @@ int main(int argc, char** argv)
// Find all contours
std::vector<std::vector<cv::Point> > contours;
- std::vector<cv::Vec4i> hierarchy;
- cv::findContours(gray.clone(), contours, hierarchy, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);
+ cv::findContours(gray.clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);
// Fill holes in each contour
cv::drawContours(gray, contours, -1, CV_RGB(255,255,255), -1);