Hello,
I want to extract a specific point in vector "vector <vector <point="">> contours_poly (contours.size ());" and I could not extract its coordinates (X and Y) because I used matrices. Here is my code:
vector<vector<point> > contours; vector<vector<point> > contours_poly( contours.size() ); for(size_t i = 0; i < contours.size(); i++ ) { approxPolyDP( Mat(contours[i]), contours_poly[i], 2, true ); }
Merci.