'Is there anyway to recognize just one word without using speech to text api in python

I need to turn on something when the user says a given word, Let's say the word is "Hello", So whenever the user says "Hello" I need to turn on something, I only need to recognize this word, And I don't want to use a whole speech to text API to identify just one word. I have tried a few things using frequencies and didn't work. Any help will be really appreciated. Thank you.



Solution 1:[1]

I think what you want to do is wake word detection or keyword spotting. In wake word detection, the goal is to trigger the output when a specified word is heard in input.

There are several good libraries to do this. For example check these ones:

https://github.com/Picovoice/porcupine (it requires access key from their website)

https://github.com/MycroftAI/mycroft-precise (It looks like its free)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mrazizi