Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

hulls is a list of contours (or indices), not an image, i guess you wanted:

cv2.imshow("hulls",imgContours);

also note, that it's:

contours, boxes = mser.detectRegions(imgThreshCopy)

(you could also use the bounding boxes returned for your mser regions)