Ask Your Question

Revision history [back]

Can I assume you already found the rectangle and only need to paint it some color?

If so, check this link, where you'll find code that does exactly what you want.

http://areshopencv.blogspot.pt/2011/12/blob-detection-connected-component-pure.html