First time here? Check out the FAQ!
answered 2015-08-17 12:19:38 -0600
Te second parameter is supposed to be InputArrayOfArrays whereas you have made it into a single vector. You should change it back to a std::vector<std::vector<cv::Point> and it should work.
InputArrayOfArrays
std::vector<std::vector<cv::Point>