intersection

Function intersection 

Source
fn intersection(box1: &BoxDetection, box2: &BoxDetection) -> f32
Expand description

Finds the overlapping area between two bounding boxes. Returns a negative value if the boxes don’t overlap.