Python script to find similar images
Go to file
2022-10-24 13:02:11 +02:00
.gitignore added .gitignore file 2022-10-23 18:44:44 +02:00
DuplicateRemover.py script now searches subdirectories too #1 2022-10-24 13:01:54 +02:00
main.py initial commit 2022-10-23 18:01:46 +02:00
README.md „README.md“ ändern 2022-10-24 06:50:24 +00:00
requirements.txt initial commit 2022-10-23 18:01:46 +02:00

Find Duplicate and Similar Images

Finds duplicates and similar images in a defined path. Set the image to search for similar images or the path for finding duplicates in main.py. hash_size of 8 means, the image will be resized to an 8x8 matrix. So, if you want to improve performance, you can try to increase the hash_size.

Install Requirements

pip install -r requirements.txt

Usage

python3 main.py

Available Functions

  • find_duplicates (Finding and Deleting Duplicates)
    • options:
      • verbose (True-default/False) - Show messages (verbose=False automatically deletes duplicates!)
      • exportCSV (True-default/False) - exports all possible duplicates into duplicates.csv file
  • find_similar (Finding Similar Images to a corresponding Image)

Credits

  • based on the initial idea of cw-somil
  • modifed on PR of chirag-jn