1 | initial version |
SIFT and SURF were moved to opencv_contrib with opencv3, also the api changed:
>>> help(cv2.xfeatures2d) # new submodule
sift = cv2.xfeatures2d.SIFT_create()
surf = cv2.xfeatures2d.SURF_create()
you'll probably also need to update your cv2, and NOT use conda, but pip here:
pip install opencv-contrib-python
(the conda packages are badly maintained or outdated )