• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Swift
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Compute NeuralHash for the given image

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.

More Repositories

1

MacVM

macOS VM for Apple Silicon using Virtualization API
Swift
1,311
star
2

SimpleVM

Sample code for Virtualization framework
Swift
753
star
3

ACVM

C
610
star
4

HomeKit-Demo

A demo wrote in Swift for HomeKit. Works with HomeKit Simulator
Swift
313
star
5

HomeKitBridge

Objective-C
146
star
6

open-apollo

A Spotify player for watchOS
C
84
star
7

ANCS-Mac

A demo to show notifications from iOS on OS X.
Objective-C
64
star
8

homebridge-amazondash

Amazon Dash Button plugin for Homebridge
JavaScript
58
star
9

CBPeripheralManager-Demo

Objective-C
57
star
10

homebridge-camera-isight

iSight camera plugin for homebridge
JavaScript
51
star
11

FSKitSample

FSKit example setup
Swift
37
star
12

visionOSXPC

Demonstrate two apps from different developer teams communicating with each other using NSXPC
Swift
35
star
13

CGVirtualDisplay

CGVirtualDisplay Example
Objective-C
31
star
14

iBeacon

C
24
star
15

ScreenCasting

Minimal UI for Sharing iOS Device
Swift
18
star
16

HMWatch

A WatchKit App for HomeKit
Swift
17
star
17

RealityKitSideBySideRenderExample

Example project for using RealityKit to render side by side 3D video on visionOS
Swift
17
star
18

CMHeadphoneMotionManagerDemo

Demo how to use CMHeadphoneMotionManager with SceneKit
Swift
15
star
19

NTKExperimentalDigitalFaceBundleWatch

Example watch face bundle
Objective-C
13
star
20

AMS-Reference

C
13
star
21

ExternalCapture

Demo of iPadOS 17 external video capture setup
Swift
11
star
22

Arlo-base

Arlo + HomeKit
JavaScript
10
star
23

CardSharing

Swift
6
star
24

ESCPOS-Mac

Objective-C
5
star
25

WatchActionButtonExample

Example for adopting action button support for Apple Watch Ultra
Swift
4
star
26

BLE_Car

Objective-C
3
star
27

WWDC-14-Scholarship-Entry

Objective-C
2
star
28

HesperusBridgeConfigurator

A bridge configurator.
Swift
2
star
29

Narcissus

Objective-C
2
star
30

OptimusPopularisManager

Objective-C
2
star
31

Hestia

Objective-C
1
star
32

Me

WWDC 2013 Scholarship Application
Objective-C
1
star
33

Apple-Watch-Latency-Test

Swift
1
star