Import this project in Unity
alphacep / vosk-unity-asr Goto Github PK
View Code? Open in Web Editor NEWAutomatic Speech Recognition in Unity using Vosk library
Automatic Speech Recognition in Unity using Vosk library
Import this project in Unity
Can i use Vosk for ios ?
Hey, I implement a unity project that uses Vosk. The current model is around 5GB, which performs really well, but it is too large. It takes around 5 seconds to give the answer through Unity. So I remove RNNLM and rescore folders in my model. It works fine when I run it through python, which means the smaller model can give me the expected text based on my speech. But after integrating this model into unity, it cannot recognize the same input speech. I wonder if the model without RNNLM and rescore folders is supported in the unity project? If so, can anyone point me out why the model cannot perform the same as the python project?
The included OSX libvosk.dylib
is for Intel-64 only, and changing the setting to Any CPU
or Apple Silicon
still results in a DLL Not found exception on an M1 Mac.
Would it be possible to get an update with a universal mac .dylib file?
Constantly crashes when I start the game. Through trial and error, I realized that it crashes after executing the line
"_recognizer = new VoskRecognizer (_model, 16000.0f);" in the VoskSpeechToText.cs script (307 line).
At first I thought that the problem was in the AMD processor, since in the crash log there was a problem with accessing the memory and this assembly starts up normally for a friend with Intel, but then, having asked another friend with AMD to run it, everything started up fine for him too.
In error.log everywhere is written
"ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access the wrong address.' (Address: 00007FF6A13FF485)"
Below is console log at the crash moment and Editor.log:
Editor.log
Picture
As you can see, after decompression completed successfully, the editor throws when the vosk receives voices.
The windows running on Japanese system but does it matter? This had never happened with old project which had inevitable crash issue for the first launch.
Can you point out where the source of this issue?
When opening Vosk Unity ASR for the first time the application crashes. I've found this in the Windows editor and the Android runtime on Oculus Quest.
Crashlogs for editor on Windows report "ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFF908ACEF3)"
Hello, i have an issue with non-ascii path, recognizer crash the app when it try to create. I saw that this problem has already been covered (alphacep/vosk-api#1072), but I guess the problem was not already solved, is it possible to change the path in C#?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.