

GitHub - KhaosT/nhcalc: Compute NeuralHash for the given image
source link: https://github.com/KhaosT/nhcalc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

nhcalc
Compute NeuralHash for a given image.
Works with macOS 11.3 or later.
Behind the scene, the implementation invokes the API provided by the Vision framework to compute the NeuralHash for a given image.
The end result is a base64 encoded hash representing the given image.
Usage: nhcalc path_to_image
Example output:
644b2b714969792f6c78776d3355444c
dK+qIiy/lxwm3UDL
Resizing the image yields same hash, even down to below 200x100. Cropping or rotating the image yields different hashes.
Recommend
-
109
README.md
-
56
README.md Fluent
-
13
Copy link Member Author
-
9
Copy link Collaborator rust-timer commented...
-
6
AppleNeuralHash2ONNX Convert Apple NeuralHash model for CSAM Detection to ONNX. Intro
-
17
neural-hash-collider Find target hash collisions for Apple's NeuralHa...
-
7
Files Permalink Latest commit message Commit time
-
7
Files Permalink Latest commit message Commit time
-
12
Bank Holidays Java library for determining whether a given day is a bank holiday Usage LocalDate newYears = LocalDate.of(2022, 1, 1); Bank bank = USBankFactory.createBank(); boolean isHoliday = bank.isHoliday(n...
-
11
Instantly share code, notes, and snippets. to check weather a given username in the file exist...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK