code: def __init__(self, save_summary=False):
      self.save_summary = save_summary
      self.MOTEvaluator = MOTEvaluator
      self.result_root = None
      self.reset()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import copy
  import sys
  import math
  from collections import defaultdict
  import numpy
  from ppdet.modeling.bbox_utils import bbox_iou_np_expand
  from .map_utils import ap_per_class
  from .metrics import Metric
  from .munkres import Munkres
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 1 to create a new MOTMetric object from inherited base classes: Metric with example: obj = MOTMetric(save_summary)