Melvin-Abraham / Google-Assistant-Unofficial-Desktop-Client

A cross-platform unofficial Google Assistant Client for Desktop (powered by Google Assistant SDK)
Apache License 2.0
3.6k stars 402 forks source link

Wake Word detection #497

Open adhitht opened 3 years ago

adhitht commented 3 years ago

I have downloaded g-assist from snap store version 1.0.0-rc.2. Wake word doesn't seem to work. (I am not sure if it is built for the version) Please clarify. Saw that wake word detection is built using bumble-bee. I have tried bumble-bee from here : https://jaxcore.github.io/bumblebee-hotword/full-example/. I have tried hey_google and ok_google. But bumble-bee doesn't seem to recognise both. (Had 1 recognition with almost 20 tries :disappointed: ). Alexa seems to hear me. It would to be better if you could just provide option to set other wake-words in settings. I would also suggest teachable machine from google as an alternative to bumble-bee. (It works very well.) Hope you could implement that well. Teachable machine can be customised to user so recognition will be far more effective. https://teachablemachine.withgoogle.com/ snowboy is another depreciated software which can be used to have wake-word detection.

Wizards-god commented 3 years ago

done

sumeshir26 commented 3 years ago

Do you see the app?

im-coder-lg commented 3 years ago

yo @sumeshir26 Desktop doesn't exist in his computer. He told me, so I told him to go Documents.

im-coder-lg commented 3 years ago

Look here: https://github.com/Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client/issues/497#issuecomment-914920927

Wizards-god commented 3 years ago

I see no shortcut to the GAUDC app but i have a shortcut to it in start menu.

sumeshir26 commented 3 years ago

Then click it!

Wizards-god commented 3 years ago

But it changes nothing. It is the same as it was before i started the setup.

im-coder-lg commented 3 years ago

That is why I asked @Wizards-god to build the program. I gave the steps but he didn't have the Desktop folder. So I told him to use Documents and build the program from Node JS.

Wizards-god commented 3 years ago

I found a folder named Google-Assistant in my Documents folder and found the .exe there. Now i see the wake word option.

Wizards-god commented 3 years ago

Shall i move this folder to the Program files folder to prevent it from being backed up to my OneDrive.

im-coder-lg commented 3 years ago

See that? The new release ain't out yet but I expect to see it soon. Remember, there is a small bug(#472) so you might have to shout(a little) to get Ok Google up and running.

Shall i move this folder to the Program files folder to prevent it from being backed up to my OneDrive.

Hmm... I got an idea. Just make that folder a no-backup folder(really possible if you configure it) and run the installer you find in dist. Then, you can run the Google Assistant app and it will have the wakeword. Or you can remove the old Google Assistant Program files and move the new ones there.

Wizards-god commented 3 years ago

Ok so now shall i remove the old GAUDC app and install the new one with the installer in the dist folder

im-coder-lg commented 3 years ago

Yup. That is a good idea.

Wizards-god commented 3 years ago

Ok will do that rn

Wizards-god commented 3 years ago

Thank you very much for all the help. It is working but i have to scream into my mic for it to activate. It would be a lot better if i didnt need to yell at my laptop each time i want to use the wake word. But it works and thanks again for all the help.

im-coder-lg commented 3 years ago

Ya, same here too but as @Melvin-Abraham put in #472, the issue is external. Bumblebee-Hotword uses Picovoice Porcupine and that has errors. I noticed that you have Zoom in your taskbar, so I think you use Zoom. Be careful, Google Assistant will get activated accidentally because bumblebee hotword thinks it heard Ok Google or Hey google but the fact is that it didn't. So be careful about the hotword.

Wizards-god commented 3 years ago

Yeah i use zoom for my online classes. But thanks for letting me know that using the hotword in zoom opens g-assist. I thought only one program can use the mic at once so i thought it wont be a problem. Thanks again

im-coder-lg commented 3 years ago

Yeah i use zoom for my online classes. But thanks for letting me know that using the hotword in zoom opens g-assist. I thought only one program can use the mic at once so i thought it wont be a problem. Thanks again

I didn't mean that, I meant that if your teacher is speaking and suddenly it sounded like Ok Google, then GAUDC will get activated. Sometimes, when I am watching some chess videos, this happens but you can always close it.

Wizards-god commented 3 years ago

Yeah I understand. 😂😂