This line:
sift = cv2.xfeatures2d.SIFT_create()
return error:
Traceback (most recent call last): File \"C:/Python27/openC
You can use this instead:
sift=cv2.SIFT()