code: def print_mtmct_result(gt_file, pred_file):
      names = [
          "CameraId",
          "Id",
          "FrameId",
          "X",
          "Y",
          "Width",
          "Height",
          "Xworld",
          "Yworld",
      ]
      gt = getData(gt_file, names=names)
      pred = getData(pred_file, names=names)
      summary = compare_dataframes_mtmc(gt, pred)
      print("MTMCT summary: ", summary.columns.tolist())
  
      formatters = {
          "idf1": "{:2.2f}".format,
          "idp": "{:2.2f}".format,
          "idr": "{:2.2f}".format,
          "mota": "{:2.2f}".format,
      }
      summary = summary[["idf1", "idp", "idr", "mota"]]
      summary.loc[:, "idp"] *= 100
      summary.loc[:, "idr"] *= 100
      summary.loc[:, "idf1"] *= 100
      summary.loc[:, "mota"] *= 100
      try:
          import motmetrics as mm
      except Exception as e:
          raise RuntimeError(
              "Unable to use motmetrics in MTMCT in PP-Tracking, please install motmetrics, for example: `pip install motmetrics`, see https://github.com/longcw/py-motmetrics"
          )
      print(
          mm.io.render_summary(
              summary,
              formatters=formatters,
              namemap=mm.io.motchallenge_metric_names,
          )
      )
  
file_path: PaddleDetection/deploy/pptracking/python/mot/mtmct/postprocess.py
imports: import os
  import re
  import cv2
  from tqdm import tqdm
  import numpy
  from functools import reduce
  from .utils import parse_pt_gt, parse_pt, compare_dataframes_mtmc
  from .utils import get_labels, getData, gen_new_mot
  from .camera_utils import get_labels_with_camera
  from .zone import Zone
  from ..visualize import plot_tracking
label_desc: Use image node_id 4 for calling a global function with example usage: print_mtmct_result(gt_file, pred_file) without return types