orangelando / broimg

Project for helping brother in finding duplicates in his photos directory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Photo duplicate finder

Project that finds exact matches and similar images in a dir. Exact matches are files with matching md5 checksums. Similar matches are those where the hamming distance of an 8x8 dhash is less than 2. More info on dhashes here:

Usage

Prerequisites

Maven is required to build a fat jar using the "mvn package" goal.

Similarities not handled

Rotations, mirror flips and crops not handled. The similar search is done using an 8x8 dhash and searching for images with a hamming distance of less 2.

$ mvn package
...
$ java -jar target/broimg-0.0.1-SNAPSHOT.jar -imgDir /Volumes/archive/photos -reportDir ~/Desktop/ -exactMatchesDir /Volumes/archive/trash/

About

Project for helping brother in finding duplicates in his photos directory.


Languages

Language:Java 100.0%