zk00006 / OpenTLD

OpenTLD is an open source library for real-time 2D tracking of a single object in video. This repository is no longer under development. For latest version see: http://www.tldvision.com/tld2.html
GNU General Public License v3.0
2.09k stars 1.27k forks source link

Q : How to Edit and Run OpenTLD #23

Open moncvan opened 13 years ago

moncvan commented 13 years ago

Hi, All I'v already installed the 'TLD1.0_demo', etc. It run very well from my Windows 7 - 64 bit.

Now, I want to edit the code from 'zk00006-OpenTLD-8a6934d' in MATLAB. However, if I want to run from 'run_TLD.m' , it can't run.

        ??? Undefined function or method 'lk' for input arguments of type 'double'. 
        Error in ==> tldInit at 20 
        lk(0); 
        Error in ==> tldExample at 34 
        tld = tldInit(opt,[]); % train initial detector and initialize the 'tld' structure 
        Error in ==> run_TLD at 42 
        [bb,conf] = tldExample(opt); 

My Questions : 1) WHY ? Should I run all of the .m files which are inside of 'zk00006-OpenTLD-8a6934d' ? 2) Or should I install another software like OpenCV and VisualStudio to make it 'Run' ? 3) Should I make it into .exe files instead of directly edit & click run in MATLAB ? 4) Ow do you have any idea, which .m file should I edit if the TLD shows the x,y,s position like Zdenek Kalal video ?

Thanks all Regards,

Edmond N email : edmond.qut@gmail.com

wajihullahbaig commented 12 years ago

Waiting for an answer, were you able to solve this?