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

realtime experiments - penalize tracker if frame processing takes longer than one frame duration #15

Open
daniel-d-koenig opened this issue May 14, 2020 · 3 comments

Comments

@daniel-d-koenig
Copy link

To my mind, the trackers should be penalized if they need longer than one frame duration. In the current implementation it is tolerated that the processing of one frame can take longer than one frame duration as long as not more than twice the frame duration. Is this correct (see code line below)?

https://github.com/votchallenge/vot-toolkit-python/blob/b23463652bfaba2393079b3517c4bc8bae3e1de8/vot/tracker/__init__.py#L250

Maybe the if statement "self._time > self._interval:" should be changed to "self._time > 0:", or is the tolerance for over one frame desired? I did not found any information about that.

Thanks in advance.

@lukacu
Copy link
Collaborator

lukacu commented May 17, 2020

Real-time stuff is very tricky to measure. There are so many things that have to be taken into account. As far as I have tested the configuration it is approximately right, we created some dummy trackers with a fixed sleep interval and see what are the results.

The main focus of the experiment at the moment is to provide some time-related penalties, but we will also consider your remark in the future version of the code.

@lukacu
Copy link
Collaborator

lukacu commented Jul 14, 2020

If this is still relevant: can you provide an example with a mockup tracker that would demonstrate the problem?

@daniel-d-koenig
Copy link
Author

I have no working example, I just detected this by reading and trying to understand the code. To my mind, following code line
https://github.com/votchallenge/vot-toolkit-python/blob/b23463652bfaba2393079b3517c4bc8bae3e1de8/vot/tracker/__init__.py#L250
should be changed to
if self._time > 0:
this leads to a penalization of the tracker if the processing of the frame takes longer than one frame.

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