Opencv Merge Overlapping Contours Python