Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please have a look at the mser python sample

there is no second parameter, but a second return value, bboxes (the bounding boxes for the detected regions)

>>> m = cv2.MSER_create()
>>> help(m)
Help on MSER object:
 ...
 |
 |  detectRegions(...)
 |      detectRegions(image) -> msers, bboxes
 |
 ...