code: def __init__(
      self,
      character_dict_path,
      valid_set,
      score_thresh,
      outs_dict,
      shape_list,
      point_gather_mode=None,
  ):
      self.Lexicon_Table = get_dict(character_dict_path)
      self.valid_set = valid_set
      self.score_thresh = score_thresh
      self.outs_dict = outs_dict
      self.shape_list = shape_list
      self.point_gather_mode = point_gather_mode
  
file_path: PaddleOCR/ppocr/utils/e2e_utils/pgnet_pp_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import os
  import sys
  from extract_textpoint_slow import *
  from extract_textpoint_fast import generate_pivot_list_fast, restore_poly
label_desc: Use image node_id 1 to create a new PGNet_PostProcess object from inherited base classes: object with example: obj = PGNet_PostProcess(character_dict_path, valid_set, score_thresh, outs_dict, shape_list, point_gather_mode)