我試圖運行的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。