Open rijobro opened 2 years ago
I would insert intersection_area = max(intersection_area, 0) after line 36, such that two boxes with no overlap have an intersection area of 0.
intersection_area = max(intersection_area, 0)
I would insert
intersection_area = max(intersection_area, 0)
after line 36, such that two boxes with no overlap have an intersection area of 0.