logo
Loading...

SIFT AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d' - Cupoy

Day09作業執行程式時出現錯誤訊息Day09 SIFT AttributeError: modul...

cv2

SIFT AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'

2020/06/13 02:32 PM
電腦視覺深度學習論壇
Eddie
觀看數:0
回答數:1
收藏數:0
cv2

Day09作業執行程式時出現錯誤訊息Day09 SIFT AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d',試著下指令pip install opencv-contrib-python==3.4.2.16卻又出現錯誤訊息

ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==3.4.2.16

ERROR: No matching distribution found for opencv-contrib-python==3.4.2.16

如下圖(因上傳圖片失敗所以用連結)

https://www.dropbox.com/s/o8i74p523rkerbo/螢幕截圖 2020-06-13 22.04.16.png?dl=0

有試過安裝他提到的幾個版本,但還是一樣出現AttributeError

請問還有其他方法嘗試嗎?

OS為mas OS Catalina 10.15.4

Python版本如下圖(似乎有兩個,我跑程式應是都用Python3)

https://www.dropbox.com/s/1kl940vgbya36zo/螢幕截圖 2020-06-13 22.23.00.png?dl=0


PS.這個form可能有bug,剛剛送出直接噴錯現在全部重打一次...