Click here to Skip to main content
12,635,441 members (24,796 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ Bitmap OCR
What I'm trying to do is to recognize words from a BMP or preferably directly on screen. I honestly have no idea where to start with this. The best thing I can come up with is to have a preset image and compare it to where it should be on the screen, but that would require a lot of CPU and quite a bit of images for comparing.

Can somebody give me some ideas?

Thanks in advance!
Posted 21-Feb-11 7:31am
Updated 21-Feb-11 7:53am
v2
Comments
Manfred R. Bihy 22-Feb-11 4:27am
   
There's an update to my answer concerning MS Office 2010.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Try this CP article for starters: OCR With MODI in Visual C++[^] and here you'll find an open source .NET C++ library: http://www.pixel-technology.com/freeware/tessnet2/[^]

Modification:
MODI has been deprecated in MS Office 2010. The replacement is OneNote and here is a useful link to developer information:http://msdn.microsoft.com/en-us/office/aa905452[^]

Hope that helps!

Regards,
  Permalink  
v3
Comments
Member 7692532 21-Feb-11 12:50pm
   
thats perfect! thanks!
Manfred R. Bihy 21-Feb-11 12:54pm
   
Glad I could help!
Thanks for accepting my answer and happy coding.
Hans Dietrich 21-Feb-11 13:07pm
   
Wow. Just learned something new. Thanks for this answer. Fived.
Manfred R. Bihy 22-Feb-11 4:25am
   
I just found out that MODI has been deprecated since Office 2010. In the most reccent Office version OneNote seems to have taken the place of MODI.
SAKryukov 21-Feb-11 14:07pm
   
Great reference, Manfred, my 5.
Help me to understand please. Is that all you need: the Office installation?
Do you know the problem of non-English languages? Good OCR is really hard to find.
Few years ago I tried to find out how to get language pack, but it turned our to be difficult by some reasons I don't remember...
--SA
Manfred R. Bihy 22-Feb-11 4:24am
   
That's how I read it SA. Just MS Office 2003 SP 3 or 2007, but I just found out that MODI has been deprecated since Office 2010. In the most reccent Office version OneNote seems to have taken the place of MODI.
SAKryukov 22-Feb-11 13:23pm
   
Thank you, Manfred,
--SA
sujitpatil444 30-Dec-15 5:58am
   
Oh.. sounds interesting..
Is there a .Net library and all for it?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 22 Feb 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100