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

matrix.cpp:1483: error #38

Open JLLL opened 11 years ago

JLLL commented 11 years ago

I'm running Windows 7 (x64), MATLAB R2012b (x64), OpenCV 2.4.3 (x64), and VS 2010.

I managed to compile OpenTLD successfully, but I got the following error why I tried run_TLD. Obviously this is a problem in the opencv matrix.cpp file. I usually run opencv on visual studio and there is no problem, so this shouldn't be my opencv installation problem.

Unexpected Standard exception from MEX file. What() is:......\src\opencv\modules\core\src\matrix.cpp:1483: error: (-27) create() called for the missing output array

..

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);

ghslovefanfan commented 10 years ago

i met the same problem,is anybody can solve?

achambers16 commented 10 years ago

This fixed it for me: https://github.com/zk00006/OpenTLD/issues/22