pHash (perceptual hash) for duplicates & similar

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
Goulu
Posts: 2
Joined: Thu May 29, 2008 12:49 pm

pHash (perceptual hash) for duplicates & similar

Post by Goulu » Fri Sep 29, 2017 2:55 pm

Hello,

I suggest indexing all images in the database by a "perceptual hash" . See here : http://www.hackerfactor.com/blog/?/arch ... ke-It.html it's extremely simple and fast. There is a library here to do it : https://www.phash.org/

I use it for a professional project and it's incredible : with a 32 bits key, you can instantaneously (well O(log N) ...) find duplicates in hundreds of thousands of images. And very quickly find similar images.

Since XnView already builds a database, I think this feature would make it the fastest duplicates and similar image finder on Earth. :D

User avatar
xnview
Author of XnView
Posts: 30136
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: pHash (perceptual hash) for duplicates & similar

Post by xnview » Mon Oct 02, 2017 7:24 am

thanks, i'll check it
Pierre.

User avatar
m.Th.
XnThusiast
Posts: 1491
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: pHash (perceptual hash) for duplicates & similar

Post by m.Th. » Mon Jan 29, 2018 7:29 am

m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

jadO
Posts: 363
Joined: Wed Apr 29, 2015 6:36 am

Re: pHash (perceptual hash) for duplicates & similar

Post by jadO » Sat Jul 21, 2018 5:36 am

xnview wrote:
Mon Oct 02, 2017 7:24 am
thanks, i'll check it
Will that be built into XnViewMP?

Post Reply