Open opreationlife opened 1 year ago
module 'cv2' has no attribute 'xfeatures2d'
cv2.xfeatures2d.SIFT_create -> cv2.SIFT_create
sift = cv2.SIFT.create(0, 3, 0.04, 10)
这样写就好了
module 'cv2' has no attribute 'xfeatures2d'