Python Fill Polygon In Image. Polygon Use the ImageDraw. polygon2mask(image_shape, polygon)