/grokspeechrec

This package is a wrapper for Speech Recognition Module, created to import and transcribe Speech Input directly. You would need a Microphone input and a Speaker output connected to your environment before starting. This package comes with the dependency of PyAudio and Vosk model. The package installation takes care of installing all of the deps.

Primary LanguagePythonMIT LicenseMIT

Speech Recognition Wrapper

PyPI package   version number


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 grokspeechrec

Usage

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.recognizer)

The output will contain the transcribed results.