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

error: (-27) in Matlb 2012b with OpenCV2.4.2 in Windows 7 #34

Closed 8mike closed 11 years ago

8mike commented 11 years ago

I am getting this error when i try to execute run_TLD.m (compilation went fine)

Unexpected Standard exception from MEX file. What() is:......\modules\core\src\matrix.cpp:1467: 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);

harguess commented 11 years ago

8mike: I'm getting the same exact issue. How did you resolve this?

harguess commented 11 years ago

Never mind. The suggestion here did the trick: https://github.com/zk00006/OpenTLD/issues/22