dpwe / audfprint

Landmark-based audio fingerprinting
MIT License
536 stars 121 forks source link

Calculate the fingerprint from a smartphone #48

Open adelabd opened 5 years ago

adelabd commented 5 years ago

Hi, This tool works very well. I have wrapped it in a node server and it works like a charm. However, when a request is sent to my server, the server calcul the fingerprint from the file, and the CPU is used at 100%.

For my project, it's not viable. I was wondering if that could be possible to calcul the fingerprint from a Smartphone in Java (Android) and Swift (IOS), because I guess that if the CPU is used à 100%, it's mainly because of the fingerprint's calcul ?

Thanks

dpwe commented 5 years ago

I made a submission to an audio fingerprinting evaluation in 2014, there are details in README-dpwe-audfprint.txt This includes a breakdown of the compute times between fingerprint calculation and matching. For low-density matches, both stages take about the same amount of time (so fingerprint calculation is about half the total time). As the fingerprint density goes up, and the database becomes more full, matching gets slower, and can take 5x as long (or more) as the fingerprint calculation itself.

Regardless, distributing the computation between the phone and the server is a good idea. Unfortunately, I don't know of any ports of this feature calculation to other languages.