↓ 1 callersFunctionxyxy2xywh Convert coord (x1,y1,x2,y2) to (x,y,w,h). where (x1,y1) is top-left, (x2,y2) is bottom-right. (x,y) is bbox center and (w,h) is width and
mmocr/datasets/pipelines/table_transforms.py:232
Method__call__Calculate IoU between 2D bboxes. Args: bboxes1 (Tensor): bboxes have shape (m, 4) in <x1, y1, x2, y2> format, or
mmdetection-2.11.0/mmdet/core/bbox/iou_calculators/iou2d_calculator.py:10
Method__call__ Args: bbox_pred (Tensor): Predicted boxes with normalized coordinates (cx, cy, w, h), which are all in range [0,
mmdetection-2.11.0/mmdet/core/bbox/match_costs/match_cost.py:32
Method__init__(self, pos_inds, neg_inds, bboxes, gt_bboxes, assign_result,
gt_flags)
mmdetection-2.11.0/mmdet/core/bbox/samplers/sampling_result.py:25