Is there a tool to find out similar pictures.

2,375 views
Skip to first unread message

stardiviner

unread,
Oct 14, 2011, 12:32:48 AM10/14/11
to linuxus...@googlegroups.com
I have a lot of pictures, and sometimes I will download many new pictures into folder.
Then I can not remember whether this image have already existed in folder.
So I need tool to search in folder to find out similar pictures.
Any suggest welcome.

--
stardiviner GPG: 5D9F64D8 Twitter: @numbchild
http://stardiviner.dyndns-blog.com

signature.asc

munyaradzi zvauya

unread,
Oct 14, 2011, 8:05:51 AM10/14/11
to linuxus...@googlegroups.com
try to use Picasa software, it help you to locate all the pictures in your computer and external Hard drives. 

stardiviner

unread,
Oct 14, 2011, 8:24:02 AM10/14/11
to linuxus...@googlegroups.com
=> On [2011-10-14 14:05:51 +0200]:

munyaradzi zvauya Said:
> try to use Picasa software, it help you to locate all the pictures in your
> computer and external Hard drives.
>
I have tried picasa, it only can find some similar face pictures.
no more function to find out similar or duplicate pictures.
Picasa can not do it.

signature.asc

Ken Muller

unread,
Oct 14, 2011, 10:50:22 AM10/14/11
to linuxus...@googlegroups.com
Might want to try something that finds duplicate files in general rather than just pictures. If you do a google search for "duplicate file finder tool linux" there's a few options that look at the actual file to find duplicates.

Jeremiah Bess

unread,
Oct 14, 2011, 10:51:26 AM10/14/11
to linuxus...@googlegroups.com
I think you may be asking too much of software. Unless you know someone in CSI or NCIS who can whip out a complicated algorithm to do picture matching, you may just have to do it by hand. 

As another thought, are all the pictures the same file name? You could script something to search for duplicate files, or I am sure there is already some existing programs you could install. Another alternative is to do an MD5 on every picture, and look for duplicates that way.

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four

Roy

unread,
Oct 14, 2011, 11:12:06 AM10/14/11
to linuxus...@googlegroups.com
Gwenview and Digikam (the better of the two) are KDE applications that
will work in GNOME/ Unity and both have find duplicates options.
Digikam is better than Picasa (whose Linux version is weaker than the
Windows one). Do not use F-spot. I am not sure that it does what you
want anyway, but it will trash EXIF data. I think that Shotwell will
also work, but have not used it. There is also FSLint which is fast
and made to work on duplicate files and not pictures specifically. I
would try the others first.

Roy

Using Kubuntu 11.10, 64-bit
Location: Canada

> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to linuxus...@googlegroups.com
> To unsubscribe, send email to linuxusersgro...@googlegroups.com
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or
> http://cdn.fsdev.net/List-Rules.pdf)
>

Mark Fazakerley

unread,
Oct 15, 2011, 12:31:24 PM10/15/11
to linuxus...@googlegroups.com
As another thought, are all the pictures the same file name? You could script something to search for duplicate files, or I am sure there is already some existing programs you could install. Another alternative is to do an MD5 on every picture, and look for duplicates that way.


That's going to take a fair bit of time with any standard family album - I look at filesizes on my home setup to weed out
duplicates and pipe it through sort -n.


stardiviner

unread,
Oct 16, 2011, 6:37:31 AM10/16/11
to linuxus...@googlegroups.com
Thanks every body. I can try find duplicate files. because those iamges only has
different filename. others are same.
So I think one command line tool is better. Is there any suggestions ?
I have googled, but only find some tools that you have said. I prefer command line tool.
signature.asc

Neil

unread,
Oct 16, 2011, 8:02:47 PM10/16/11
to linuxus...@googlegroups.com
On Friday, 14 October 2011 08:51:26 UTC-6, Network Ninja wrote:
I think you may be asking too much of software. Unless you know someone in CSI or NCIS who can whip out a complicated algorithm to do picture matching, you may just have to do it by hand. 

Not so much. There are several online tools that do this. TinEye is one I've had luck with. An example search (your avatar) looks like this (will expire in a day or two):
http://www.tineye.com/search/1cf337d85972ed3f83d274ab9fade61229e0243f/?sort=score&order=desc

