studying screen shot image
I have a chat app written in java - that has been converted to an exectuable.
I cant see the controls because it was written in swing, however when yuo "chat" there are a lot of emoticons used. I want to write a c++ program that can recogonise those emoticons (from a DB of the images).
Currently I am screenshotting the application window with
My first question is how would people recommend analyzing the image data?
PrintWindow(hwnd, hdc, PW_CLIENTONLY);
assuming I have a load of images in a folder that are 25x25 pixels, what is the best way to search for them in the window screen shot?
Im thinking possibly reading 10 specific pixels at known locations from all of the stored images and saving them in an array. Then look at pixels on the main screen shot that are dispersed the same amount. If you find them, check the rest of the pixels match?
My second question is I want a snipping tool like the one in windows 7 however that always selects an image of the same size. Does anyone know of one, or how I could go about this in C++?