DIoU
DIoU, short for Distance-IoU, is a bounding-box regression loss used in object detection to improve localization accuracy. It extends the traditional IoU-based loss by incorporating the distance between the centers of the predicted and ground-truth boxes into the objective, encouraging faster and more precise alignment of boxes even when there is substantial overlap.
Mathematically, let Bp be the predicted axis-aligned box with center (xp, yp) and ground-truth box Bg have
DIoU is differentiable and can be implemented as a drop-in replacement for IoU-based regression losses in many
---