Ask Your Question

Arjun J Rao's profile - activity

2015-07-20 19:43:46 -0500 asked a question running the stitching_detailed example throws an exception

I have installed OpenCV-3.0.0 and configured with BUILD_EXTRA_MODULES to enable access to the SIFT and SURF algorithms. When i then proceed to execute the

./cpp-example-stitching_detailed source_image1.jpg source_image2.jpg

I get the following error :

OpenCV Error: Assertion failed (timelapse) in main, file /home/taeten/Downloads/opencv-3.0.0/samples/cpp/stitching_detailed.cpp, line 818
terminate called after throwing an instance of 'cv::Exception'
what():  /path/to/opencv-3.0.0/samples/cpp/stitching_detailed.cpp:818: error: (-215) timelapse in function main

Aborted (core dumped)
2015-07-20 05:18:41 -0500 asked a question opencv-3.0.0 Running the cpp-example-stitching_detailed example

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

Aborted

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