fn intersection(box1: &BoxDetection, box2: &BoxDetection) -> f32
Finds the overlapping area between two bounding boxes. Returns a negative value if the boxes don’t overlap.