PaulLereverend / NextcloudDuplicateFinder

Save some space by finding your duplicate files
GNU Affero General Public License v3.0
79 stars 16 forks source link

Idea: findeimagedupes #10

Open scharc opened 4 years ago

scharc commented 4 years ago

Very nice app! I would love to see a take on this: https://github.com/jhnc/findimagedupes which kinda implements a straight forward idea how to find different sized same images: 1) Read image. 2) Resample to 160x160 to standardize size. 3) Grayscale by reducing saturation. 4) Blur a lot to get rid of noise. 5) Normalize to spread out intensity as much as possible. 6) Equalize to make image as contrasty as possible. 7) Resample again down to 16x16. 8) Reduce to 1bpp. 9) The fingerprint is this raw image data.

Maybe a cron for calculation

Pofilo commented 2 years ago

Another app already exists for that: https://github.com/andrey18106/mediadc

I just tried it, the installation is not so good for a production purpose but it works fine.