def get_inter_area(box_a, box_b):
    """
    Args:
        box_a: (xmin, ymin, xmax, ymax)
        box_b: (xmin, ymin, xmax, ymax)
    Returns:
        intersection_area: intersection area between two points
    """
    x_a = max(box_a[0], box_b[0])
    y_a = max(box_a[1], box_b[1])
    x_b = min(box_a[2], box_b[2])
    y_b = min(box_a[3], box_b[3])

    intersection_area = max(0, x_b - x_a) * max(0, y_b - y_a)

    return intersection_area