def METHOD_NAME(self, contours: List) -> MultiPolygon:
    contours = map(np.squeeze, contours)
    filtered_contours = filter(lambda contour: len(contour) > 2, contours)
    polygons = map(Polygon, filtered_contours)
    return MultiPolygon(polygons)