Open Keapon opened 12 years ago
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!
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
how can I correct this?! Undefined function 'lk' for input arguments of type 'double'.
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.