mirror of
https://github.com/opencv/opencv.git
synced 2026-11-29 12:57:05 -06:00
features: fix MSER discarding stable regions via minDiversity (#29652)
This commit is contained in:
@@ -264,7 +264,7 @@ public:
|
||||
if( checked )
|
||||
return;
|
||||
checked = true;
|
||||
if( size < wp.p.minArea || size > wp.p.maxArea || var < wp.p.minDiversity || var > wp.p.maxVariation )
|
||||
if( size < wp.p.minArea || size > wp.p.maxArea || var < 0.f || var > wp.p.maxVariation )
|
||||
return;
|
||||
if( child_ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user