def xyxy2xywh(self, bbox):
    'Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO\n        evaluation.\n        Args:\n            bbox (numpy.ndarray): The bounding boxes, shape (4, ), in\n                ``xyxy`` order.\n        Returns:\n            list[float]: The converted bounding boxes, in ``xywh`` order.\n        '
    _bbox = bbox.tolist()
    return [_bbox[0], _bbox[1], (_bbox[2] - _bbox[0]), (_bbox[3] - _bbox[1])]
Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO
evaluation.
Args:
    bbox (numpy.ndarray): The bounding boxes, shape (4, ), in
        ``xyxy`` order.
Returns:
    list[float]: The converted bounding boxes, in ``xywh`` order.
def xyxy2xywh(self, bbox):
    'Convert ``xyxy`` style bounding boxes to ``xywh`` style for COCO\n        evaluation.\n        Args:\n            bbox (numpy.ndarray): The bounding boxes, shape (4, ), in\n                ``xyxy`` order.\n        Returns:\n            list[float]: The converted bounding boxes, in ``xywh`` order.\n        '
    _bbox = bbox.tolist()
    return [_bbox[0], _bbox[1], (_bbox[2] - _bbox[0]), (_bbox[3] - _bbox[1])]