def centroid(img):
    """
    finds the centroid of the given image img
    input::
        img (np.ndarray):
            input img to find the centroid of
    return::
        centroid (tuple):
            centroid of the input image (height,width)
    """
    centroid = img.shape[0]//2, img.shape[1]//2
    return centroid