Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which field in the results indicates the best match with the original song #282

Open
2954456878 opened this issue Oct 24, 2022 · 3 comments

Comments

@2954456878
Copy link

Which field in the results indicates the best match with the original song

@2954456878
Copy link
Author

{'song_id': 1, 'song_name': b'close', 'input_total_hashes': 214, 'fingerprinted_hashes_in_db': 130, 'hashes_matched_in_input': 17, 'input_confidence': 0.08, 'fingerprinted_confidence': 0.13, 'offset': -17, 'offset_seconds': -0.78948, 'file_sha1': b'FF3DD189441C50496EFCBB93498C03967F6DABB8'}

@2954456878
Copy link
Author

If two results are matched, how do you know which result matches the original song best

@alffykasum
Copy link

Hello @2954456878 In the results you provided, the field that indicates the best match with the original song is hashes_matched_in_input. This field tells you the number of hashes in the input audio file that matched with hashes in the database. A higher number of matched hashes generally indicates a better match with the original song.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants