So I have cropped an image using this solution. Is there a way I can deskew the image using source and destination co-ordinates of the corners or another way?
Ideally I want to be able to do this manually without using preset co-ordinates in the script.
For example, a tilted piece of paper in an image like so. I crop the image so just the paper is left but then it is still tilted. So i want to make it as if I am looking directly at it.