code: def cal_recall_precison_f1(gt_path, result_path, show_result=False):
      p = {"g": gt_path, "s": result_path}
      result = rrc_evaluation_funcs.main_evaluation(
          p,
          default_evaluation_params,
          validate_data,
          evaluate_method,
          show_result,
      )
      return result["method"]
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/utils/cal_recall/script.py
imports: from collections import namedtuple
  from .None import rrc_evaluation_funcs
  import Polygon
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: cal_recall_precison_f1(gt_path, result_path, show_result) and returns: result