def find_area_of_intersection(bb1, bb2):
    """
        Finds the area of which the bounding boxes intersect
    """
    # Convert for readablity
    bb1_x1, bb1_y1 = bb1[0], bb1[1]
    bb1_x2 = bb1_x1 + bb1[2]
    bb1_y2 = bb1_y1 + bb1[3]

    bb2_x1, bb2_y1 = bb2[0], bb2[1]
    bb2_x2 = bb2_x1 + bb2[2]
    bb2_y2 = bb2_y1 + bb2[3]

    x_left = max(bb1_x1, bb2_x1)
    y_top = max(bb1_y1, bb2_y1)
    x_right = min(bb1_x2, bb2_x2)
    y_bottom = min(bb1_y2, bb2_y2)

    if x_right < x_left or y_bottom < y_top:
        return 0.0

    return (x_right - x_left) * (y_bottom - y_top)