Sign in to follow this  
Followers 0
huldu

Searching the screen for a picture?

3 posts in this topic

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!!!"

Share this post


Link to post
Share on other sites



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()

Share this post


Link to post
Share on other sites

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=-

Share this post


Link to post
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
Sign in to follow this  
Followers 0