Giter Site home page Giter Site logo

fequency peaks and time about dejavu HOT 5 CLOSED

worldveil avatar worldveil commented on July 3, 2024
fequency peaks and time

from dejavu.

Comments (5)

srinidhikrs avatar srinidhikrs commented on July 3, 2024

can some one clarify on the comments made above
The blog and document talks about storing 2 frequencies and delta time as hash , but in the implementation it seems like delta frequencies and 2 times are stored as hash?
Thanks

from dejavu.

srinidhikrs avatar srinidhikrs commented on July 3, 2024

can some one please clarify my questions above

from dejavu.

worldveil avatar worldveil commented on July 3, 2024

I don't think so? On line 72, the tuple list is (time, freq, amp). Notice we switch ordering of i and j lists.
https://github.com/worldveil/dejavu/blob/master/dejavu/fingerprint.py#L72

If you are unconvinced, instead look at the maximum values for the i and j lists - are they what you would expect? Specifically, the maximum index into the frequency list should be close to but not exceed

1/2 * WINDOW_SIZE + 1

as per the formulation of the discrete FFT results returned from the spectrogram call - this should be one of the dimensions of the spectrogram matrix.

from dejavu.

srinidhikrs avatar srinidhikrs commented on July 3, 2024

Thanks for clarifying. One more thing is why the peaks are not flattened column wise (time segment wise) which will arrange frequency peaks of subsequent time segment next to each other and assist in computing hashes of target zone.
And also if suppose sample frequency peaks are not exactly equal to corpus freq peak but close to the corpus freq peak like for example corpus freq peak is 822 at time x and sample freq peak is 835 at time y and subsequent freq peaks also lie close to the corpus freq peaks in subsequent time segments, how to identify a match in such cases.
Thanks

worldveil [email protected] wrote:

I don't think so? On line 72, the tuple list is (time, freq, amp). Notice we switch ordering of i and j lists.
https://github.com/worldveil/dejavu/blob/master/dejavu/fingerprint.py#L72

If you are unconvinced, instead look at the maximum values for the i and j lists - are they what you would expect? Specifically, the maximum value of the frequency list should be close to but not exceed

1/2 * WINDOW_SIZE + 1

as per the formulation of the discrete FFT results returned from the spectrogram call - this should be one of the dimensions of the spectrogram matrix.


Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-45421006.


DISCLAIMER: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising there from is taken by OnMobile. OnMobile is not liable for any damage sustained by you as a result of any virus in this e-mail. All applicable virus checks should be carried out by you before opening this e-mail or any attachment thereto.
Thank you - OnMobile Global Limited.

from dejavu.

worldveil avatar worldveil commented on July 3, 2024

We're currently addressing this issue here:

#49

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.