def rotate_points(points, width=600, height=300):
    """180 degree rotation of points of bbox

    Parameters
    ----------
    points: list or array
    Coordinates of top-left, top-right, bottom-left and bottom-right points

    width, height: int
    Width/height of perspective transformed module image

    Returns
    -------
    rotated_points: list or array
    180 degree rotation
    """
    return [[width - points[1][0], height - points[1][1]], [width - points[0][0], height - points[0][1]]]