mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Merge pull request #20910 from lukasalexanderweber:sift_fix
This commit is contained in:
commit
824392a1c2
@ -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