Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Do you mean something like this

 Imgproc.findContours(temp, contours, new Mat(),Imgproc.RETR_LIST,Imgproc.CHAIN_APPROX_NONE);

     for(int i =0;i<contours.size();i++)
     {
         // do something 
     }