code: def read_params():
      cfg = pp_ocr_read_params()
  
      # SER params
      cfg.kie_algorithm = "LayoutXLM"
      cfg.use_visual_backbone = False
  
      cfg.ser_model_dir = "./inference/ser_vi_layoutxlm_xfund_infer"
      cfg.ser_dict_path = "train_data/XFUND/class_list_xfun.txt"
      cfg.vis_font_path = "./doc/fonts/simfang.ttf"
      cfg.ocr_order_method = "tb-yx"
  
      return cfg
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from deploy.hubserving.ocr_system.params import read_params
label_desc: Use image node_id 1 for calling a global function with example usage: read_params() and returns: cfg