code: def res2dict(multi_res):
      cid_tid_dict = {}
      for cid, c_res in enumerate(multi_res):
          for tid, res in c_res.items():
              key = "c" + str(cid) + "_t" + str(tid)
              if key not in cid_tid_dict:
                  if len(res["features"]) == 0:
                      continue
                  cid_tid_dict[key] = res
                  cid_tid_dict[key]["mean_feat"] = distill_idfeat(res)
      return cid_tid_dict
  
imports: from pptracking.python.mot.visualize import plot_tracking
  from python.visualize import visualize_attr
  import os
  import re
  import cv2
  import gc
  import numpy
  import pandas
  from tqdm import tqdm
  from functools import reduce
  import warnings
label_desc: Use image node_id 15 for calling a global function with example usage: res2dict(multi_res) and returns: cid_tid_dict