mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Merge pull request #18795 from aitikgupta:stiching-bug
This commit is contained in:
commit
1f8f0abe92
@ -387,7 +387,7 @@ def main():
|
||||
focals = []
|
||||
for cam in cameras:
|
||||
focals.append(cam.focal)
|
||||
sorted(focals)
|
||||
focals.sort()
|
||||
if len(focals) % 2 == 1:
|
||||
warped_image_scale = focals[len(focals) // 2]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user