Ask Your Question

Revision history [back]

findContours is doing something rather odd casting your std::vector<std::vector<cv::point> > contours to std::vector<std::vector<uchar> >& and then calling resize(). This does not work on Windows if you compile with Debug and run Release bits or vice versa. But if you compile release opencv and release app bits then it works ok. I find this casting rather bad, they should fix findContours so it doesn't do that.