Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型识别率低问题,vosk模型是否对采样率有要求 #220

Open
LRoot-sys opened this issue Jul 26, 2024 · 1 comment
Open

模型识别率低问题,vosk模型是否对采样率有要求 #220

LRoot-sys opened this issue Jul 26, 2024 · 1 comment

Comments

@LRoot-sys
Copy link

在一台电脑将代码调试好切识别率也正常的情况下(采样率8000),换到另一台电脑上运行,将代码中的采样率修改为该电脑对应的48000,则出现识别结果一直为空的情况,请问vosk中文模型对麦克风的采用频率又要求必须是8000吗

@nshmyrev
Copy link
Collaborator

不,语音识别器应该使用 48000。只需确保您的音频是单声道而不是立体声,并在识别器构造函数中设置采样率 48000。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants