API:
calc_centroid()
Calculate the centroid from a numpy 2 dimenional array.
points (ndarray) – two dimensional ndarray of points/coordinates.
the centroid x an y coordinate as a ndarray e.g. array([2., 3.]).
ndarray