union

Function union 

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

Finds the total area covered by both bounding boxes (But breaks if the boxes don’t overlap).