imagehash icon indicating copy to clipboard operation
imagehash copied to clipboard

BlockHash

Open karlbuckland opened this issue 4 years ago • 3 comments

Thanks for the hard work on this!

Is anyone working on fixing Blockhash? I had a look and compared to the JS implementation, but honestly I'm not sure why it's trying to access the 17th array element.

It'd be good to be able to compare Blockhash vs the others. So far PerceptualHash seems the best to me.

karlbuckland avatar Dec 19 '20 09:12 karlbuckland

Hi, I just get error connected to this issue, is there any way to resolve this?

[2021-02-22 10:28:36] local.ERROR: Undefined offset: 16 {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined offset: 16 at /var/www/vendor/jenssegers/imagehash/src/Implementations/BlockHash.php:150)

cashis2903 avatar Feb 22 '21 10:02 cashis2903

Hi, I just get error connected to this issue, is there any way to resolve this?

[2021-02-22 10:28:36] local.ERROR: Undefined offset: 16 {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined offset: 16 at /var/www/vendor/jenssegers/imagehash/src/Implementations/BlockHash.php:150)

I'm getting the same errors.

kodie avatar Jun 24 '21 06:06 kodie

Actually, using the latest from master branch solves the above for me. I'm guessing this commit fixed the issue.

kodie avatar Jun 24 '21 07:06 kodie