code: def build_post_process(config, global_config=None):
      support_dict = ["DBPostProcess", "CTCLabelDecode"]
  
      config = copy.deepcopy(config)
      module_name = config.pop("name")
      if module_name == "None":
          return
      if global_config is not None:
          config.update(global_config)
      assert module_name in support_dict, Exception(
          "post process only support {}".format(support_dict)
      )
      module_class = eval(module_name)(**config)
      return module_class
  
imports: import numpy
  import paddle
  from paddle.nn import functional
  import re
  from shapely.geometry import Polygon
  import cv2
  import copy
label_desc: Use image node_id 1 for calling a global function with example usage: build_post_process(config, global_config) and returns: module_class