I got the centroid x_0, y_0 of a polygon and two lists of points list_x, list_ywhich represent the row and column indexes of vertices for my polygon, respectively. They were obtained from a 2D semantic mask using shapely.
How can i find the maximum distance between my polygon and the polygon centroid using python?