diff --git a/modules/imgproc/src/shapedescr.cpp b/modules/imgproc/src/shapedescr.cpp index 598a5ac7f..8af036d16 100644 --- a/modules/imgproc/src/shapedescr.cpp +++ b/modules/imgproc/src/shapedescr.cpp @@ -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