code: def extra_match(no_match_end2end_indexes, master_bbox_nums):
      """
      This function will create some virtual master bboxes,
      and get match with the no match end2end indexes.
      :param no_match_end2end_indexes:
      :param master_bbox_nums:
      :return:
      """
      end_nums = len(no_match_end2end_indexes) + master_bbox_nums
      extra_match_list = []
      for i in range(master_bbox_nums, end_nums):
          end2end_index = no_match_end2end_indexes[i - master_bbox_nums]
          extra_match_list.append([end2end_index, i])
      return extra_match_list
  
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 18 for calling a global function with example usage: extra_match(no_match_end2end_indexes, master_bbox_nums) and returns: extra_match_list