How to stream audio from microphone and transcribe into text w/ Java

I’m new to DeepSpeech. I have been reading the documentation and to be honest, this looks very confusing to use. It was easy with Google Cloud Speech to Text, but I guess they handled some of the work and this is for offline use.

It looks like there is some kind of Java API, but I don’t see much that shows how to use it. Can I use it through Maven? Can someone please point me in the right direction? Maybe point me to an example that streams audio from a microphone and turns it into text with Java?

Is DeepSpeech even what I’m looking for if I want to convert speech to text live from a mic?

1 Like