Duplicate-Remover
Duplicate-Remover copied to clipboard
Repository to find Duplicate Images and Similar Images with the help of Python.
Is there a way to use this for clustering images?
Fixes #2 - [x] Only image files traversed in a directory - [x] Verbose argument added to print debug statements only if needed
It would be nice to incorporate a conditional statement for working on image files only as a folder might have other files too.
I had a couple of images which could not open. When i run _main.py_ an error arise `PIL.UnidentifiedImageError: cannot identify image file` so i fixed this issue with `try`, `except`...
1. In def find_duplicates() - added `subdirs` variable to iterate through all subfolders 2. Add all images extensions `images_ext.py` 3. File not image - skip, on error in `PIL.Image.open` -...