LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview (Rotate and program can still detect words and number)

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!!!

0 Kudos
Message 1 of 12
(3,346 Views)

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.


0 Kudos
Message 2 of 12
(3,316 Views)

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.

0 Kudos
Message 3 of 12
(3,283 Views)

that's crazy talk. re-orient the page.

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 4 of 12
(3,281 Views)

How you are able to identifiy the font when image is straight? Use some modification in that only. Let us know about that

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 12
(3,253 Views)
0 Kudos
Message 6 of 12
(3,249 Views)

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!

0 Kudos
Message 7 of 12
(3,248 Views)

Still didnt answer my question? Are you able to detect the words when straight?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 8 of 12
(3,238 Views)

yup able to detect the words and number when straight

0 Kudos
Message 9 of 12
(3,232 Views)

But just working now on the templates I made

0 Kudos
Message 10 of 12
(3,229 Views)