def get_center(im):
    """ Given image, returns the location of center pixel
    Returns
    -------
    (int, int): center of the image
    """
    center_x = float(im.size[0]) / 2
    center_y = float(im.size[1]) / 2
    return int(center_x), int(center_y)