This tool calculates the centroid, or average location, of raster polygon objects. For vector features, use the centroid_vector tool instead.
centroid_vector
def centroid_raster(self, input: Raster) -> Tuple[Raster, str]: ...