【发布时间】:2019-08-16 20:49:10
【问题描述】:
我正在使用 opencv-python-3.4.2.17 和 opencv-contrib-python==3.4.2.16。 我也尝试过其他版本。但我仍然收到此错误:
筛选 = xfeatures2d.SIFT_create()
NameError: 名称 'xfeatures2d' 未定义
我已经参考了这些链接:
AttributeError: 'module' object has no attribute 'xfeatures2d' [Python/OpenCV 2.4]
Unable to find SIFT or xfeatures2d in OpenCV Python
Adding modules from opencv_contrib to OpenCV
但这些都不适合我。
【问题讨论】:
标签: python opencv sift opencv-contrib