pub fn jaccard(a: &BoundingBox, b: &BoundingBox, iou: f32) -> boolExpand description
Returns true if the IOU of the given bounding boxes is greater than the iou threshold
Kept as a standalone inline (NOT routed through iou_value) so this hot
NMS primitive stays byte-identical to its NEON sibling
jaccard_batch4; the value helpers above are additive and used by the
tiled-detection merge.
ยงExample
let a = BoundingBox::new(0.0, 0.0, 0.2, 0.2);
let b = BoundingBox::new(0.1, 0.1, 0.3, 0.3);
let iou_threshold = 0.1;
let result = jaccard(&a, &b, iou_threshold);
assert!(result);