SEFurkan GözükaraSECourses · Generative AI Join onPatreon

Duplicate Image Finder With imagehash: Move Very Similar Images Fast

Duplicate image finder script that uses imagehash to find and move duplicate or very similar images into a separate folder with super fast batch processing.

A cutoff value controls how similar images must be to count as duplicates, every match is logged to duplicates.txt, and the thread count is adjustable. Installs into a Python 3.10 venv on Windows with only 2 libraries.

Updated Published By Dr. Furkan Gözükara
Windows
Duplicate Image Finder With imagehash: Move Very Similar Images Fast
On this page
Older post. this is an older post kept for reference. The current, maintained version is Ultimate Image Processing App: 1-Click Batch Cropping, SAM 3.1 Masking.

13 June 2024 Update

  • Installer file updated
  • Requirement is Python 3.10

How To Use

  • First run Windows_Install .bat file to install
  • It will make a venv and install only 2 necessary libraries
  • Then open and edit find_dups_hashes .py file
  • You can use any editor like notepad++, visual studio code etc, even notepad
  • Don't forget to change source_folder path and dest_folder path
  • The duplicate images will be moved into dest_folder path
  • It will log duplicates into duplicates . txt file
  • cutoff variable is the most important variable. Increase it to cover similar images and lower it to find exact matches. Play with it to see its effect
  • Set num_threads according to your CPU power
  • Then double click and start Windows_Run .bat for processing
  • It will display all messages
  • How To Use – Duplicate Image Finder With imagehash: Move Very Similar Images Fast
     

Help and community

Patreon exclusive posts index

Join discord and tell me your discord username to get a special rank : SECourses Discord

↑ ↓ to move · Enter to open · Esc to close · Ctrl K or / to search from any page