stigma Posted February 3, 2007 Share Posted February 3, 2007 Hey all, Does anyone know if there is a function that allows you to search for an image (for example 3x3 pixles) inside a specified area? I guess that it would be possible to use pixelchecksum to see if the image was there or not if you knew exactly where to look, but if you don't know the exact location it gets a bit harder. I do of course know that it would be possible to script some while loops that checks all the possible locations inside the area and compare the checksum, but im afraid that it would be horribly horribly slow even for a small area search. Thats why I want to ask here first if there is a ready-made optimized function I can use. If there is not, do you think from experience that it a homemade search using pixelchecksum could work? It would need to be able to return an answerin maybye 100-200ms at most. To give an idea, say you need to match a 3x3 image to all possible locations in a 300x300 area. I have a fast dualcore to run the script on. Any feedback is greatly welcome -Stigma Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 3, 2007 Moderators Share Posted February 3, 2007 http://www.autoitscript.com/forum/index.ph...st&p=300569 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now