From 4df6e39babab51534ac5c692ba28c00faa07176e Mon Sep 17 00:00:00 2001 From: Lukas Weber Date: Tue, 3 Jan 2023 22:45:49 +0100 Subject: [PATCH] add GraphCutSeamFinder --- samples/python/stitching_detailed.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/python/stitching_detailed.py b/samples/python/stitching_detailed.py index f8f580dd56..1daef4d314 100644 --- a/samples/python/stitching_detailed.py +++ b/samples/python/stitching_detailed.py @@ -49,6 +49,8 @@ except AttributeError: print("AKAZE not available") SEAM_FIND_CHOICES = OrderedDict() +SEAM_FIND_CHOICES['gc_color'] = cv.detail_GraphCutSeamFinder('COST_COLOR') +SEAM_FIND_CHOICES['gc_colorgrad'] = cv.detail_GraphCutSeamFinder('COST_COLOR_GRAD') SEAM_FIND_CHOICES['dp_color'] = cv.detail_DpSeamFinder('COLOR') SEAM_FIND_CHOICES['dp_colorgrad'] = cv.detail_DpSeamFinder('COLOR_GRAD') SEAM_FIND_CHOICES['voronoi'] = cv.detail.SeamFinder_createDefault(cv.detail.SeamFinder_VORONOI_SEAM)