Skip to content

Commit

Permalink
add GraphCutSeamFinder
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasalexanderweber committed Jan 3, 2023
1 parent 9208dcb commit 4df6e39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/python/stitching_detailed.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
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)
Expand Down

0 comments on commit 4df6e39

Please sign in to comment.