I have many duplicate photos in a folder. How can I sort the pictures in a folder by similarity? i.e., sorting not based on the file name or date, but based on similarity of image?

  • \$\begingroup\$ Similarity of what? The image? \$\endgroup\$
    – inkista
    Sep 13, 2015 at 18:19
  • 4
    \$\begingroup\$ Is this question a duplicate? photo.stackexchange.com/q/6326/4892 \$\endgroup\$
    – dpollitt
    Sep 13, 2015 at 18:40
  • \$\begingroup\$ This is an interesting - perhaps not even photography-related - question and I don't recall seeing a stand-along solution although this is done as part of many algorithms. modern video compression is all about finding similarity and encoding images in terms of contents from one or more reference frames. \$\endgroup\$
    – Itai
    Sep 13, 2015 at 19:47
  • \$\begingroup\$ Are these exact duplicates? (pixel per pixel) \$\endgroup\$
    – null
    Sep 13, 2015 at 20:01
  • \$\begingroup\$ yes these are exact duplicates pixel per pixel.... only the file name is different. \$\endgroup\$
    – Green
    Sep 14, 2015 at 4:22

2 Answers 2


There is not a way to sort by picture similarity in most file browsers that I know of; and I have used many. It sounds like you need to look for a program that is designed to find duplicate pictures. There are many out there and what you use depends on your hardware/software setup. I have found that they are not 100% accurate so I usually use more than one program to find duplicates and then I still try and go through and see if I can find any. I use windows and have used auslogics duplicate file finder and anti-twin.


Images can be grouped by similarity but can't be sorted.

Some advanced programs allows you to specify a similarity degree, and another ones treat as duplicates only 100% identical photos.

Daminion allows you to find 100% similar images (as you requested) but file names and metadata part of your images can be different.

PS. I work at Daminion Software.


Not the answer you're looking for? Browse other questions tagged or ask your own question.