I am using the python bindings for OpenCV 2.4.X and OpenCV 3.1 but with the following simple two-liner
import cv2
detector = cv2.FeatureDetector_create("SURF")
I get the following output:
Traceback (most recent call last):
File "version_test.py", line 3, in <module>
detector = cv2.FeatureDetector_create("SURF")
AttributeError: 'module' object has no attribute 'FeatureDetector_create'
What are the reasons for this error in each version?
$Rev: 4557 $, which looks like a subversion revision. OpenCV stopped using subversion last summer, and 2.4.3 was released in the fall (see code.opencv.org/projects/opencv/wiki).