remove static con_thresh for adjuster

This commit is contained in:
Lukas Weber 2022-08-11 18:04:28 +02:00 committed by GitHub
parent bb71cb200e
commit 1bab920cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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