Skip to content

Instantly share code, notes, and snippets.

@ifq
Created May 6, 2013 03:03
Show Gist options
  • Save ifq/5523146 to your computer and use it in GitHub Desktop.
Save ifq/5523146 to your computer and use it in GitHub Desktop.
first try of gist.
// this is just a test
for( size_t i = 0; i < contours.size(); i++ ) {
approxPolyDP( Mat(contours[i]), contours_poly[i], 3, true );
boundRect[i] = boundingRect( Mat(contours_poly[i]) );
minEnclosingCircle( contours_poly[i], center[i], radius[i] );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment