Jump to content

Searching the screen for a picture?


huldu
 Share

Recommended Posts

Ive been toying around with pixelsearch for quite some time, works like a charm and easy to use :P.

However for a while ive been wondering if its not possible to search for a "picture" on the screen. Lets say you have a small .jpg or .gif, the program looks on the screen if it finds anything identical to that picture (size, colors etc must be identical for a fit). So in theory it would do exactly what pixelsearch does but instead of looking for just 1 pixel match, it would look for the an entire picture match.

Is there any way to do that in autoit? havent used autoit in over half a year, came back a few weeks ago and started playing around. Was thinking maybe there is function or something that can do a picture search on the screen nowadays, gotto keep my hopes up :D

Thanks for any help

"I'm paper, rock is fine, nerf scissors!!!"

Link to comment
Share on other sites

  • 1 month later...

Maybe using PixelCheckSum(), here is concept idea:

- make some hidden GUI with picture control

- load your image into picture control with GUICtrlSetImage

- make PixelCheckSum() of your image

- now in Loop Search appropriate areas of screen for the same PixelCheckSum()

i really would like to know if there is a UDF or some kind of library built in for this purpose as well ....

-=bump=-

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...