#Edge Template Tracker Code for IROS 2018 paper 'Real-Time Edge Template Tracking via Homography Estimation', Xuebin Qin, Shida He, Zichen Zhang, Masood Dehghan, Jun Jin and Martin Jagersand. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2018. (Data) (Video)
Contact: xuebin[at]ualberta[dot]ca
OpenCV 2.4.9 (make sure QT enabled when installing Opencv)
- clone this repo
git clone https://github.com/NathanUA/EdgeTemplateTracker.git
and Download the dataset
git clone https://github.com/NathanUA/Edge_Template_Tracking_Dataset.git
-
Go to the root directory run
./STPF_main. If it doesn't work, then you have to recompile it by commandmake. -
Run on different modes
. Run the code on recorded videos by commend:./STPF_main 1 ../../data/videos_avi/box_359.avi(video path should be configured according to your settings).
Run the code on webcam videos by commend:./STPF_main 0. -
Initialize to-be-tracked edge template in the first frame.
(1) Sequentially select the edge fragments by mouse left button clicking (mouse middle button scroll for zoom-in or zoom-out).
(2) You could split some long fragments by moving your cursor to target position and pressing keyb.
(3) Pressfcan undo the selection of the last fragment.
(4) Pressato switch between the edge fragment selection mode and line segments drawing mode.
(5) Pressoorcto indicate open or closed (start and end pixels of the selected edge fragments will be connected after mouse middle button clicking in step (6)) edge template.
(6) Click mouse middle button for finishing the edge template selection. -
Is it the last boundary of the object ?Pressyto initialize another target, pressnto continue labeling of the same target. -
Press
Enterto test tracking on single frame or pressSpaceto test tracking on the whole sequence.
@InProceedings{Qin2018ETTracker,
author = {Qin, Xuebin and He, Shida and Zhang, Zichen and Dehghan, Masood and Jin, Jun and Jagersand, Martin.},
title = {Real-Time Edge Template Tracking via Homography Estimation},
booktitle={IEEE/RSJ IROS},
year = {2018}
}