code: def convert_coord(xyxy):
      """
      Convert two points format to four points format.
      :param xyxy:
      :return:
      """
      new_bbox = np.zeros([4, 2], dtype=np.float32)
      new_bbox[0, 0], new_bbox[0, 1] = xyxy[0], xyxy[1]
      new_bbox[1, 0], new_bbox[1, 1] = xyxy[2], xyxy[1]
      new_bbox[2, 0], new_bbox[2, 1] = xyxy[2], xyxy[3]
      new_bbox[3, 0], new_bbox[3, 1] = xyxy[0], xyxy[3]
      return new_bbox
  
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 5 for calling a global function with example usage: convert_coord(xyxy) and returns: new_bbox