basic_bot.commons.fps_stats
FpsStats Objects
FpsStats - A class to track overall and floating frames per seconds. Floating fps is calculated over the last 60 seconds.
Instantiate the class to start tracking the stats. Call increment() for each frame read. Call stats() to get the stats.
increment
Increment the frame count and calculate the floating fps
stats
Return the stats as a dictionary