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

wrong fps in tracker.cpp #123

Closed
pauloord123 opened this issue Sep 11, 2018 · 1 comment
Closed

wrong fps in tracker.cpp #123

pauloord123 opened this issue Sep 11, 2018 · 1 comment
Labels

Comments

@pauloord123
Copy link

Tracker.cpp gives fps values only for the tracker->update, not for video.read() + tracker->update.

Better start with timer = (double)getTickCount(); just before the while(video.read) loop, and again at the end of that loop. Remove the timer from the first line in the loop.
This gives reasonable fps.

@asmorkalov
Copy link
Collaborator

It's frame rate of tracker algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants