mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Merge pull request #22366 from lukasalexanderweber:4.x
This commit is contained in:
commit
3cd36ebc7b
@ -368,7 +368,7 @@ def main():
|
|||||||
cam.R = cam.R.astype(np.float32)
|
cam.R = cam.R.astype(np.float32)
|
||||||
|
|
||||||
adjuster = BA_COST_CHOICES[args.ba]()
|
adjuster = BA_COST_CHOICES[args.ba]()
|
||||||
adjuster.setConfThresh(1)
|
adjuster.setConfThresh(conf_thresh)
|
||||||
refine_mask = np.zeros((3, 3), np.uint8)
|
refine_mask = np.zeros((3, 3), np.uint8)
|
||||||
if ba_refine_mask[0] == 'x':
|
if ba_refine_mask[0] == 'x':
|
||||||
refine_mask[0, 0] = 1
|
refine_mask[0, 0] = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user