Merge pull request #18795 from aitikgupta:stiching-bug

This commit is contained in:
Alexander Alekhin 2020-11-13 11:20:36 +00:00
commit 1f8f0abe92

View File

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