foolwood / DCFNet_pytorch

DCFNet: Discriminant Correlation Filters Network for Visual Tracking
https://arxiv.org/pdf/1704.04057.pdf
MIT License
208 stars 60 forks source link

Why do you have padding for the template image? #15

Open sunshineatnoon opened 5 years ago

sunshineatnoon commented 5 years ago

Thanks for open-sourcing this awesome project!

In the DCFNet.py, I notice you padded the template twice large as you did with the search region. Could you please shed some lights on why this is necessary? Is it possible to get a response map by using a template that is not padded? Thanks.