All Projects → microsoft → SPM-Tracker

microsoft / SPM-Tracker

Licence: MIT License
This is the implementation of CVPR'19 paper "SPM-Tracker: Series-Parallel Matching for Real-Time Visual Object Tracking"

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
Cuda
1817 projects
shell
77523 projects

SPM-Tracker

This is an inference-only implementation of SPM-Tracker

  • SPM-Tracker: Series-Parallel Matching for Real-Time Visual Object Tracking, CVPR 2019

Installation

Prerequisite Lib

  • Python3 is required for this project.

  • You should install PyTorch and Torchvision lib firstly. The installation can refer to official repo https://pytorch.org/ .

  • The other Python dependences can be installed by pip.

pip install -r requirements.txt

Compile Cython Extensions

Some components are written in Cython & CUDA. It's necessary to manually compile them.

bash compile.sh

Known issue for torch >= 1.0.0 on Win32 platform: the MSCV compiler cannot handle #warning, see this pull request: https://github.com/pytorch/pytorch/pull/20484


Demo

  • tools/track_video.py shows an example to track a video

You may just simply call

python tools/track_video.py --video data/demo/boy.avi --cfg configs/spm_tracker/alexnet_c42_otb.yaml

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].