Skip to content

Add pause/resume functionality to FPS (closes #227)#228

Open
basil96 wants to merge 1 commit intoPyImageSearch:masterfrom
basil96:fps-pause-resume
Open

Add pause/resume functionality to FPS (closes #227)#228
basil96 wants to merge 1 commit intoPyImageSearch:masterfrom
basil96:fps-pause-resume

Conversation

@basil96
Copy link

@basil96 basil96 commented Sep 17, 2020

  • Does not break existing API.

  • Add pause and resume methods to FPS in order to pause and resume the timer in an accurate way.

  • Calls to update will not increment frame count while the timer is paused.

  • Also, convert old comments to proper docstrings.

* Does not break existing API.

* Add `pause` and `resume` methods to FPS in order to pause and resume the timer in an accurate way.

* Calls to `update` will not increment frame count while the timer is paused.

* Also, convert old comments to proper docstrings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant