I'm relatively new to c++ and am trying to make/find a function that will allow me to search a window/the screen for an image in a file. I can do this using something like auto hotkey. This won't do however I need to be able to do it with c++ any ideas?
I would like to have create some code that will allow me to take a picture that I have and match that picture against images on the screen to see if they are the same. Then I would like to get the screens coordinates for where the match is.
That requires graphic analysis and a whole bunch of very advanced coding. Unless you have access to the location in memory where the original picture is. If you do (which is already not an easy task), then all you need to do is check to see if the location in memory of the picture you have is the same.
However, this only works if both pictures are sprites of the same image file. If one comes from \A\img.jpg and the other comes from \B\img.jpg, even if both images contain the same information (the user copied it from one folder to the other), this method won't work.
Short answer: if you're new to c++, you'd best start with something quite a bit more basic. Most users take a long time to stop using the console to display results, nevermind pictures...