Ask Your Question
1

Paper image correction

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

Tony Henrique gravatar image

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

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

Comments

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

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

You can use this tutorial for automatic perspective correction.

edit flag offensive delete link more

Comments

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 -0600 )edit
1

You're welcome.

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

Question Tools

Stats

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

Seen: 939 times

Last updated: Sep 14 '13