STVIR / pysot

SenseTime Research platform for single object tracking, implementing algorithms like SiamRPN and SiamMask.
Apache License 2.0
4.43k stars 1.11k forks source link

update template during tracking #86

Closed kodonnell closed 5 years ago

kodonnell commented 5 years ago

Is there are reason why we don't update the template as we're tracking? Put another way, why tracker.init(...) is only called in the first frame in demo.py? I feel it'd get better results for tracking over long periods of time, or for slowly changing objects (e.g. people moving etc.).

StrangerZhang commented 5 years ago

Good question! However we find use moving average to update template frame or reinitialize the template frame could not improve the tracking result.

kodonnell commented 5 years ago

Interesting. Is that on datasets with deformable objects over long periods (e.g. people walking)? Moving average is also a clever idea. I'd be interested to see the code added if you already have it and it's easy.