We will provide a zip file which contains a number of images taken from different positions and orientations with a camera. Each image is the view of a pattern on a flat surface. The original pattern that was photographed is 8.8cm x 8.8cm and is included in the zip file. Write a Python program that will visualize (i.e. generate a graphic) where the camera was when each image was taken and how it was posed, relative to the pattern.
You can assume that the pattern is at 0,0,0 in some global coordinate system and are thus looking for the x, y, z and yaw, pitch, roll of the camera that took each image. We need the code in zipfile for your solution. Readability and comments must be provided with the code. You may use 3rd party libraries like OpenCV and Numpy.
Image zip file download link: