worldveil / dejavu

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

Using dejavu for TV advert detectio #108

Closed hexagone083 closed 7 years ago

hexagone083 commented 7 years ago

Hello, I tried to use dejavu in order to detect TV advert. I have an issue : false positive. I wrote a script that analayse continually the TV audio flow. My database contain all Jingle advertising (about 5 seconds per jingles). I have a lot of false positive, dejavu detect jingles and ther are n jingles. Do you know solution or configuration in order to detect correcly TV jingles ? THank's in advance, Florian.

eoffermann commented 7 years ago

This sounds like there's a good chance you're recognizing minimally-unique portions of the original source.

It's hard to say without listening to the jingles in your database, but you might try re-fingerprinting the middle three seconds instead of the entire clip, if you haven't already. With music, we often discard the beginning and end of a song - a few seconds from either end - because that data is frequently unhelpful.

hexagone083 commented 7 years ago

Thank you for your answer. I Will try your solution. Is there a parameter that will allow us fully analyse the jingle/song stored in the database ?