alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
8.08k stars 1.11k forks source link

Test with microphone shows error #1019

Open yh646492956 opened 2 years ago

yh646492956 commented 2 years ago

When i test with microphone. I get the following error: ASSERTION_FAILED (VoskAPI:CompactLatticeStateTimes():lattice-functions.cc:113) Assertion failed: (lat.Start() == 0) Aborted (core dumped)

Here is my model file structure: model/ ├── final.mdl ├── HCLG.fst ├── mfcc.conf └── words.txt

I'have used the lasted code.Can you please tell me what the problem is? I can not figure it out.

vadimdddd commented 2 years ago

hello, @yh646492956 as I can suggest it means you have no input data from your microphone, did you check it?