1 | initial version |
Yes, just see the parameters of findContours. To be more explicit, use CV_RETR_EXTERNAL
.
You can also see this for some info about the hierarchy, if you need it.
2 | No.2 Revision |
Yes, just see the parameters of findContours. To be more explicit, use :
CV_RETR_EXTERNALcv::findContours(imageIn, contoursOut, hierarchyOut, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_NONE);.
You can also see this for some info about the hierarchy, if you need it.