↓ 7 callersFunctionxywh2xyxy Convert bounding box coordinates from (x, y, width, height) format to (x1, y1, x2, y2) format where (x1, y1) is the top-left corner and (x2,
ultralytics/yolo/utils/ops.py:366
↓ 5 callersFunctionxyxy2xywh Convert bounding box coordinates from (x1, y1, x2, y2) format to (x, y, width, height) format. Args: x (np.ndarray | torch.Tensor):
ultralytics/yolo/utils/ops.py:349