docker-kaldi-android icon indicating copy to clipboard operation
docker-kaldi-android copied to clipboard

JNI Wrapper

Open dpny518 opened this issue 5 years ago • 6 comments

Is there some code or instructions on how to call the online2-wav-nnet3-latgen-faster and build your own apk that uses the compiled android kaldi binaries?

https://github.com/ahmetaa/kaldi-jni https://github.com/keenresearch/KeenASR-Android-PoC https://github.com/Kidsense/Vocally

dpny518 avatar Jun 11 '19 05:06 dpny518

I've also been trying to accomplish this. I've been using CMUSphinx and pocketsphinx on android and ios but the accuracy is bad compared to Kaldi. I'm sure this is no easy task. KeenResearch has achieved this on ios, android, unity but the licensing costs isn't something indie developers working on small projects can afford :(

nanaghartey avatar Jun 13 '19 11:06 nanaghartey

@nanaghartey https://github.com/rayworks/KaldiDroidDemo

dpny518 avatar Jun 14 '19 01:06 dpny518

@yondu22 So I translated the doc from chinese to english and realize it's just about compiling kaldi on android using mac. Have you tried it and does it work? I realize you opened an issue regarding jni wrappers for the decoder.

nanaghartey avatar Jul 16 '19 20:07 nanaghartey

yes it seems he only did a timer jni library. I have no experience in either C++ or Android Java so I hoping one of you can build this library for me, so just connecting developers on git together

dpny518 avatar Jul 17 '19 01:07 dpny518

@nanaghartey check this out https://github.com/alphacep/kaldi-android-demo

dpny518 avatar Sep 04 '19 03:09 dpny518

@yondu22 Awesome! It builds and runs successfully however, the accuracy is poor. I keep getting wrong results. Did you face same issue?

nanaghartey avatar Sep 04 '19 14:09 nanaghartey