mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 00:19:46 +01:00
Update stitching_detailed.py
resolves: #21406 use constructors consistently
This commit is contained in:
parent
a1143c4ea0
commit
5602d2c7bb
|
|
@ -246,9 +246,9 @@ def get_matcher(args):
|
|||
if matcher_type == "affine":
|
||||
matcher = cv.detail_AffineBestOf2NearestMatcher(False, try_cuda, match_conf)
|
||||
elif range_width == -1:
|
||||
matcher = cv.detail.BestOf2NearestMatcher_create(try_cuda, match_conf)
|
||||
matcher = cv.detail_BestOf2NearestMatcher(try_cuda, match_conf)
|
||||
else:
|
||||
matcher = cv.detail.BestOf2NearestRangeMatcher_create(range_width, try_cuda, match_conf)
|
||||
matcher = cv.detail_BestOf2NearestRangeMatcher(range_width, try_cuda, match_conf)
|
||||
return matcher
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user