Is it possible to get a certainty of the match ShazamKit gives?

Hey there,

I was wondering if it's possible to check how "certain" ShazamKit is with the match.

For example; I'd only change the result when the SHMatch has an accuracy/certainty of at least 80%

I know there's a frequencySkew on the SHMatchedMediaItem but I'm not sure if that could be helpful

Accepted Reply

I did :) I couldn't find ShazamKit as a topic in the Feedback app so it's here: FB10660773

  • Thank you! I really appreciate it

Add a Comment

Replies

In: https://developer.vonage.com/blog/21/07/08/detecting-music-with-shazamkit

They write:

The matches come back as an array with varying confidence levels, but you will take the first result.

But I could not find this property in SHMatch->mediaItems.

Does not seem to be either at the key matchOffset: SHMediaItemProperty of SHMediaItem properties dictionary

May be you could try and print match.mediaItems to see what you get there.

  • Yeah I can't seem to find any property that communicates the confidence, this would be really helpful as now sometimes my app switches between versions

Add a Comment

Hello

ShazamKit does not expose any confidence levels currently, but please do file a feedback request https://feedbackassistant.apple.com.

I did :) I couldn't find ShazamKit as a topic in the Feedback app so it's here: FB10660773

  • Thank you! I really appreciate it

Add a Comment