Open securigy opened 1 year ago
You probably need to specify path properly, the log should contain more information
Path to what? I simply tried to run the demo...Do I need to download the model? and if yes, where to place it? I was under impression that NuGet package has it.... On Saturday, March 18, 2023 at 08:55:00 AM PDT, Nickolay V. Shmyrev @.***> wrote:
You probably need to specify path properly, the log should contain more information
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
path to model folder. You have to download and unpack it yourself.
Nickolay, thank you for responding... I never used Vosk and to me it is still unclear if it can do what I am looking for. Specifically, I'd like to dictate through microphone and get back the text, similar to what Microsoft is doing in Word.So, first of all, is it possible? If yes, then how do I do it? Any specific sample code or API? All the examples in Demo are trying to open existing file "test.wav" so it looks their purpose is transcribing the existing audio file... And finally, yes, I downloaded 1G+ English model and unzipped it so I got over the first step of loading the model by supplying the exact path to its folder... Thank you, Leon
It is possible to use microphone, you can find example here:
I am getting this as soon as I get to the new VoskRecognizer line... My C# code is built as x64. My app is just a simple WinForm. In the form in a button click handler, I call:
Vosk.Vosk.SetLogLevel(0); Model model = new Model("vosk-model-en-us-0.22"); DemoBytes(model);
I installed Vosk via NuGet package. Is there anything else I need to do to make it work?