Thickness in cv2.drawContours

Hello everybody, I have a question about the thickness param in cv2.drawContours, is it the number of the pixels took from the abject to draw the boundary ? I searched a lot in the documentation and couldn’t find a relevant information about it.


it simply draws contours using that thickness.

you can simply run that function and try out values for its parameters. that will show you what it does.

Okay, thank you for your answer, I thought that it would be helpful if we can know how many pixels took by the boundary drawn with cv2.drawContours with a given thickness