mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
changed no longer patented SIFT
This commit is contained in:
parent
70d5c88026
commit
9379e85e23
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user