MCPcopy Create free account
hub / github.com/cvzone/cvzone / FPS

Class FPS

cvzone/FPS.py:12–63  ·  view source on GitHub ↗

FPS class for calculating and displaying the Frames Per Second in a video stream. Attributes: pTime (float): Previous time stamp. frameTimes (list): List to keep track of frame times. avgCount (int): Number of frames over which to average the FPS.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FPS.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected