Skip to content

Instantly share code, notes, and snippets.

@tomasz-ludek
tomasz-ludek / ImagePHash.java
Created December 17, 2020 10:54 — forked from kuFEAR/ImagePHash.java
Android image phash comparing
package com.example.app;
import android.graphics.*;
import android.util.Log;
/*
* pHash-like image hash.
* Author: Elliot Shepherd (elliot@jarofworms.com
* Based On: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html
*/
### Keybase proof
I hereby claim:
* I am tomasz-ludek on github.
* I am tomaszludek (https://keybase.io/tomaszludek) on keybase.
* I have a public key whose fingerprint is 4F29 E531 19D7 DC62 7977 C2AF 9585 98DE F6E6 3496
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am tomasz-ludek on github.
  • I am tomaszludek (https://keybase.io/tomaszludek) on keybase.
  • I have a public key whose fingerprint is B693 78FA 3CFA DAB2 F30E 5106 1779 72DC 1CB3 FF48

To claim this, I am signing this object: