On 26 March 2012 16:09, Jenith <[email protected]> wrote: > Is it possible to get duplicate images of the original image (scaled up) by > giving input the smaller version in a program? Any Python Wikipedia API like > hashlib?
Comparing two images with different sizes to see if they display (roughly) the same picture is not possible with standard hashing functions, as standard hashing functions are specifically made to change strongly when the input changes slightly. It is certainly not possible to query the mediawiki database for images 'that look like' other images. However, services such as TinEye and Google Image Search exist. Possibly they have an API you can use? Wikipedia also has some information on this subject: http://en.wikipedia.org/wiki/Content-based_image_retrieval. Best, Merlijn _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
