cv::findContours: Check if type of output data structure is right to store contours (vector<vector<Point>>).
Merge pull request #2672 from a-wi:findContours