An external device that act as a TV remote would be perfectly legal I think.
Also, since this audio processing is required, a minimum rasp pi would be a requirement. That'd increase the cost.
@subinpt @rajeesh @primejyothi @jishnu Update: I tried out audio fingerprinting. It was easy. I was able to make a script to identify song from microphone. Like Shazam. So, instead of knowing the hidden watermark, the ad sound is enough.
Now I need to buy a rasppi and run it there plus implement the infrared mute option. The next problem is to see how both mute and unmute after ad can be done.
@rajeesh Audio fingerprinting and Voice recognition are two different things. For recognizing ads or music, we can use fingerprinting which is relatively easier. But for recognizing a voice, it's more difficult I believe. I'm not sure if a rasppi can handle it, will probably have to use a cloud service. Saw IBM Watson provides one API for it. നോക്കട്ടെ പറ്റുവോന്ന്.
ഫെഡറേറ്റഡ് സോഷ്യൽ വെബ്ബിലെ മലയാളിക്കൂട്ടം.