changed no longer patented SIFT

This commit is contained in:
Lukas Weber 2021-10-20 09:07:48 +02:00
parent 70d5c88026
commit 9379e85e23

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: