Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyImageSearch/imutils
/ read_frames_fast.py
File
read_frames_fast.py
demos/read_frames_fast.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Modified from:
2
# https://www.pyimagesearch.com/2017/02/06/faster-video-file-fps-with-cv2-videocapture-and-opencv/
3
4
# Performance:
Callers
nothing calls this directly
Calls
9
FileVideoStream
Class · 0.90
FPS
Class · 0.90
running
Method · 0.80
elapsed
Method · 0.80
fps
Method · 0.80
start
Method · 0.45
read
Method · 0.45
update
Method · 0.45
stop
Method · 0.45
Tested by
no test coverage detected