The first part of the project includes taking pictures, recovering homographies between the pictures, and warping images to be front-facing.
I took a few sets of pictures inside and outside my house and of a painting on my wall.
I annotated the four corners of each image using ginput from matplotlib:
I computed the homography matrix between the two sets of points and obtained:
After trying to warp one to look like the other the result was decent:
After manually defining a rectangle with the proper dimensions, I used the resulting homography matrix to rectify both of the images: