[REQUEST] Google Assistant (AI voice agent) speech recognition addon in Kodi
#1
Just read that Google has now released a Python-based Google Assistant SDK that’s designed for prototyping voice agent technology, see:
If someone have the interest and Python coding skills then perhaps this SDK could be made into a Kodi service addon for voice control?

Google Assistant SDK developer preview is available for download, initially optimized for the Raspberry Pi, but there is also support for x86 and the library looks to also be portable to other platforms too:
Basic hardware requirements - Before you begin, you'll need the following components:
  • A device running on one of the supported platforms, with internet connectivity
  • A microphone
  • A speaker

PS: I guess for it to get a more high wife acceptance factor you would either need a microphone on your remote control for Kodi or buy/build a microphone array device, like ex:
Reply
#2
FYI, Google have now released developer preview 0.2.0 of the Google Assistant library for Python

https://developers.google.com/assistant/...ease-notes

New features in this new developer preview 0.2.0 version are:
  • Initial release of the library for Python.
  • Ok Google and Hey Google hotword support for voice activation
  • Ability to set alarms and timers.
Previous developer preview 0.1.0 release version already had:
  • gRPC - An RPC API is available to communicate with the Google Assistant.
  • Python sample code is available.
Reply
#3
If you didn't see the latest edition of MagPi magazine included Google Voice hardware as a free cover gift.
https://www.raspberrypi.org/blog/free-ai...-magpi-57/
Reply
#4
(2017-05-18, 12:35)popcornmix Wrote: If you didn't see the latest edition of MagPi magazine included Google Voice hardware as a free cover gift.
https://www.raspberrypi.org/blog/free-ai...-magpi-57/
Read about that just a few hours after raspberry.org announcement and I was already too late ordering it, and assume the same for most of us not living in a country where they sell the MagPi Magazine in brick-and-mortar stores since it was by then impossible to find issue #57 in an online store. Would have ordered at least five or more of that MagPi issue with the kit if I still had the chance.

I do however have two official Google Home speakers (imported from the United states) and they work great in Sweden, even though it is English only.

Again, Google Assistant with hot-word activation for voice control with Google Home is awesome when used together with Chromecast Audio!


Off-topic; just like I do for Kodi, I now recommend Chromecast Audio to everyone I met because it is a great product, which relatest to this other request:

http://forum.kodi.tv/showthread.php?tid=282074

Combination of Google Assistant voice control and Chromecast Audio for multiroom music playback is simply the coolest product since Kodi/XBMC!
Reply
#5
Bumping this as Google have now released developer preview 0.0.3 version of the Google Assistant Library

https://developers.google.com/assistant/...ease-notes

New features in this version is:
  • Support for Python v2.7
  • Support for x86_64 Linux
  • Various bug fixes and improvements in error messaging

Coming soon (in the next developer preview version):
  • Improved device control APIs
  • Companion app SDK
Reply
#6
Another bump as Google have now released developer preview 0.1.0 version of the Google Assistant Library and developer preview v1alpha2 of the Google Assistant Service (previously known as the Google Assistant gRPC API)

https://developers.google.com/assistant/...ease-notes

New features in these versions are:
  • Google have added support for more languages;  English (Australia, Canada, UK, US), French (Canada, France), German, and Japanese.  This setting can be passed through the Service API or selected from the Google Assistant app.
  • Support for displaying the text of the user’s request and the text response from the Google Assistant.
  • Support for submitting queries via text input (Using either IFTTT or Google Assistant Service's Device actions).
  • Location can now be configured as a street address in the Google Assistant app, or as a latitude and longitude via the API.
  • Better handling of connection errors.
  • Support for "Device Actions" using Google Assistant Service. https://developers.google.com/assistant/...s-overview
  • Google has also added support for male voice for text-to-speech (in addition to the already existing female voice for text-to-speech)
Reply
#7
The library in question has binary components, meaning that it needs to be compiled from sources to your target platform. While developing and maintaining Python addons with binary components is not impossible, it is difficult and such addons will never be accepted to the official Kodi addon repository because of "no binary blobs" policy.
Reply
#8
Unless we can see what is where compiled from and its opensource. Boblight is something similar and we can always make an exception if we know it's a well controlled source.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Google Assistant (AI voice agent) speech recognition addon in Kodi0