10-07-2013 01:58 AM
We are students and are given a project to detect words and number on the test paper and we are able to do it, our supervisor suddenly wants us to enhance the project by rotating the paper at any degree and still be able to detect words and number on the test paper. We have done research for it about 2 week! But still not able to do it! Need helps!!!
10-07-2013 04:07 AM
Dear John,
You will need LabVIEW vision development and vision acquisition module for this. If the font used in paper doesn't change, for instance if your paper has an essay printed in Times New Roman then first you will have to create a database containing images of alphabets in every orientation. This would, now, become more time consuming since you won't be taking pictures of every alphabet for every degree.
What you can do is take pictures for 4 major angles i.e... 0 degrees, 90 degrees, 180 degrees, 270 and 360 degrees. Save these images in a template and try doing search and match on this pictures with a live picture coming from camera.
Hope it has given you a little assistance.
Regards.
10-07-2013 12:39 PM
Well you could try to rotate the image back to the normal orientation, and then have it be processed using the code you already have. To do this you could probably look horizontally and vertically for white spaces between lines, if there aren't any keep rotating. Then once you find white space between the lines you know you are at 0 degrees or 180. Run your text code processing program on both images and see what one works best.
Is there some kind of orientation on the paper? That could also be used to know how much to rotate the image, or rotate the text reading code.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-07-2013 01:08 PM
that's crazy talk. re-orient the page.
10-07-2013 09:58 PM
How you are able to identifiy the font when image is straight? Use some modification in that only. Let us know about that
10-07-2013 10:38 PM
This is what we have done
http://www.mediafire.com/download/3w3mu08l3etg4og/Project.rar
10-07-2013 10:39 PM
We havnt try on real exam paper yet, we just try detecting the words and numbers on these template so for the final project we must be able to detect them on a piece of exam paper and even the paper is rotated at any angle the program must still work!
10-07-2013 11:22 PM
Still didnt answer my question? Are you able to detect the words when straight?
10-08-2013 12:42 AM
yup able to detect the words and number when straight
10-08-2013 12:47 AM
But just working now on the templates I made