docstr: This class process the end2end results and structure recognition results.
  :param end2end_file: end2end results predict by end2end inference.
  :param structure_master_file: structure recognition results predict by structure master inference.
docstr_tok: ["This","class","process","the","end2end","results","and","structure","recognition","results",".",":","param","end2end_file",":","end2end","results","predict","by","end2end","inference",".",":","param","structure_master_file",":","structure","recognition","results","predict","by","structure","master","inference","."]
code: def __init__(self, end2end_file, structure_master_file):
      """
      This class process the end2end results and structure recognition results.
      :param end2end_file: end2end results predict by end2end inference.
      :param structure_master_file: structure recognition results predict by structure master inference.
      """
      self.end2end_file = end2end_file
      self.structure_master_file = structure_master_file
      self.end2end_results = pickle_load(end2end_file, prefix="end2end")
      self.structure_master_results = pickle_load(
          structure_master_file, prefix="structure"
      )
  
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 1 to create a new Matcher object  with example: obj = Matcher(end2end_file, structure_master_file)