I would love to see the feature of being able to scan the entire gallery installation for similar pictures, not based on filesizes, md5-sums of images, or anything like that. Picture can be equal to an other one, even though they are of a different file size, picture type, date, format or quality. I would like to see some sort of fuzzy logic which after analyzing each picure compared every picture to all other pictures, telling what images that might be from the same source. This would make the gallery a high-quality image archive.
Thanks for any views on this.
--
jakob breivik grimstveit,
, www.grimstveit.no/~jakob, www.grimstveit.no/gallery
Posts: 7994
This is a very interesting idea. If we were to integrate this into G2 it would be in the form of an add-on module, and it would most likely require that somebody outside of the project write the code that can do the fuzzy-logic based matching of multiple images. I don't think that's an easy task, so if you come across an app that does do this, please post a link to it here.
Posts: 11
Yes, I do think it does exist some Open Source project doing that kind of thing already. Will search for this a bit and get back to you. Nice to hear it was a good idea.
The reason I need it, is this: http://www.grimstveit.no/gallery/wallpapers
Posts: 11
Absolutely correct. See here:
http://www.freshports.org/graphics/pixieplus/
http://software.vtpaintball.net/scripts/imageSearch.php
http://freshmeat.net/projects/findimagedupes/?topic_id=100
Three projects that might contain interesting code, or complete solutions.
HTH
--
jakob breivik grimstveit - http://www.grimstveit.no/~jakob
Posts: 32509
the task is not that complex. but i don't have time, interest or the required enthusiasm to code it. luckily it already exists and all what you have to do is write a gallery 2 module around the existing executables
Posts: 13451
jakobbg, although this is completely of topic, and I really shouldn't do that since I'm one of the moderators, I am still going to.
http://www.grimstveit.no/gallery/album56/IMG_3069 - That's what I saw from my own window at home. Greetings from a fellow Bergenser.
Posts: 974
Here's what findimagedupes uses to generate a "fingerprint" for an image. $image is an Image::Magick object in perl.
Here is what I think that translates to on the command line:
We would then want to read that pbm's image data into a database somewhere so we can compare later.
We should probably also compare image size and md5 sums to remove exact duplicates.
Just some thoughts...
Posts: 27
Google image search already provide similar functionality and I guess it is based on the relevance of the web pages associated with the image photos.
http://images.google.com/
Posts: 27
I am thinking another logic of image similarity:
1. normalize image into 100x100 grid and represented by a bit (Black or White) i.e. each image is divided into 100x100 grid and based on the brightness of the grid to assign a bit (0/1) and the fingerprint will be kept in database.
2. Then the image matching function compare the fingerprint when searching (bit by bit comparison).
Posts: 53
Did this ever make any further progress?
-HM2K- http://www.hm2k.org/