Comparing images

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.python.image
Organization Clark Consulting & Research
Message-ID <[email protected]>
Hi,

I need to check lot of images to see if they have the right logo in them.  
Fortunately I know the co-ordinates of where the logo in the image should  
be but I'm not sure on the best way to compare a selection from the image  
with a template. Currently I'm cropping the target image to the right size  
and comparing it with ImageChops.difference() with the template but I'm  
not sure how to interpret the results - I had hoped for either a largely  
black or white image but I'm largely getting the inverse of the logo.

Any tips?

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.