Traceback (most recent call last):
File "/Users/wangxiaoqi/Desktop/1.py", line 9, in <module>
sift = cv2.xfeatures2d.SIFT_create()
cv2.error: OpenCV(3.4.8) /Users/travis/build/skvark/opencv-python/opencv_contrib/modules/xfeatures2d/src/sift.cpp:1207: 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'
已经安装opency-contrib-python
File "/Users/wangxiaoqi/Desktop/1.py", line 9, in <module>
sift = cv2.xfeatures2d.SIFT_create()
cv2.error: OpenCV(3.4.8) /Users/travis/build/skvark/opencv-python/opencv_contrib/modules/xfeatures2d/src/sift.cpp:1207: 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'
已经安装opency-contrib-python