bikz05 / bag-of-words

Python Implementation of Bag of Words for Image Recognition using OpenCV and sklearn
217 stars 106 forks source link

module 'cv2' has no attribute 'FeatureDetector_create' #15

Closed shrestharikesh closed 6 years ago

shrestharikesh commented 6 years ago

Traceback (most recent call last): File "findFeatures.py", line 35, in fea_det = cv2.FeatureDetector_create("SIFT") AttributeError: module 'cv2' has no attribute 'FeatureDetector_create'

nedufural commented 5 years ago

You should use cv2.xfeatures2d.SIFT_create() instead.

chifaa commented 1 year ago

You should use cv2.xfeatures2d.SIFT_create() instead.

plz give more explication ;thx