fixed typo in fitellipse err message (ticket #365)
authorVadim Pisarevsky <no@email>
Mon, 2 May 2011 22:37:21 +0000 (22:37 +0000)
committerVadim Pisarevsky <no@email>
Mon, 2 May 2011 22:37:21 +0000 (22:37 +0000)
modules/imgproc/src/shapedescr.cpp

index 598a5ac..8af036d 100644 (file)
@@ -969,7 +969,7 @@ cvFitEllipse2( const CvArr* array )
 
     n = ptseq->total;
     if( n < 5 )
-        CV_Error( CV_StsBadSize, "Number of points should be >= 6" );
+        CV_Error( CV_StsBadSize, "Number of points should be >= 5" );
 #if 1
     icvFitEllipse_F( ptseq, &box );
 #else