• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

How to recognise a word on screen?

I want to recognise word on screen, then I can translate it.
0
wangtu
Asked:
wangtu
  • 2
1 Solution
 
alexoCommented:
Are you trying to accomplish something like Babylon does?  In the general case, it is very difficult.  The only thing you can lift from the screen is a bitmap.  You have to use a character recognition engine to interpret it.  However, if you limit yourself to edit controls, you can use the EM_CHARFROMPOS message.
0
 
wangtuAuthor Commented:
not only Edit control,  also in menu ,statusbar, etc
0
 
alexoCommented:
Then you have to use an OCR engine (and those are a hell to write).
Windows just doesn't have the functionality.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now