TrTr: Visual Tracking with Transformer

Moju Zhao, Kei Okada, Masayuki Inaba
5/9/2021
cs.CV
transformer-attention

Official code: tongtybj/TrTr (84 stars, Python, last commit 2021-12-19).

Abstract

Template-based discriminative trackers are currently the dominant tracking methods due to their robustness and accuracy, and the Siamese-network-based methods that depend on cross-correlation operation between features extracted from template and search images show the state-of-the-art tracking performance. However, general cross-correlation operation can only obtain relationship between local patches in two feature maps.

Show full abstract

In this paper, we propose a novel tracker network based on a powerful attention mechanism called Transformer encoder-decoder architecture to gain global and rich contextual interdependencies. In this new architecture, features of the template image is processed by a self-attention module in the encoder part to learn strong context information, which is then sent to the decoder part to compute cross-attention with the search image features processed by another self-attention module. In addition, we design the classification and regression heads using the output of Transformer to localize target based on shape-agnostic anchor. We extensively evaluate our tracker TrTr, on VOT2018, VOT2019, OTB-100, UAV, NfS, TrackingNet, and LaSOT benchmarks and our method performs favorably against state-of-the-art algorithms. Training code and pretrained models are available at https://github.com/tongtybj/TrTr.

View on arXivView PDF

Code Implementations(1)

tongtybj/TrTrOfficial100%

TrTr: Visual Tracking with Transformer

8413Python, CApr 17, 20214 years ago

Similar Papers

Cite this paper

@article{zhao2021trtr,
  title  = {TrTr: Visual Tracking with Transformer},
  author = {Moju Zhao and Kei Okada and Masayuki Inaba},
  year   = {2021},
  eprint = {2105.03817},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.03817}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.03817.svg)](https://codeofpaper.com/paper/2105.03817)

Discussion