2016-05-14 43 views
0

我試圖運行的SimlpeBlobTracker下面的例子素描: https://github.com/spmallick/learnopencv/blob/master/BlobDetector/blob.cppopencv的Simpleblobdetector例如素描拋出CV ::例外(-231)

然而,當我嘗試運行該程序,

./track 

它打破和回報:

OpenCV Error: The function/feature is not implemented() in detectAndCompute, file /home/sixtimesseven/Desktop/opencv/opencv/modules/features2d/src/feature2d.cpp, line 144 terminate called after throwing an instance of 'cv::Exception' what(): /home/sixtimesseven/Desktop/opencv/opencv/modules/features2d/src/feature2d.cpp:144: error: (-213) in function detectAndCompute

我用makefile文件編譯

CFLAGS = `pkg-config --cflags opencv` 
LIBS = `pkg-config --libs opencv` 

track : track.cpp 
    g++ $(CFLAGS) -o track track.cpp $(LIBS) 

而且我運行Ubuntu 16和OpenCV 2.4。

回答

0

我不是這個主題的專家,但我確實碰到過this,這表明它可能與您如何聲明特定對象有關。