Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am doing my project on perspective rectification..
can some body help me to find vanishing point in the document image ,if it has perceptiveness present in it. i am thinking that if vanishing point is known, i can figure it out a way to rectify the perceptiveness in image.. any one plz plz.. help me with some coding ideas...

in some article i read that by finding the local skew in document vanishing point can be determined, but i don't know how to find local skew in a image. Is it possible to find local skew in a document..
Posted
Updated 15-Oct-11 8:50am
v2

1 solution

Try edge detection[^] - and see if you're able to find a number of vectors/lines pointing roughly to the same point/area - you'll probably find more than one "vanishing" point.

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Simon Bang Terkildsen 15-Oct-11 17:16pm    
I don't know much about the subject, but that sounds like a good way to take it on.
Espen Harlinn 16-Oct-11 5:08am    
Thank you, Simon :)
ranjithgarnepudi 15-Oct-11 22:45pm    
Thanks for reply Harlinn. i am doing my project on text document(telugu language) in telugu we don't have any vertical or horizontal strokes. all the characters in telugu are round and curve shaped. so by applying edge detection may not get lines(edges) inside the document.. but i like your idea because it may work if document edges are visible in image(if whole document is captures). if there is any idea plz let me know...
Espen Harlinn 16-Oct-11 5:07am    
I think you should review your question - I'm getting the feeling that I'm missing someting. I was thinking about detecting perspective in a photo - like a railway disappearing into the sunset :) - this sounds like something else ... or maybe not - maybe all you need is to detect the edges of a paper?
ranjithgarnepudi 16-Oct-11 21:33pm    
yes Harlin.. finding paper edges is one way of finding vanishing points. In case if i capture data inside the paper where the edges of paper doesn't come in camera frame. Only portion of the paper is captured then problem becomes much more complicated to rectify perceptiveness. i am thinking to solve that problem. do u have any idea..?
thank you harlin..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900