Google Images can also do this:
http://www.google.com/imghp?hl=en&tab=ii
Drag one of the samples, or click the camera icon to upload files or paste urls.

TinEye has a firefox plugin which I've used for a while to find originals of pictures. There's another plugin that searches about 6 reverse-image sites, but I didn't have much luck with it.

Neil

unread,
Oct 16, 2011, 10:30:53 PM10/16/11
to linuxus...@googlegroups.com
Three options for you. All command-line. I've never used the first two, and never tried your problem with the third...

http://pdiff.sourceforge.net/
is in the Fedora repos as PerceptualDiff. It looks like it will mostly compare two images together.

http://www.marengo-ltd.com/open_source/index.php
jpegdiff looks like it's just source code.

Imagemagick might be your tool:
http://www.imagemagick.org/Usage/compare/#metrics
the compare functions allow you to fingerprint images in different ways (similar to creating a hash code. You wind up with a value that 'describes' the image.) If you generate a couple of different values for each image, you should be able to make a simple database to lookup similar pictures (imagemagick states you would actually use it to eliminate different pictures, as getting the same fingerprints wouldn't prove the pictures were the same.)

stardiviner

unread,
Oct 16, 2011, 10:49:27 PM10/16/11
to linuxus...@googlegroups.com
=> On [2011-10-16 19:30:53 -0700]:
Thanks very much, that's it. I think Imagemagick is my best choice.
signature.asc

genuine.penguin.power

unread,
Nov 4, 2011, 5:38:21 AM11/4/11
to linuxus...@googlegroups.com
On 10/13/2011 11:32 PM, stardiviner wrote:
> I have a lot of pictures, and sometimes I will download many new pictures into folder.
> Then I can not remember whether this image have already existed in folder.
> So I need tool to search in folder to find out similar pictures.
> Any suggest welcome.
>
Install fdupes. It comes in most linux distros repositories.

USAGE: fdupes [options] <path(s)>

a typical fdupes command you might use will look something like this:

fdupes -rS ~/Pictures/

-r = Recurse directories
-S = display Size in output


genuine.penguin.power

unread,
Nov 4, 2011, 5:41:36 AM11/4/11
to linuxus...@googlegroups.com
I forgot to mention that fdupes is VERY FAST; probably assembly language
code.

stardiviner

unread,
Nov 4, 2011, 10:44:43 AM11/4/11
to linuxus...@googlegroups.com
=> On [2011-11-04 04:38:21 -0500]:
Thanks for your suggest.

>
>
> --
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to linuxus...@googlegroups.com
> To unsubscribe, send email to linuxusersgro...@googlegroups.com
> For more options, visit our group at http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)

--

stardiviner GPG: 5D9F64D8 Twitter: @numbchild

http://stardiviner.dyndns-blog.com/author.html

signature.asc

Roy

unread,
Nov 4, 2011, 12:47:19 PM11/4/11
to linuxus...@googlegroups.com
Yes it is called Digikam. It will find duplicates and similar pictures
from a graphic interface. Many other photo managers for Linux will as
well. But Digikam is the best.

Roy

Using Kubuntu 11.10, 64-bit
Location: Canada

ಸುಧೀಂದ್ರ

unread,
Apr 10, 2013, 8:23:23 AM4/10/13
to linuxus...@googlegroups.com, numb...@gmail.com
If you are using Digikam, your photo managment will become easier. You have various search option like similer photo search.

ವಂದನೆಗಳೊಂದಿಗೆ,
ಸುಧೀಂದ್ರ


On Thu, Apr 4, 2013 at 1:10 AM, Jim Clayton <dayli...@gmail.com> wrote:
I am using similar <a href="http://www.mindgems.com/info/Image-Search.html">image search</a> for my own photo library:<a href="http://www.mindgems.com/products/VS-Duplicate-Image-Finder/VSDIF-About.htm">Duplicate Image Finder</a>

This tool can find similar images sometimes even better than search engines, but it works for your own photo library. Give it a try
They provide also a Free duplicate file finder.

--
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)
 
---
You received this message because you are subscribed to the Google Groups "Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages