Code Monkey home page Code Monkey logo

neuralhash-collisions's Introduction

neuralhash-collisions

A catalog of naturally occurring images whose Apple NeuralHash is identical.

See this NeuralHash collision blog post with full details and background.

Contributing

PRs are welcome and encouraged! You can find the code to run NeuralHash on images in this repo. Please do not submit artificially generated adversarial examples. This repo is meant to document natural collisions found in the wild.

Please follow the example format (add a folder in collisions named with the colliding hash and containing the example images with a README cataloging information about their provenance). Ideally provide evidence that these images existed prior to the public divulgence of the NeuralHash weights to prove that they are not artificial.

Suggested Methodology

There are many open source image datasets which contain a wide variety of images.

If you generate a NeuralHash for each one, store the image path / hash pairs in a text file, sort them by hash, and compare adjacent lines' hashes, you can quickly check n^2 image pairs (where n is the size of the dataset).

There are some example scripts you may adapt in the utils directory.

Hash Lists

You may also compare your hashes against the ImageNet hashes using the txt file archived in the imagenet directory.

If you check a large, public corpus please PR the hash list so others can easily compare them for collisions across sources.

neuralhash-collisions's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.