code: def get_dist_mat(x, y, func_name="euclidean"):
      if func_name == "cosine":
          dist_mat = get_cosine(x, y)
      elif func_name == "euclidean":
          dist_mat = get_euclidean(x, y)
      print(
          "Using {} as distance function during evaluation".format(
              func_name
          )
      )
      return dist_mat
  
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 7 for calling a global function with example usage: get_dist_mat(x, y, func_name) and returns: dist_mat