Another very interesting topic in computational photography is panorama stitching. I'm sure most of you have a panorama function on your phone. This section will focus on the ideas behind panorama stitching and, instead of just calling a single function, we will go through all the steps involved in creating a panorama from a bunch of separate photos.
Understanding panorama stitching
Writing script arguments and filtering images
We want to write a script that will take a list of images and will produce a single panorama picture. So, let's set up the ArgumentParser for our script:
def parse_args():
parser = argparse.ArgumentParser()
img_group = parser.add_mutually_exclusive_group(required=True)
img_group.add_argument...