oa::FnDetection::boxIou

Pairwise IoU for FP32 center-x/center-y/width/height boxes. inA [N,4], inB [M,4] -> FP32 [N,M]. Coordinates may be normalized or pixel-valued, but widths and heights must be non-negative.

Function Documentation

Matrix oa::FnDetection::boxIou( const Matrix & inA, const Matrix & inB )
Pairwise IoU for FP32 center-x/center-y/width/height boxes. inA [N,4], inB [M,4] -> FP32 [N,M]. Coordinates may be normalized or pixel-valued, but widths and heights must be non-negative.

Parameters

inA
const Matrix &

inB
const Matrix &

Returns

Matrix

The declared return value.