Skip to content

tmc/speechtotext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

speechtotext

This project is a basic example of streaming stdin to Google Cloud Speech API via gRPC.

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages