diff --git a/samples/python/stitching_detailed.py b/samples/python/stitching_detailed.py index 4ee29048d1..dfa88beba1 100644 --- a/samples/python/stitching_detailed.py +++ b/samples/python/stitching_detailed.py @@ -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: