fn union(box1: &BoxDetection, box2: &BoxDetection) -> f32
Finds the total area covered by both bounding boxes (But breaks if the boxes don’t overlap).