TLD(Tracking-Learning-Detection)学习与源码理解之(二)
TLD(Tracking-Learning-Detection)學習與源碼理解之(二)
zouxy09@qq.com
http://blog.csdn.net/zouxy09
?
OpenTLD下載與編譯:
(1)https://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總結
以上是生活随笔為你收集整理的TLD(Tracking-Learning-Detection)学习与源码理解之(二)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 寻找最优参数解:最速下降法,牛顿下降法,
- 下一篇: TLD(Tracking-Learnin