code: def __init__(self, args):
      self.args = args
      self.use_onnx = args.use_onnx
      pre_process_list = build_pre_process_list(args)
      if args.table_algorithm not in ["TableMaster"]:
          postprocess_params = {
              "name": "TableLabelDecode",
              "character_dict_path": args.table_char_dict_path,
              "merge_no_span_structure": args.merge_no_span_structure,
          }
      else:
          postprocess_params = {
              "name": "TableMasterLabelDecode",
              "character_dict_path": args.table_char_dict_path,
              "box_shape": "pad",
              "merge_no_span_structure": args.merge_no_span_structure,
          }
  
      self.preprocess_op = create_operators(pre_process_list)
      self.postprocess_op = build_post_process(postprocess_params)
      (
          self.predictor,
          self.input_tensor,
          self.output_tensors,
          self.config,
      ) = utility.create_predictor(args, "table", logger)
  
      if args.benchmark:
          import auto_log
  
          pid = os.getpid()
          gpu_id = utility.get_infer_gpuid()
          self.autolog = auto_log.AutoLogger(
              model_name="table",
              model_precision=args.precision,
              batch_size=1,
              data_shape="dynamic",
              save_path=None,  # args.save_log_path,
              inference_config=self.config,
              pids=pid,
              process_name=None,
              gpu_ids=gpu_id if args.use_gpu else None,
              time_keys=[
                  "preprocess_time",
                  "inference_time",
                  "postprocess_time",
              ],
              warmup=0,
              logger=logger,
          )
  
file_path: PaddleOCR/ppstructure/table/predict_structure.py
imports: import os
  import sys
  import cv2
  import numpy
  import time
  import json
  import tools.infer.utility
  from ppocr.data import create_operators, transform
  from ppocr.postprocess import build_post_process
  from ppocr.utils.logging import get_logger
  from ppocr.utils.utility import get_image_file_list, check_and_read
  from ppocr.utils.visual import draw_rectangle
  from ppstructure.utility import parse_args
label_desc: Use image node_id 1 to create a new TableStructurer object from inherited base classes: object with example: obj = TableStructurer(args)