Function candle_transformers::object_detection::iou

source ·
pub fn iou<D>(b1: &Bbox<D>, b2: &Bbox<D>) -> f32
Expand description

Intersection over union of two bounding boxes.