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:
Maven is required to build a fat jar using the "mvn package" goal.
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/