A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
When processing long videos interactively, pause/resume functionality may be desirable. The FPS class currently can only time frames during one interval. To make it more practical, I propose the following:
Add pause and resume methods. During a pause, calls to update will not increment the frame count.
Accumulate the elapsed time on every stop or pause, effectively redefining the private attributes _start and _end as endpoints of sub-intervals.
When processing long videos interactively, pause/resume functionality may be desirable. The FPS class currently can only time frames during one interval. To make it more practical, I propose the following:
pause
andresume
methods. During a pause, calls toupdate
will not increment the frame count.stop
orpause
, effectively redefining the private attributes_start
and_end
as endpoints of sub-intervals.I will submit a PR for this.