tom13 Posted January 29, 2011 Share Posted January 29, 2011 I realize my title might not explain my needs as best as it could, however I lack the knowledge to better name my needs at this moment. My apologies. Basically, I'm wondering whether there are any tools or APIs (for AutoIT) that I can input a part of an image, and make it search this part's location inside another image. If a perfect match is not found, I would like to be able to enter a certain offset percentage (there should be a better name for this). Meaning that a slight difference is colors or the amount of pixels matching would not be a problem if it is within a given margin. Has anything like this been done before? Any feedback is appreciated. Thanks. Link to comment Share on other sites More sharing options...
Werty Posted January 30, 2011 Share Posted January 30, 2011 Search the forum for "ImageMagick", it has a compare function where you can specify a fuzz factor. Some guy's script + some other guy's script = my script! Link to comment Share on other sites More sharing options...
tom13 Posted January 30, 2011 Author Share Posted January 30, 2011 Search the forum for "ImageMagick", it has a compare function where you can specify a fuzz factor.Looks interesting, but what command makes it search for an image in another image? Link to comment Share on other sites More sharing options...
Werty Posted January 30, 2011 Share Posted January 30, 2011 Looks interesting, but what command makes it search for an image in another image?Use the -subimage-search option.Look here...http://www.imagemagick.org/Usage/compare/#sub-image Some guy's script + some other guy's script = my script! 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