↓ 1 callersFunctionltwh2xywh Convert nx4 boxes from [x1, y1, w, h] to [x, y, w, h] where xy1=top-left, xy=center Args: x (torch.Tensor): the input tensor
ultralytics/yolo/utils/ops.py:479
↓ 1 callersFunctionltwh2xyxy It converts the bounding box from [x1, y1, w, h] to [x1, y1, x2, y2] where xy1=top-left, xy2=bottom-right Args: x (np.ndarray | torch.
ultralytics/yolo/utils/ops.py:492