Solved

How to recognise a word on screen?

Posted on 1998-12-01
3
145 Views
Last Modified: 2010-04-02
I want to recognise word on screen, then I can translate it.
0
Comment
Question by:wangtu
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
alexo earned 200 total points
ID: 1179060
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
 

Author Comment

by:wangtu
ID: 1179061
not only Edit control,  also in menu ,statusbar, etc
0
 
LVL 11

Expert Comment

by:alexo
ID: 1179062
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to gracefully close the c++ 11 thread? 3 108
How can i compile this github project?? 2 91
Beginner to Unreal Engine 4 5 94
designing in object programming 12 94
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question