NNHash
Siri Shortcuts extension for calculating NN-based image hash. Based on nhcalc.
Example Shortcut
https://www.icloud.com/shortcuts/2cb827114fb64ada832431fb9d48817c
Input and Output
- Input: A single image
- Output: NN hash in hex
Basic Usage
- Build and install the main app (which is a placeholder).
- Open Shortcuts app.
- Create a new Shortcut.
- Add any item that returns an image, for example
Get Latest Photos
inMedia
section. - Add
Apps
->NNHash
->Calc NN Hash
to the workflow. - Run Shortcut and the result will be shown in the bottom.
Limitations
Memory is limited to 30MB in Siri extensions. Large images will result in crash.