Speech Recognition Wrapper
This package is a wrapper for Speech Recognition Module, created to import directly and transcribe Speech Input. You would need a Microphone input and a Speaker output connected to your environment before starting.
Installation
This package comes with internal dependency of PyAudio and Vosk model. The package installation takes care of installing all the dependecies, by performing the following steps:
pip install --upgrade grokspeechrecUsage
Once you have it installed, import the module and use it to pass Microphone Speech as shown below:
from grokspeechrec import speechrec
rec = speechrec.app.Recognize()
output = rec.recognize(rec.model) The output will contain the transcribed results.