def get_lbs_for_center_crop(crop_size, data_shape):
    """
    Fetches the lower bounds for central cropping.
    Args:
        crop_size: (height, width)
        data_shape: (x ,y, c)
    """
    lbs = []
    for i in range(len(data_shape)-1):
        lbs.append((data_shape[i] - crop_size[i]) // 2)
    return lbs