Surf missing in opencv 2.4 for python
问题 I'm trying to instantiate a SURF object in python using OpenCV as described here but this happens: >>> import cv2 >>> cv2.__version__ '2.4.0' >>> cv2.SURF() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'SURF' Does anyone know why this happens or if SURF is missing from the Python version of OpenCV? 回答1: It is a regression which should be fixed in the next library update. But SURF is not really absent. You still can