2016-03-30 04:20:31 -0600 | received badge | ● Editor (source) |
2016-03-30 03:13:09 -0600 | asked a question | stitching_detailed sample code unhandled exception when run I was trying out the sample code stitching_detailed.cpp. It built successfully but has the following error when run: Unhandled exception at 0x00007FFDE7011F28 in stitching_detailed.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000935AF3B820. However, when I build and run the other sample code stitching.cpp it works fine. I'm using opencv 3.1 on visual studio 2015. Edit 1:
The link to the stitching_detailed.cpp code is here. When I try to run it, it points to Edit 2 When I ran the program in the command line it showed this error: It seems that for this opencv version the feature is not installed (it is in a separate opencv_contrib module). Will try it. Edit 3 (Found solution) The error occurred because I didn't install the separate opencv_contrib module which has a feature (SURF feature detection) that is used in the program. It ran with no errors after compiling opencv with the opencv_contrib module using cmake. For more details, I followed instructions on compiling it through this website: https://putuyuwono.wordpress.com/2015... |