Skip to content

Find similar images in several directories by aHash/dHash/pHash.

License

Notifications You must be signed in to change notification settings

Roy0309/ImageSimilarityDetection-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageSimilarityDetection-UI

Find similar images in serveral directories by aHash/dHash/pHash.

Supported formats

.jpg; .jpeg; .png; .bmp

Purpose

Reduce duplication in image folders.

Principle

  1. Implement aHash, dHash, pHash to generate the fingerprint of images.
  2. Calculate the hamming distance between every two images.
  3. Export image pairs with high similarity(hamming distance).

Usage

  1. Get SimilarImages.exe in the following ways.
  • Build this project in Visual Studio.
  • Or find it in Releases.
  1. Double click SimilarImages.exe. Select an image folder and set arguments (the default is suggested arguments). Enjoy!

Output

  1. Compare two identical images.

  1. Compare two images with different resolution.

  1. Compare two images with similar content.