↓ 7 callersFunctionpoly2obb_npConvert polygons to oriented bounding boxes. Args: polys (ndarray): [x0,y0,x1,y1,x2,y2,x3,y3] version (Str): angle representation
mmrotate/core/bbox/transforms.py:116
↓ 6 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
mmrotate/models/backbones/stripnet.py:15
↓ 6 callersFunctionpoly2obbConvert polygons to oriented bounding boxes. Args: polys (torch.Tensor): [x0,y0,x1,y1,x2,y2,x3,y3] version (Str): angle represent
mmrotate/core/bbox/transforms.py:95
↓ 4 callersFunctionrbbox_overlapsCalculate overlap between two set of bboxes. Args: bboxes1 (torch.Tensor): shape (B, m, 5) in <cx, cy, w, h, a> format or emp
mmrotate/core/bbox/iou_calculators/rotate_iou2d_calculator.py:53