Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZeroDivisionError if avg_fps == 0 during in pipeline.py, Line 180 #217

Closed
kurthobein opened this issue Sep 5, 2023 · 2 comments
Closed

Comments

@kurthobein
Copy link
Contributor

Title says it all. If avg_fps == 0, a ZeroDivisionError is thrown because avg_ms can not be calculated.
Simple fix: Use the _get_fps(), instead of int(np.floor(_get_fps())) in line 180

@kurthobein
Copy link
Contributor Author

Added pull request: #218

@nachovizzo
Copy link
Collaborator

Closed in #218

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

No branches or pull requests

2 participants