First time here? Check out the FAQ!

Ask Your Question
1

Paper image correction

asked Sep 14 '13

Tony Henrique gravatar image

updated Sep 14 '13

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

Preview: (hide)

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 (Sep 15 '13)edit

1 answer

Sort by » oldest newest most voted
2

answered Sep 15 '13

You can use this tutorial for automatic perspective correction.

Preview: (hide)

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 (Sep 16 '13)edit
1

You're welcome.

Mostafa Sataki gravatar imageMostafa Sataki (Sep 17 '13)edit

Question Tools

Stats

Asked: Sep 14 '13

Seen: 945 times

Last updated: Sep 14 '13