In [26]: surf = cv2.xfeatures2d.SURF_create()
Traceback (most recent call last):
File "<ipython-input-26-814cf6c0cc82>", line 1, in <module>
surf = cv2.xfeatures2d.SURF_create()
error: OpenCV(4.1.1) /io/opencv_contrib/modules/xfeatures2d/src/surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'create'
感谢
Traceback (most recent call last):
File "<ipython-input-26-814cf6c0cc82>", line 1, in <module>
surf = cv2.xfeatures2d.SURF_create()
error: OpenCV(4.1.1) /io/opencv_contrib/modules/xfeatures2d/src/surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'create'
感谢