Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

findcontours() output doubt

    image, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)

In this line i understand the meaning of image and contours. but what is hierarchy?? Could anyone explain?

Thanks in advance! :) P.S. I am a beginner.