For this part of the project, I implemented a transformation that transforms one image to look like from the perspective of another.
To find the homography, I solve an H matrix with 4 pairs of labeled points.
The following pictures are taken in my kitchen. The algorithm transforms the first into one that can be stitched with the second.
Image 1 and 2
Mosaic
For this part, I used the transformation function to transform the painting on the right of the original picture to a frontal parallel one.
Original
Transformed