class_docstr: This class used to compute and print the current FPS while evaling.
class_docstr_tok: ["This","class","used","to","compute","and","print","the","current","FPS","while","evaling","."]
code: def toc(self, average=True):
      self.diff = time.time() - self.start_time
      self.deque.append(self.diff)
      if average:
          self.duration = np.mean(self.deque)
      else:
          self.duration = np.sum(self.deque)
      return self.duration
  
imports: import os
  import cv2
  import time
  import numpy
  import collections
  import math
label_desc: Use image node_id 3 for calling the MOTTimer obj's underlying member method code with example usage: obj.toc(average) and returns: self