How to adjust a image as the empty image
Suppose I have a empty paper like this image
Then I write some text on the paper,but the result paper have been distorted,rotated and translated.like this image
How to adjust the result papper according the original empty paper? As you see,some empty transverse line can align this two images. The result(I get it by Photoshop) like this image is expected.
I want to use OpenCV to do this.Can anybody give a better solution for this?