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

Tracker taking long time after some frames #14

Closed
trilokpadhi opened this issue Dec 30, 2020 · 5 comments
Closed

Tracker taking long time after some frames #14

trilokpadhi opened this issue Dec 30, 2020 · 5 comments

Comments

@trilokpadhi
Copy link

trilokpadhi commented Dec 30, 2020

Hi @emilianavt
Thanks for the nice repo . While running the code , the tracker takes a long time after some frames , I have attached the screenshot here , can you please tell what may be the possible reason ? You can see that in the attached screenshot that , after 22 ms , the tracker takes a longer time upto 2398 ms which is almost 100 times more .
Thanks
Trilok

image

@emilianavt
Copy link
Owner

Is there any other CPU intensive process running? I noticed that having other heavy processes running could make the tracking time vary a lot, especially when set to single threaded. I don't think there is anything in the code itself that would cause the time to change much. Even something quite simple like cropping out the face seems to randomly take much longer in the screenshot, so I'd blame the OS not giving it enough CPU time. You can try increasing the number of threads with -m.

@trilokpadhi
Copy link
Author

trilokpadhi commented Dec 30, 2020

Hi @emilianavt
Thanks for your reply , but I ran the code again in the local machine with latest code from the repository and you can see in the attached screenshot that in alternate frame proccesing , the cropping time and tracking time almost doubles .
I guess there is some another process in the code that is running and is taking time .
can you please help me with this ?
Thanks
Trilok
image

@emilianavt
Copy link
Owner

What options are you running the tracking with? Defaults?

@trilokpadhi
Copy link
Author

Yes ,I am running it with the default values

@emilianavt
Copy link
Owner

Does it happen if you set --discard-after 0?

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