My python version = 3.7.4 cv2 version= 4.2.0
These are my version on python and open cv, Im trying to use SIFT function and I got the famous error module cv2.cv2' has no attribute 'SIFT'
, so I tried pip install opencv-contrib-python
and also python -m pip install --user opencv-contrib-python
, and I changed detector=cv2.SIFT()
to detector=cv2.xfeatures2d.SIFT_create()
and the error just changed to AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'
I Tried with similar questions that I found, but are not working for me, I dont find a recent question, thats why Im opening this new because maybe as the version were different it could be the reason doesnt work for me
What else could I do?