Fixes for issues #2570, #2492, #2559, #2489, #2592.

This commit is contained in:
Vsevolod Glumov
2012-12-14 10:49:51 +04:00
parent 64cf113d23
commit 3f417f1ec3
4 changed files with 8 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ This tutorial code's is shown lines below. You can also download it from `here <
for( int 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] );
minEnclosingCircle( (Mat)contours_poly[i], center[i], radius[i] );
}