
Help with a Computer Vision Homework - Homography
I have a homework that consists on me having these following 2 images and, through homography, I have to create a front view of the image and eliminate the person in front of it
I managed to warp the first photo so both pictures now are in the same plane, pictured below:
But, I don't really know how to continue from here, I'm not sure how to remove the person from the picture aside from maybe splitting each picture in half and stitching both halves?? But I doubt that's what my professor wants me to do.
And besides, I'm honestly not even completely sure if this photos are actually in a front view perspective, because when I tried comparing them with the actual image that the professor gave us to help, the ones I got still look a bit skewed, and it's not like I can use the solution in order to help get the real coordinates so... I'm a bit lost on what to do.
In case it helps, these are the exact instructions we have:
Writing a program to read JPG images, calculating the homography matrixes between them, and try to project part of them into a front view. Note: the frame of the painting is a circle.
Please manually find at least 5 matching points in both images to find the homography, and eleminate the people to have a clean painting. Finally, please convert into (ex. fill in) a perfect circle. Save your result as a JPG file (named as Student_ID.jpg).
In this homework, you can use any method including third-party lib. to perform, but please do NOT directly use any commercial software to create the image for this assignment.