Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyImageSearch/imutils
/ fps
Method
fps
imutils/video/fps.py:31–33 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
29
return
(self._end - self._start).total_seconds()
30
31
def
fps(self):
32
# compute the (approximate) frames per second
33
return
self._numFrames / self.elapsed()
Callers
3
picamera_fps_demo.py
File · 0.80
fps_demo.py
File · 0.80
read_frames_fast.py
File · 0.80
Calls
1
elapsed
Method · 0.95
Tested by
no test coverage detected