Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To draw outlines, you should set the thickness parameter of drawContours() to 1 (or some other value >0).

int allContours = -1;
int thickness=1;
drawContours(img, contours, allContours, Scalar::all(255), thickness);

If this does not work, can you post how you are calling drawContours()?

PS You can always upload photos to a third party service like imgur.