NklausMikealson / SiameseFC-pytorch

This is a demo for SiameseFC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SiameseFC-pytorch

Introduction

This repo is the expansion work for SiameseFC. Although the origin code is a clear implementation of SiamFC, it does not provide the demo program for us. It is significant to use a demo program to see the tracking result in the arbitrary video. So, I write this repo to provide the expansion demo program. You can set the any target in your video.

The origin paper you can see in here

Prepared

This repo need to install those dependencies:

opencv-python
torch
got10k

I recommend the got-10k toolkit for you to implement or evaluate your SOT code, you can go here to know this toolkit.

You can use this code to install those dependencies:

pip install XXX

Demo

  1. Clone this repo in your computer

    git clone https://github.com/NklausMikealson/SiameseFC-pytorch.git
  2. Put your video in this repo

  3. Run:

    python demo.py [./your/video/path]

Evaluate the tracker in dataset

The got-10k toolkit provide 7 tracking datasets (OTB (2013/2015), VOT (2013~2018), DTB70, TColor128, NfS and UAV123) to evaluate your code.

in the root directory of repo:

Run:

python test.py

You can choose the evaluate dataset in test.py

Training this tracker

  1. Download the dataset at ./data/[your-dataset-name].

  2. Run:

    python train.py

About

This is a demo for SiameseFC


Languages

Language:Python 100.0%