1. Github
https://github.com/davheld/GOTURN
Introduction
GOTURN addresses the problem of single target tracking: given a bounding box label of an object in the first frame of the video, we track that object through the rest of the video.
2.Installation
-
Install CMake:
sudo apt-get install cmake
-
Install TinyXML (needed to load Imagenet annotations):
sudo apt-get install libtinyxml-dev
-
clone GOTURN
git clone --recursive https://github.com/davheld/GOTURN.git
- make
mkdir build
cd build
cmake ..
make
3. 遇到的问题
-
配置caffe路径
需要在 GOTURN/cmake/Modules目录下修改Caffe_DIR的值:###Set the variable Caffe_DIR as the root of your caffe directory
set(Caffe_DIR /home/dl/caffe) -
make编译时遇到以下编译错误:
fatal error: caffe/proto/caffe.pb.h:No such file or directory #include 'caffe/proto/caffe.pb.h'
解决:
切换到caffe根目录:
(1) proto src/caffe/proto/caffe.proto –cpp_out=.
【–cpp_out 指定生成c++的代码并放置在当前路径中 】
(2) mkdir include/caffe/proto
(3) mv src/caffe/proto/caffe.pb.h include/caffe/proto
4. Pretrained model
bash scripts/download_trained_model.sh
5. Tracking Performance
bash scripts/show_tracker_test.sh /home/dl/Downloads/vot2015