RaviTezu / speechtotext

streaming stdin to speech recognition tool via Google Cloud Speech API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

speechtotext

basic usage:

$ uname
Darwin
$ cat sample.wav | speechtotext -key (path to serviceaccount json key)
Alpha Beta gamma
$
$ ffmpeg -nostats -loglevel 0 -f avfoundation -i ":Built-in Microphone" -ar 16000 -acodec pcm_s16le -ac 1 -f wav - |tee out.wav | speechtotext -key (path to serviceaccount json key)

About

streaming stdin to speech recognition tool via Google Cloud Speech API

License:MIT License


Languages

Language:Go 100.0%