#Add ChromeOS speech-to-text as local STT engine

1 messages · Page 1 of 1 (latest)

vital wyvern
#

Recently I managed to get the ChromeOS local STT engine (SODA (Speech On-Device API)) to work on an RPi4 with very impressive results. The RPi4 has plenty of power to do this, the transcription is real-time with very low WER and it has support for dozens of languages. I'd like to make an integration with HA and looked how it is done in https://github.com/rhasspy/wyoming-faster-whisper, but I could definitely use some input form people who have experience with this. A command-line client PoC is here: https://github.com/biemster/gasr.

Anyone interested in helping out?

vital wyvern
#

Apparently @wise mulch already did this! In https://github.com/biemster/gasr/issues/26 you can find a wrapper:
https://github.com/goddade/wyoming_gstt
and also for the TTS found in ChromeOS:
https://github.com/goddade/wyoming_gtts

GitHub

Home Assistant has a large community trying to integrate voice recognition in the home automation solution. Their best local engine is currently fast-whisper which requires significant computing re...

GitHub

Contribute to goddade/wyoming_gstt development by creating an account on GitHub.

GitHub

Contribute to goddade/wyoming_gtts development by creating an account on GitHub.

toxic isle
#

It would be much more useful to have that as add-on. 🙂

vital wyvern
#

You mean it can be selected here right @toxic isle ?

#

yeah that's the plan (although I thought that that was provided by goddade's repositories)

pallid bane
#

What languages are supported?

vital wyvern
#

@pallid bane hi-in,en-us,de-at,th-th,zh-tw,ru-ru,da-dk,es-es,pl-pl,de-be,en-gb,tr-tr,de-ch,de-de,ja-jp,es-us,fr-Ch,sv-se,en-ca,en-au,fr-fr,pt-br,vi-vn,nl-nl,nb-no,it-ch,fr-ch,it-it,zh-cn,fr-ca,en-ie,en-sg,en-in,ko-kr,fr-be,id-id

pallid bane
vital wyvern
#

seems not unfortunately

pallid bane
#

So only offline STT engine is faster whisper which is slow and high WER for Czech

toxic isle
vital wyvern
#

so the wyoming server should be kept, but there is a home-assistant way of packing stuff in a docker container which makes it an add-on? (sorry I'm new to HA)

grave dove
#

Exactly