Unexpected Standard exception from MEX file.
biosthezerg opened this issue · comments
I tried to compile and run OpenTLD on 64bit Ubuntu. Compilation was ok with OpenCV 2.3.1 (older versions have some problems with headers).
Then I try to run, I can see the first frame and then the following error:
Unexpected Standard exception from MEX file.
What() is:/vol/vssp/signsrc/externalLibs/openCV/OpenCV-2.3.1/modules/core/src/matrix.cpp:1305: error: (-27) create() called
for the missing output array in function create
Error in tldTracking (line 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 (line 25)
[tBB tConf tValid tld] = tldTracking(tld,tld.bb(:,I-1),I-1,I); % frame-to-frame tracking (MedianFlow)
Error in tldExample (line 41)
tld = tldProcessFrame(tld,i); % process frame i
Error in run_TLD (line 42)
[bb,conf] = tldExample(opt);
accompanied with this on command line:
OpenCV Error: Null pointer (create() called for the missing output array) in create, file /vol/vssp/signsrc/externalLibs/openCV/OpenCV-2.3.1/modules/core/src/matrix.cpp, line 1305
Anyone got an idea what could be wrong?
OK, I sort it out, it was enough to use this compilation:
https://github.com/schloegl/OpenTLD/commit/11c273f48a9903384c92124df5f225a3ab50285c
Now it works...