dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

Total fingerprints less than confidence

Open JArsov opened this issue 6 years ago • 2 comments

Hi,I have read this issue, and @worldveil answered:

It's the maximum number of fingerprints that could possibly be aligned in time from the sample audio against the reference database audio (fingerprints).

So, I have only one song fingerprinted in the database (Josh Woodward - I want to destroy something beautiful), and it generated a total of 118974 fingerprints in the database. Now, when I test the algorithm with uploading the same file, it gives me confidence value of 127098.

Shouldn't the confidence value always be lower of (or equal to) the total no. of fingerprints from the song? Or did I misunderstand something here?

Thank you, Jordan

JArsov avatar Jan 29 '18 12:01 JArsov

hi This happens due to some hash repetitions

morteza-git avatar Mar 31 '18 21:03 morteza-git

@JArsov as @morteza-git said its because of that and a bug that I've detected and fixed on this pr https://github.com/worldveil/dejavu/pull/205 regarding hash collisions with the same offset. The pr is for dejavu migration to 3.6.6 with support to postgresql and the use of the new mysql connector. I've added a couple of new features as well. Feel free to try it and let me know your thoughts.

Thanks, Mauricio

mauricio-repetto avatar Oct 11 '19 23:10 mauricio-repetto