opencv-3.0.0 Running the cpp-example-stitching_detailed example

asked 2015-07-20 04:47:21 -0500

downloaded and installed opencv-3.0.0. i'm just starting out with opencv and i wanted to run the ./cpp-example-stitching_detailed executable that was built in the bin subdirectory inside my cmake build directory.

i ran the example like ./cpp-example-stitching_detailed img1.jpg img2.jpg

the program threw up the following :

OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in     SurfFeaturesFinder, file /path/to/opencv-3.0.0/modules/stitching/src/matchers.cpp, line 357
terminate called after throwing an instance of 'cv::Exception'
what():  /path/to/opencv-3.0.0/modules/stitching/src/matchers.cpp:357: error: (-213) OpenCV was built without SURF support in function SurfFeaturesFinder


i get that if i'm writing my own projects, i need to link it with and include and instantiate certain modules and headers <icosa1> but what to do in this situation, where a default example doesn't run !!

edit retag flag offensive close merge delete