PyImageSearch / imutils

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.
MIT License
4.51k stars 1.03k forks source link

Update fps.py #194

Open KevWal opened 4 years ago

KevWal commented 4 years ago

We should reset self._numFrames to zero in def start(self) , so that we can 'restart' (ie stop and then start) the counter within our program to get interim FPS readings.