Giter Site home page Giter Site logo

Comments (6)

worldveil avatar worldveil commented on July 22, 2024

@suxianbaozi can you provide some information / graphs for you experiments with large sets of mp3 files? I'd be very interested to see the rates of hashes used.

from dejavu.

suxianbaozi avatar suxianbaozi commented on July 22, 2024

Ok I'll try

from dejavu.

suxianbaozi avatar suxianbaozi commented on July 22, 2024

Currently,I used this for radio song recognize ,the radio stream is HLS with many 10 seconds TS(AAC) file blocks,every 5 seconds ,I'll take one for recognizing . because of the song library was big,I have change song fingerprint algorithm to short the number of hash。

In "generate_hashes" method of fingerprint.py,I changed the peaks(list) to time-frequence(list) and sort it , every time I'll take one frequence(list) to make len(freqs[i]) * len(freqs[i + 1]) + len(freqs[i]) * len(freqs[i + 2]) number of hashes,
and it works good. I don't know if it works for other recognize such as microphone. or some sound with noise.

hope you can read it!

Now I have 2000 songs in my database ,with about 20,000,000 number of hashes.
One 10 seconds TS(ACC) file with about 250 hashes that will affect about 5000 hashes in database,and the confidence is 30-200 as common,and which would take about 3 seconds of time

CPU:Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz
MEMERY:8G
OS: Ubuntu 12.04

from dejavu.

worldveil avatar worldveil commented on July 22, 2024

Very cool! Is that change to the code in your personal branch? I'm not quite understanding from your description.

But yes, it stands to reason that different settings for microphone recognition and file recognition (with regards to memory and accuracy) have different settings that are optimal. Glad to see the project is of use to you!

from dejavu.

suxianbaozi avatar suxianbaozi commented on July 22, 2024

Thanks for your project,
I think it will take more convenience to more people

I make a mistake pullrequest and I don't how to delete it - -!

from dejavu.

suxianbaozi avatar suxianbaozi commented on July 22, 2024

https://github.com/suxianbaozi/dejavu/blob/master/dejavu/fingerprint.py
you can find the change of generate_hashes method

from dejavu.

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.