Solved

Identifying known image display by other app (screen scraping, not web based)

Posted on 2008-10-22
1
242 Views
Last Modified: 2012-05-05
I need to develop a program that can identify a known rectangle image/pattern being displayed on the screen in a fixed location. I also need this program to identify text being displayed on the screen in a fixed location.

There are about seventy-five (75) such images. I know what they all look like, and can create a pool of bitmap images to match against, or other similar method so the program has something to match against.

I know such a program is possible, I've seen others that perform this very ability. Unfortunately the program displaying these images/patterns and text that I need to identify has no API to interface with it, and is a Windows application. I think what I'm trying to do is called screen scraping, but unfortunately all I have been able to find on screen scraping is either for getting information from websites or text terminals.

If anyone could give me some leads on how to start on this, I would greatly appreciate it. I'm not sure if I need to have the program grab a full screen screenshot and start analyzing that, or if it's possible to have the program grab a screenshot of the specific window that's open (like ALT+PRINTSCREEN) so it can read the information even if the target window is being hidden or minimized.

I have a lot of programming experience, but none of it is with Windows graphical applications. I'm not sure how to get such screenshots, and once I have that, how to search for a known image/pattern within the screenshot.

I don't mind doing this in C++ or C#. Using the .NET framework is fine.
0
Comment
Question by:darlingm2
[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
1 Comment
 
LVL 8

Accepted Solution

by:
Pramod Bugudai earned 500 total points
ID: 22783492
Hi darlingm2,                    while searching through net I got this example. This might help you.

 http://www.codeproject.com/KB/GDI-plus/screenscraper.aspx

this in C++ or C#. Using the .NET framework is fine.
0

Featured Post

Independent Software Vendors: 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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

691 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