Open Rahmanzia3 opened 4 years ago
It seems that SIFT have been removed. I solve this problem with
pip install opencv-python==3.4.2.17
pip install opencv-contrib-python==3.4.2.17
and change
cv2.SIFT
to cv2.xfeatures2d.SIFT_create()
This works for me. Tell me it it works for you too.
I replaced cv2.SIFT() to cv2.SIFT_create()
import cv2 cv2.SIFT()
error: Exception has occurred: AttributeError module 'cv2.cv2' has no attribute 'SIFT'
I am using Opencv 4.1.1 python 3.7