Author Topic: Google speech recognition integration into Voxcommando  (Read 12256 times)

0 Members and 1 Guest are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Google speech recognition integration into Voxcommando
« Reply #15 on: December 09, 2016, 06:32:57 PM »
You could use this extension in a web browser and send the recognized text to VoxCommando (by watching the text field for changes) but it would only work as long as the web page remained open and focused so that's probably not really useful for anything more than testing.

I don't know of any way to access Google's speech API for free without either using Chrome or Android.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Google speech recognition integration into Voxcommando
« Reply #16 on: December 05, 2018, 05:46:06 PM »
Hi Guys,

So, one of my buggest dream is a voice control system, but in my language --> Hungarian.

Unfortuatelly the MS Speech Platform 11 does not include hungarian languag pack, but I have an other idea:

Is it possibel to use the Voxcommando with the Google speech recognition?

With this Chrome built in, I can select Hunagrian language dictation, so this tool can convert my commands to text-->

https://chrome.google.com/webstore/detail/voice-recognition/ikjmfindklfaonkodbnidahohdfbdhkn?hl=hu

Does anybody has any idea to integrate this input  mode (so the Google speech recognition) into the voxcommando?

Thank you in advance for your kind answers and sorry for my terrible English!

Good news. James has added this feature to the TCP plugin in the new, beta version of VoxCommando (VC 2.2.4.5)



TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

PegLegTV

  • $upporter
  • Sr. Member
  • *****
  • Posts: 497
  • Karma: 43
    • View Profile
Re: Google speech recognition integration into Voxcommando
« Reply #17 on: December 05, 2018, 07:41:49 PM »
Great work!  ::banana feels like an early Christmas gift  ::antlers ::xmasbounce, I can't wait until I have time to test this out.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Google speech recognition integration into Voxcommando
« Reply #18 on: December 07, 2018, 05:47:13 AM »
It works fantastic  :clap ::banana



Have you ever tried to speak a language other than the one you chose or even a mix of languages? This works surprisingly well.  I can also explain what advantage it has:
For example, if you are looking for or want to play a movie or music track that is different from your native language - in my case - use German language input with English or French music track.


The new plugin brings a lot of new possibilities - great job done James  ::bow ::eyebrows
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Google speech recognition integration into Voxcommando
« Reply #19 on: December 07, 2018, 04:51:04 PM »
I have noticed that when I am in a non-english language the Google SR engine still picks up some English words quite well. But I think English is detected when you are set to other languages and that's it. You can't set the recognizer to French and then speak German and expect it to understand the German.

I also noticed that some words don't pick up well. If you use a prefix like Jarvis it will work fine in English but not very well in other languages. Ok Google is a very good choice if you want to use the same prefix in multiple languages since Google seems to think this is a very important phrase in every language on Earth.  :biglaugh

Brian

  • $upporter
  • Jr. Member
  • *****
  • Posts: 27
  • Karma: 3
    • View Profile
Re: Google speech recognition integration into Voxcommando
« Reply #20 on: December 31, 2018, 11:43:05 AM »
Wow, this is awesome! Thanks for this. I tested out the beta and works well.

This works great on my old webcam (open air) mic. I also do not use a prefix. I use my normal volume levels and it works probably 95% of the time.

I'm at work now and no access to Vox but Vox does freeze after a while. Not sure what the issue is and will post logs later. Both the tcp and vox freeze (perhaps after idle. I'll wake up and it's frozen) and have to end the task. I also use Kodi 18 RC3 and gets most of the commands but I can't get the tv guide to load. Without the tcp going, Vox will open the tv guide but with tcp and GS going it will not open even though Google heard it correctly. Also, "browse Tv shows" won't register but "browse televsion" will.

Thanks!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Google speech recognition integration into Voxcommando
« Reply #21 on: December 31, 2018, 06:54:14 PM »
Hi Brian.  Glad to hear you are enjoying the new toy.

Also, "browse Tv shows" won't register but "browse televsion" will.


If a command does not register then it's most likely just a matter of spelling.  Compare what Google is recognizing and how it's spelled to the spelling of your phrases.  In some cases TV might have been spelled TeeVee or T.V. etc. in our default command sets because those sometimes seemed to work better with the Microsoft engine.  I don't think that capitalization is important though.

...but Vox does freeze after a while. Not sure what the issue is and will post logs later. Both the tcp and vox freeze (perhaps after idle. I'll wake up and it's frozen) and have to end the task. I also use Kodi 18 RC3 and gets most of the commands but I can't get the tv guide to load.
I'm happy to look at logs, but finding the cause of freezing can be almost impossible sometimes.

The other issue with Kodi is certainly very curious.  Not sure what's going on there unless there is some sort of port conflict but I can't think why a port would be involved specifically in opening the TV guide.  Does it involve a device like a PVR?  In any case you'll probably need to look at both VC and Kodi logs to figure that one out.

Happy New Year. :)

sweefer

  • Jr. Member
  • **
  • Posts: 15
  • Karma: 0
    • View Profile
Re: Google speech recognition integration into Voxcommando
« Reply #22 on: June 16, 2019, 05:52:25 AM »
Does the Google also work in German? that would be great   :)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Google speech recognition integration into Voxcommando
« Reply #23 on: June 16, 2019, 10:03:54 AM »
Yes it does - you can set the language within the TCP plugin (it would be a good idea to watch the video above)  ::)

***********  get excited and make things  **********