code: def get_bboxes_list(end2end_result, structure_master_result):
      """
      This function is use to convert end2end results and structure master results to
      List of xyxy bbox format and List of xywh bbox format
      :param end2end_result: bbox's format is xyxy
      :param structure_master_result: bbox's format is xywh
      :return: 4 kind list of bbox ()
      """
      # end2end
      end2end_xyxy_list = []
      end2end_xywh_list = []
      for end2end_item in end2end_result:
          src_bbox = end2end_item["bbox"]
          end2end_xyxy_list.append(src_bbox)
          xywh_bbox = xyxy2xywh(src_bbox)
          end2end_xywh_list.append(xywh_bbox)
      end2end_xyxy_bboxes = np.array(end2end_xyxy_list)
      end2end_xywh_bboxes = np.array(end2end_xywh_list)
  
      # structure master
      src_bboxes = structure_master_result["bbox"]
      src_bboxes = remove_empty_bboxes(src_bboxes)
      structure_master_xyxy_bboxes = src_bboxes
      xywh_bbox = xyxy2xywh(src_bboxes)
      structure_master_xywh_bboxes = xywh_bbox
  
      return (
          end2end_xyxy_bboxes,
          end2end_xywh_bboxes,
          structure_master_xywh_bboxes,
          structure_master_xyxy_bboxes,
      )
  
imports: import os
  import re
  import cv2
  import glob
  import copy
  import math
  import pickle
  import numpy
  from shapely.geometry import Polygon, MultiPoint
label_desc: Use image node_id 14 for calling a global function with example usage: get_bboxes_list(end2end_result, structure_master_result) and returns: end2end_xyxy_bboxes,  end2end_xywh_bboxes,  structure_master_xywh_bboxes,  structure_master_xyxy_bboxes