Ask Your Question
0

openCV - Dealing with parent/children contours

asked 2016-01-06 15:47:15 -0600

AP gravatar image

Given a contour X from the array returned from findcontours is it possible to get all the children of X ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
5

answered 2016-01-06 15:56:05 -0600

LorenaGdL gravatar image

Hierarchy is your friend

edit flag offensive delete link more

Comments

1

RETR_TREE? Sounds like Mr Perfect!

AP gravatar imageAP ( 2016-01-06 16:26:30 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-01-06 15:47:15 -0600

Seen: 545 times

Last updated: Jan 06 '16