code: def array2dict(data_array):
      data_dict = {}
      for item in data_array:
          fid = int(item[0])
          data_dict.setdefault(fid, list())
          data_dict[fid].append(item)
      return data_dict
  
file_path: gluon-cv/scripts/tracking/smot/helper.py
imports: import motmetrics
  import numpy
  import os
  import sys
label_desc: Use image node_id 12 for calling a global function with example usage: array2dict(data_array) and returns: data_dict