Find duplicate images using hash keys.
- Python 3.x
- Imagehash >= 4.0
- Pillow >= 4.1.1
git clone https://github.com/ArunAniyan/siamese.git
virtualenv myenv
. myenv/bin/activate
pip install -r requirements.txt
Takes in a set of reference or training images from a single directory and searches same / similar images from another directory.
To run the code :
cd siamese/
python duplicate_finder.py -r <training_directory> -t <test_directory>
The results will be written to output.txt in the current directory.
Result format - <TrainImage.> , <Duplicates..,>