↓ 2 callersMethodcorner2hboxConvert box coordinates from corners ((x1, y1), (x2, y1), (x1, y2), (x2, y2)) to (x1, y1, x2, y2). Args: corners (Tensor)
mmdet/structures/bbox/horizontal_boxes.py:220
↓ 2 callersMethodcxcywh_to_xyxyConvert box coordinates from (cx, cy, w, h) to (x1, y1, x2, y2). Args: boxes (Tensor): cxcywh boxes tensor with shape of (..., 4)
mmdet/structures/bbox/horizontal_boxes.py:63