1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00

add logic for handling min diversity in mser

This commit is contained in:
danielenricocahall
2021-05-27 19:16:24 -04:00
parent 125b9f6057
commit fa73b91e39
4 changed files with 34 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ class mser_test(NewOpenCVTests):
kDelta = 5
mserExtractor = cv.MSER_create()
mserExtractor.setDelta(kDelta)
mserExtractor.setMinDiversity(0)
np.random.seed(10)
for _i in range(100):