Cython's standalone iou
pip install cython_ious
from cython_ious import bbox_giou as giou
overlaps = giou(
np.ascontiguousarray(dt, dtype=np.float32),
np.ascontiguousarray(gt, dtype=np.float32)
)
- iou
- giou
- diou
- ciou
- eiou
- cbiou
- mpdiou