Ask Your Question

Paper image correction

asked 2013-09-14 14:35:21 -0500

Tony Henrique gravatar image

updated 2013-09-14 14:41:18 -0500

Suppose I have this image: image description

How to automatically detect the outher box And Correct the corners of the destination image based on that outher box, so that the image looks like this?

image description

edit retag flag offensive close merge delete


I am able to detect the outer box perfectly if it is Rotated. But if it has perspective, then the detected Box is different shape than real box.

Tony Henrique gravatar imageTony Henrique ( 2013-09-14 21:25:09 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-14 22:59:39 -0500

You can use this tutorial for automatic perspective correction.

edit flag offensive delete link more


Thank you, Mostafa! I was almost giving up, search many times with no success, then I asked here and your answer helped me to make it work. That blog that you teached is very nice.

Tony Henrique gravatar imageTony Henrique ( 2013-09-16 12:17:16 -0500 )edit

You're welcome.

Mostafa Sataki gravatar imageMostafa Sataki ( 2013-09-16 23:24:19 -0500 )edit

Question Tools


Asked: 2013-09-14 14:35:21 -0500

Seen: 700 times

Last updated: Sep 14 '13