Comments (4)
are you loading the French model?
from rhino.
Hi, yes
Future initRhino() async {
String contextPath = await _extractDemoContext();
try {
_rhinoManager = await RhinoManager.create(contextPath, inferenceCallback,
errorCallback: errorCallback,
modelPath: 'assets/contexts/rhino_params_fr.pv');
} on PvError catch (ex) {
print("Failed to initialize Rhino: ${ex.message}");
} finally {
this.setState(() {
isButtonDisabled = false;
});
}
}
from rhino.
Hello guys,
Even if I try to load english context using modelPath in the create function I get the error :
flutter: Failed to initialize Rhino: Failed to initialize Rhino.
I tried relative / non relative path but unable to load it.
from rhino.
@wawaBen I see you're loading the French model with a path to the assets folder. Unfortunately, this doesn't work for binary file types in Flutter as they are compressed in the app bundle. Just like you do with the Rhino context, you have to read it from the app bundle and write it to another location before passing it into the create function.
from rhino.
Related Issues (20)
- Request for adding words to Polish HOT 5
- Voice Interaction and External Microphone Integration HOT 1
- Support for Raspberry 1 and Pi Zero dropped?
- Rhino Issue: Vue and Web demos: Node runtime error in script "start" HOT 3
- Rhino Issue: No method RhinoInference HOT 4
- ACTIVATION_LIMIT_REACHED during evaluation without network traffic HOT 1
- Picovoice Documentation Issue (/docs/quick-start/rhino-react-native/) HOT 4
- Add Support for Orange Pi 3B Board HOT 7
- How to dynamically configure training files? HOT 1
- Rhino Issue: initialization error when use 3.0.0 params.pv HOT 4
- 3.0 Rhino Issue: does not detect old library grammar during initialization HOT 2
- Rhino Documentation Issue HOT 1
- Way to add multiple contexts? HOT 3
- Query on Using Latest Rhino Context Files with Older Library Version for Personal Project HOT 1
- Can Rhino simply returnwhat is spoken HOT 1
- Able to generate rhn context files from the client? HOT 1
- Console account deleted HOT 1
- Multiple Rhino Model Files HOT 1
- Rhino V2.1 and Rhino Context V3.0 libraries are not compatible HOT 1
- How to bind Rust commands to Picovoice/Rhino so I can make a use that Rhino understands what I just said HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhino.