C-COT目标跟踪代码下载运行

我的环境是win10,matlab R2015b,vs2015

首先在matlab里选择好c++编译器,用mex -setup  命令,不会的可以再百度

之后下载C-COT代码,https://github.com/martin-danelljan/Continuous-ConvOp

之后按照作者教程,

Download matconvnet ZIP file from https://github.com/vlfeat/matconvnet and unpack it in the external_libs/matconvnet/ folder of the repository.

Download PDollar Toolbox ZIP file from https://github.com/pdollar/toolbox and unpack it in the external_libs/pdollar_toolbox/ folder of the repository.

下载好matconvnet和 PDollar Toolbox,并放到正确的文件夹,此处注意,比如external_libs/matconvnet/文件夹下应该直接是

这一层目录,也就是说要把解压出来的最外层的matconvnet-master/目录删掉(或者叫做将matconvnet-master/下的文件剪切出来放到external_libs/matconvnet/目录下


之后在matlab中运行install.m,会看到一堆用vs2015编译好的文件。最后代码会自动下载训练好的文件:imagenet-vgg-m-2048。


install.m运行完后,再运行demo.m便可以观察跟踪效果


PS:我的电脑里有较多的编程环境(cuda等),不保证该代码没有调用其他的工具。如果你的不能跑可以留言交流

你可能感兴趣的:(算法)