compare and recognize two similar images

finnbaby123

  • Joined: Aug 26, 2011
  • Posts: 24

Fri 8/26/2011 - 3:33

hi!

 

is there a way to compare and recognize two similar images

and return a result?

for instance run a google search for images for instance "cats"

and then use Winautomation to find similar images and download them?

 

thanks a lot!

Finn

 

#1

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2329

Fri 8/26/2011 - 17:53

Hi Finn, Welcome to our Forum! You could actually compare the two images, simply by checking the images' properties. That would be the size, or even compare using an If condition actin to see if %ImageA% = %ImageB% Hope this makes sense, When you say similar images, do you mean compare them by file name? :) Samantha

#2

finnbaby123

  • Joined: Aug 26, 2011
  • Posts: 24

Fri 8/26/2011 - 19:45

thank you Samantha,

 

no I mean not similar by file name I mean two images that look the same by their pixels

could you please give me an example of macro from Winautomation of:

1) running a search for goggle images string for instance="cats"

2) copying the first image that appears on the left side of the screen

3) browsing through the screen looking for similar images by their pixels

4) downloading the images that are similar

 

 

thanks a lot

#3

Jkan

  • Joined: Nov 6, 2010
  • Posts: 63

Sat 8/27/2011 - 13:40

start reading here, this is a command line utility.

http://www.imagemagick.org/Usage/compare/

#4

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2329

Mon 8/29/2011 - 10:46

You would need to download all images on the screen and then make the comparison locally. That's the fastest and most reliable way to do so. Also, ImageMagick, is what i'd use to make the comparison, as JKan suggested :) Samantha

#5
Not a member yet? Register

Copyright 2013 - Softomotive Ltd