andyweiqiu / asr-ios-local

基于kaldi的ios本地语音识别(本地实时流)Kaldi-based ios native speech recognition (local real-time streaming)
70 stars 28 forks source link

android #3

Open dpny518 opened 5 years ago

dpny518 commented 5 years ago

Can you put a guide to do build an android sdk?

andyweiqiu commented 5 years ago

Can you put a guide to do build an android sdk?

You can see it here: http://jcsilva.github.io/2017/03/18/compile-kaldi-android/

dpny518 commented 5 years ago

@andyweiqiu I used that to build the android compatibility so file, but to use it on unrooted android, I need a JNI or JNA to the C++ binary such as https://github.com/kaldi-asr/kaldi/blob/master/src/online2bin/online2-wav-nnet3-latgen-faster.cc

andyweiqiu commented 5 years ago

@andyweiqiu I used that to build the android compatibility so file, but to use it on unrooted android, I need a JNI or JNA to the C++ binary such as https://github.com/kaldi-asr/kaldi/blob/master/src/online2bin/online2-wav-nnet3-latgen-faster.cc

I haven't compiled Kaldi in Android yet, so I may not be able to help you.But we can talk about it