code: def xywh2xyxy(x: np.ndarray) -> np.ndarray:
      """Convert bounding box (x, y, w, h) to bounding box (x1, y1, x2, y2)
  
      Args:
          x: np.ndarray
              Input bboxes, shape (num_of_boxes, 4).
  
      Returns:
          np.ndarray: (num_of_boxes, 4)
      """
      y = np.copy(x)
      y[..., 0] = x[..., 0] - x[..., 2] / 2
      y[..., 1] = x[..., 1] - x[..., 3] / 2
      y[..., 2] = x[..., 0] + x[..., 2] / 2
      y[..., 3] = x[..., 1] + x[..., 3] / 2
      return y
  
file_path: sahi/sahi/utils/yolov8onnx.py
imports: from pathlib import Path
  from typing import Optional
  import numpy
  from sahi.utils.yolov8 import download_yolov8n_model
label_desc: Use image node_id 4 for calling a global function with example usage: xywh2xyxy(x) and returns: y