alphacep / alphacep/vosk-api

How to increase the accuracy of the vosk module in Python?

Open
#1,369 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

How to maximize vosk module accuracy?
I use the «large» model
Thanks

codes:
model = Model("vosk-model-fa-0.5")
wf = wave.open("audio.wav", "rb")

rec = KaldiRecognizer(model, wf.getframerate())

while True:
data = wf.readframes(8000)
if len(data) == 0:
break
if rec.AcceptWaveform(data):
a=rec.Result()
else:
a=rec.PartialResult()

a=rec.Result()

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.