code: def update_acc(acc, oframe_data, hframe_data, min_iou=0.5):
      ob = np.array([x[2:6] for x in oframe_data])
      hb = np.array([x[2:6] for x in hframe_data])
      dist = mm.distances.iou_matrix(ob, hb, max_iou=1 - min_iou)
      oid = [x[1] for x in oframe_data]
      hid = [x[1] for x in hframe_data]
      acc.update(oid, hid, dist)
      return acc
  
file_path: gluon-cv/scripts/tracking/smot/helper.py
imports: import motmetrics
  import numpy
  import os
  import sys
label_desc: Use image node_id 13 for calling a global function with example usage: update_acc(acc, oframe_data, hframe_data, min_iou) and returns: acc