worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.35k stars 1.43k forks source link

What results do you see and guess the song? #260

Open ehdqls1003 opened 3 years ago

ehdqls1003 commented 3 years ago

input_song is GHOST result is right

[{"song_id":"3","song_name":"GHOST","input_total_hashes":"1078","fingerprinted_hashes_in_db":"74033","hashes_matched_in_input":"9655","input_confidence":"8.9564","fingerprinted_confidence":"0.13041","offset":"783","offset_seconds":"36.36245","file_sha1":"96D9C866D5E246CAD131FC1370A5555A6D74BE83"},{"song_id":"1","song_name":"money","input_total_hashes":"1078","fingerprinted_hashes_in_db":"63688","hashes_matched_in_input":"130","input_confidence":"0.12059","fingerprinted_confidence":"0.00204","offset":"1293","offset_seconds":"60.0468","file_sha1":"343F421F6E1DC76BBBF76FE9B25E7F4BF0D8F54C"}]

dejavu/dejavu/init.py : INPUT_CONFIDENCE: round(hashes_matched / queried_hashes, 2),

Why does the confidence exceed 1? Is it because there's a duplicate hash? High confidence is correct, but I don't know how many times input_confidence is correct. Could you teach me?