Solved

How to recognise a word on screen?

Posted on 1998-12-01
3
147 Views
Last Modified: 2010-04-02
I want to recognise word on screen, then I can translate it.
0
Comment
Question by:wangtu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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.

739 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