↓ 1 callersFunctionhsv2colorjitterMap HSV (hue, saturation, value) jitter into ColorJitter values (brightness, contrast, saturation, hue)
ultralytics/data/augment.py:808
↓ 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/utils/ops.py:486
↓ 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/utils/ops.py:499
↓ 1 callersMethodpre_transformPre-transform input image before inference. Args: im (List(np.ndarray)): (N, 3, h, w) for tensor, [(h, w, 3) x N] for list.
ultralytics/engine/predictor.py:140