This line:
sift = cv2.xfeatures2d.SIFT_create()
return error:
Traceback (most recent call last):
File \"C:/Python27/openC
I got this error and all I did was to uninstall opencv packages and install them in the following order.
STEPS
open Anaconda Prompt by running as administrator and type the following commands.
$ pip uninstall opencv-python
$ pip uninstall opencv-contrib-python
Then type the following commands
$ pip install opencv-contrib-python==3.4.2.16
$ pip install opencv-python==3.4.2.16
This solved my problem. Hope this solves yours.!!