[P] AppleNeuralHash2ONNX: Reverse-Engineered Apple NeuralHash, in ONNX and Python

This page summarizes the projects mentioned and recommended in the original post on /r/MachineLearning

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • AppleNeuralHash2ONNX

    Convert Apple NeuralHash model for CSAM Detection to ONNX.

  • nhcalc

    Compute NeuralHash for the given image

  • The hidden APIs were found by someone else here. I'm not going to talk about the reverse-engineering process in too much detail. Basically what I did was to use Xcode debugger+Hopper disassembler+LLDB commands trying to understand how the function works under the hood in assembly code (which was very tedious). There were some parts that I didn't understand and by guessing I managed to get the same hash results from my script as what came from the function.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • TNN

    TNN: developed by Tencent Youtu Lab and Guangying Lab, a lightweight and high-performance deep learning framework for mobile inference. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source e (by AsuharietYgvar)

  • For what would they sue him tho? He didn't infringe any copyrights or anything, he only posted some instructions with 10 lines of code to support the model https://github.com/AsuharietYgvar/TNN/commit/1a637d88cc5e388f6fb31291e7df0d563238e785

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts