Ask Your Question

Revision history [back]

I think you can use cv2.connectedcomponentswithstats to find the area and chuck all the unwanted parts.