TLD (tracking-Learning-detection) learning and source code understanding (2)

Source: Internet
Author: User
Tags tld

TLD (tracking-Learning-detection) learning and source code understanding (2)

Zouxy09@qq.com

Opentld download and Compilation:

(1) https://github.com/arthurv/OpenTLD
Download: arthurv-OpenTLD-1e3cd0b.zip

Alternatively, you can use the GIT tool to clone the file in Linux:

# Git clone git@github.com: alantrrs/opentld. Git

(2) My compiling environment is Ubuntu 12.04 + opencv2.3

Install opencv 2.3:

# Apt-Get install libcv-dev libcv2.3 libcvaux-dev libcvaux2.3 libhighgui-dev libhighgui2.3

Install cmake:

# Sudo apt-Get install cmake

Decompress the package and compile it according to the README file in the source code directory:

# Cd opentld

# Mkdir build

# Cd build

# Cmake ../src/

# Make

# CD ../bin/

(3) run:

% 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.