4 ms·
It sounds like there is code that enables anyone to compute the perceptual hash for an image. Is this code published somewhere?
by nanis 5y ago
It sounds like there is code that enables anyone to compute the perceptual hash for an image. Is this code published somewhere?
- yeldarb 5y agoThe instructions are here: https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX This was discussed on HN yesterday here (and a few other front-page stories): https://news.ycombinator.com/item?id=28218391 https://news.ycombinator.com/item?id=28218391
- nanis 5y agoGot it ... Here's the part I was missing: > You will need 4 files from a recent macOS or iOS build: neuralhash_128x96_seed1.dat NeuralHashv3b-current.espresso.net NeuralHashv3b-current.espresso.shape NeuralHashv3b-current.espresso.weights So, for clarity, Apple did not publish the model/code for others to be able to use/test etc. Someone found a clever way to convert the stored model into an open format and therefore others with access to those files are able to experiment.