Fill ofPolyline with cv::Point

I don’t know how to fill my ofPolyline using cv::Point from contourFinder.
There is some way or i have to add to ofPolyline a new method… maybe like this:

void addVertices( const vectorcv::Point& verts );

I don’t know if this could work, but in this case, i think i have to add openCV header to ofPolyline.

Ops, this is the code:

void addVertices( const vector<cv::Point>& verts );

I’m sorry. I have seen just now that inside the contourFinder there is a method to get the ofPolyline. :slight_smile: