1 | initial version |
you're probably staring at outdated code, it should be cv2.xfeatures2d.SURF_create()
nowadays.
also note, that to use this, you have to build cv2 from src, and enable the non free SIFT & SURF code with cmake -DOPENCV_ENABLE_NNFREE=ON
(you won't get this functionality using pip or other ppm's)
please also have a look at non-patented algorithms like ORB or AKAZE.