code: def bbox_xyxy_to_xywh(bbox: List[float]) -> Optional[List[float]]:
      """Converts bounding box coodrinate types from x1y1,x2y2 to x,y,w,h"""
      if len(bbox) == 4:
          x1, y1, x2, y2 = bbox
          w = x2 - x1
          h = y2 - y1
          return [x1, y1, w, h]
      else:
          print("Wrong bbox shape", len(bbox))
          return None
  
imports: from typing import Any, Dict, List, Optional
  import numpy
  from cleanlab.internal.numerics import softmax
label_desc: Use image node_id 1 for calling a global function with example usage: bbox_xyxy_to_xywh(bbox) and returns: list, None