Page 1 of 1

OCR

Posted: Mon Mar 08, 2010 7:23 pm
by atom
Hi All,

For controls that you just want to strip the text content off (e.g. stubborn menu's!),
We found the following quite useful (and cheap)...

http://www.skesoft.com/index.htm

Its not 100% accurate because it doesnt contain a dictionary of words, but is useable enough.
It would be great if Ranorex provided something similar :-)

Cheers

Re: OCR

Posted: Tue Mar 09, 2010 2:28 pm
by Support Team
Hey atom,

Thanks for the link. The library you suggested does not perform OCR, though, but some kind of GDI text API hijacking. Doesnt work with 64bit yet, but could be useful for legacy applications like Outlook 2007 ;)

We will give it a thought .. real OCR might also be useful ..

Michael
Ranorex Team

Re: OCR

Posted: Tue Mar 09, 2010 5:53 pm
by atom
Hiya

The difference can be "real" OCR can be slow, this GDI hijacking is quite fast... but not always accurate
We are now using it for owner drawn menu's, where ranorex cannot find the menu items
We use it to capture all text to a list, then from the list find the index position of a menu item, we then build a string like {alt}{enter}{down}...{down}{enter} to select the item!

Cheers

Re: OCR

Posted: Tue Mar 09, 2010 7:46 pm
by Ciege
Especially in a quality position... why would you not want accuracy regardless of speed.
Even if it is fast, if you cannot know that the answer is correct it should be deemed wrong.
In my humble opinion...

Re: OCR

Posted: Wed Mar 10, 2010 10:39 am
by atom
For menu's once we have captured the text, we do a sub string search, not an exact match...