docstr: 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.
docstr_tok: ["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","."]
code: def xyxy2xywh(self, bbox):
      """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.
      """
  
      _bbox = bbox.tolist()
      return [
          _bbox[0],
          _bbox[1],
          _bbox[2] - _bbox[0],
          _bbox[3] - _bbox[1],
      ]
  
imports: import itertools
  import logging
  import os.path
  import tempfile
  from collections import OrderedDict
  import mmcv
  import numpy
  from mmcv.utils import print_log
  from pycocotools.coco import COCO
  from pycocotools.cocoeval import COCOeval
  from terminaltables import AsciiTable
  from mmdet.core import eval_recalls
  from .builder import DATASETS
  from .custom import CustomDataset
label_desc: Use image node_id 6 for calling the CocoDataset obj's underlying member method code with example usage: obj.xyxy2xywh(bbox) and returns: list