Code Monkey home page Code Monkey logo

Comments (1)

AddictedCS avatar AddictedCS commented on May 24, 2024

From the email reply:

A short answer: Emy never intended to store large amounts of audio content (more than 1,000 hours), as its main goal was to precisely identify the start-end location of the match which is highly sought in other business domains. Building a Shazam style storage requires not only changes in the storage but also in the fingerprint signature, which is not in scope of this project.

A longer answer: Emy uses locality sensitive hashing to cross-match audio fingerprints. Any LSH-based algorithm (or more broadly any approximate nearest neighbor algorithm!) uses a RAM based storage, that is an inherent limitation of it (be it faiss, HNSW, or literally any other ANN algo, with a notable exception of DiskANN, which may or may not be suitable for SoundFingerprinting). Rewriting the storage is nowhere near a trivial task that I'm not interested in pursuing at this point due to reasons described in the short answer.

You can take a look at Milvus and PaddleSearch and see if their implementation uses less RAM and suits your purposes: https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/demos/audio_searching
AFAIK they face the exact same dilema and their demo states that for CN-Celeb a dataset of mere 1024 hours of content they needed a 132GB RAM machine.

from soundfingerprinting.

Related Issues (20)

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.