Merge pull request #20910 from lukasalexanderweber:sift_fix

This commit is contained in:
Alexander Alekhin 2021-10-20 09:48:20 +00:00
commit 824392a1c2

View File

@ -36,7 +36,7 @@ except (AttributeError, cv.error) as e:
# if SURF not available, ORB is default
FEATURES_FIND_CHOICES['orb'] = cv.ORB.create
try:
FEATURES_FIND_CHOICES['sift'] = cv.xfeatures2d_SIFT.create
FEATURES_FIND_CHOICES['sift'] = cv.SIFT_create
except AttributeError:
print("SIFT not available")
try: