mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +08:00
Update mser.cpp
Need to initialize boolean variable pass2Only, otherwise the result is not predictable
This commit is contained in:
parent
d1a15097fe
commit
b51805e245
@ -67,6 +67,7 @@ public:
|
||||
areaThreshold = _area_threshold;
|
||||
minMargin = _min_margin;
|
||||
edgeBlurSize = _edge_blur_size;
|
||||
pass2Only = false;
|
||||
}
|
||||
|
||||
int delta;
|
||||
|
Loading…
Reference in New Issue
Block a user