TLD(Tracking-Learning-Detection)学习与源码理解之(build)
2015-08-24 10:00
387 查看
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
(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
相关文章推荐
- Building a Space Station 1718 (三维的 最小生成树)
- Building a Space Station 2031 (三维的 最小生成树 prim)
- 第2组UI-ImageView及子类
- Web开发工具之HBuilder初探
- 使用requirejs实现模块化编程
- [LeetCode] Missing Number (A New Questions Added Today)
- UIScrollView_UIPageControl
- Android开发之Volley定制自己的Request
- css3的媒体查询(Media Queries)
- Java中SerialVersionUID的作用
- UIScrollView
- Windows GUI 开发历史
- Windows GUI 开发历史
- POJ2778 DNA Sequence AC自动机+快速幂+DP
- Android UI设计:ImageView
- [CareerCup] 6.4 Blue Eyes People on Island 岛上的蓝眼人
- [LeetCode#115]Distinct Subsequences
- Chapter 9 Sequential Containers
- UOJ 08 Quine 是在下输了
- 5种创建UIImage的类方法