Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to recognise a word on screen?

Posted on 1998-12-01
3
Medium Priority
?
151 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 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
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…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

886 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