在调用python的OpenCV的SIFT算法创建sift算法对象时提示:
module 'cv2.cv2' has no attribute 'xfeatures2d'
解决方案如下:
在控制台安装opencv-contrib-python包即可,
命令如下:
pip install opencv-contrib-python
轻松解决
在调用python的OpenCV的SIFT算法创建sift算法对象时提示:
module 'cv2.cv2' has no attribute 'xfeatures2d'
解决方案如下:
在控制台安装opencv-contrib-python包即可,
命令如下:
pip install opencv-contrib-python
轻松解决