Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with run_TLD in Windows 64 #29

Open
Keapon opened this issue Feb 11, 2012 · 3 comments
Open

Problem with run_TLD in Windows 64 #29

Keapon opened this issue Feb 11, 2012 · 3 comments

Comments

@Keapon
Copy link

Keapon commented Feb 11, 2012

I'm getting almost the same error as in Issue #22 - Issue with lk.cpp and openCV 2.3.1

I'm running Windows 7 x64, MatLab r2010a, CV 2.3.1 and VS 2010.
It all compiles and links fine, finally, but when I try to run run_TLD it gives me :

lk(2,imgI,imgJ,ptsI,ptsJ,Level)
??? One or more output arguments not assigned during call to "lk".

Error in ==> tldTracking at 30
xFJ = lk(2,tld.img{I}.input,tld.img{J}.input,xFI,xFI); % track all points by Lucas-Kanade tracker from frame I
to frame J, estimate Forward-Backward error, and NCC for each point

Error in ==> tldProcessFrame at 25
[tBB tConf tValid tld] = tldTracking(tld,tld.bb(:,I-1),I-1,I); % frame-to-frame tracking (MedianFlow)

Error in ==> tldExample at 41
tld = tldProcessFrame(tld,i); % process frame i

Error in ==> run_TLD at 42
[bb,conf] = tldExample(opt);

I tried the change mentioned in Issue #22. Change the 10th param in xFJ from 0 to status, but that didn't change anything.

@scott89
Copy link

scott89 commented Aug 19, 2013

This error occurs when lk is not initialized. In order to initialize lk, you should run lk(0) first. Check whether the command 'lk(0)' in the 20th line in tldInit.m is missing. Hope this helps!

@LinZhineng
Copy link

I also encountered this problem when I just use “lk” tracking algorithm. but I run lk(0) before runing lk(2,imgI,imgJ,ptsI,ptsJ,Level), the error “??? One or more output arguments not assigned during call to "lk".” does not exist.
Thank for your help! @scott89

@aiohalaziz
Copy link

how can I correct this?!
Undefined function 'lk' for input arguments of type 'double'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants