From 1bab920cf568c1420c37c5c688c27a59db0eca02 Mon Sep 17 00:00:00 2001 From: Lukas Weber <32765578+lukasalexanderweber@users.noreply.github.com> Date: Thu, 11 Aug 2022 18:04:28 +0200 Subject: [PATCH] remove static con_thresh for adjuster --- samples/python/stitching_detailed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python/stitching_detailed.py b/samples/python/stitching_detailed.py index 56d6965733..f8f580dd56 100644 --- a/samples/python/stitching_detailed.py +++ b/samples/python/stitching_detailed.py @@ -368,7 +368,7 @@ def main(): cam.R = cam.R.astype(np.float32) adjuster = BA_COST_CHOICES[args.ba]() - adjuster.setConfThresh(1) + adjuster.setConfThresh(conf_thresh) refine_mask = np.zeros((3, 3), np.uint8) if ba_refine_mask[0] == 'x': refine_mask[0, 0] = 1