MCPcopy 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

FileVideoStreamClass · 0.90
FPSClass · 0.90
runningMethod · 0.80
elapsedMethod · 0.80
fpsMethod · 0.80
startMethod · 0.45
readMethod · 0.45
updateMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected