Ask Your Question

Revision history [back]

You should take a look at the OpenCV Transition Guide, which discusses the biggest differences between OpenCV2.4 and OpenCV 3.x.

You should take a look at the OpenCV Transition Guide, which discusses the biggest differences between OpenCV2.4 and OpenCV 3.x.

In your case, the first step should be to include the correct headers! Also keep in mind the SURF was stored in opencv_contrib repository now, because it is a non-free module (there is a commercial license on its use)