TLD(Tracking-Learning-Detection)学习与源码理解之(二)

54 篇文章 110 订阅
29 篇文章 41 订阅

TLDTracking-Learning-Detection)学习与源码理解之(二)

zouxy09@qq.com

http://blog.csdn.net/zouxy09

 

OpenTLD下载与编译:

1https://github.com/arthurv/OpenTLD
下载得到:arthurv-OpenTLD-1e3cd0b.zip

或者在Linux下直接通过git工具进行克隆:

#git clone git@github.com:alantrrs/OpenTLD.git

2)我的编译环境是Ubuntu 12.04 + Opencv2.3

安装opencv 2.3

#apt-get install libcv-dev libcv2.3 libcvaux-dev libcvaux2.3 libhighgui-dev libhighgui2.3

安装cmake

#sudo apt-get install cmake

解压然后按照源码目录下README文件进行编译:

#cd OpenTLD

#mkdir build

#cd build

#cmake ../src/

#make

#cd ../bin/

3)运行:

%To run from camera

./run_tld -p ../parameters.yml

%To run from file

./run_tld -p ../parameters.yml -s ../datasets/06_car/car.mpg

%To init bounding box from file

./run_tld -p ../parameters.yml -s ../datasets/06_car/car.mpg -b ../datasets/06_car/init.txt

%To train only in the firs frame (no tracking, no learning)

./run_tld -p ../parameters.yml -s ../datasets/06_car/car.mpg -b ../datasets/06_car/init.txt -no_tl

%To test the final detector (Repeat the video, first time learns, second time detects)

./run_tld -p ../parameters.yml -s ../datasets/06_car/car.mpg -b ../datasets/06_car/init.txt –r
评论 50
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值