code: def bbox_to_ybox(bbox):
      
      return [
              (bbox[1] + bbox[3]) / 2,
              (bbox[0] + bbox[2]) / 2,
              (bbox[3] - bbox[1]),
              (bbox[2] - bbox[0]),
      ]
docs: Convert from corner bounding box to center/shape