Click here to Skip to main content
Rate this: bad
good
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
Edited 21-Feb-11 7:53am
v2
Comments
Manfred R. Bihy at 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 at 21-Feb-11 12:50pm
   
thats perfect! thanks!
Manfred R. Bihy at 21-Feb-11 12:54pm
   
Glad I could help!
Thanks for accepting my answer and happy coding.
Hans Dietrich at 21-Feb-11 13:07pm
   
Wow. Just learned something new. Thanks for this answer. Fived.
Manfred R. Bihy at 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 at 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 at 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 at 22-Feb-11 13:23pm
   
Thank you, Manfred,
--SA

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

  Print Answers RSS
0 Zoltán Zörgő 265
1 /\jmot 205
2 CHill60 145
3 Peter Leow 145
4 Sergey Alexandrovich Kryukov 115
0 Sergey Alexandrovich Kryukov 9,353
1 OriginalGriff 6,881
2 Peter Leow 4,577
3 Zoltán Zörgő 4,129
4 Richard MacCutchan 2,882


Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 22 Feb 2011
Copyright © CodeProject, 1999-2015
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