- I'm looking for projects to contribute to and dev teams to join
- I also do commissions
Discord: bear_03
E-mail: [email protected]
Rust bindings to the Vosk API Speech Recognition library
License: MIT License
Discord: bear_03
E-mail: [email protected]
Hey,
I'm not sure if it is a question for you or for the vosk core team. I would like to have my own native library for android and ios that includes vosk. For Android everything works fine with the dynamic libraries.
After asking for the ios libs I got two static libraries for ios (one for real devices all architectures and one for simulators). So I have the two libvosk.a files. When I try to link them and compile to aarch64-apple-ios I get the following looooooong error message.
Do you have any idea how to solve this?
Hi, thank you for the great library. I hope this issue does not bother you.
I've tried to run the example as documented in the source code but compilation failed. It seems that library cannot find the vosk dynamic library.
$ RURSTFLAGS=-L./lib/vosk \
LD_LIBRARY_PATH=./lib/vosk \
cargo run --example microphone lib/vosk-model 10
Compiling vosk v0.1.0 (/home/kazuya/ghq/github.com/acro5piano/vosk-rs/vosk)
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/home/kaz............caf446e056b41091.13i6whe78lh07zg9.rcgu.o"
# ...long text here...
= note: /bin/ld: cannot find -lvosk: No such file or directory
collect2: error: ld returned 1 exit status
I've placed vosk on lib/vosk
directory so the directory structure is like this. Am I missing something?
~> tree -L 3
.
|-- Cargo.toml
|-- CHANGELOG.md
|-- examples
| |-- microphone.rs
| |-- read_wav.rs
| `-- speaker_model.rs
|-- lib
| |-- vosk
| | |-- libvosk.so
| | `-- vosk_api.h
| `-- vosk-model
| |-- am
| |-- conf
| |-- graph
| |-- ivector
| |-- README.txt
| `-- rescore
|-- LICENSE -> ../LICENSE
|-- README.md -> ../README.md
`-- src
|-- lib.rs
|-- log.rs
|-- models.rs
`-- recognition
|-- mod.rs
`-- results.rs
I placed build.rs
to tell linking directory to rust compiler - but no luck.
// build.rs
fn main() {
println!("cargo:rustc-link-lib=./lib/vosk");
}
Thank you in advance.
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.