I am using the “FindContours” example from the OpenCV library.
All works well, but I would like to capture an image after the countours have been drawn. (For further analysis of the the contours.)
So I tried:
contour.draw();
PImage draw = opencv.getOutput();
image(draw, 0, 0);
But I do not get an image containing the green contours.
I also tried “Get” and “getSnapshot” but none of them captures the contours. What to do?
Thanks