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 __init__(self, window_size=20):
      self.start_time = 0.0
      self.diff = 0.0
      self.duration = 0.0
      self.deque = collections.deque(maxlen=window_size)
  
imports: import os
  import cv2
  import time
  import numpy
  import collections
  import math
label_desc: Use image node_id 1 to create a new MOTTimer object from inherited base classes: object with example: obj = MOTTimer(window_size)