↓ 31 callersMethod__init__(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
ultralytics/nn/modules.py:169
↓ 7 callersFunctionxywh2xyxy > It converts the bounding box from x,y,w,h to x1,y1,x2,y2 where xy1=top-left, xy2=bottom-right Args: x: the input tensor Returns
ultralytics/yolo/utils/ops.py:317
↓ 6 callersFunctionxyxy2xywh > It takes a list of bounding boxes, and converts them from the format [x1, y1, x2, y2] to [x, y, w, h] where xy1=top-left, xy2=bottom-right
ultralytics/yolo/utils/ops.py:298
↓ 5 callersMethod_run(self, pprint=False, show=False, save=False, crop=False, render=False, labels=True, save_dir=Path(''))
ultralytics/nn/modules.py:486
↓ 5 callersFunctionletterbox(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
ultralytics/yolo/data/dataloaders/v5augmentations.py:113
↓ 4 callersMethodbox_label(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255))
ultralytics/yolo/utils/plotting.py:58
↓ 3 callersFunctionplot_mc_curve(px, py, save_dir=Path('mc_curve.png'), names=(), xlabel='Confidence', ylabel='Metric')
ultralytics/yolo/utils/metrics.py:296
↓ 3 callersFunctionsave_one_box(xyxy, im, file=Path('im.jpg'), gain=1.02, pad=10, square=False, BGR=False, save=True)
ultralytics/yolo/utils/plotting.py:157
↓ 3 callersMethodtext(self, xy, text, txt_color=(255, 255, 255), anchor='top')
ultralytics/yolo/utils/plotting.py:124
↓ 2 callersMethod__init__(self, path, img_size=640, stride=32, auto=True, transforms=None, vid_stride=1)
ultralytics/yolo/data/dataloaders/v5loader.py:245
↓ 2 callersMethod_process_batch Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/yolo/v8/segment/val.py:131