class_docstr: Threaded Class to calculate average FPS based on time.perf_counter() python module
docstr: calculates and return average FPS
code: def average_fps(self):
      """
      calculates and return average FPS
      """
      self.__terminate = True
      if not (self.__timer is None):
          self.__timer.join()
          self.__timer = None
      av_fps = np.average(self.__fps) if self.__fps else 0.0
      return av_fps
  
file_path: vidgear/vidgear/tests/utils/fps.py
imports: import time
  import numpy
  from threading import Thread
label_desc: Use image node_id 5 for calling the FPS obj's underlying member method code with example usage: obj.average_fps() and returns: av_fps