def compute_middle_point(p0, p1):
    """
    Compute the middle point between 2 points by simple arithmetical mean
    :param p0: first point as a list or tuple
    :param p1: second point
    :return: a list that contains the middle point
    """
    return [(p0[0] + p1[0]) / 2.0, (p0[1] + p1[1]) / 2.0]