findimagedupes finds visually similar or duplicate images.
findimagedupes uses rakyll/magicmime,
which requires libmagic
. Install it as follows:
- Debian or Ubuntu:
apt-get install libmagic-dev
- RHEL, CentOS or Fedora:
yum install file-devel
- Mac OS X:
brew install libmagic
Then
go get github.com/opennota/findimagedupes
Search for similar images in the ~/Images
directory:
findimagedupes ~/Images
...and its subdirectories:
findimagedupes -R ~/Images
The same but use feh to display the duplicates.
findimagedupes -R -p feh ~/Images
If no arguments are specified, findimagedupes will print all the available arguments and their default values.
There is a Perl script by that name, which uses a different hashing algorithm.