Undoing a perspective transform results in the initial image but warped

@crackwitz

thank you for the questions. I re-uploaded the images above (and one below) for your reference!

have you compared the two point lists you are using? are they the same?

Yes they are the same. Currently, I’m saving them as a url query param, so that I can 1) to make sure they are the same 2) get them easily when I’m doing the inverse.

below is kinda what I’m trying to get: the shape inside the new canvas, but of course it needs to be ontop of the original image